You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ankit Doshi <na...@rediffmail.com> on 2002/07/15 12:08:32 UTC

apachectl doesnt start

Hello,

when I try to test the apache configuration, it gives me following 
error:

apachectl configtest
[Mon Jul 15 15:47:06 2002] [warn] module mod_jk.c is already 
added, skipping
/usr/sbin/apachectl: line 184:  9318 Segmentation fault      (core 
dumped) $HTTPD -t

I have checked the httpd.conf file, the mod_jk is being included 
only once, not more than once. If I try to start apache in debug 
mode by
sh -x /etc/init.d/httpd start it gives following log:
+ . /etc/rc.d/init.d/functions
++ export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=60
+++ MOVE_TO_COL=echo -en \033[60G
+++ SETCOLOR_SUCCESS=echo -en \033[1;32m
+++ SETCOLOR_FAILURE=echo -en \033[1;31m
+++ SETCOLOR_WARNING=echo -en \033[1;33m
+++ SETCOLOR_NORMAL=echo -en \033[0;39m
+++ LOGLEVEL=1
+++ PROMPT=yes
++ '[' -x /sbin/consoletype ']'
+++ consoletype
++ '[' pty = serial ']'
++ '[' color '!=' verbose ']'
++ INITLOG_ARGS=-q
+ START_FLAG= -D SSL
+ httpd=/usr/sbin/httpd
+ RETVAL=0
+ LANG=C
+ start
+ echo -n 'Starting httpd: '
Starting httpd: ++ moduleargs
++ moduledir=/usr/lib/apache
++ moduleargs=
++ '[' -x /usr/lib/apache/libhttpd.so ']'
+++ awk '{                              gsub(".*/","");                  
        gsub("^mod_","");gsub("^lib","");                                
gsub("\.so$","");                               print 
toupper($0)}'
+++ echo /usr/lib/apache/libhttpd.so
++ module=HTTPD
++ moduleargs= -D HAVE_HTTPD
++ '[' -x /usr/lib/apache/mod_jk.so ']'
+++ echo /usr/lib/apache/mod_jk.so
+++ awk '{                              gsub(".*/","");                  
        gsub("^mod_","");gsub("^lib","");                                
gsub("\.so$","");                               print 
toupper($0)}'
++ module=JK
++ moduleargs= -D HAVE_HTTPD -D HAVE_JK
++ echo -D HAVE_HTTPD -D HAVE_JK
+ daemon /usr/sbin/httpd -D SSL -D HAVE_HTTPD -D HAVE_JK
+ gotbase=
+ user=
+ nicelevel=0
+ '[' /usr/sbin/httpd '!=' /usr/sbin/httpd -o /usr/sbin/httpd '!=' 
/usr/sbin/httpd ']'
+ '[' -z ']'
++ basename /usr/sbin/httpd
+ base=httpd
++ pidofproc /usr/sbin/httpd
+++ basename /usr/sbin/httpd
++ base=httpd
++ '[' 1 = 0 ']'
++ '[' -f /var/run/httpd.pid ']'
+++ pidof -o 9319 -o 8229 -o %PPID -x httpd
++ pid=
++ '[' '' '!=' '' ']'
+ pidlist=
+ pid=
+ '[' -n '' ']'
+ ulimit -S -c 0
+ '[' color = verbose ']'
+ '[' -z '' ']'
+ nice -n 0 initlog -q -c '/usr/sbin/httpd -D SSL -D HAVE_HTTPD -D 
HAVE_JK'
[Mon Jul 15 15:49:08 2002] [warn] module mod_jk.c is already 
added, skipping
+ failure 'httpd startup'
+ rc=11
+ '[' -z '' ']'
+ initlog -q -n /etc/init.d/httpd -s 'httpd startup' -e 2
+ '[' color '!=' verbose ']'
+ echo_failure
+ '[' color = color ']'
+ echo -en '\033[60G'
+ echo -n '['
[+ '[' color = color ']'
+ echo -en '\033[1;31m'
+ echo -n FAILED
FAILED+ '[' color = color ']'
+ echo -en '\033[0;39m'
+ echo -n ']'
]+ echo -ne '\r'
+ return 1
+ return 11
+ RETVAL=11
+ echo

+ '[' 11 = 0 ']'
+ return 11
+ exit 11

Only the mod_jk.conf file is being included from httpd.conf file 
and I have checked this file also, the mod_jk is not being added 
 from this file also.

Please help me out with the problem.

Waiting for replies,
Ankit.
_________________________________________________________
There is always a better job for you at Monsterindia.com.
Go now http://monsterindia.rediff.com/jobs


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org