LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 03-07-2013, 08:04 PM   #1
rahardj
LQ Newbie
 
Registered: Dec 2012
Posts: 9

Rep: Reputation: Disabled
Need Help - httpd service fail to start in RHEL 6.0


Hi,

I configured httpd.conf. With port 8080 and specified the document path correctly. But service httpd restart shows httpd stop fail, httpd start fail with message below:
[root@telinpgw02 ~]# service httpd start
Code:
Starting httpd: /bin/bash: line 1: 21589 Segmentation fault      (core dumped) /usr/sbin/httpd
                                                           [FAILED]
Here's the logs:
Code:
# cat /var/log/httpd/error_log-20130210
[Sun Feb 03 03:25:04 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Feb 03 03:25:04 2013] [notice] Digest: done
[Sun Feb 03 03:25:04 2013] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Sun Feb 03 03:25:04 2013] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Sun Feb 03 03:25:04 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_auth_kerb/5.4 mod_auth_pgsql/2.0.3 mod_nss/2.2.15 NSS/3.12.6.2 PHP/5.3.2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.5 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu Feb 07 15:38:31 2013] [error] [client 10.70.2.183] Invalid method in request \x04\x04
[Thu Feb 07 15:39:24 2013] [error] [client 10.70.2.183] Invalid method in request \xff\xf4\xff\xfd\x06\xff\xf4\xff\xfd\x06
[Thu Feb 07 17:06:42 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Thu Feb 07 17:06:42 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Thu Feb 07 17:06:42 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Thu Feb 07 17:06:42 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Thu Feb 07 17:06:42 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Thu Feb 07 17:06:42 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Thu Feb 07 17:06:42 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Thu Feb 07 17:06:42 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Thu Feb 07 17:06:42 2013] [notice] caught SIGTERM, shutting down
Code:
# cat /var/log/httpd/error_log-20130203
[Sun Jan 27 15:13:05 2013] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sun Jan 27 15:13:05 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jan 27 15:13:05 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Jan 27 15:13:05 2013] [notice] Digest: done
[Sun Jan 27 15:13:06 2013] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Sun Jan 27 15:13:06 2013] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Sun Jan 27 15:13:06 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_auth_kerb/5.4 mod_auth_pgsql/2.0.3 mod_nss/2.2.15 NSS/3.12.6.2 PHP/5.3.2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.5 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Jan 28 18:27:31 2013] [error] Exception KeyError: KeyError(140170900359136,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Jan 28 18:27:31 2013] [error] Exception KeyError: KeyError(140170900359136,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Jan 28 18:27:31 2013] [error] Exception KeyError: KeyError(140170900359136,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Jan 28 18:27:31 2013] [error] Exception KeyError: KeyError(140170900359136,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Jan 28 18:27:31 2013] [error] Exception KeyError: KeyError(140170900359136,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Jan 28 18:27:31 2013] [error] Exception KeyError: KeyError(140170900359136,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Jan 28 18:27:31 2013] [error] Exception KeyError: KeyError(140170900359136,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Jan 28 18:27:31 2013] [error] Exception KeyError: KeyError(140170900359136,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Jan 28 18:27:31 2013] [notice] caught SIGTERM, shutting down
[Mon Jan 28 18:30:59 2013] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon Jan 28 18:30:59 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 28 18:31:00 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 28 18:31:00 2013] [notice] Digest: done
[Mon Jan 28 18:31:01 2013] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Mon Jan 28 18:31:01 2013] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Mon Jan 28 18:31:01 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_auth_kerb/5.4 mod_auth_pgsql/2.0.3 mod_nss/2.2.15 NSS/3.12.6.2 PHP/5.3.2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.5 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Sun Feb 03 03:25:04 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Sun Feb 03 03:25:04 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Sun Feb 03 03:25:04 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Sun Feb 03 03:25:04 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Sun Feb 03 03:25:04 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Sun Feb 03 03:25:04 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Sun Feb 03 03:25:04 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Sun Feb 03 03:25:04 2013] [error] Exception KeyError: KeyError(140175787390944,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Sun Feb 03 03:25:04 2013] [notice] SIGHUP received.  Attempting to restart
httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
Could someone help me?

Last edited by rahardj; 03-07-2013 at 08:25 PM. Reason: Adding error.log
 
Old 03-08-2013, 01:56 AM   #2
rahardj
LQ Newbie
 
Registered: Dec 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Issue has been solved, here's what I'm doing:

1. Remove httpd package
Code:
#yum remove httpd
2. Re-install httpd package
Code:
#yum install httpd
3. Enable httpd service
Code:
#chkconfig httpd on
4. Start httpd service
Code:
service httpd start
 
  


Reply


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
service ldap start on CentOS fail to start Frezier Linux - Newbie 1 08-15-2011 09:53 AM
Httpd service fail to start in rhel ent 6 vikas637 Linux - Newbie 1 06-07-2011 10:37 AM
pdo_mysql causes my php to fail and httpd failed to start syedbadz Linux - Server 2 08-20-2009 02:54 AM
I cannot start httpd service skyplus Linux - Server 4 12-04-2007 04:34 AM
Service httpd Start bajpaipuneet Linux - Server 1 03-07-2007 05:22 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration