httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lindo Nepi <asc...@ascu.unian.it>
Subject RE: [users@httpd] CGI segfault on my linux/sparc-64
Date Mon, 23 May 2005 14:16:30 GMT


On Mon, 23 May 2005, Boyle Owen wrote:

>> of course i compiled gradsc on sparc64...
>> if i run gradsc from bash (on sparc64 ad on x86) it works correctly.
>
> As which user? Yourself? Try it as the apache user...


yes i try using  www-data.www-data
  (in debian apache run with user www-data, group  www-data)


on my log  (error.log) i found:

/var/www//cgi/stats/awstats.pl
[Mon May 23 14:47:59 2005] [notice] SIGHUP received.  Attempting to 
restart
[Mon May 23 14:48:01 2005] [error] (2)No such file or directory: 
mod_mime_magic:
  can't read magic file /etc/apache/share/magic
[Mon May 23 14:48:01 2005] [notice] Apache/1.3.33 (Debian GNU/Linux) 
PHP/4.3.10-
13 configured -- resuming normal operations
[Mon May 23 14:48:01 2005] [notice] suEXEC mechanism enabled (wrapper: 
/usr/lib/
apache/suexec)
[Mon May 23 14:48:01 2005] [notice] Accept mutex: sysvsem (Default: 
sysvsem)
[Mon May 23 14:48:56 2005] [error] PHP Warning: 
getimagesize(immaginitemp/g3pre
ss00f01.gif): failed to open stream: No such file or directory in 
/var/www/deman
d/automet/formpress.php on line 117
execve("/bin/gradsc", ["gradsc"], [/* 27 vars */]) = 0
uname({sys="Linux", node="helios", ...}) = 0
brk(0)                                  = 0x19ba08
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=47121, ...}) = 0
mmap(NULL, 47121, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7001c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\1A\30"..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=840036, ...}) = 0
mmap(NULL, 906728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7002c000
mprotect(0x700f6000, 79336, PROT_NONE)  = 0
mmap(0x700fc000, 57344, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3
, 0xc0000) = 0x700fc000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/usr/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\1#\350"..., 
512) = 51
2
fstat64(3, {st_mode=S_IFREG|0644, st_size=290876, ...}) = 0
mmap(NULL, 357440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7010c000
mprotect(0x7014a000, 103488, PROT_NONE) = 0
mmap(0x7014c000, 98304, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3
, 0x30000) = 0x7014c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\0\234"..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=527020, ...}) = 0
mmap(NULL, 591312, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70164000
mprotect(0x701e2000, 75216, PROT_NONE)  = 0
mmap(0x701e4000, 73728, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3
, 0x70000) = 0x701e4000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=527020, ...}) = 0
mmap(NULL, 591312, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70164000
mprotect(0x701e2000, 75216, PROT_NONE)  = 0
mmap(0x701e4000, 73728, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3
, 0x70000) = 0x701e4000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\1\316"..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1292460, ...}) = 0
mmap(NULL, 1362376, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x701f8000
mprotect(0x7032c000, 100808, PROT_NONE) = 0
mmap(0x70338000, 49152, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3
, 0x130000) = 0x70338000
mmap(0x70344000, 2504, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP
_ANONYMOUS, -1, 0) = 0x70344000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\0\36"..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=10444, ...}) = 0
mmap(NULL, 74736, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x70348000
mprotect(0x7034c000, 58352, PROT_NONE)  = 0
mmap(0x70358000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED, 3
, 0) = 0x70358000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x700
1a000
munmap(0x7001c000, 47121)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Thanks in advance!



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message