Help me! Httpd not run in CentOS 7

Issues related to applications and software problems
Post Reply
longhb
Posts: 1
Joined: 2018/07/05 04:22:59

Help me! Httpd not run in CentOS 7

Post by longhb » 2018/07/05 04:26:49

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.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Help me! Httpd not run in CentOS 7

Post by TrevorH » 2018/07/05 08:15:33

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
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
weyderfs
Posts: 8
Joined: 2018/02/07 22:08:07
Location: Brazil
Contact:

Re: Help me! Httpd not run in CentOS 7

Post by weyderfs » 2018/07/05 11:40:57

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:
:?:
LPIC-1 Linux Administrator - IT Enthusiast - DevOps

Post Reply