Recent Questions - Server Fault |
- Wildfly : Too many open files
- Why some companies like cisco follow different syslog messaging format rather than rfc 3164 (BSD syslog) and rfc 5424 (IETF syslog)?
- What is the Apache equivalent of Nginx set_real_ip_from and real_ip_header for proxy protocol?
- Options to improve docker mount's SMB metadata operations performance
- Windows Server 2019 with 1 NIC and 1 IP network setup for Hyper-V
- Can You Find Education And Teaching Study Resources (on the Web)?
- windows server 2019 std restarting on boot
- My site no longer loads correctly
- I want to reset a FC_HOST before the multipath tries to mount paths from it
- Keepalived going split brain when Firewalld is running
- How to convert or display data of excel on github readme [closed]
- Postgresql 13 - Speed up pg_dump to 5 minutes instead of 70 minutes
- Logrotate- restart service only if it was running
- Add sender to my exchange out of office mails which are sent via postfix with an empty sender
- netdata: view other servers from one dashboard
- "Couldn't resolve host name: Could not resolve host:" in Zabbix
- exim rewrite Subject line if Reply-To domain does not match From domain
- Robocopy - Exclude specific file from purge within subdirectory
- Joining a server to AD via AWS cloudformation
- Exchange 2016 keeps giving away it's default Self-signed certificate instead of CA one
- Disabling cloud-init if metadata server cannot be reached
- SSH works locally but not remotely
Posted: 28 Mar 2022 03:41 AM PDT We recently got a "too many open files" error in our production Wildfly 17 on debian 9. A simple restart of the wildfly service got rid of the error but I'd like to avoid the problem to come back. I'd like to increase the limit but I'm not sure what I should change and how can i know the configuration as been taken into account. I checked the ulimit for the loginless wildfly user : The limit seems to be set at 1024 for the user. However I can check the number of open files by my wildfly processes and I have this : Which is bigger than the limit and I'm not getting any error right now. Is there a way to set the limit higher permanently ? Maybe in the wildfly configuration files ? I'm a bit lost. |
Posted: 28 Mar 2022 03:46 AM PDT According to my understanding the popular syslog formats are:
But Lets see other company's log formats:
|
What is the Apache equivalent of Nginx set_real_ip_from and real_ip_header for proxy protocol? Posted: 28 Mar 2022 03:19 AM PDT Nginx has But Apache only have What is the Apache equivalent of Nginx set_real_ip_from, real_ip_header for proxy protocol? |
Options to improve docker mount's SMB metadata operations performance Posted: 28 Mar 2022 02:47 AM PDT QuestionAre there any ways to improve metadata operation performance between a Linux based container running under Azure App Service and a mounted volume hosted in Azure Files? ContextI recently migrated a solution which had everything on one server to an Azure based solution where:
This has introduced some performance issues with operations which search through a folder to see if certain files exist. That's currently done via PHP's file-exists function. When testing on my local device, I can improve performance by appending My container's running Linux ( I've enabled At present I'm thinking the solution would be to update the code to keep a representation of the file structure in the app's database so we can query that to get the same information faster; but this has the downside that every operation to upload or deleted a file needs to also update the database to keep disk and db info in sync / duplicates where information's held; so I'm keen to solve this infrastructure issue rather than recode if possible. |
Windows Server 2019 with 1 NIC and 1 IP network setup for Hyper-V Posted: 28 Mar 2022 02:36 AM PDT I have VDS Windows Server 2019 with 1 NIC and 1 WAN IP with Hyper-V role on it. I can't set it up so that VMs have internet connection. Can anyone tell me exact parameters in Hyper-V or Windows to do that? Next, can i some how setup PFSENSE or VyOS in Hyper-V environment, so that Hyper-V host will be connected through it? |
Can You Find Education And Teaching Study Resources (on the Web)? Posted: 28 Mar 2022 01:40 AM PDT As a result of online tutoring, parents are no longer required to drive their children to after-school educational centers. Does online tutoring pay off? Can online tutoring and homework help give your child an edge in the classroom? Yes! The award-winning service offers tutoring and educational software to students from kindergarten to adults. Even when students are not at home, they can contact tutors through the Homework help website at any time. The friendly and It is a popular educational supplement because of its friendly and supportive approach. Could someone help me find the best Education & Teaching Homework Help? |
windows server 2019 std restarting on boot Posted: 28 Mar 2022 01:16 AM PDT We have installed a service of our software on clean windows server 2019 STD VM. The service requires .NET 4.8 to run. The service uses a Domain account with local admin rights. The service is set to an automatic delayed start. After I start the server, it is up in less than a minute. After about 3:08 min the server restarts. In Windows Event Viewer System event log, I have these errors: ID 7009 A timeout was reached (30000 milliseconds) while waiting for the Cloudsfer OPA Agent service to connect. ID 7000 The Agent service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion. ID 7007 The system reverted to its last known good configuration. The system is restarting.... If I login just after the boot, there are no issues, and the service starts as it should. I have no errors in the Application Events log. What could be the reason? Thanks Itamar |
My site no longer loads correctly Posted: 28 Mar 2022 01:07 AM PDT |
I want to reset a FC_HOST before the multipath tries to mount paths from it Posted: 27 Mar 2022 11:50 PM PDT I have an HPE SN1100Q 2port 16G HBA card on my hpe proliant gen10 server which is connected to HPE 3par storage direct attach. And some wierd stuff happening. Im using qla2xxx driver version 10.01.00.19-k which comes built-in in ubuntu 20.04. When my servers restart the connection between my server and 3par become unaccessible. But when i reset my fc_ports with this commands the connection accessible again. So i want to reset this ports before the server tries mount the paths. I wrote a systemd service and reset-hba script for this. But multipath trying to access paths before my script reset the ports. How can i fix this problem? Here is my systemd service: And my reset script: |
Keepalived going split brain when Firewalld is running Posted: 28 Mar 2022 12:58 AM PDT I'm using keepalived to provide availability between two Alma 8 Nginx servers (hosted on VMWare if that's of any relevance). When firewalld is enabled, despite a rich rule being set for VRRP, when I bring firewalld up both hosts start to respond on the virtual IP: My keepalived config is taken from a standard tutorial template and looks as follows: Both boxes have a simple one zone firewall, and I have added a rich rule to allow VRRP communication between the two hosts: I have also set When firewalld is stopped on both boxes, keepalived behaves correctly, but when enabled to appear that both sides lose touch with each other, and just send out repeated gratuitous ARP packets: I can however see from using TCPDump that regular VRRP packets from the other host are at least hitting the network interface when firewalld is active: Does anybody have any ideas as to how I can further troubleshoot this issue? Thanks in advance. |
How to convert or display data of excel on github readme [closed] Posted: 28 Mar 2022 03:02 AM PDT We have an excel file which contains some tabular information. Is there anyway to link this data to display in the github readme.md file? If not, is there anyway to convert this excel to readme.md tabular data? Tried searching in google and serverfault/stackoverflow but didn't find any existing post. Please suggest. And, someone updated this question as off-topic. But this is for showing excel data in my project purpose only. |
Postgresql 13 - Speed up pg_dump to 5 minutes instead of 70 minutes Posted: 28 Mar 2022 12:09 AM PDT We use pg_dump nightly to make a snapshot of our database. We did for a long time with a simple command
This takes about an hour and produces a file of 30+GByte. How can we speed up things? |
Logrotate- restart service only if it was running Posted: 28 Mar 2022 01:03 AM PDT I have HA cluster with samba running on the active node, now i get these error's in my root mail: Can i make Logrotate only restart the service if it was running ? As requested the logrotate config of smane |
Add sender to my exchange out of office mails which are sent via postfix with an empty sender Posted: 28 Mar 2022 12:01 AM PDT Out of office mails works internally but externaly the logs says : - it goes out of Exchange 2010 to go to Postfix (without any sender), - Postfix sends it out to the sender without any sender - the destinator bounces it back with the error " status=bounced (host gmail-smtp-in.l.google.com[173.194.76.26] said: 550 Requested action not taken: mailbox unavailable (in reply to MAIL FROM command))" The RFCs say that out of office mails and other MDNs should be sent with an empty sender. Since Exchange 2010 (or 2007?), that is what it is done. The problem is that at least Gmail and Hotmail refuse those mails:
Internet says that we can't add a sender to those out of office mails in Exchange 2010. There are transport rules but they can't add "From" attribute in header, and email rewriting but... Its like asking me to write a big book in chinese while I just want to have a "cool" chinese character on my arm. My luck is that my exchange sends mail via a postfix server (Internet -> Postfix -> Exchange) and that we can add sender to mails with postfix. What I understand is that I can replace things like "*@mydomain.com" to a single static mail address, always the same, that I can choose like "mailer@myStylishDomainName.com" but what I would like to do is add the real sender mail address to the "from". And I would like to do this only if it is a "automatic reply" kind of mail. How could I add a "from" value to my out of office mails so that gmail and other external mail servers accept my MDNs please? Update 1 : in addition ton DKIM/DMARC, I saw those roads :
https://docs.microsoft.com/en-us/previous-versions/office/exchange-server-2010/bb430765(v=exchg.141)
Update 2 : if I remove the Postfix MTA in between my Exchange and the Internet, Out of office mails are sent and received/accepted by Gmail because they do have a Return-Path and a From. So it must be Postfix that is messeing with this. |
netdata: view other servers from one dashboard Posted: 28 Mar 2022 02:04 AM PDT I've just installed However, I'm trying to install I believe I have followed the directions correctly from https://docs.netdata.cloud/streaming/ for setting up a "headless collector", where "cougar" is my "slave" instance and "rolls-royce" is my "master" instance. Update: I also figured out that I need to have my own "registry" cougar netdata.conf cougar stream.conf rolls-royce netdata.conf rolls-royce stream.conf And I think I see data being collected in the logs, and cache files being created. However, I cannot figure out how to view my "cougar" data from my "rolls-royce" dashboard. The documentation refers to a "my-netdata" menu. I don't have a "my-netdata" menu. I have a menu entitled "rolls-royce", with only a single entry for "rolls-royce http://rolls-royce:19999/" but no entry for "cougar". Can anybody help me figure out what I am missing? |
"Couldn't resolve host name: Could not resolve host:" in Zabbix Posted: 28 Mar 2022 03:06 AM PDT Getting "Couldn't resolve host name: Could not resolve host: example.zabbixagent.com; Name or service not known" in Zabbix server although DNS and hostname of Zabbix Active Agent is correct. Is this a bug or a misconfiguration in Zabbix? Please help. |
exim rewrite Subject line if Reply-To domain does not match From domain Posted: 27 Mar 2022 11:01 PM PDT I would like to rewrite the subject line of all emails that contain a Reply-To: line with an email address in a different domain than the From: line. The reason for this is that I frequently get fraud emails that look like this: Outlook displays the "From: " information, which can easily be forged, but does not display the Reply-To: line per default. So the email does not look suspicious. If one replies the email is sent to thief@gmail.com, and the thief will of course make sure that the From: My Name header is again showed in the response. Some of these emails are so cleverly designed that people fall for it. To prevent this, I would like to rewrite the Subject line to something like "[Potential fraud] Please urgently pay this invoice" if there is a Reply-To recipient which is in a different domain than the From sender. How do I configure Exim to do this? Please advise. |
Robocopy - Exclude specific file from purge within subdirectory Posted: 28 Mar 2022 12:01 AM PDT I want to exclude a specific file from being deleted while still performing a purge. The specific file is located within a subdirectory that does not exist in source. Source: Destination: If I use: Then Robocopy will delete folder2\ which contains that file, so in essence still deleting the dontdelete.txt file. If I use: Then Robocopy will not look inside folder2 at all for files that should be purged. I have also tried using the entire path including the file with no difference in output. |
Joining a server to AD via AWS cloudformation Posted: 28 Mar 2022 03:06 AM PDT I want to use cloudformation to automatically join new instances to AD. When I googled this it looks like many people just use scripts in there cloudformation templates and pass in credentials- I don't want to do that. This article shows how this is seamless if you have the AWS Directory setup. I already have an AD Domain setup with my own DCs, can I just use the AD Connector or something so I can seamlessly join new instances to that like I can with the AWS Directory Service? |
Exchange 2016 keeps giving away it's default Self-signed certificate instead of CA one Posted: 28 Mar 2022 02:04 AM PDT I've got Exchange 2016 server being prepared for it's prime time. But Outlook client, connected to mailbox on that server, pops out window saying that certificate issued by not trusted organization, more specifically - it's default self-signed certificate, which was created during Exchange installation. The problem is that I've created and installed proper SSL certificate with domain CA, assigned it to services and to IIS, but server keeps giving it's SS certificate for some reason. Output of Get-ExchangeCertificate | Format-List FriendlyName,Subject,CertificateDomains,Thumbprint,Services It also does very same thing when I use my browser to connect https to server - keeps warning me about SS certificate instead of CA one. How can I make it use proper certificate? |
Disabling cloud-init if metadata server cannot be reached Posted: 27 Mar 2022 11:01 PM PDT I'm trying to get cloud-init to not take any action if the metadata server cannot be reached. If cloud-init ignores the error and continues executing (which seems to be the default configuration), then it resets the host SSH key, administrative user password, etc., which is a problem if the virtual machine was being used already beforehand (if password login was configured, then users can no longer access the VM). I'm seeing this problem in two situations:
|
SSH works locally but not remotely Posted: 28 Mar 2022 01:03 AM PDT Recently ran into a hardware issue on my CentOS machine. After a PSU, ram, mobo and CPU replacement I think I have the hardware issue resolved. However, I believe I have a network configuration issue causing SSH remote connection failures. I tried regular ssh using my original account and key and I receive a connection timeout after server is expecting: From the server itself with a new account: From a remote connection on the LAN to try remote SSH: I have verified I can:
I did see a post regarding DNS resolution issues causing an issue, I have Any ideas here as I am scratching my head for what else to look for? Edit: /var/log/secure has the following contents: Also, I checked and SSH is listening on 22 as it should be. To avoid complications, I flushed iptables: |
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