Author Topic: Admin URL ERR_CONNECTION_RESET  (Read 421 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Admin URL ERR_CONNECTION_RESET
« on: July 21, 2017, 04:56:43 PM »
I've had the server running fine for a few months, as of this morning the admin URL (both ports 2030 and 2031) are giving the following error.



This site canít be reached

The connection was reset.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_RESET



I'm not seeing any server updates done via any crons or logs and I'm not certain what the cause is.  Websites are still running, I've tried disabling and rebooting various services (iptables, apache, nginx, varnish).  Any guidance would be appreciated.

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #1 on: July 21, 2017, 06:50:58 PM »
you should check if your cwp is up and running, you can do that by using command

Code: [Select]
netstat -tulpn|grep 2030

You can also check the state of your service by running this commands
Code: [Select]
service cwpsrv status
service cwp-phpfpm status
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #2 on: July 21, 2017, 06:58:41 PM »
It's all good.

Code: [Select]
netstat -tulpn|grep 2030
tcp        0      0 0.0.0.0:2030            0.0.0.0:*               LISTEN      177/cwpsrv: master

Code: [Select]
service cwpsrv status
Redirecting to /bin/systemctl status  cwpsrv.service
* cwpsrv.service - CentOS Web Panel service (daemon)
   Loaded: loaded (/usr/lib/systemd/system/cwpsrv.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2017-07-21 11:43:43 CDT; 2h 12min ago
  Process: 159 ExecStart=/usr/local/cwpsrv/bin/cwpsrv (code=exited, status=0/SUCCESS)
  Process: 108 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=0/SUCCESS)
 Main PID: 177 (cwpsrv)
   CGroup: /system.slice/cwpsrv.service
           |-177 cwpsrv: master process /usr/local/cwpsrv/bin/cwpsrv
           |-182 cwpsrv: worker process
           `-183 cwpsrv: worker process

Jul 21 11:25:58 jez systemd[1]: Failed to read PID from file /usr/local/cwpsrv/var/run/nginx.pid: Invalid argument
Jul 21 11:25:58 jez systemd[1]: Started CentOS Web Panel service (daemon).
Jul 21 11:42:34 jez systemd[1]: Stopping CentOS Web Panel service (daemon)...
Jul 21 11:42:34 jez systemd[1]: Stopped CentOS Web Panel service (daemon).
Jul 21 11:43:42 jez systemd[1]: Starting CentOS Web Panel service (daemon)...
Jul 21 11:43:43 jez cwpsrv[108]: Already running. If you want to run multiple instances, you need to specify different pid files (use -i option)
Jul 21 11:43:43 jez cwpsrv[108]: cwpsrv:the configuration file /usr/local/cwpsrv/conf/cwpsrv.conf syntax is ok
Jul 21 11:43:43 jez cwpsrv[108]: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test is successful
Jul 21 11:43:43 jez systemd[1]: Failed to read PID from file /usr/local/cwpsrv/var/run/nginx.pid: Invalid argument
Jul 21 11:43:43 jez systemd[1]: Started CentOS Web Panel service (daemon).


Code: [Select]
service cwp-phpfpm status
Redirecting to /bin/systemctl status  cwp-phpfpm.service
* cwp-phpfpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/cwp-phpfpm.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2017-07-21 11:43:42 CDT; 2h 12min ago
 Main PID: 101 (php-fpm)
   CGroup: /system.slice/cwp-phpfpm.service
           |-101 /usr/local/cwp/php71/sbin/php-fpm --nodaemonize --fpm-config /usr/local/cwp/php71/etc/php-fpm.conf -R
           `-123 /usr/lib/systemd/systemd-udevd

Jul 12 09:52:24 jez postfix/postsuper[32386]: Requeued: 1 message
Jul 21 11:24:48 jez systemd[1]: Stopping The PHP FastCGI Process Manager...
Jul 21 11:24:49 jez systemd[1]: Stopped The PHP FastCGI Process Manager.
Jul 21 11:25:58 jez systemd[1]: Started The PHP FastCGI Process Manager.
Jul 21 11:25:58 jez systemd[1]: Starting The PHP FastCGI Process Manager...
Jul 21 11:42:34 jez systemd[1]: Stopping The PHP FastCGI Process Manager...
Jul 21 11:42:34 jez systemd[1]: Stopped The PHP FastCGI Process Manager.
Jul 21 11:43:42 jez systemd[1]: Started The PHP FastCGI Process Manager.
Jul 21 11:43:42 jez systemd[1]: Starting The PHP FastCGI Process Manager...
Jul 21 11:43:42 jez systemd-udevd[123]: starting version 219

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #3 on: July 21, 2017, 07:02:57 PM »
then check your CSF firewall, you can disable it for first test and if this is firewall related don't forget to add cwp ports on the TCP_IN and TCP_OUT list in csf configuration file /etc/csf/csf.conf

After making changes restart firewall
Code: [Select]
csf -r
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

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #4 on: July 21, 2017, 10:36:50 PM »
CSF looks good.  I also disabled it and restarted it, but still could not pull up the admin via either port at any part in testing CSF.  Even attempted disabling iptables while testing CSF.

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #5 on: July 22, 2017, 09:10:50 AM »
then you need to check port limits with your server provider
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