Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Nginx and Apache suddenly conflicting

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
matteo
Posts: 2
Joined: Sun May 19, 2019 11:24 am

Os: Debian 6x
Web: apache + nginx
Nginx and Apache suddenly conflicting
  • Quote

Post by matteo » Sun May 19, 2019 11:30 am

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?
Top

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: Nginx and Apache suddenly conflicting
  • Quote

Post by dreiggy » Mon Jul 29, 2019 3:27 pm

First check apache and nginx error logs.
Top

matteo
Posts: 2
Joined: Sun May 19, 2019 11:24 am

Os: Debian 6x
Web: apache + nginx
Re: Nginx and Apache suddenly conflicting
  • Quote

Post by matteo » Mon Jul 29, 2019 6:50 pm

They are conflicting that's from the log
Top

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: Nginx and Apache suddenly conflicting
  • Quote

Post by dreiggy » Sat Aug 03, 2019 7:21 pm

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'
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Nginx and Apache suddenly conflicting
  • Quote

Post by grayfolk » Sat Aug 03, 2019 7:35 pm

dreiggy wrote: ↑
Sat Aug 03, 2019 7:21 pm
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'
This is Vesta config, no make sense to check it.

Try to rebuild web and reboot server.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password