apache2 - Apache wont start but shows no errors -
i rebooted centos 6.2 vm (running virtualmin) , hung on startup when "starting httpd". booted live cd, removed script started apache rc3.d. server started, can ssh it. kept trying troubleshoot:
> httpd -v server version: apache/2.2.15 (unix) server built: may 16 2012 22:32:26
but cant start it. hangs on "starting httpd", did during boot up.
> service httpd status httpd stopped
i cant test config, "apachectl configtest" stays there until hit ctrl-c. tried start apache loadmodule directives commented out. compiled in modules are:
> apachectl -l compiled in modules: core.c prefork.c http_core.c mod_so.c
i tried reload apache config (via webmin backup restore) , still no go.
i read in couple places when happens can have ssl certs. tried run sslengine off in ssl.conf. tried "yum reinstall httpd".
here directives default server
servertokens min /etc/httpd/conf/httpd.conf (44) serverroot "/etc/httpd" /etc/httpd/conf/httpd.conf (57) timeout 60 /etc/httpd/conf/httpd.conf (69) keepalive on /etc/httpd/conf/httpd.conf (75) maxkeepaliverequests 100 /etc/httpd/conf/httpd.conf (82) keepalivetimeout 5 /etc/httpd/conf/httpd.conf (88) <ifmodule prefork> /etc/httpd/conf/httpd.conf (101) startservers 2 /etc/httpd/conf/httpd.conf (102) minspareservers 2 /etc/httpd/conf/httpd.conf (103) maxspareservers 5 /etc/httpd/conf/httpd.conf (104) serverlimit 64 /etc/httpd/conf/httpd.conf (105) maxclients 64 /etc/httpd/conf/httpd.conf (106) maxrequestsperchild 4000 /etc/httpd/conf/httpd.conf (107) </ifmodule> /etc/httpd/conf/httpd.conf (108) listen *:80 /etc/httpd/conf/httpd.conf (135) loadmodule auth_basic_module modules/mod_auth_basic.s .. /etc/httpd/conf/httpd.conf (149) loadmodule auth_digest_module modules/mod_auth_digest .. /etc/httpd/conf/httpd.conf (150) loadmodule authn_file_module modules/mod_authn_file.s .. /etc/httpd/conf/httpd.conf (151) loadmodule authn_alias_module modules/mod_authn_alias .. /etc/httpd/conf/httpd.conf (152) loadmodule authn_anon_module modules/mod_authn_anon.s .. /etc/httpd/conf/httpd.conf (153) loadmodule authn_dbm_module modules/mod_authn_dbm.so /etc/httpd/conf/httpd.conf (154) loadmodule authn_default_module modules/mod_authn_def .. /etc/httpd/conf/httpd.conf (155) loadmodule authz_host_module modules/mod_authz_host.s .. /etc/httpd/conf/httpd.conf (156) loadmodule authz_user_module modules/mod_authz_user.s .. /etc/httpd/conf/httpd.conf (157) loadmodule authz_owner_module modules/mod_authz_owner .. /etc/httpd/conf/httpd.conf (158) loadmodule authz_groupfile_module modules/mod_authz_g .. /etc/httpd/conf/httpd.conf (159) loadmodule authz_dbm_module modules/mod_authz_dbm.so /etc/httpd/conf/httpd.conf (160) loadmodule authz_default_module modules/mod_authz_def .. /etc/httpd/conf/httpd.conf (161) loadmodule include_module modules/mod_include.so /etc/httpd/conf/httpd.conf (164) loadmodule log_config_module modules/mod_log_config.s .. /etc/httpd/conf/httpd.conf (165) loadmodule env_module modules/mod_env.so /etc/httpd/conf/httpd.conf (167) loadmodule ext_filter_module modules/mod_ext_filter.s .. /etc/httpd/conf/httpd.conf (168) loadmodule mime_magic_module modules/mod_mime_magic.s .. /etc/httpd/conf/httpd.conf (169) loadmodule expires_module modules/mod_expires.so /etc/httpd/conf/httpd.conf (170) loadmodule deflate_module modules/mod_deflate.so /etc/httpd/conf/httpd.conf (171) loadmodule headers_module modules/mod_headers.so /etc/httpd/conf/httpd.conf (172) loadmodule setenvif_module modules/mod_setenvif.so /etc/httpd/conf/httpd.conf (174) loadmodule mime_module modules/mod_mime.so /etc/httpd/conf/httpd.conf (175) loadmodule autoindex_module modules/mod_autoindex.so /etc/httpd/conf/httpd.conf (178) loadmodule vhost_alias_module modules/mod_vhost_alias .. /etc/httpd/conf/httpd.conf (181) loadmodule negotiation_module modules/mod_negotiation .. /etc/httpd/conf/httpd.conf (182) loadmodule dir_module modules/mod_dir.so /etc/httpd/conf/httpd.conf (183) loadmodule actions_module modules/mod_actions.so /etc/httpd/conf/httpd.conf (184) loadmodule speling_module modules/mod_speling.so /etc/httpd/conf/httpd.conf (185) loadmodule alias_module modules/mod_alias.so /etc/httpd/conf/httpd.conf (187) loadmodule substitute_module modules/mod_substitute.s .. /etc/httpd/conf/httpd.conf (188) loadmodule rewrite_module modules/mod_rewrite.so /etc/httpd/conf/httpd.conf (189) loadmodule cache_module modules/mod_cache.so /etc/httpd/conf/httpd.conf (196) loadmodule suexec_module modules/mod_suexec.so /etc/httpd/conf/httpd.conf (197) loadmodule disk_cache_module modules/mod_disk_cache.s .. /etc/httpd/conf/httpd.conf (198) loadmodule cgi_module modules/mod_cgi.so /etc/httpd/conf/httpd.conf (199) loadmodule version_module modules/mod_version.so /etc/httpd/conf/httpd.conf (200) include conf.d/*.conf /etc/httpd/conf/httpd.conf (220) user apache /etc/httpd/conf/httpd.conf (241) group apache /etc/httpd/conf/httpd.conf (242) serveradmin root@localhost /etc/httpd/conf/httpd.conf (261) usecanonicalname off /etc/httpd/conf/httpd.conf (284) documentroot "/var/www/html" /etc/httpd/conf/httpd.conf (291) <directory /> options followsymlinks /etc/httpd/conf/httpd.conf (302) allowoverride none /etc/httpd/conf/httpd.conf (303) </directory> <directory "/var/www/html"> options indexes followsymlinks /etc/httpd/conf/httpd.conf (330) allowoverride none /etc/httpd/conf/httpd.conf (337) order allow,deny /etc/httpd/conf/httpd.conf (342) allow /etc/httpd/conf/httpd.conf (343) </directory> directoryindex index.html index.html.var /etc/httpd/conf/httpd.conf (400) accessfilename .htaccess /etc/httpd/conf/httpd.conf (407) <files ~ "^\.ht"> order allow,deny /etc/httpd/conf/httpd.conf (414) deny /etc/httpd/conf/httpd.conf (415) satisfy /etc/httpd/conf/httpd.conf (416) </files> typesconfig /etc/mime.types /etc/httpd/conf/httpd.conf (423) defaulttype text/plain /etc/httpd/conf/httpd.conf (434) <ifmodule mod_mime_magic> /etc/httpd/conf/httpd.conf (441) mimemagicfile conf/magic /etc/httpd/conf/httpd.conf (443) </ifmodule> /etc/httpd/conf/httpd.conf (444) hostnamelookups off /etc/httpd/conf/httpd.conf (454) errorlog logs/error_log /etc/httpd/conf/httpd.conf (482) loglevel warn /etc/httpd/conf/httpd.conf (489) logformat "%h %l %u %t \"%r\" %>s %b \"%{referer}i\" .. /etc/httpd/conf/httpd.conf (495) logformat "%h %l %u %t \"%r\" %>s %b" common /etc/httpd/conf/httpd.conf (496) logformat "%{referer}i -> %u" referer /etc/httpd/conf/httpd.conf (497) logformat "%{user-agent}i" agent /etc/httpd/conf/httpd.conf (498) customlog logs/access_log combined /etc/httpd/conf/httpd.conf (524) serversignature off /etc/httpd/conf/httpd.conf (534) alias /icons/ "/var/www/icons/" /etc/httpd/conf/httpd.conf (549) <directory "/var/www/icons"> options indexes multiviews followsymlinks /etc/httpd/conf/httpd.conf (552) allowoverride none /etc/httpd/conf/httpd.conf (553) order allow,deny /etc/httpd/conf/httpd.conf (554) allow /etc/httpd/conf/httpd.conf (555) </directory> scriptalias /cgi-bin/ "/var/www/cgi-bin/" /etc/httpd/conf/httpd.conf (574) <directory "/var/www/cgi-bin"> allowoverride none /etc/httpd/conf/httpd.conf (581) options none /etc/httpd/conf/httpd.conf (582) order allow,deny /etc/httpd/conf/httpd.conf (583) allow /etc/httpd/conf/httpd.conf (584) </directory> indexoptions fancyindexing versionsort namewidth=* ht .. /etc/httpd/conf/httpd.conf (602) addiconbyencoding (cmp,/icons/compressed.gif) x-compr .. /etc/httpd/conf/httpd.conf (609) addiconbytype (txt,/icons/text.gif) text/* /etc/httpd/conf/httpd.conf (611) addiconbytype (img,/icons/image2.gif) image/* /etc/httpd/conf/httpd.conf (612) addiconbytype (snd,/icons/sound2.gif) audio/* /etc/httpd/conf/httpd.conf (613) addiconbytype (vid,/icons/movie.gif) video/* /etc/httpd/conf/httpd.conf (614) addicon /icons/binary.gif .bin .exe /etc/httpd/conf/httpd.conf (616) addicon /icons/binhex.gif .hqx /etc/httpd/conf/httpd.conf (617) addicon /icons/tar.gif .tar /etc/httpd/conf/httpd.conf (618) addicon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv /etc/httpd/conf/httpd.conf (619) addicon /icons/compressed.gif .z .z .tgz .gz .zip /etc/httpd/conf/httpd.conf (620) addicon /icons/a.gif .ps .ai .eps /etc/httpd/conf/httpd.conf (621) addicon /icons/layout.gif .html .shtml .htm .pdf /etc/httpd/conf/httpd.conf (622) addicon /icons/text.gif .txt /etc/httpd/conf/httpd.conf (623) addicon /icons/c.gif .c /etc/httpd/conf/httpd.conf (624) addicon /icons/p.gif .pl .py /etc/httpd/conf/httpd.conf (625) addicon /icons/f.gif .for /etc/httpd/conf/httpd.conf (626) addicon /icons/dvi.gif .dvi /etc/httpd/conf/httpd.conf (627) addicon /icons/uuencoded.gif .uu /etc/httpd/conf/httpd.conf (628) addicon /icons/script.gif .conf .sh .shar .csh .ksh . .. /etc/httpd/conf/httpd.conf (629) addicon /icons/tex.gif .tex /etc/httpd/conf/httpd.conf (630) addicon /icons/bomb.gif core /etc/httpd/conf/httpd.conf (631) addicon /icons/back.gif .. /etc/httpd/conf/httpd.conf (633) addicon /icons/hand.right.gif readme /etc/httpd/conf/httpd.conf (634) addicon /icons/folder.gif ^^directory^^ /etc/httpd/conf/httpd.conf (635) addicon /icons/blank.gif ^^blankicon^^ /etc/httpd/conf/httpd.conf (636) defaulticon /icons/unknown.gif /etc/httpd/conf/httpd.conf (642) readmename readme.html /etc/httpd/conf/httpd.conf (660) headername header.html /etc/httpd/conf/httpd.conf (661) indexignore .??* *~ *# header* readme* rcs cvs *,v *, .. /etc/httpd/conf/httpd.conf (667) addlanguage ca .ca /etc/httpd/conf/httpd.conf (707) addlanguage cs .cz .cs /etc/httpd/conf/httpd.conf (708) addlanguage da .dk /etc/httpd/conf/httpd.conf (709) addlanguage de .de /etc/httpd/conf/httpd.conf (710) addlanguage el .el /etc/httpd/conf/httpd.conf (711) addlanguage en .en /etc/httpd/conf/httpd.conf (712) addlanguage eo .eo /etc/httpd/conf/httpd.conf (713) addlanguage es .es /etc/httpd/conf/httpd.conf (714) addlanguage et .et /etc/httpd/conf/httpd.conf (715) addlanguage fr .fr /etc/httpd/conf/httpd.conf (716) addlanguage .he /etc/httpd/conf/httpd.conf (717) addlanguage hr .hr /etc/httpd/conf/httpd.conf (718) addlanguage .it /etc/httpd/conf/httpd.conf (719) addlanguage ja .ja /etc/httpd/conf/httpd.conf (720) addlanguage ko .ko /etc/httpd/conf/httpd.conf (721) addlanguage ltz .ltz /etc/httpd/conf/httpd.conf (722) addlanguage nl .nl /etc/httpd/conf/httpd.conf (723) addlanguage nn .nn /etc/httpd/conf/httpd.conf (724) addlanguage no .no /etc/httpd/conf/httpd.conf (725) addlanguage pl .po /etc/httpd/conf/httpd.conf (726) addlanguage pt .pt /etc/httpd/conf/httpd.conf (727) addlanguage pt-br .pt-br /etc/httpd/conf/httpd.conf (728) addlanguage ru .ru /etc/httpd/conf/httpd.conf (729) addlanguage sv .sv /etc/httpd/conf/httpd.conf (730) addlanguage zh-cn .zh-cn /etc/httpd/conf/httpd.conf (731) addlanguage zh-tw .zh-tw /etc/httpd/conf/httpd.conf (732) languagepriority en ca cs da de el eo es et fr hr .. /etc/httpd/conf/httpd.conf (741) forcelanguagepriority prefer fallback /etc/httpd/conf/httpd.conf (748) adddefaultcharset utf-8 /etc/httpd/conf/httpd.conf (757) addtype application/x-compress .z /etc/httpd/conf/httpd.conf (777) addtype application/x-gzip .gz .tgz /etc/httpd/conf/httpd.conf (778) addtype application/x-x509-ca-cert .crt /etc/httpd/conf/httpd.conf (783) addtype application/x-pkcs7-crl .crl /etc/httpd/conf/httpd.conf (784) addhandler type-map var /etc/httpd/conf/httpd.conf (806) addtype text/html .shtml /etc/httpd/conf/httpd.conf (814) addoutputfilter includes .shtml /etc/httpd/conf/httpd.conf (815) alias /error/ "/var/www/error/" /etc/httpd/conf/httpd.conf (853) <ifmodule mod_negotiation> /etc/httpd/conf/httpd.conf (855) <ifmodule mod_include> /etc/httpd/conf/httpd.conf (856) <directory "/var/www/error"> allowoverride none /etc/httpd/conf/httpd.conf (858) options includesnoexec /etc/httpd/conf/httpd.conf (859) addoutputfilter includes html /etc/httpd/conf/httpd.conf (860) addhandler type-map var /etc/httpd/conf/httpd.conf (861) order allow,deny /etc/httpd/conf/httpd.conf (862) allow /etc/httpd/conf/httpd.conf (863) languagepriority en es de fr /etc/httpd/conf/httpd.conf (864) forcelanguagepriority prefer fallback /etc/httpd/conf/httpd.conf (865) </directory> </ifmodule> /etc/httpd/conf/httpd.conf (886) </ifmodule> /etc/httpd/conf/httpd.conf (887) browsermatch "mozilla/2" nokeepalive /etc/httpd/conf/httpd.conf (893) browsermatch "msie 4\.0b2;" nokeepalive downgrade-1.0 .. /etc/httpd/conf/httpd.conf (894) browsermatch "realplayer 4\.0" force-response-1.0 /etc/httpd/conf/httpd.conf (895) browsermatch "java/1\.0" force-response-1.0 /etc/httpd/conf/httpd.conf (896) browsermatch "jdk/1\.0" force-response-1.0 /etc/httpd/conf/httpd.conf (897) browsermatch "microsoft data access internet publishi .. /etc/httpd/conf/httpd.conf (906) browsermatch "ms frontpage" redirect-carefully /etc/httpd/conf/httpd.conf (907) browsermatch "^webdrive" redirect-carefully /etc/httpd/conf/httpd.conf (908) browsermatch "^webdavfs/1.[0123]" redirect-carefully /etc/httpd/conf/httpd.conf (909) browsermatch "^gnome-vfs/1.0" redirect-carefully /etc/httpd/conf/httpd.conf (910) browsermatch "^xml spy" redirect-carefully /etc/httpd/conf/httpd.conf (911) browsermatch "^dreamweaver-webdav-scm1" redirect-care .. /etc/httpd/conf/httpd.conf (912) sslprotocol +sslv3 +tlsv1 /etc/httpd/conf/httpd.conf (913) sslciphersuite high:!sslv2:!adh:!anull:!enull:!null /etc/httpd/conf/httpd.conf (914) traceenable off /etc/httpd/conf/httpd.conf (915) namevirtualhost 184.95.32.197:80 /etc/httpd/conf/httpd.conf (916) namevirtualhost 184.95.32.197:443 /etc/httpd/conf/httpd.conf (917) namevirtualhost 184.95.32.195:80 /etc/httpd/conf/httpd.conf (918) pidfile run/httpd.pid /etc/httpd/conf/httpd.conf (1454) loadmodule sed_module modules/mod_sed.so /etc/httpd/conf.d/000_mod_sed.conf (1) loadmodule security2_module modules/mod_sec .. /etc/httpd/conf.d/00_mod_security.conf (3) loadmodule unique_id_module modules/mod_uni .. /etc/httpd/conf.d/00_mod_security.conf (4) loadmodule fcgid_module modules/mod_fcgid.so /etc/httpd/conf.d/fcgid.conf (7) addhandler fcgid-script fcg fcgi fpl /etc/httpd/conf.d/fcgid.conf (10) fcgidipcdir /var/run/mod_fcgid /etc/httpd/conf.d/fcgid.conf (13) fcgidprocesstablefile /var/run/mod_fcgid/fcgid_shm /etc/httpd/conf.d/fcgid.conf (14) scriptalias /mailman/ /usr/lib/mailman/cgi-bin/ /etc/httpd/conf.d/mailman.conf (5) <directory /usr/lib/mailman/cgi-bin/> allowoverride none /etc/httpd/conf.d/mailman.conf (7) options execcgi /etc/httpd/conf.d/mailman.conf (8) order allow,deny /etc/httpd/conf.d/mailman.conf (9) allow /etc/httpd/conf.d/mailman.conf (10) </directory> alias /pipermail/ /var/lib/mailman/archives/public .. /etc/httpd/conf.d/mailman.conf (14) <directory /var/lib/mailman/archives/public> options indexes multiviews followsymlinks /etc/httpd/conf.d/mailman.conf (16) allowoverride none /etc/httpd/conf.d/mailman.conf (17) order allow,deny /etc/httpd/conf.d/mailman.conf (18) allow /etc/httpd/conf.d/mailman.conf (19) adddefaultcharset off /etc/httpd/conf.d/mailman.conf (20) </directory> loadmodule evasive20_module modules/mod_evasive .. /etc/httpd/conf.d/mod_evasive.conf (3) <ifmodule prefork> /etc/httpd/conf.d/php.conf (5) loadmodule php5_module modules/libphp5.so /etc/httpd/conf.d/php.conf (6) </ifmodule> /etc/httpd/conf.d/php.conf (7) addhandler php5-script .php /etc/httpd/conf.d/php.conf (15) addtype text/html .php /etc/httpd/conf.d/php.conf (16) directoryindex index.php /etc/httpd/conf.d/php.conf (22) loadmodule ssl_module modules/mod_ssl.so /etc/httpd/conf.d/ssl.conf (12) listen *:443 /etc/httpd/conf.d/ssl.conf (18) sslsessioncache shmcb:/var/cache/mod_ssl/scache(512000 .. /etc/httpd/conf.d/ssl.conf (35) sslsessioncachetimeout 300 /etc/httpd/conf.d/ssl.conf (36) sslmutex default /etc/httpd/conf.d/ssl.conf (41) sslrandomseed startup file:/dev/urandom 256 /etc/httpd/conf.d/ssl.conf (53) sslrandomseed connect builtin /etc/httpd/conf.d/ssl.conf (54) sslcryptodevice builtin /etc/httpd/conf.d/ssl.conf (66) sslciphersuite all:!adh:!low:!sslv2:!exp:+high:+mediu .. /etc/httpd/conf.d/ssl.conf (222) alias /usage /var/www/usage /etc/httpd/conf.d/webalizer.conf (6) <location /usage> order deny,allow /etc/httpd/conf.d/webalizer.conf (9) deny /etc/httpd/conf.d/webalizer.conf (10) allow 127.0.0.1 /etc/httpd/conf.d/webalizer.conf (11) allow ::1 /etc/httpd/conf.d/webalizer.conf (12) </location>
please help!
it turns out booting different kernel (default atomic rocket turtle asl) allowed httpd start fine.
Comments
Post a Comment