Hi all,
I'm a newbie in server configuration and I have a big problem while messing around.
I have a server with CentOS Linux release 7.4.1708 running WHM and cPanel and EasyApache.
I did an install of php modules using "Available Profiles" in EasyApache 4 section in WHM, but my website stopped to work.
So, I tried to restart httpd (/sbin/service httpd restart), but it says it would be redirect to systemctl and didn't worked.
I tried systemctl restart http, but it says:
Failed to restart httpd.service: Unit not found.
I tried to find somewhere the way to get back to previous config, but I found nothing.
What can I do to fix it or to recover initial configuration?
Thanks in advance!
Httpd seems to miss
Re: Httpd seems to miss
This is your problem. You should seek support from the WHM people. Your system runs on CentOS, but the thing that you broke is not CentOS and we can't help with that.dan86 wrote:I have a server with CentOS Linux release 7.4.1708 running WHM and cPanel and EasyApache.
I did an install of php modules using "Available Profiles" in EasyApache 4 section in WHM, but my website stopped to work.
Re: Httpd seems to miss
Yes, I know, but I want to understand why CentOs tells me that http is not found. It seems it disappeared... so, I'd like to know if I can restore previous CentOs configuration.avij wrote:This is your problem. You should seek support from the WHM people. Your system runs on CentOS, but the thing that you broke is not CentOS and we can't help with that.dan86 wrote:I have a server with CentOS Linux release 7.4.1708 running WHM and cPanel and EasyApache.
I did an install of php modules using "Available Profiles" in EasyApache 4 section in WHM, but my website stopped to work.
However, thank you, I'll try to get support from WHM people, too.
Re: Httpd seems to miss
It is likely that your system did not use the CentOS-supplied httpd. The CentOS-supplied httpd would have obeyed the systemctl command properly. It is more likely that your control panel system used its own modified httpd, which has its own startup mechanisms. Please use the support venues provided by your control panel vendor instead.