LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-20-2012, 09:15 AM   #1
Abakus
LQ Newbie
 
Registered: May 2012
Posts: 12

Rep: Reputation: Disabled
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
 
Old 08-20-2012, 09:55 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,802

Rep: Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745
Quote:
Originally Posted by Abakus View Post
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.
 
1 members found this post helpful.
Old 08-20-2012, 11:56 PM   #3
Abakus
LQ Newbie
 
Registered: May 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thumbs up

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
 
  


Reply

Tags
centos, httpd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd not starting in centos webserver SarahGurung Linux - Server 9 05-21-2012 02:30 AM
Unable to start apache on CentOS Linux with error Starting httpd: Syntax error on lin pkumar2533 Linux - Newbie 9 08-26-2009 07:48 AM
Starting httpd: /etc/init.d/httpd: line 40: 10243 Segmentation fault LANG=C grep RMLinux Linux - Newbie 10 12-01-2008 10:17 PM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration