Recent Questions - Server Fault |
- How to use EFI Shell to recover from SELinux Lockout?
- /var/log/messages getting huge in size
- Downgrade or compile rsync to fix bug
- Docker multiple port too single container port configuration
- Is it possible to use Lambda with ALB to control maintenance page?
- How to retrieve non-delivered postfix emails?
- UPDATES not working on LINUX Maschine after changing iptables
- Retrieve parent folder size for each IIS site
- Subversion repo inside a repo
- Port 1723 won't close
- Restart-Computer : Failed to restart the computer with the following error message: A system shutdown is in progress
- Install software on azure VM
- How can I SSH into a server that is using a VPN?
- Where is default soft limit config file debian?
- BackupPC files on NFS - web interface not working
- How to enable HTTP access to Intel RMM3 through ssh console?
- iptables doesn't recognize --log-prefix
- certutil -TCAInfo error message RegConnectRegistry/RegOpenKeyEx: The network path was not found. 0x80070035 (WIN32: 53 ERROR_BAD_NETPATH)
- Windows Server 2012 Terminal Server Degrading Performance on User Session
- Why does my server running nginx/php-fpm keep losing session capability without generating any errors?
- Configuring multiple domain in nginx in one file
- How to automatically increase the partition size of multiple Ubuntu nodes in VMware vSphere?
- EL6/KVM guest dies with "pthread_create failed: Resource temporarily unavailable"
- Upgrade SATA drive on Dell Poweredge 1950, RAID 1, Ubuntu server
- Domino HTTP Server: Error - Unable to Bind 1.2.3.4, port 80, port in use or Bind To Host configuration specifies a duplicate IP address/host
- Configuring DNS with router and BIND
- Forwarding everything from external DMZ ip to NAT ip using iptables
- What are the main points to avoid RAID5 with SSD?
- Apache Alias to access folder in different harddrive? (localhost)
| How to use EFI Shell to recover from SELinux Lockout? Posted: 14 Nov 2021 08:03 PM PST I enabled SELinux on my Centos 8 box and now I can't get back into the server. It's hosted with a company, so I don't have physical access to it. But I do have access to advanced boot options, including the EFI shell. I am thinking if I can get access to the partitions, I can disable SELinux like that. However, I don't know how to get to the files. I followed the instructions here but I get stuck on this part: or in my case: However, when I type that, I still see: When I am expecting to see: If I type: Then I get error: I dont get that if I type blk0. So it is aware of the mapping, it's just not switching folders. Any thoughts on this? |
| /var/log/messages getting huge in size Posted: 14 Nov 2021 07:22 PM PST I am using CentOS 7 and facing issues with /var/log/messages. For some reason, /var/log/messages gets huge in size filling up the whole partition. To resolve the issue, every time in have to empty the file but it get huge again. Can anyone please advise permanent solution on this? |
| Downgrade or compile rsync to fix bug Posted: 14 Nov 2021 07:08 PM PST rsync: [generator] failed to set permissions : Operation not supported (95) I'm running ubuntu 21.10 and facing the same problem as the above link, but could not follow the solution steps, for e.g. installing libssl-dev gives me this error below: Also can't comment (ask questions) there due to low reputation, I need my rsync to run, is there a way to downgrade to 3.1.3-8 or some easier solution? Thank you. |
| Docker multiple port too single container port configuration Posted: 14 Nov 2021 04:22 PM PST I want to configure localstack as a shared container between different micro services. But the problem in my company's environment is, these different micro services configure different ports for different services in localstack and hence every microservice's docker-compose.yml file has localstack configured as a service and custom ports pointing to different services on localstack. So for example, one micro service will configure DynamoDB with port 4569 while another with port 8000. What I want to do is I want to either configure nginx proxy so that all the traffic from any of the DynamoDB ports goes to one DynamoDB port on localstack(I have used DynamoDB as an example, basically it can be any service on localstack) OR do some port configuration in docker-compose.yml (Configure multiple ports connecting to one container port on DynamoDB on localstack) file that will facilitate me using localstack without much changes. Is this possible? Is there any example that I can refer or use to configure this? |
| Is it possible to use Lambda with ALB to control maintenance page? Posted: 14 Nov 2021 04:16 PM PST Lambda can act as an ALB target. If set priority the ALB will send traffic to different backend targets between real application and maintenance page. Maybe it needs to set priority to switch manually in Lambda if want to change to each other. Can it set fixed time such as show maintenance page between 8AM ~ 8PM, other time show application? In other words, is there any other way can realize the goal? Such as use Route53 or anything? |
| How to retrieve non-delivered postfix emails? Posted: 14 Nov 2021 09:41 PM PST I recently discovered that all emails that were meant to be being sent to a particular address of mine via postfix on my Ubuntu server have been getting rejected by the 3rd party email provider. So there is about 6 months of emails I have not received (the emails were from a submission form on my website). I have checked and postfix mail queue is empty. This is a sample log entry when an email was non-delivered (xxx's for privacy). Is there any way to retrieve the non-delivered emails over the last 6 months? |
| UPDATES not working on LINUX Maschine after changing iptables Posted: 14 Nov 2021 09:55 PM PST I am currently programming a web server. I have an FTP and an HTTP server running on that. Of course I am configuring iptables to optimize the Maschine, currently, I have the following rules. I have added the rules After doing this I can not do any more updates do I just get this message. Posting a screenshot of the error. Can anyone tell me what I should do to still do the updates? Best regards Thank you in advance |
| Retrieve parent folder size for each IIS site Posted: 14 Nov 2021 06:20 PM PST Im trying to get a list of sites from IIS (8.5) to include the folder size but cant get this to work. Below is the current code i have that is working without the size I then attempted to add in this line but that didnt work either. I then attempted with which was getting closer but i think my syntax is wrong with Where am i going wrong? Or how could i retrieve the parent of each website folder size? |
| Posted: 14 Nov 2021 06:35 PM PST It appears that some bright soul has created a repo inside of an existing repo. Will this work? Are there any problems that might result from this? UPDATE 001: As requested, here is a list of the repository directory where a new repository appears to have been created. I did not create this. I have files in other parts of the same repo. Will this work? Are there any pitfalls? |
| Posted: 14 Nov 2021 05:02 PM PST I'm not very experienced in linux administration but have been running a server that hosts django for a year or so now. Using ufw I had only opened port 80, 443 and 69 for nginx and SSH. Recently whilst running tripwire checks I've seen a lot of modifications to files - which I've assumed is just usual system files doing their thing. I also notice port 1723 is open whilst checking with nmap scans from another machine. I can't get it to close even when denying with ufw & iptables. When I check netstat for listening ports it never lists 1723. Is there something suspicious going on or am I missing something? |
| Posted: 14 Nov 2021 08:58 PM PST I have installed updates on my Windows 2012r2 Machine and as usual, I did a reboot. However, it seems that the machine has hung itself during the reboot process and does not do a proper shutdown. I can initiate a connection via RDP, but not connect to the machine, I can also send commands via powershell, so I have tried sending a Force reboot: The reply from the server is the following: Is there a way to force the reboot and kill the processes? |
| Posted: 14 Nov 2021 03:01 PM PST Is it possible to install softwares on a windows VM as and when they are created in a particular subscription? The actual need is to install endpoint protection software and vulnerability assessment tools onto the windows VMs every time a new one is deployed, all should happen without a admin triggering the installs. |
| How can I SSH into a server that is using a VPN? Posted: 14 Nov 2021 06:03 PM PST I have a Raspberry Pi server (rpi) with a static internal IP using a VPN service. My router has a static public IP and I have the NAT set up to forward SSH traffic to the rpi as I have other devices on the network. I am able to SSH into the rpi server remotely (out of my network) when no VPN is used. I am able to SSH into the rpi internally (in my network) when the VPN is used. I am not able to remotely SSH into the rpi when the VPN is used. I have seen other questions that are similar but I'm such a novice I couldn't quite understand fully what was explained or ascertain if the situation was the same as mine. I don't believe I'm using a firewall on the server but am relying on the router to block connections and using NAT to forward connections. I don't understand what iproute is for or on which machine it should be configured. |
| Where is default soft limit config file debian? Posted: 14 Nov 2021 09:05 PM PST I have a process running as root that is capped to 1024 ( in reality lsof shows me up to 1031 for it) open files but I don't find the file to modify this limit. Here is the output of cat /proc/PID/limits to confirm it However, I can't find that limit in "classic" config files : /etc/security/limits.conf is fully commented and /etc/security/limits.d/ is empty I'm running debian 8.8 (jessie) on Linux version 3.14.32-xxxx-grs-ipv6-64 (kernel@kernel.ovh.net) (gcc version 4.9.2 (Debian 4.9.2-10) ) Thanks, |
| BackupPC files on NFS - web interface not working Posted: 14 Nov 2021 02:50 PM PST if BackupPC files from dir /var/lib/BackupPC is moved to NFS mount, web interface not working. I see an only home page, but when I want to go to host config or to summary webpage timeouts (504 Gateway Timeout). In BackupPC logs isn't anything relevant. In httpd error log are these lines: If I switched configuration back (/etc/BackupPC/config.pl, variable $Conf{TopDir}), all works fine. I use CentOS Linux 7 x64 and BackupPC-3.3.1-5.el7.x86_64 |
| How to enable HTTP access to Intel RMM3 through ssh console? Posted: 14 Nov 2021 05:06 PM PST Would you be so kind to write how to enable HTTP access to Intel RMM3 through ssh (SMASH-CLP) console, please? I have already tried to reset it with a procedure recommended on the Intel forum (https://communities.intel.com/thread/17372?tstart=0) but it didn't solve the problem Best regards, Grzegorz |
| iptables doesn't recognize --log-prefix Posted: 14 Nov 2021 03:01 PM PST I'm having difficulty getting iptables to log. Here are the relevant commands: Entering these commands, results in:
I believe the following modules are important, so they're active in my kernel: Any suggestions for solving this problem? |
| Posted: 14 Nov 2021 10:06 PM PST Recently we noticed the following errors were occurring daily in our Event Logs for servers in our DMZ: I suspect it is a firewall issue, and tried to use the certutil.exe tool to verify connectivity to the certificate authorities, but when running the -TCAInfo command I received the following error message: It appears to think that the CA is Online and alive, but there is an The network path was not found. error and the CA Registry Validity Period: ? ??? is unknown. I confirmed that https://ny-ca01.company.com/certsrv/ is accessible from the DMZ servers, so what other ports are needed for renewing certificates? |
| Windows Server 2012 Terminal Server Degrading Performance on User Session Posted: 14 Nov 2021 08:05 PM PST We have a terminal server environment with about 40 users which is experiencing a curious performance issue: when a given user logs in initially, everything functions properly, once a particular user starts to eat up more resources (upwards of 2GB/memory and 2%-5% of overall CPU usage), their applications seem to slow down considerably. If I have the user close everything, log off and log back in, performance on the applications is restored. It's almost as if there's some kind of throttling on resources going on for each user session. Has anyone experienced this phenonmenon? The server resources are adequate as at peak we're using 50%-70% CPU and about 75% of memory. Thanks in advance! |
| Posted: 14 Nov 2021 07:02 PM PST I am managing a server that has a couple dozen websites on it and they have all been working fine until last week when it was noticed that one site had seemingly lost the ability to maintain session data. Then another. (I am guessing it is affecting all sites on this server but just has not been reported yet.) I changed absolutely nothing in either site's configs recently. I have added no software to the server recently. I have not changed the general nginx or php-fpm configs. There are no errors in the nginx or php-fpm error logs that correspond to this failure. Restarting php-fpm appears to clear up the problem at least temporarily. Inevitably, the problem recurs. How is it possible that php-fpm can fail like this without producing an error message somewhere? I have been googling extensively and have not found anyone else with this problem. The server is running RHEL 6 with nginx and php-fpm (remi repo). I can't remember if this server is running APC but I don't think it is. All patches are up to date. I am guessing I just have hit some sort of threshold where the current php-fpm configs are insufficient, though I don't understand why I am getting no errors when that limit is reached. Here are what I suspect are the relevant php-fpm settings... Is there an error log somewhere I' missing where this would be reported? As I mentioned, there is nothing in /var/log/php-fpm/www-error.log, or in the general nginx error log or in the site-specific nginx error logs. P.S. : I do get other kinds of error messages in all of the logs I mentioned so the lack of error messages is not a permission issue. Here are df outputs (edited to remove identifying physical paths)... And here is the php-fpm status page while the site is not allowing sessions to be saved... |
| Configuring multiple domain in nginx in one file Posted: 14 Nov 2021 08:05 PM PST I am still newbie configuring nginx. Is it posibble to configure multiple domain in one file and they share mostly the same config? sites-enabled/mysite sharedconf.conf |
| How to automatically increase the partition size of multiple Ubuntu nodes in VMware vSphere? Posted: 14 Nov 2021 10:06 PM PST We have dozens of Ubuntu nodes where I have to resize the hard disk drive to different sizes. Currently I'm doing all of the following steps manually:
I would love to automate this process, in a best case to provide a list of node names and corresponding sizes and let the tool do its job. In the case where there is no automated solution available I would love to hear about micro-optimizing every of these steps to make my tedious job easier. We're already automatically provisioning our nodes with Chef, and a VM template with a hard disk size of 16 GB. Any smart ideas? |
| EL6/KVM guest dies with "pthread_create failed: Resource temporarily unavailable" Posted: 14 Nov 2021 07:02 PM PST I've got a CentOS 6.5 x86-64 KVM server with a bunch of guest VMs of different breeds, mostly EL5 and EL6. However one and only one of them keeps crashing every couple of days with: Here is the full log from There are 8 other VMs on the box and all of them run happily for months, just this one crashes every few days. There is nothing special about this VM - pretty standard LAMP, not overloaded - I can't think of any significant difference between this and the other VMs that exhibit no problems. Some of those are very busy but still rock stable. Somewhere on the net I found a suggestion to set NEW INFO: As it turns out the VM always dies while Even though Backup runs every night but the VM crashes only about once a week. What does Any ideas? |
| Upgrade SATA drive on Dell Poweredge 1950, RAID 1, Ubuntu server Posted: 14 Nov 2021 09:05 PM PST My current set up is a Dell PowerEdge 1950, two 250GB SATA drives, RAID 1, OS is Ubuntu server. Using it for running OTRS (open source help desk). I'd like to upgrade the drives to the maximum capacity possible, and it's my understanding that 2TB is the max. I also understand that I can use a non Dell hard drive with the only risk of not having Dell supporting it, although it can work. So, first of all, are these two statements correct? Secondly, what would be the best way to do that? Can I just replace the first drive, let the array rebuild, then replace the other drive? I assume that if this is a valid practice, I will have to expand capacity from the original size to the new one? I appreciate any help and advise on this matter in advance! |
| Posted: 14 Nov 2021 06:02 PM PST We have a Domino 9.0.1 Server hosted on Ubuntu 14.04 Server, which hosts several other http based Tasks, (Nginx, Couchdb, Confluence on Tomcat). The Ubuntu Server has multiple IPs, all bind correctly to the different Tasks. The Domino SMTP task binds correctly and is working well. All http tasks (other than Domino) are proxied behind Nginx version 1.6x and all are working well, netstat shows no 0.0.0.0 bindings, no one is listening on 1.2.3.4:80 . when I try to a couple of times, may be 4 or 5 times then it loads without failure! And: when it comes up, I see http is listening on 80 AND 443, but SSL Connections are not working, nor any error log! It must be a kind of bad magic :-( thanks in advance Pitt |
| Configuring DNS with router and BIND Posted: 14 Nov 2021 06:02 PM PST GoalI am trying to setup a local DNS server here in our office. ProblemApparently Comcast has a loop-back so when we configured the domain to go to our IP it works outside of the office but inside it fails. Actions takenWe decided to setup a local DNS server so that anyone requesting our domains inside will still be able to view them. We have it setup for the most part but it just wont seem to work when we add the IP of the DNS server to the DNS settings in the router. However, when I go into my local computer and add the IP there in the DNS settings it resolves correctly. RequestThere must be something that I am missing in the router configuration. If you have any links with really good examples of how to setup one up that would be great. We are using Red Hat but anything is helpful. Thanks in advance. |
| Forwarding everything from external DMZ ip to NAT ip using iptables Posted: 14 Nov 2021 04:07 PM PST I know there are a lot of questions about this, but I still struggling to get it working. I have a firewall which has 3 external IPs. (IPs have been changed randomly for security) And I have these simple rules: So I want to forward everything from 51.215.232.150 to internal IP 172.16.5.218. So I thought this would work: But alas no. Thanks in advance. Edward |
| What are the main points to avoid RAID5 with SSD? Posted: 14 Nov 2021 03:05 PM PST My understanding is that an SSD has a limited amount of writes. RAID5 performs many writes due to parity information across the drives. So reasoning states that RAID5 would kill and lower the performance of Solid State Drives at a faster rate. The following statement from This Article, makes me think I don't fully understand or might be incorrect with my above reasoning.
|
| Apache Alias to access folder in different harddrive? (localhost) Posted: 14 Nov 2021 04:07 PM PST Installed Appserv. Made a php. D:/Appserv/www/x/y/file.php Then I have a folder, like "E:/foldie" I want file.php to mess with that folder. I found this somewhere: So I added it to my httpd.config file.Then I added the following to file.php:
Was expecting Help? |
| 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