2016-03-21 31 views
0

httpd'yi çalıştırmayı denediğimde hata alıyorum. /'httpd başlatılamıyor: apachectl'de Segmentation fault

74 if [ "x$ARGV" = "x" ] ; then 
75  ARGV="-h" 
76 fi 
77 
78 case $ARGV in 
79 start|stop|restart|graceful|graceful-stop) 
80  $HTTPD -k $ARGV 
81  ERROR=$? 
82  ;; 
83 startssl|sslstart|start-SSL) 
84  echo The startssl option is no longer supported. 
85  echo Please edit httpd.conf to include the SSL configuration settings 
86  echo and then use "apachectl start". 
87  ERROR=2 
88  ;; 

Mar 21 09:45:11 localhost kernel: httpd[22059]: segfault at 8 ip 00000039d360b453 sp 00007fff7e5e80a0 error 4 in ld-2.12.so[39d3600000+20000] 
Mar 21 09:45:11 localhost abrtd: Directory 'ccpp-2016-03-21-09:45:11-22059' creation detected 
Mar 21 09:45:11 localhost abrt[22060]: Saved core dump of pid 22059 (/apps/httpd-2.2.22/bin/httpd) to /var/spool/abrt/ccpp-2016-03-21-09:45:11-22059 (1904640 bytes) 
Mar 21 09:45:11 localhost abrtd: Executable '/apps/httpd-2.2.22/bin/httpd' doesn't belong to any package 
Mar 21 09:45:11 localhost abrtd: 'post-create' on '/var/spool/abrt/ccpp-2016-03-21-09:45:11-22059' exited with 1 
Mar 21 09:45:11 localhost abrtd: Corrupted or bad directory '/var/spool/abrt/ccpp-2016-03-21-09:45:11-22059', deleting 

Ben Executable" için bir şeyler yüklemek gerekir mi log// var mesajlar kontrol edilir:

[[email protected] bin]# ./apachectl -k start 
./apachectl: line 78: 22059 Segmentation fault  (core dumped) $HTTPD $ARGV 

Bu

fBapachectl başlangıç ​​komut satırları gibidir olduğunu uygulamalar/httpd-2.2.22/bin/httpd 'herhangi bir pakete ait değil "hatası? Maalesef, httpd ve linux yüklemelerinde tamamen yeniyim.

cevap

0

Bunu düzeltemedi. Ben httpd.conf

Include conf/mod-jk.conf 

bu çizgiyi yorumladı ve hiçbir hata gördüm. Kontrol edilen mod-jk.conf, mod_jk.so dosyasına girdi. Mod_jk.so değişen şeyler ve işler iyi çalıştı. Mod_jk.so'nun sürümü yanlış gibi görünüyor.