httpd failed, syntax ok?

S

Secret Agent

Guest
/usr/local/apache/bin/httpd configtest
(blank return

httpd configtest
syntax ok

WHM Apache was recompliled.
httpd failed with error:

httpd: [ != HTTP/1..] httpd has failed, please contact the sysadmin.

I tried:

WHM recompile
/scripts/rebuildhttpdconf
/scripts/fixcommonproblems
service chkservd restart

Restart via ssh (apache), syntax ok still but sites / httpd still down.

Reinstalled Zend to make sure, successful - httpd still fails

Last portion of error log:

Code:
[Mon Dec 12 17:45:43 2005] [crit] (98)Address already in use: make_sock: could not bind to port 80
[Mon Dec 12 17:45:47 2005] [notice] child pid 6037 exit signal Segmentation fault (11)
[Mon Dec 12 17:46:09 2005] [notice] caught SIGTERM, shutting down
[Mon Dec 12 17:46:10 2005] [notice] mod_security/1.9.1 configured
[Mon Dec 12 17:46:14 2005] [notice] Apache configured -- resuming normal operations
[Mon Dec 12 17:46:14 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Dec 12 17:46:14 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Dec 12 17:46:29 2005] [notice] child pid 6155 exit signal Segmentation fault (11)
[Mon Dec 12 17:46:41 2005] [notice] child pid 6156 exit signal Segmentation fault (11)
[Mon Dec 12 17:46:43 2005] [notice] child pid 6157 exit signal Segmentation fault (11)
[Mon Dec 12 17:46:50 2005] [notice] SIGUSR1 received.  Doing graceful restart
[Mon Dec 12 17:46:50 2005] [notice] Apache configured -- resuming normal operations
[Mon Dec 12 17:46:50 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Dec 12 17:46:50 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Dec 12 17:47:02 2005] [notice] child pid 6267 exit signal Segmentation fault (11)
[Mon Dec 12 17:47:02 2005] [notice] child pid 6268 exit signal Segmentation fault (11)
[Mon Dec 12 17:47:03 2005] [notice] child pid 6269 exit signal Segmentation fault (11)
[Mon Dec 12 17:47:04 2005] [notice] child pid 6270 exit signal Segmentation fault (11)
[Mon Dec 12 17:47:04 2005] [notice] child pid 6271 exit signal Segmentation fault (11)
[Mon Dec 12 17:47:09 2005] [notice] child pid 6281 exit signal Segmentation fault (11)
[Mon Dec 12 17:47:22 2005] [notice] child pid 6282 exit signal Segmentation fault (11)
[Mon Dec 12 17:47:39 2005] [notice] caught SIGTERM, shutting down
[Mon Dec 12 17:47:40 2005] [notice] mod_security/1.9.1 configured
[Mon Dec 12 17:47:43 2005] [notice] Apache configured -- resuming normal operations
[Mon Dec 12 17:47:43 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Dec 12 17:47:43 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Dec 12 17:47:55 2005] [notice] child pid 6322 exit signal Segmentation fault (11)
[Mon Dec 12 17:48:47 2005] [notice] child pid 6323 exit signal Segmentation fault (11)
[Mon Dec 12 17:48:50 2005] [notice] child pid 6324 exit signal Segmentation fault (11)
Any ideas?
 
S

Secret Agent

Guest
I attempted to recompile the default settings and got this during the process:

make php-4.4.1...(install).... Done
make: *** [install-sapi] Error 1
/etc/rc.d/init.d/httpd start: httpd started

configure php-4.4.1...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . . . . . . . .


Error logs:

Code:
[Mon Dec 12 18:23:11 2005] [alert] Child 8503 returned a Fatal error... \nApache is exiting!
[Mon Dec 12 18:23:11 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:23:51 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:23:51 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:23:51 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:23:51 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:23:51 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:23:51 2005] [notice] Apache/1.3.34 (Unix) FrontPage/5.0.2.2635 mod_perl/1.29 mod_ssl/2.8.25 OpenSSL/0.9.7a configured -- resuming normal operations
[Mon Dec 12 18:23:51 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Dec 12 18:23:51 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Dec 12 18:23:51 2005] [alert] Child 8794 returned a Fatal error... \nApache is exiting!
/usr/bin/sum: write error: Broken pipe
/usr/bin/sum: write error: Broken pipe
[Mon Dec 12 18:24:46 2005] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Dec 12 18:24:47 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:24:47 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:24:47 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:24:47 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon Dec 12 18:24:47 2005] [notice] Apache/1.3.34 (Unix) FrontPage/5.0.2.2635 mod_perl/1.29 mod_ssl/2.8.25 OpenSSL/0.9.7a configured -- resuming normal operations
[Mon Dec 12 18:24:47 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Dec 12 18:24:47 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Dec 12 18:24:47 2005] [alert] Child 14592 returned a Fatal error... \nApache is exiting!
[Mon Dec 12 18:24:47 2005] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
 
Last edited by a moderator:
S

Secret Agent

Guest
I had to recompile using #8 option in ssh instead. That finally fixed it (after two tries there).