Page 1 of 1

Help me! Httpd not run in CentOS 7

Posted: 2018/07/05 04:26:49
by longhb
Hi,

I install module ssl for VPS use Sentora...however, after install module, Sentora not run and service httpd not start. please help me? thank

this error:

[root@zpanel ~]# service httpd status
Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-07-04 07:03:49 UTC; 18h ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 2451 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 2450 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 2450 (code=exited, status=1/FAILURE)

Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: Starting The Apache HTTP Server...
Jul 04 07:03:49 zpanel.devfastpro.com httpd[2450]: AH00526: Syntax error on line 57 of /etc/sentora/configs/apache/httpd-vhosts.conf:
Jul 04 07:03:49 zpanel.devfastpro.com httpd[2450]: SSLCertificateKeyFile: file '/devfastpro.com/ssl/certificate/private.key' does not exist or is empty
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 04 07:03:49 zpanel.devfastpro.com kill[2451]: kill: cannot find process ""
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: Failed to start The Apache HTTP Server.
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: Unit httpd.service entered failed state.
Jul 04 07:03:49 zpanel.devfastpro.com systemd[1]: httpd.service failed.

Re: Help me! Httpd not run in CentOS 7

Posted: 2018/07/05 08:15:33
by TrevorH
We do not support any control panel at all. I've never heard of Sentora but once you install any sort of panel on CentOS, you need to seek support from the panel providers. We say this because most (all?) of them replace core parts of the operating system with chunks of their own and any advice we might offer that would be applicable to a CentOS system might break yours more.

However, you need to fix this error

Jul 04 07:03:49 zpanel.devfastpro.com httpd[2450]: SSLCertificateKeyFile: file '/devfastpro.com/ssl/certificate/private.key' does not exist or is empty

Re: Help me! Httpd not run in CentOS 7

Posted: 2018/07/05 11:40:57
by weyderfs
Do you checked this file:
Jul 04 07:03:49 zpanel.devfastpro.com httpd[2450]: AH00526: Syntax error on line 57 of /etc/sentora/configs/apache/httpd-vhosts.conf:
:?: