Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: zoohoo on March 16, 2019, 05:02:44 AM

Title: two instances of httpd after update
Post by: zoohoo on March 16, 2019, 05:02:44 AM
So I updated to the latest version, found there are two apache instances installed, httpd and cwp-httpd.
So I removed httpd and keep cwp-httpd, in CWP it shows apache failed to load. Installed httpd again, and apache could start from CWP, but all the domain name point to default page, all other pages shows 404 not found.
I tried reinstalled apache and rebuild apache and vhost many times, still no success. Any helps is appreciated.
Title: Re: two instances of httpd after update
Post by: Netino on March 16, 2019, 10:38:00 PM
There are httpd for virtual hosts, and httpd for cwp, they are not the same.
How have you tried to reinstall the httpd .. ??
Apache for virtual hosts is a customized version, and must be installed as needed and guided by cwp.
Did you tried to rebuild Apache to the same version and settings..??

Regards,
Netino
Title: Re: two instances of httpd after update
Post by: zoohoo on March 17, 2019, 07:57:53 AM
Yes rebuild apache and vhost many times, I used yum remove httpd , yun reinstall cwp-httpd and some other command I found online, still no success. Had to wipe all the date and reinstall centos to resolve this. I believe update had made change to the cwp that did not recognize cwp-httpd as default apache server.