Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: corporacion1 on May 18, 2017, 07:21:59 PM

Title: Apache not fun FAILE
Post by: corporacion1 on May 18, 2017, 07:21:59 PM
● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-05-18 15:14:50 -04; 5min ago
  Process: 7636 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

May 18 15:14:49 srv1.corporacion1.com.ve systemd[1]: Starting Web server Apache...
May 18 15:14:50 srv1.corporacion1.com.ve apachectl[7636]: AH00526: Syntax error on line 12 of /usr/local/apache/conf/sharedip.conf:
May 18 15:14:50 srv1.corporacion1.com.ve apachectl[7636]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
May 18 15:14:50 srv1.corporacion1.com.ve systemd[1]: httpd.service: control process exited, code=exited status=1
May 18 15:14:50 srv1.corporacion1.com.ve systemd[1]: Failed to start Web server Apache.
May 18 15:14:50 srv1.corporacion1.com.ve systemd[1]: Unit httpd.service entered failed state.
May 18 15:14:50 srv1.corporacion1.com.ve systemd[1]: httpd.service failed.

help me!!!

Not fun Apache :-(

Title: Re: Apache not fun FAILE
Post by: IgorA100 on May 23, 2017, 10:28:24 PM
Please publish the file /usr/local/apache/conf/sharedip.conf
Title: Re: Apache not fun FAILE
Post by: Administrator on May 24, 2017, 09:59:04 AM
try reinstalling apache
Code: [Select]
yum reinstall cwp-httpd
if that doesn't help then remove conf files and reinstall it again
Code: [Select]
rm -f /usr/local/apache/conf/sharedip.conf /usr/local/apache/conf/httpd.conf
yum reinstall cwp-httpd