New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

error starting apache

Started by luizcsilva, August 24, 2018, 04:59:48 AM

Previous topic - Next topic

luizcsilva

I was with the 502 Bad Gateway error in admin access, however after executing the command cd / scripts ./restart_cwpsrv, it returned to work, however when I was inserting a new user my apache stopped working as you can see below:



httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2018-08-24 01:49:59 -03; 11s ago
  Process: 21887 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Aug 24 01:49:59 srv1.luizsilva.com.br systemd[1]: Starting Web server Apache...
Aug 24 01:49:59 srv1.luizsilva.com.br apachectl[21887]: httpd: Syntax error on line 3 of /usr/local/apache/conf/httpd.conf: Syntax error on line 10 of /usr/local/apache/conf.d/vhosts.conf: Could not open config directory /usr/local/apache/conf/userdata/lendasde/lendasdeazeroth.com.br: No such file or directory
Aug 24 01:49:59 srv1.luizsilva.com.br systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 24 01:49:59 srv1.luizsilva.com.br systemd[1]: Failed to start Web server Apache.
Aug 24 01:49:59 srv1.luizsilva.com.br systemd[1]: Unit httpd.service entered failed state.
Aug 24 01:49:59 srv1.luizsilva.com.br systemd[1]: httpd.service failed.

studio4host

simples solution is to go to WebServers and click on save& build it will make  a new config
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

luizcsilva

Quote from: studio4host on August 24, 2018, 05:57:29 AM
simples solution is to go to WebServers and click on save& build it will make  a new config


I have already done this anyway, I still have apache failure, I have re-built in another version but in the panel it still shows the old version

bullten

It looks like to be caused by modsecurity isnt it? Try disabling it

offshore

go here http://ur-ip:2030/admin/index.php?module=apache_builder

rebuild old config first ,then new one