Recent Questions - Server Fault |
- Idea for better performance in development environment Web Logic remote?
- Justifying Horizontal Scaling
- NGINX is not respecting DNS TTL of Upstream Server
- Creating Zip Using Foreach in PS Produces Nothing
- How does warming up email, or email domain, technically work?
- Webserver and permissions - two users having rights to modify specific (but not all) files
- exim4 authentication with external smtp server for smarthost
- When an authoritative server is found in the NS record, is the A record checked for the ip address or not?
- Are Western Digital SSDs compatible with QNAP TS-469U-RP NAS?
- Cross-sign third party DV cert with our own CA for high trust
- how to fix tls ssl vulnerabilities in windows server?
- Nginx Log to access log or error log only if Http Status code = 401
- Email forwarding from exim on debian
- gRPC via CloudFlare results in HTTP/2 internal error code 2
- 'quiet splash' breaks default Ubuntu 20.04 boot on Server version, not on Desktop
- Save or capture Screen output to file after it has written to stdout?
- Reclaim free space after deleting NFS file
- Script set up via update-rc.d not being called on startup
- NGINX replace string in $args
- Azure cloud VM change letter of temporary drive
- azure active directory domain services unblock account
- Windows: create a service for running a executable jar with out any external libraries
- How to configure Nginx to make Gitlist work correctly
- Amazon SES not sending to multiple recipients (AWS SDK for PHP)
- Using defaultAuthenticationType with PowerShell Web Access
- OpenLDAP proxy cache not retrieving entries
- openssl cms not finding signer certificate
- FTP: ls timeout, even in passive mode
- Exim installed, can send mail but not receive any
- Sphinx searchd: failed to lock .spl file, no such file or directory
Idea for better performance in development environment Web Logic remote? Posted: 10 Jul 2022 07:56 PM PDT I would like to ask for help and guidance, about the problem and the idea I had, open to suggestions. I'm working on a project where the application is in weblogic and there are several modules. In the dev team, everyone has ecplise and weblogic localhost on their machine to run the application and carry out maintenance or improvement in the code. The problem is that in some modules, because they are more complex and very large, we have a very long delay for each new build, sometimes around 30 min, maybe for more experienced developers who are already familiar with the code, it is simpler, More in my case as just a junior developer we often make changes to then test the change in the application and from republish to republish if it goes a few hours a day. In this case, I thought if you could not migrate the local environment from weblogic to TOMCAT, however, as an application has 12 modules, taking all this to TOMCAT was very unfeasible because there was a need for one more running. So as we have a certain resource available on azure I had the idea of running a container in docker with weblogic and performing the remote debug on weblogic and publish too, so the performance would be better and on the local machine I would run ecplise. This idea of running weblogic via docker and leaving ecplise only to connect to weblogic would it be possible to really perform republish and debug with quality?. Ecplise: Photon WebLogic: 12.2.1.4.0 Java:7 |
Posted: 10 Jul 2022 07:11 PM PDT When is horizontal scaling likely to solve your scaling problems? Let's say you have single api node (no DB) and a desired goal of 10k RPS over 5 minutes where the p95 is < x ms. Requests are coming in and you start to see that p95 go above your x goal. If you don't see any clear metrics indicating poor application performance (>75% CPU, > 75% RAM, etc), is it safe to assume horizontal scaling is likely the solution? At first I thought the answer was "yes", but then I saw this article. Vertically scaling a node application from a large to a xlarge AWS instance allowed it to go from 10k RPS to 25K RPS. How is that possible? CPU Utilization on the 10k test was around 10% (not that high). It's possible its memory but seems unlikely. Am I missing something? Or is horizontal scaling just cheaper than vertical scaling with the additional benefit of resiliency? |
NGINX is not respecting DNS TTL of Upstream Server Posted: 10 Jul 2022 06:19 PM PDT I have an NGINX TCP load balancer with the following configuration: The DNS TTL of myserver1.mydomain.com is set to 30 seconds. 45 Minutes after changing this, NGINX is still sending traffic to the old IP address. This shouldn't happen - ideally it should respect the TTL of the upstream server DNS name. But it doesn't seem to be doing that. Does anyone know what the actual TTL is, and how to change it? Side note, this feels like a bug in NGINX. |
Creating Zip Using Foreach in PS Produces Nothing Posted: 10 Jul 2022 06:08 PM PDT I have a little use case where I need to zip each directory within a directory (the subdirs are flat, so no worry about recursion) and attempting to do so with a simple one liner in PS has produced nothing I can even debug with. That said, I'm very green when it comes to Powershell. Here's what I'm using currently to no avail: The console briefly flashes suggesting the command to zip ran, but there is no output - I'm just trying to write to the same directory where the target dirs are located. I've sanity checked to see if I'm using the right attribute on the Object, and the foreach loop for that produces what I'd expect: As another sanity test, I created a series of dummy dirs with a single small file within that follow a simple scheme incrementing a suffixed integer. ex.: test1, test2, etc. and did a similar test but with a for loop: Which does correctly produce zips from the test dirs. I'm baffled as to why foreach looping over the result of get the |
How does warming up email, or email domain, technically work? Posted: 10 Jul 2022 08:06 PM PDT Whenever a new email, more specifically a new domain from which emails will be sent, is getting warmed up, what is it what's actually getting warmed up? On technical level. Is it one's ISP (!) who's getting a signal that such and such domain is gradually ramping up the amount of emails it sends? Notice that I haven't specified that a new domain is sending emails necessarily to gmail, outlook or yahoo. Nor have I said that a new domain is sending emails via these 3 big. |
Webserver and permissions - two users having rights to modify specific (but not all) files Posted: 10 Jul 2022 03:46 PM PDT So,the typical situation is like that: webserver (in this case nginx) works under the www-data user. And then there is also 'konrad' user, which is just an ordinary user. And now, the whole website (/var/www/html/cool-site) has the owner: konrad, and group: www-data. Files are mostly 750. And that is fine (I guess). But... now I have a situation, where another user comes in. Lets call him 'mike'. And now, what I want to achieve, is that he wants to be able to modify files owned by me, and I want to be able to modify files owned by him. Or, better yet - I, as an admin, would like to decide, for every directory(?), file(?) that only I (konrad) or only him (mike) or both of us, can do the changes. Obviously, we both should have the right to view the files and browse the directories. What I was thinking about is this: create yet another group, like 'common'. Add 'www-data' user to this group. Add both of us (konrad and mike) to this group. And whenever I (or mike) decide that we both should have write access to this dir/file, we would chown it to this group, and the permissions would allow writing there. Then I realized that in this scenario, www-data would have write access to these directories/files. So I'm stuck. I believe there is a solution, but I can't think of anything :) |
exim4 authentication with external smtp server for smarthost Posted: 10 Jul 2022 03:21 PM PDT /etc/exim4/update-exim4.conf.conf /etc/exim/passwd.client /etc/email-addresses /var/log/exim4/mainlog or sometimes ** Mail delivery failed: returning message to sender** Question WTF is going on and why isn't it working? One.com seem to say port 465 and SSL/TLS. Do I need to enter SSL/TLS into Do I need to remove junk from |
Posted: 10 Jul 2022 03:02 PM PDT I am trying to understand what NS records are, how glue records form part of it and what happens afterwards? As far as I understand the NS record contains the hostname/s of the authoritative nameserver or those which might hold info on where to find it. Assuming no caching: 1.) How does the recursor know if the NS record points to the authoritative nameserver or directs the recursor to another nameserver? Or are both things the same? I mean the entries in the NS record are just 'best effort' nameservers which might have the hostname of the authorithative nameserver or might point to nameservers which may or may not have information on the ip address of the authorithative nameserver? 2.) Once the recursor finds an entry in the NS record in a particular nameserver (e.g. TLD nameserver), does it check the A record to find the corresponding ip address or does it repeat the whole DNS process again (querying the root nameserver, then TLD nameserver, etc.)? 3.) How does "glueing" exactly work, I'm aware it's related to avoid recursive queries but are the glueing ip addresses found in the A record? In case of no glueing, does it mean that for 2.) the whole DNS process starts all over again for that hostname (coming from the NS record I guess)? 4.) In Cloudfare's explanation for the NS record, the example includes an @ and I've seen it too in this example Zone DNS, Example Zone File , what does the @ or leaving that column blank actually mean? I'd really appreciate it if someone can help me out understanding this since I'm having a hard time trying to figure it out. Thank you in advance. |
Are Western Digital SSDs compatible with QNAP TS-469U-RP NAS? Posted: 10 Jul 2022 03:19 PM PDT I just purchased a QNAP TS-469U-RP NAS. It is my understanding that just about any SSD will be compatible to work in a NAS, as long as the make and model of all four drives are identical. That being said, QNAP has a web-page listing all hard drives, which have been tested with the TS-469U-RP and are known to be compatible, as shown in the following screenshot. I want to purchase four Western Digital 1TB Green SSD (model # WDS100T3G0A), simply because I have used them in the past and found WD drives to be reliable. Is there any reason why I should not use the Western Digital SSDs just mentioned in my QNAP TS-469U-RP? If so, why? P.S. I do see that I can submit a request to QNAP asking them to test the Western Digital drives, but that will likely take time and I would like to get this done ASAP. |
Cross-sign third party DV cert with our own CA for high trust Posted: 10 Jul 2022 03:00 PM PDT I am looking to expand trust within our application by setting up mutual TLS between the customer service and our service. I am trying to wrap my head around this stuff as I am kinda new to this tech so would like to confirm my approach. I am thinking of asking the customer for their Domain-validated certificate. I will then cross-sign it with our own intermediate CA (AWS private CA) and generate a leaf certificate which they will use for requests. On the handshake with our server I want validate that they are a company/domain allowed to interact with our services (validate their DV cert). Also, since I cross sign with our CA I can revoke their access if needed. So basically I validate those two things. Is this best practice for this sort of thing? Will the customer need to provide me with a new certificate every year when it expires? Will I have any problems cross signing their DV cert with my intermediate CA? Extra information: I want there to be a real-time set-up of a trusted encrypted session. So I want the client (which will be the customer server) to send a certificate (which we provide) to our service. I'm trying to build a trust network in which I can onboard new users and ensure they are trusted entities (hence the DV cert part) Maybe I don't have my own private CA and, instead, use a commercial CA instead. |
how to fix tls ssl vulnerabilities in windows server? Posted: 10 Jul 2022 02:56 PM PDT Currently on our windows server (Windows Server 2016), we have following cipher suites installed:- Still the following security vulnerabilities are reported for our server as
I am using tomcat 9.0.62. How can I fix these security vulnerabilities. |
Nginx Log to access log or error log only if Http Status code = 401 Posted: 10 Jul 2022 12:55 PM PDT I am working on a nginx configuration, where we are proxy passing the request to one of our servers. We are getting a lot of 401's causing our Pod to die. We want to log those IP's somehow to a file, so we can dynamically ban those IP's. I am currently stuck at how to configure Nginx to log IP's of requests with status Code 401. Any ideas? |
Email forwarding from exim on debian Posted: 10 Jul 2022 03:43 PM PDT Do it looks like Debian (10) out of the box comes with Am I correct that what I need to get it to send e-mails outside to a real e-mail address is called e-mail forwarding? (Or is it called smarthost?) I append to So instead of using I imagine that I have to type in my |
gRPC via CloudFlare results in HTTP/2 internal error code 2 Posted: 10 Jul 2022 08:14 PM PDT My setup: My .Net gRPC Server configured to support insecured http2, listen at port Nginx is set to CloudFlare: I also tried to make gRPC calls from Python, and got a similar error: In both cases, the gRPC requests did get through CloudFlare, Nginx and reach my gRPC server (The remote procedures got executed). Nginx logs also reported with I googled a lot about CloudFlare gGRPC and Nginx, but couldn't figure out what is wrong. |
'quiet splash' breaks default Ubuntu 20.04 boot on Server version, not on Desktop Posted: 10 Jul 2022 03:02 PM PDT I'm aware that the internet is packed with 'quiet splash' kernel config issues regarding the boot process on several hardware sets, which generally leads to graphics issues that can be prevented with 'nomodeset' or similar. This is not one of them. On a fresh 20.04.1 Server installation (no additional packages installed, absolute installer-default minimum set), just adding When using the minimal set of of the corresponding Desktop image, There are several questions I can't find an answer yet:
Thanks! |
Save or capture Screen output to file after it has written to stdout? Posted: 10 Jul 2022 02:06 PM PDT I've run a script in a screen session but I forgot to redirect stdout to a file. There's about 10MB worth of text. If there's even some way to highlight the text and copy paste I would, but Ctrl-A + Esc won't scroll my terminal view when I click and drag the mouse. I'm using bash on Ubuntu 18. Is there anything I can try? |
Reclaim free space after deleting NFS file Posted: 10 Jul 2022 05:04 PM PDT I deleted a 137G file in a NFS mount (from a Linux host), and it dissapeared from the directory but the free space reported by
What could be causing this? |
Script set up via update-rc.d not being called on startup Posted: 10 Jul 2022 04:02 PM PDT A script should be called on startup. I did what the internet told me, but it does not get called on startup. Script in The internet says that I simply have to run When run via Maybe some other helpful info:
Thanks for any help! |
Posted: 10 Jul 2022 01:02 PM PDT I would like to manipulate a parameter when the string /static/ exists on the src $arg_param in nginx. As you understand there are parameters before an after so i just need to replace this part. e.g
And on the url above replace /static/ with /a/static/. Thank you. |
Azure cloud VM change letter of temporary drive Posted: 10 Jul 2022 06:04 PM PDT In azure cloud when you start a windows image the running vm will have a temporary drive D: where the page file is set. Is any way I can call the api (powershel, az cli etc.) and be able to specify which letter to assign to the temporary drive ? I want for example to have the disk C: as OS and disk Z: for the temporary drive. thanks, ps: i know how to change it after the vm is running as per https://docs.microsoft.com/en-us/azure/virtual-machines/windows/change-drive-letter |
azure active directory domain services unblock account Posted: 10 Jul 2022 04:02 PM PDT I am hoping that someone can help me unblock an account on an Azure VM. The VM is domain joined and is running SQL Server 2014 on Windows Server 2016. I have an office 365 / Azure AD tennant with Azure active directory domain services. I have an account that is locked because of greater than 5 attempts, but if I give it some time, it goes active again. As soon as I go to login using RDP I am locked out. I have looked up similar problems on like https://community.spiceworks.com/topic/2125626-remote-desktop-services-causing-ad-account-lock-out and tried the tool at https://www.netwrix.com/account_lockout_examiner.html but it doesn't seem to want to connect to the AAD DS. I have checked that there are:
I am not sure how to change the group policy to stop it happening, I can't install AD DS because it is on AAD DS. Any help would be appreciated. |
Windows: create a service for running a executable jar with out any external libraries Posted: 10 Jul 2022 02:06 PM PDT I have spring boot executable jar file which can run into any command prompt by calling I want to create a service with out downloading any external libraries for the above code snippet. Help me if there is a strait forward way. |
How to configure Nginx to make Gitlist work correctly Posted: 10 Jul 2022 08:07 PM PDT Here the full story: To make team project more easy to manage, view and follow, I had to build a project to setup a complete repository to centralize all of our differents projects. For this, I planned to put on a dedicated (VM) Debian server:
Everything is more or less set and functional but Gitlist continue to give me somes difficulties and even if I have found some answers, none of them have worked until now, that is why I am here now. Now the details of the problem: my git repositories are in /home/git/repositories/ (set with chmod 744 for Gitlist to access it) I can init (bare) projects, push and pull from them, etc..., everything seem ok for this part Nginx is set to serve the content of /var/www/html/ and Gitlist is in the directory /var/www/html/depot/ The Gitlist config.ini have this content: Here again, everything seem OK too, when I go to http://vm/depot/ I see the list of all the projects in the repository, but when I want to view the content of one, I always get a 404, I assume it's part of the url routing provided by the Silex framework that is used in Gitlist that don't go well with Nginx, but I can't figure how to make it work. Finally here is my /etc/nginx/sites-enabled/default that I assume is the one in fault I've got one solution from the Gitlist project itself here, but I don't seem to be able to set it right for my case, I always get a 404 when I try to view the project content. Any suggestions? Thanks in advance |
Amazon SES not sending to multiple recipients (AWS SDK for PHP) Posted: 10 Jul 2022 07:01 PM PDT I've set up Amazon SES on my server. I'm using AWS SDK for PHP. It's version one. Here's the documentation. Here is the code I'm using to send: In the AWSSDK docs, here is their example for sending emails to one person: And to multiple people: I can send to one person easily enough, but no matter what I do, I can't send to two people. I've tried making the recipients It looks something like this. Any help you can give towards a solution would be greatly appreciated! And I'm out of the Sandbox with production emails enabled. If I do directly edit the send file, it will send. |
Using defaultAuthenticationType with PowerShell Web Access Posted: 10 Jul 2022 07:01 PM PDT PowerShell web access lets you choose the authentication type. By default, it uses a value of Anyway, I want CredSSP to be the default option on the sign-in page. Looking into the configuration options for the PSWA web app in IIS, there are several values that can be set to override the defaults. One of them is called This seems like the right setting, but I can't get it to work. If I inspect the sign in web page I can see that the select box has the following values:
JosefZ found that If I set I have tried If I select CredSSP manually it works as expected. If I set Has anyone been able to successfully set this? Web results have been very lacking. |
OpenLDAP proxy cache not retrieving entries Posted: 10 Jul 2022 08:07 PM PDT I need to set up a local LDAP proxy cache which connects to our central Active Directory server. OpenLDAP Proxy Cache looks just like the thing. But following the manpages as closely as possible, I am not able to get it working. I am able to proxy requests through localhost to the remote server, but they are not cached (or the cache not retrieved, at least). The steps I made:
The result is success. But sniffing network trafic shows the query is pooled from the central LDAP server. The Alas, if it does get cached, it is never answered. Any ideas what can be wrong?
slapd.conf DB_CONFIG The verbose log output: http://pastebin.com/9s8HMg7d |
openssl cms not finding signer certificate Posted: 10 Jul 2022 01:02 PM PDT So I created a PKCS7 signed message and am trying to validate it with OpenSSL with the following command: Doing so returns me the following error: I don't understand this error. Here's the output of Here's the base64 encoded PKCS7: The X509 cert is as follows: The cert parses just fine with The cert is a self-signed cert. The issuer DN is as follows: That matches the issuer DN in the SignerInfo: Here's the serial number of the SignerInfo: This matches the serial number of the of the X509 cert: So why isn't it finding the signing cert? |
FTP: ls timeout, even in passive mode Posted: 10 Jul 2022 05:04 PM PDT I'm having trouble listing files on ftp. I can connect properly, but This is happening only on my server (i.e, working perfectly from my local maching). So I'm guessing this has something to do with at the client end -- but I have no idea what. Thanks in advance. Do comment if I should add more info. |
Exim installed, can send mail but not receive any Posted: 10 Jul 2022 06:04 PM PDT I am trying to set up the mail service on my server. I installed exim4 and configured it. I can send emails to any email address, send one from a user to another but not receive any. When I try to send one from gmail I get a mail from gmail daemon with the subject: The user exists for sure because I replied to the mail I first sent from my server. My MX lookup: Any idea on what is going wrong? Thank you in advance |
Sphinx searchd: failed to lock .spl file, no such file or directory Posted: 10 Jul 2022 03:02 PM PDT I use sphinx for indexing on my development environment, and it is working fine. But when i take it to the server. I can index and I have the indexes with search working on them, but everytime I run the command: searchd --config configfile , it gives me an error: I gave permissions to write to that directory, so I am pretty sure it is not a permission issue. I know I am not giving enough info about my case, but in general what could cause a file not to be locked? and is it possible to unlink it manually? or What could it be? Help please, it's been two weeks of trying to solve it with no success. I am really frustrated. Thanks. |
You are subscribed to email updates from Recent Questions - Server Fault. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment