Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2005 04:38:50 -0800
From:      Rick Updegrove <dislists@updegrove.net>
To:        freebsd-stable@freebsd.org
Subject:   apache php child pid exit signal Bus error (10)
Message-ID:  <421B27DA.7060607@updegrove.net>

next in thread | raw e-mail | index | archive | help
Hello,

I just upgraded a lot of ports on a 4.9-STABLE machine and many php 
scripts will not run.  phpinfo() works but most scripts kill apache and 
the following is on httpd-error.log

[Tue Feb 22 04:30:33 2005] [notice] child pid 92055 exit signal Bus 
error (10)
[Tue Feb 22 04:30:46 2005] [notice] child pid 92056 exit signal Bus 
error (10)
httpd in free(): warning: junk pointer, too high to make sense
[Tue Feb 22 04:30:47 2005] [notice] child pid 92105 exit signal Bus 
error (10)

This is all on a FreeBSD 4.9-STABLE #0: Thu Oct 30 18:26:33 GMT 2003
apache+mod_ssl-1.3.33+2.8.22 The Apache 1.3 webserver with SSL/TLS 
functionality
apache-ant-1.6.2    Java- and XML-based build tool, conceptually similar 
to mak
php4-4.3.10_2       PHP Scripting Language (Apache Module and CLI)

This server has an uptime of  466 days,  8:06, 4 users, load averages: 
2.05, 2.21, 2.12

I tried to start apache with truss and all I can see is that the line 
below looks suspicious but other than that I have no ideas...
How can I provide more information?

How can I trace the httpd child processes?  Should I?

Before I put in the DNS request to switch over to the 
yet-untested-in-real-life backup server can someone tell me how to get 
apache php working again on this machine before all my users wake up?

Thanks!

stat("/var/run/httpd.pid",0xbfbff700)		 ERR#2 'No such file or directory'

truss -o help.log /usr/local/sbin/apachectl startssl

getpid()					 = 91339 (0x164cb)
geteuid()					 = 0 (0x0)
getppid()					 = 91337 (0x164c9)
readlink("/etc/malloc.conf","J",63)		 = 1 (0x1)
mmap(0x0,4096,0x3,0x1002,-1,0x0)		 = 671817728 (0x280b2000)
break(0x80c1000)				 = 0 (0x0)
break(0x80c2000)				 = 0 (0x0)
stat("/var/mail/root",0xbfbff9d0)		 ERR#2 'No such file or directory'
getuid()					 = 0 (0x0)
geteuid()					 = 0 (0x0)
getgid()					 = 0 (0x0)
getegid()					 = 0 (0x0)
open("/usr/local/sbin/apachectl",0x0,01002652540) = 4 (0x4)
fcntl(0x4,0x0,0xa)				 = 10 (0xa)
close(4)					 = 0 (0x0)
fcntl(0xa,0x2,0x1)				 = 0 (0x0)
sigaction(SIGINT,0x0,0xbfbff9c8)		 = 0 (0x0)
sigaction(SIGINT,0xbfbff9c8,0xbfbff9b0)		 = 0 (0x0)
sigaction(SIGINT,0x0,0xbfbff9c8)		 = 0 (0x0)
sigaction(SIGINT,0xbfbff9c8,0x0)		 = 0 (0x0)
sigaction(SIGQUIT,0x0,0xbfbff9b8)		 = 0 (0x0)
sigaction(SIGQUIT,0xbfbff9b8,0xbfbff9a0)	 = 0 (0x0)
sigaction(SIGQUIT,0x0,0xbfbff9b8)		 = 0 (0x0)
sigaction(SIGQUIT,0xbfbff9b8,0x0)		 = 0 (0x0)
sigaction(SIGTERM,0x0,0xbfbff9c8)		 = 0 (0x0)
sigaction(SIGTERM,0xbfbff9c8,0xbfbff9b0)	 = 0 (0x0)
sigaction(SIGWINCH,0x0,0xbfbff9b8)		 = 0 (0x0)
sigaction(SIGWINCH,0xbfbff9b8,0xbfbff9a0)	 = 0 (0x0)
sigaction(SIGSYS,0xbfbff538,0xbfbff520)		 = 0 (0x0)
__getcwd(0xbfbff6a0,0x400)			 = 0 (0x0)
sigaction(SIGSYS,0xbfbff520,0x0)		 = 0 (0x0)
read(0xa,0x80bee20,0x3ff)			 = 1023 (0x3ff)
read(0xa,0x80bee20,0x3ff)			 = 1023 (0x3ff)
break(0x80c3000)				 = 0 (0x0)
read(0xa,0x80bee20,0x3ff)			 = 1023 (0x3ff)
stat("/sbin/limits",0xbfbff660)			 ERR#2 'No such file or directory'
stat("/usr/sbin/limits",0xbfbff660)		 ERR#2 'No such file or directory'
stat("/bin/limits",0xbfbff660)			 ERR#2 'No such file or directory'
stat("/usr/bin/limits",0xbfbff660)		 = 0 (0x0)
break(0x80c4000)				 = 0 (0x0)
pipe()						 = 4 (0x4)
fork()						 = 91405 (0x1650d)
SIGNAL 20
close(5)					 = 0 (0x0)
read(0x4,0xbfbff850,0x80)			 = 128 (0x80)
read(0x4,0xbfbff850,0x80)			 = 103 (0x67)
read(0x4,0xbfbff850,0x80)			 = 0 (0x0)
close(4)					 = 0 (0x0)
getpgrp()					 = 91337 (0x164c9)
wait4(0xffffffff,0xbfbff7bc,0x2,0x0)		 = 91405 (0x1650d)
break(0x80c5000)				 = 0 (0x0)
fcntl(0x1,0x0,0xa)				 = 11 (0xb)
open("/dev/null",0x601,0666)			 = 4 (0x4)
close(1)					 = 0 (0x0)
fcntl(0x4,0x0,0x1)				 = 1 (0x1)
close(4)					 = 0 (0x0)
fcntl(0x2,0x0,0xa)				 = 12 (0xc)
close(2)					 = 0 (0x0)
fcntl(0x1,0x0,0x2)				 = 2 (0x2)
getrlimit(0x0,0xbfbff5f0)			 = 0 (0x0)
setrlimit(0x0,0xbfbff5f0)			 = 0 (0x0)
getrlimit(0x1,0xbfbff5f0)			 = 0 (0x0)
setrlimit(0x1,0xbfbff5f0)			 = 0 (0x0)
getrlimit(0x2,0xbfbff620)			 = 0 (0x0)
setrlimit(0x2,0xbfbff620)			 = 0 (0x0)
getrlimit(0x3,0xbfbff650)			 = 0 (0x0)
setrlimit(0x3,0xbfbff650)			 = 0 (0x0)
getrlimit(0x4,0xbfbff680)			 = 0 (0x0)
setrlimit(0x4,0xbfbff680)			 = 0 (0x0)
getrlimit(0x5,0xbfbff6b0)			 = 0 (0x0)
setrlimit(0x5,0xbfbff6b0)			 = 0 (0x0)
getrlimit(0x6,0xbfbff6e0)			 = 0 (0x0)
setrlimit(0x6,0xbfbff6e0)			 = 0 (0x0)
getrlimit(0x7,0xbfbff710)			 = 0 (0x0)
setrlimit(0x7,0xbfbff710)			 = 0 (0x0)
getrlimit(0x8,0xbfbff740)			 = 0 (0x0)
setrlimit(0x8,0xbfbff740)			 = 0 (0x0)
getrlimit(0x9,0xbfbff770)			 = 0 (0x0)
setrlimit(0x9,0xbfbff770)			 = 0 (0x0)
getrlimit(0xa,0xbfbff7a0)			 = 0 (0x0)
setrlimit(0xa,0xbfbff7a0)			 = 0 (0x0)
close(1)					 = 0 (0x0)
fcntl(0xb,0x0,0x1)				 = 1 (0x1)
close(11)					 = 0 (0x0)
close(2)					 = 0 (0x0)
fcntl(0xc,0x0,0x2)				 = 2 (0x2)
close(12)					 = 0 (0x0)
getegid()					 = 0 (0x0)
geteuid()					 = 0 (0x0)
getgid()					 = 0 (0x0)
getuid()					 = 0 (0x0)
setregid(0x0,0x0)				 = 0 (0x0)
setreuid(0x0,0x0)				 = 0 (0x0)
setregid(0x0,0x0)				 = 0 (0x0)
setreuid(0x0,0x0)				 = 0 (0x0)
read(0xa,0x80bee20,0x3ff)			 = 1023 (0x3ff)
break(0x80c6000)				 = 0 (0x0)
read(0xa,0x80bee20,0x3ff)			 = 1023 (0x3ff)
read(0xa,0x80bee20,0x3ff)			 = 140 (0x8c)
break(0x80c7000)				 = 0 (0x0)
getegid()					 = 0 (0x0)
geteuid()					 = 0 (0x0)
getgid()					 = 0 (0x0)
getuid()					 = 0 (0x0)
setregid(0x0,0x0)				 = 0 (0x0)
setreuid(0x0,0x0)				 = 0 (0x0)
stat("/var/run/httpd.pid",0xbfbff700)		 ERR#2 'No such file or directory'
setregid(0x0,0x0)				 = 0 (0x0)
setreuid(0x0,0x0)				 = 0 (0x0)
getegid()					 = 0 (0x0)
geteuid()					 = 0 (0x0)
getgid()					 = 0 (0x0)
getuid()					 = 0 (0x0)
setregid(0x0,0x0)				 = 0 (0x0)
setreuid(0x0,0x0)				 = 0 (0x0)
setregid(0x0,0x0)				 = 0 (0x0)
setreuid(0x0,0x0)				 = 0 (0x0)
fork()						 = 91500 (0x1656c)
getpgrp()					 = 91337 (0x164c9)
SIGNAL 20
wait4(0xffffffff,0xbfbff77c,0x2,0x0)		 = 91500 (0x1656c)
break(0x80c8000)				 = 0 (0x0)
write(1,0x80c7000,50)				 = 50 (0x32)
exit(0x0)					process exit, rval = 0







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421B27DA.7060607>