Httpd seems to miss

Issues related to applications and software problems
Post Reply
dan86
Posts: 2
Joined: 2017/10/19 08:47:09

Httpd seems to miss

Post by dan86 » 2017/10/19 09:01:27

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!

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Httpd seems to miss

Post by avij » 2017/10/19 09:09:50

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.
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
Posts: 2
Joined: 2017/10/19 08:47:09

Re: Httpd seems to miss

Post by dan86 » 2017/10/19 09:14:59

avij wrote:
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.
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.
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.
However, thank you, I'll try to get support from WHM people, too.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Httpd seems to miss

Post by avij » 2017/10/19 11:02:59

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.

Post Reply