LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   HTTPD is not starting on CentOS 6 (http://www.linuxquestions.org/questions/linux-server-73/httpd-is-not-starting-on-centos-6-a-4175423065/)

Abakus 08-20-2012 09:15 AM

HTTPD is not starting on CentOS 6
 
I've built HTTPD 2.4.2 on CentOS release 6.2 (Final) and when I try to start it, I get:

Quote:

httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 12 of /etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/modules/mod_ssl.so into server: /etc/httpd/modules/mod_ssl.so: undefined symbol: ap_global_mutex_create

TB0ne 08-20-2012 09:55 AM

Quote:

Originally Posted by Abakus (Post 4759192)
I've built HTTPD 2.4.2 on CentOS release 6.2 (Final) and when I try to start it, I get:
Code:

httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 12 of
/etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/modules/mod_ssl.so into server:
/etc/httpd/modules/mod_ssl.so: undefined symbol: ap_global_mutex_create


Ok....the error is VERY clear. It tells you there are errors in your configuration files, and even tells you the line numbers where the errors are. Go fix them.

Based on the little you've posted, it looks as if you don't have SSL installed.

Abakus 08-20-2012 11:56 PM

Thanks

I've installed SSL with 'yum install mod_ssl.x86_64' and now it starts. It was confusing for me because /etc/httpd/modules/mod_ssl.so did exist.

Thanks


All times are GMT -5. The time now is 01:40 AM.