Author Topic: HTTPD Issues - Will not start  (Read 511 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
HTTPD Issues - Will not start
« on: August 29, 2017, 02:03:29 AM »
Hi all,

I have run into a problem with httpd not starting, even after reboots. When I try to start it I get the following error

Code: [Select]
Starting httpd: httpd: Syntax error on line 499 of /usr/local/apache/conf/httpd.conf: Syntax error on line 1 of /usr/local/apache/conf.d/suphp.conf: Cannot load modules/mod_suphp.so into server: /usr/local/apache/modules/mod_suphp.so: undefined symbol: ap_log_rerror
[FAILED]

The httpd.conf have 499 lines and the last ones are these

Code: [Select]
ExtendedStatus On
Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf

here's the suphp.conf

Code: [Select]
LoadModule suphp_module modules/mod_suphp.so
suPHP_Engine on
AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml
<Directory />
        suPHP_AddHandler application/x-httpd-php
</Directory>
#suPHP_UserGroup nobody nobody
suPHP_AddHandler application/x-httpd-php44
suPHP_AddHandler application/x-httpd-php52
suPHP_AddHandler application/x-httpd-php53
suPHP_AddHandler application/x-httpd-php54
suPHP_AddHandler application/x-httpd-php55
suPHP_AddHandler application/x-httpd-php56
suPHP_AddHandler application/x-httpd-php7

Business server is down right now. Any help would be appreciated.

Offline
*
Re: HTTPD Issues - Will not start
« Reply #1 on: August 29, 2017, 09:09:20 AM »
try this command
Code: [Select]
yum reinstall cwp-suphp
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.

Offline
*
Re: HTTPD Issues - Will not start
« Reply #2 on: August 29, 2017, 09:29:48 AM »
Okay, that got a little further. Now there is another error coming up:

Code: [Select]
Starting httpd: AH00526: Syntax error on line 2 of /usr/local/apache/conf.d/ssl.conf:
Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

Pulled the file and:

Code: [Select]
Listen 443
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder on
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:E$

NameVirtualHost 23.111.69.102:443

Offline
*
Re: HTTPD Issues - Will not start
« Reply #3 on: August 29, 2017, 11:03:39 AM »
then run this commands one by one

Code: [Select]
yum reinstall cwp-httpd
yum reinstall cwp-php
yum reinstall cwp-suphp
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.

Offline
*
Re: HTTPD Issues - Will not start
« Reply #4 on: August 30, 2017, 12:05:20 AM »
Ran the three commands and still getting the following when trying to run HTTPD

Code: [Select]
Starting httpd: AH00526: Syntax error on line 2 of /usr/local/apache/conf.d/ssl.conf:
Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

Offline
*
Re: HTTPD Issues - Will not start - RESOLVED
« Reply #5 on: August 30, 2017, 12:18:35 AM »
Code: [Select]
Figured it out!

edited /usr/local/apache/conf.d/ssl.conf and add this into it

Code: [Select]
<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>

httpd works now and was able to auto the ssl on the other addon domain that I had been working on.

Thanks! Would not have been able to get it fixed without your help.