Nginx and Apache suddenly conflicting
Nginx and Apache suddenly conflicting
Hello,
after a out-of-space issue, due to failed backups which saturate HDD, suddenly anything in my server stopped working.
Apache and Nginx stopped starting: I made out it may be a port conflict since if I stop one service the other starts, and the same if I do viceversa.
I have 3 websites, and cannot understand why 1 is working, while the rest not.
1) https://ilariaematteo.it is no longer reachable
2) https://philipsafari.com is reachable
3) phpmyadmin is no longer reachable: "404 Not Found nginx/1.14.2" (if I start ngninx or "Not Found
The requested URL /phpmyadmin/ was not found on this server.
Apache/2.4.25 (Debian) Server at 217.112.83.231 Port 80" if I start apache)
it is now urgent to bring back things to normality, then I think I will have to understand why cron-backups creates gigabytes of logs.
can someone help me?
after a out-of-space issue, due to failed backups which saturate HDD, suddenly anything in my server stopped working.
Apache and Nginx stopped starting: I made out it may be a port conflict since if I stop one service the other starts, and the same if I do viceversa.
I have 3 websites, and cannot understand why 1 is working, while the rest not.
1) https://ilariaematteo.it is no longer reachable
2) https://philipsafari.com is reachable
3) phpmyadmin is no longer reachable: "404 Not Found nginx/1.14.2" (if I start ngninx or "Not Found
The requested URL /phpmyadmin/ was not found on this server.
Apache/2.4.25 (Debian) Server at 217.112.83.231 Port 80" if I start apache)
it is now urgent to bring back things to normality, then I think I will have to understand why cron-backups creates gigabytes of logs.
can someone help me?
Re: Nginx and Apache suddenly conflicting
First check apache and nginx error logs.
Re: Nginx and Apache suddenly conflicting
They are conflicting that's from the log
Re: Nginx and Apache suddenly conflicting
Check if your ports configurations are correct:
Code: Select all
# grep PORT /usr/local/vesta/conf/vesta.conf
WEB_PORT='8080'
WEB_SSL_PORT='8443'
PROXY_PORT='80'
PROXY_SSL_PORT='443'
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Nginx and Apache suddenly conflicting
This is Vesta config, no make sense to check it.dreiggy wrote: ↑Sat Aug 03, 2019 7:21 pmCheck if your ports configurations are correct:Code: Select all
# grep PORT /usr/local/vesta/conf/vesta.conf WEB_PORT='8080' WEB_SSL_PORT='8443' PROXY_PORT='80' PROXY_SSL_PORT='443'
Try to rebuild web and reboot server.