Author Topic: cwp not working after server restart  (Read 20947 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
cwp not working after server restart
« on: October 18, 2018, 06:09:55 AM »
Hello,
if i restart my server centos web panel ui, httpd always become stopped, then i run following commands from ssh and cwp is working again, how can i fix this issue.


csf -x
iptables -F
service iptables save
sh /scripts/restart_cwpsrv
« Last Edit: October 18, 2018, 06:12:00 AM by dgnzcn »

Offline
*
Re: cwp not working after server restart
« Reply #1 on: October 18, 2018, 06:39:02 AM »
try checking what is the exact issue and what service is not autostarted, on restart try this

service cwpsrv status
service cwp-phpfpm status

also are you sure that you need to disable csf and clean iptables ?
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: cwp not working after server restart
« Reply #2 on: October 18, 2018, 07:19:50 AM »
Hello,
i restart server again than i run following commands

[root@server ~]# service cwpsrv status
cwpsrv is stopped
[root@server ~]# service cwp-phpfpm status
cwp-phpfpm is stopped
[root@server ~]#


than

[root@server ~]# service cwp-phpfpm start
Starting cwp-phpfpm:                                       [  OK  ]
[root@server ~]# service cwpsrv start
Starting cwpsrv:                                           [  OK  ]
[root@server ~]#

i can login to cwp now.


how can i fix that  this issue every reboot after?
« Last Edit: October 18, 2018, 07:26:44 AM by dgnzcn »

Offline
*
Re: cwp not working after server restart
« Reply #3 on: October 18, 2018, 04:58:34 PM »
following services not autostart after reboot and reload the server, is there a fix for this issue?

cwp-phpfpm
cwpsrv

Offline
*
Re: cwp not working after server restart
« Reply #4 on: October 18, 2018, 11:49:13 PM »
On centos 7
Code: [Select]
systemctl enable cwpsrv
systemctl enable cwp-phpfpm

On centos 6
Code: [Select]
chkconfig cwpsrv on
chkconfig cwp-phpfpm on
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: cwp not working after server restart
« Reply #5 on: October 19, 2018, 07:14:29 AM »
On centos 7
Code: [Select]
systemctl enable cwpsrv
systemctl enable cwp-phpfpm

On centos 6
Code: [Select]
chkconfig cwpsrv on
chkconfig cwp-phpfpm on

it is already set on.