Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: Kleston 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.
-
you should check if your cwp is up and running, you can do that by using command
netstat -tulpn|grep 2030
You can also check the state of your service by running this commands
service cwpsrv status
service cwp-phpfpm status
-
It's all good.
netstat -tulpn|grep 2030
tcp 0 0 0.0.0.0:2030 0.0.0.0:* LISTEN 177/cwpsrv: master
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).
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
-
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
csf -r
-
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.
-
then you need to check port limits with your server provider
-
i am having same issue, ERR_CONNECTION_RESET, when upload shall file some kb, it does work , when upload grater than 1 mb, it gives this error, please help
[root@mail ~]# 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 Wed 2021-02-03 19:28:15 PST; 2 days ago
Main PID: 30793 (php-fpm)
CGroup: /system.slice/cwp-phpfpm.servaice
└─30793 php-fpm: master process (/usr/local/cwp/php71/etc/php-fpm.conf)
Feb 03 19:28:15 mydomain systemd[1]: Started The PHP FastCGI Process Manager.
Feb 03 19:28:15 mydomain systemd[1]: Reloading The PHP FastCGI Process Manager.
Feb 03 19:28:15 mydomain systemd[1]: Can't open PID file /usr/local/cwp/php71/var/run/cwp-php-fpm.pid (yet?) after reload: No such file or directory
Feb 03 19:28:15 mydomain systemd[1]: Reloaded The PHP FastCGI Process Manager.
Feb 03 19:36:57 mydomain phpMyAdmin[2496]: user denied: root (no-activity) from 124.253.227.64
Feb 03 21:07:19 mydomain phpMyAdmin[23374]: user denied: root (no-activity) from 124.253.227.64
Feb 04 03:19:10 mydomain phpMyAdmin[14053]: user denied: root (no-activity) from 124.253.248.250
Feb 04 05:49:10 mydomain phpMyAdmin[28833]: user denied: root (no-activity) from 124.253.248.250
Feb 04 21:04:24 mydomain phpMyAdmin[5325]: user denied: root (no-activity) from 124.253.248.250
Feb 05 10:09:16 mydomain phpMyAdmin[29797]: user denied: root (no-activity) from 124.253.104.141
-
i am having same issue, ERR_CONNECTION_RESET, when upload shall file some kb, it does work , when upload grater than 1 mb, it gives this error, please help
[root@mail ~]# 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 Wed 2021-02-03 19:28:15 PST; 2 days ago
Main PID: 30793 (php-fpm)
CGroup: /system.slice/cwp-phpfpm.servaice
└─30793 php-fpm: master process (/usr/local/cwp/php71/etc/php-fpm.conf)
Feb 03 19:28:15 mydomain systemd[1]: Started The PHP FastCGI Process Manager.
Feb 03 19:28:15 mydomain systemd[1]: Reloading The PHP FastCGI Process Manager.
Feb 03 19:28:15 mydomain systemd[1]: Can't open PID file /usr/local/cwp/php71/var/run/cwp-php-fpm.pid (yet?) after reload: No such file or directory
Feb 03 19:28:15 mydomain systemd[1]: Reloaded The PHP FastCGI Process Manager.
Feb 03 19:36:57 mydomain phpMyAdmin[2496]: user denied: root (no-activity) from 124.253.227.64
Feb 03 21:07:19 mydomain phpMyAdmin[23374]: user denied: root (no-activity) from 124.253.227.64
Feb 04 03:19:10 mydomain phpMyAdmin[14053]: user denied: root (no-activity) from 124.253.248.250
Feb 04 05:49:10 mydomain phpMyAdmin[28833]: user denied: root (no-activity) from 124.253.248.250
Feb 04 21:04:24 mydomain phpMyAdmin[5325]: user denied: root (no-activity) from 124.253.248.250
Feb 05 10:09:16 mydomain phpMyAdmin[29797]: user denied: root (no-activity) from 124.253.104.141
I reported one tip to solve the upload problem here: https://forum.centos-webpanel.com/index.php?topic=10209.msg35799#msg35799