Author Topic: Possible NginX Bug in CWP7  (Read 1051 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Possible NginX Bug in CWP7
« on: May 01, 2017, 04:17:07 AM »
Has anyone managed to get Apache+NginX to run on CWP7?

When we attempt to install Apache+NginX or Apache+NginX+Varnish Cache it fails. The error log (/var/log/nginx/error.log) states:

2017/05/01 02:30:07 [emerg] 27443#27443: bind() to 0.0.0.0:80 failed (98: Address already in use)

As NginX should be running on Port 82 in this configuration I suspect a bug. We never had problems on CWP6 with this, so if anyone has CWP7 running with NginX can you confirm it isn't a bug so we know for sure? Thanks.

Offline
**
Re: Possible NginX Bug in CWP7
« Reply #1 on: May 01, 2017, 02:47:32 PM »
Has anyone managed to get Apache+NginX to run on CWP7?

When we attempt to install Apache+NginX or Apache+NginX+Varnish Cache it fails. The error log (/var/log/nginx/error.log) states:

2017/05/01 02:30:07 [emerg] 27443#27443: bind() to 0.0.0.0:80 failed (98: Address already in use)

As NginX should be running on Port 82 in this configuration I suspect a bug. We never had problems on CWP6 with this, so if anyone has CWP7 running with NginX can you confirm it isn't a bug so we know for sure? Thanks.

u are sys admin?

that not bug. said apached used 80. Reboot ur server if dont know how kill process.

Offline
*
Re: Possible NginX Bug in CWP7
« Reply #2 on: May 02, 2017, 03:21:52 AM »
Hi robbyq, I should have given more info. We did try that before I posted. When we killed Apache, neither Apache nor NginX would start. When we restarted the server, Apache restarted, but no NginX, and our test website was unreachable (Unknown Host). LeafDNS and IntoDNS both showed the DNS resolving correctly.

As far as I can tell this is only an issue in LXC VPS. We have CWP7 with Apache+NginX+Varnish Cache running fine in KVM and on dedicated servers. It's probably not an CWP7 bug, but a LXC bug. Anyway we'll just stick to KVM for now.

If anyone gets CWP7 running with Apache+NginX in an LXC VPS please update this thread so we know it works.

Offline
**
Re: Possible NginX Bug in CWP7
« Reply #3 on: May 02, 2017, 08:58:03 AM »
Hi robbyq, I should have given more info. We did try that before I posted. When we killed Apache, neither Apache nor NginX would start. When we restarted the server, Apache restarted, but no NginX, and our test website was unreachable (Unknown Host). LeafDNS and IntoDNS both showed the DNS resolving correctly.

As far as I can tell this is only an issue in LXC VPS. We have CWP7 with Apache+NginX+Varnish Cache running fine in KVM and on dedicated servers. It's probably not an CWP7 bug, but a LXC bug. Anyway we'll just stick to KVM for now.

If anyone gets CWP7 running with Apache+NginX in an LXC VPS please update this thread so we know it works.

Hi,

Try to rebuild again vhost. or more go to to select webservice to only apache, rebuild after install nginx, rebuild and see problem if not persist, can try install varnish cache.

Offline
*
Re: Possible NginX Bug in CWP7
« Reply #4 on: July 02, 2017, 07:47:36 AM »
ive got similar thins - vps on OpenVZ

http://imgur.com/a/TELlf

centos 7 and no option to run nginx

Offline
*
Re: Possible NginX Bug in CWP7
« Reply #5 on: July 04, 2017, 05:46:54 AM »
don't forget to rebuild vhosts after making webserver changes.
If this issue continues after rebuild of vhosts then stop all webservers and check if some of them is stuck and then kill it manually.

You can check the list of process in cwp and kill it from there, after that restart the services/webservers.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services