Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: Gezegenler on March 23, 2020, 03:18:13 PM

Title: CWP Running but websites down
Post by: Gezegenler on March 23, 2020, 03:18:13 PM
Hello

CWP While running, websites suddenly stopped. I can access the PMA and CWP panel, but the websites are down.
I reset the server several times, but nothing has changed.


what could be the reason?

Thjank you
Title: Re: CWP Running but websites down
Post by: ejsolutions on March 23, 2020, 05:58:33 PM
Scary! The basics of running a hosting service.  :o
There's even a GUI..
File Management, CWP->Log Viewer
Title: Re: CWP Running but websites down
Post by: Gezegenler on March 24, 2020, 12:24:20 PM
Which log file should I review?
Title: Re: CWP Running but websites down
Post by: Gezegenler on March 24, 2020, 12:31:28 PM
When you turn off the firewall, the sites are active again.
Title: Re: CWP Running but websites down
Post by: ejsolutions on March 24, 2020, 01:23:20 PM
You've answered your own question.
IF you have access to the official CSF GUI then you can watch the firewall log in real time, when trying to open a site.
If not tail -f /var/log/messages (though good luck discerning the appropriate messages in amongst port scans).
tail -f /var/log/messages | grep your_ip_address   <-- might be better.

Try resetting the firewall rules
csf -f

Try resetting CSF
csf --profile backup broken
csf --profile apply reset_to_defaults
csf -r

How do you find out about of of this? Read the configserver CSF help.
Title: Re: CWP Running but websites down
Post by: Gezegenler on March 27, 2020, 02:39:00 PM
Unfortunately, nothing changed. I had to turn off the firewall. I am trying to find a solution
Title: Re: CWP Running but websites down
Post by: ejsolutions on March 27, 2020, 04:00:10 PM
Unfortunately, nothing changed. I had to turn off the firewall. I am trying to find a solution
I do hope that you don't host any clients!
Title: Re: CWP Running but websites down
Post by: Sandeep on March 28, 2020, 08:31:03 AM
hi remove any blocks and flush csf via this command :
csf -f
Title: Re: CWP Running but websites down
Post by: ejsolutions on March 28, 2020, 10:48:29 AM
hi remove any blocks and flush csf via this command :
csf -f
As previously suggested.