Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: sharkbilisim on April 13, 2015, 06:26:20 PM

Title: Subdomain folder delete issue
Post by: sharkbilisim on April 13, 2015, 06:26:20 PM
One of our customer created a subdomain of his domain.

He deleted subdomain folder via ftp or file manager then apache wont restart.

It has an folder not found error. So all sites down.

What is the exact solution for this situation how can we restrict deletion of subdomain folders or kind of exception to apache still work.
Title: Re: Subdomain folder delete issue
Post by: brijendrasial on April 15, 2015, 12:16:42 PM
Well actually deleting subfolder for subdomains will not make Apache to fail. When you restart it will actually give out error something like "file doesnt exist/path" but Apache will start.
Title: Re: Subdomain folder delete issue
Post by: sharkbilisim on April 15, 2015, 08:32:02 PM
But in our case, restart apache, start apache and reboot not solve apaches shut down.
Title: Re: Subdomain folder delete issue
Post by: brijendrasial on April 15, 2015, 09:09:05 PM
check out of below command for any errors

service httpd fullstatus