nss-mysql-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nss-mysql-users] nss_mysql + Apache + SuExec + Vhosts = SegFault ? and


From: Frédéric Trudeau
Subject: [Nss-mysql-users] nss_mysql + Apache + SuExec + Vhosts = SegFault ? and other problems ...
Date: Wed, 4 Jun 2003 22:35:16 -0400

Greetings all. Hope someone can help figure out what is wrong here .

Here are the Vhosts configured in httpd.conf

<virtualhost *>
servername www.zesolution.com
serveradmin address@hidden
user ftrudeau
group users
documentroot /mnt/fileserver/data/home/zesolution/www
errorlog /mnt/fileserver/logs/web/logs/www.zesolution.com
customlog /mnt/fileserver/logs/web/logs/www.zesolution.com combined
</virtualhost>

<virtualhost *>
servername control.zesolution.com
serveradmin address@hidden
user ftrudeau
group users
documentroot /mnt/fileserver/data/home/zesolution/www/control
errorlog /mnt/fileserver/logs/web/logs/control.zesolution.com
customlog /mnt/fileserver/logs/web/logs/control.zesolution.com combined
</virtualhost>

<virtualhost *>
servername tctrail.zesolution.com
serveradmin address@hidden
user tctrail
group users
documentroot /mnt/fileserver/data/home/tctrail/www
errorlog /mnt/fileserver/logs/web/logs/tctrail.zesolution.com
customlog /mnt/fileserver/logs/web/logs/tctrail.zesolution.com combined
</virtualhost>

** IMPORTANT NOTE **
user ftrudeau is local (not in nss_mysql)
user tctrail is in nss_mysql

I have setup Apache + PHP(cgi) so that it gets executed as the user, via
SuExec.

Here are the diffenrent config that I tested :

CASE #1) UIDs in httpd.conf
if I insert tctrail's UID in httpd.conf, httpd starts, BUT, I cannot access
any PHP files for the given vhost
in the vhosts www logs, I get this :

Wed Jun  4 22:29:27 2003] [error] (2)No such file or directory: exec of
/export/pub_cgi/php failed
[Wed Jun  4 22:29:27 2003] [error] [client 66.36.141.148] Premature end of
script headers: /export/pub_cgi/php
66.36.141.148 - - [04/Jun/2003:22:29:27 -0400] "GET
/enter.php?htmlversion2=1 HTTP/1.1" 500 543 "http://tctrail.zesolution.com/";
"Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"

Solution ? chmod nss_mysql so that user apache has read access on them ...
ugly aint it ? it works, but it breaks su :
"nss-mysql detected that
/mnt/fileserver/config/nss_mysql/nss-mysql-root.conf is not only root
readable. Therefore it will refuse to work. Either remove mysql from
/etc/nsswitch.conf or change
/mnt/fileserver/config/nss_mysql/nss-mysql-root.conf permissions."

CASE #2) Usernames in httpd.conf
if instead I insert plain text usernames in httpd.conf, httpd.conf wont even
start, nor will it output any error message. it simply seg fault somewhere.

here is the debuging output of an strace on httpd, right after it finishes
to open the modules.

     0.000127 open("/etc/ld.so.cache", O_RDONLY) = 6
     0.000135 fstat64(6, {st_mode=S_IFREG|0644, st_size=23453, ...}) = 0
     0.000186 old_mmap(NULL, 23453, PROT_READ, MAP_PRIVATE, 6, 0) =
0x40282000
     0.000172 close(6)                  = 0
     0.000120 open("/lib/libmysqlclient.so.10", O_RDONLY) = 6
     0.000182 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\200"..., 1024) = 1024
     0.000205 fstat64(6, {st_mode=S_IFREG|0755, st_size=277860, ...}) = 0
     0.000202 old_mmap(NULL, 221088, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0)
= 0x40288000
     0.000160 mprotect(0x402a6000, 98208, PROT_NONE) = 0
     0.000101 old_mmap(0x402a6000, 98304, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x1e000) = 0x402a6000
     0.000199 close(6)                  = 0
     0.000141 open("/usr/lib/libz.so.1", O_RDONLY) = 6
     0.000163 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30"..., 1024) = 1024
     0.000210 fstat64(6, {st_mode=S_IFREG|0755, st_size=59695, ...}) = 0
     0.000188 brk(0x809b000)            = 0x809b000
     0.000134 old_mmap(NULL, 54948, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0)
= 0x402be000
     0.000164 mprotect(0x402ca000, 5796, PROT_NONE) = 0
     0.000101 old_mmap(0x402ca000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0xb000) = 0x402ca000
     0.000196 close(6)                  = 0
     0.000134 open("/lib/libnsl.so.1", O_RDONLY) = 6
     0.000153 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`:\0\000"..., 1024) = 1024
     0.000206 fstat64(6, {st_mode=S_IFREG|0755, st_size=89424, ...}) = 0
     0.000201 old_mmap(NULL, 84636, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0)
= 0x402cc000
     0.000160 mprotect(0x402de000, 10908, PROT_NONE) = 0
     0.000100 old_mmap(0x402de000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x12000) = 0x402de000
     0.000205 old_mmap(0x402df000, 6812, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402df000
     0.000169 close(6)                  = 0
     0.009044 munmap(0x40282000, 23453) = 0
     0.000308 open("/etc/nsswitch.conf", O_RDONLY) = 6
     0.000197 fstat64(6, {st_mode=S_IFREG|0644, st_size=1768, ...}) = 0
     0.000198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000130 read(6, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1768
     0.000269 brk(0x809c000)            = 0x809c000
     0.000167 read(6, "", 4096)         = 0
     0.000155 close(6)                  = 0
     0.000094 munmap(0x40282000, 4096)  = 0
     0.000194 open("/etc/ld.so.cache", O_RDONLY) = 6
     0.000133 fstat64(6, {st_mode=S_IFREG|0644, st_size=23453, ...}) = 0
     0.000188 old_mmap(NULL, 23453, PROT_READ, MAP_PRIVATE, 6, 0) =
0x40282000
     0.000152 close(6)                  = 0
     0.000110 open("/lib/libnss_files.so.2", O_RDONLY) = 6
     0.000164 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\35\0"..., 1024) = 1024
     0.000206 fstat64(6, {st_mode=S_IFREG|0755, st_size=45415, ...}) = 0
     0.000209 old_mmap(NULL, 37848, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0)
= 0x402e1000
     0.000161 mprotect(0x402ea000, 984, PROT_NONE) = 0
     0.000101 old_mmap(0x402ea000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x9000) = 0x402ea000
     0.000189 close(6)                  = 0
     0.000234 munmap(0x40282000, 23453) = 0
     0.000164 open("/etc/services", O_RDONLY) = 6
     0.000195 fcntl64(6, F_GETFD)       = 0
     0.000099 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
     0.000111 fstat64(6, {st_mode=S_IFREG|0644, st_size=19891, ...}) = 0
     0.000190 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000119 read(6, "# /etc/services:\n# $Id: services"..., 4096) = 4096
     0.000461 read(6, "TBIOS Name Service\nnetbios-ns\t13"..., 4096) = 4096
     0.011492 read(6, "rcs\t\t994/udp\npop3s\t\t995/tcp\t\t\t\t#"..., 4096)
= 4096
     0.000379 read(6, "rv\t\t2432/tcp\t\t\t# not used\ncodasr"..., 4096) =
4096
     0.000239 close(6)                  = 0
     0.000099 munmap(0x40282000, 4096)  = 0
     0.000150 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
     0.000649 read(5, "ne HAVE_PROXY>\nAddModule mod_pro"..., 4096) = 4096
     0.000927 socket(PF_UNIX, SOCK_STREAM, 0) = 6
     0.000195 connect(6, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"},
110) = -1 ENOENT (No such file or directory)
     0.000237 close(6)                  = 0
     0.000171 open("/etc/passwd", O_RDONLY) = 6
     0.000144 fcntl64(6, F_GETFD)       = 0
     0.000095 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
     0.000093 fstat64(6, {st_mode=S_IFREG|0644, st_size=1685, ...}) = 0
     0.000195 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000126 read(6, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1685
     0.000260 close(6)                  = 0
     0.000097 munmap(0x40282000, 4096)  = 0
     0.000194 socket(PF_UNIX, SOCK_STREAM, 0) = 6
     0.000128 connect(6, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"},
110) = -1 ENOENT (No such file or directory)
     0.000212 close(6)                  = 0
     0.000149 open("/etc/group", O_RDONLY) = 6
     0.000130 fcntl64(6, F_GETFD)       = 0
     0.000090 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
     0.000090 fstat64(6, {st_mode=S_IFREG|0644, st_size=657, ...}) = 0
     0.000215 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000118 read(6, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 657
     0.000256 close(6)                  = 0
     0.000093 munmap(0x40282000, 4096)  = 0
     0.000193 read(5, "ministrator.\n# If your host does"..., 4096) = 4096
     0.000729 brk(0x809f000)            = 0x809f000
     0.000699 read(5, "ir.c>\n    DirectoryIndex index.h"..., 4096) = 4096
     0.000817 read(5, "%h %l %u %t \\\"%r\\\" %>s %b \\\"%{Re"..., 4096) =
4096
     0.000320 brk(0x80a2000)            = 0x80a2000
     0.000691 read(5, "   #\n    # FancyIndexing is whet"..., 4096) = 4096
     0.000591 brk(0x80a5000)            = 0x80a5000
     0.000563 read(5, "e)\n    # French (fr) - German (d"..., 4096) = 4096
     0.001183 read(5, "aSuffix: specifies the file name"..., 4096) = 4096
     0.000814 read(5, "server:\n#\n#<IfModule mod_proxy.c"..., 4096) = 4096
     0.000404 getrlimit(0x7, 0xbfffd720) = 0
     0.000372 read(5, "re\n#   additionally duplicated i"..., 4096) = 4096
     0.000419 read(5, "nd other lookup directives.  The"..., 4096) = 4096
     0.000347 read(5, "and\n#   \"force-response-1.0\" for"..., 4096) = 3507
     0.000217 getrlimit(0x7, 0xbfffd720) = 0
     0.000098 brk(0x80a8000)            = 0x80a8000
     0.000242 open("/etc/passwd", O_RDONLY) = 6
     0.000142 fcntl64(6, F_GETFD)       = 0
     0.000090 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
     0.000091 fstat64(6, {st_mode=S_IFREG|0644, st_size=1685, ...}) = 0
     0.000190 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000122 read(6, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1685
     0.000227 close(6)                  = 0
     0.000092 munmap(0x40282000, 4096)  = 0
     0.000166 open("/etc/group", O_RDONLY) = 6
     0.000131 fcntl64(6, F_GETFD)       = 0
     0.000095 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
     0.000089 fstat64(6, {st_mode=S_IFREG|0644, st_size=657, ...}) = 0
     0.000186 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000117 read(6, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 657
     0.000194 close(6)                  = 0
     0.000092 munmap(0x40282000, 4096)  = 0
     0.000237 getrlimit(0x7, 0xbfffd720) = 0
     0.000100 brk(0x80ab000)            = 0x80ab000
     0.000238 open("/etc/passwd", O_RDONLY) = 6
     0.000133 fcntl64(6, F_GETFD)       = 0
     0.000089 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
     0.000089 fstat64(6, {st_mode=S_IFREG|0644, st_size=1685, ...}) = 0
     0.000186 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000119 read(6, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1685
     0.000232 close(6)                  = 0
     0.000091 munmap(0x40282000, 4096)  = 0
     0.000163 open("/etc/group", O_RDONLY) = 6
     0.000130 fcntl64(6, F_GETFD)       = 0
     0.000089 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
     0.000089 fstat64(6, {st_mode=S_IFREG|0644, st_size=657, ...}) = 0
     0.000186 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000117 read(6, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 657
     0.000192 close(6)                  = 0
     0.000093 munmap(0x40282000, 4096)  = 0
     0.000234 getrlimit(0x7, 0xbfffd720) = 0
     0.006389 open("/etc/passwd", O_RDONLY) = 6
     0.000138 fcntl64(6, F_GETFD)       = 0
     0.000091 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
     0.000090 fstat64(6, {st_mode=S_IFREG|0644, st_size=1685, ...}) = 0
     0.000188 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000118 read(6, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1685
     0.000244 read(6, "", 4096)         = 0
     0.000132 close(6)                  = 0
     0.000098 munmap(0x40282000, 4096)  = 0
     0.000175 open("/etc/ld.so.cache", O_RDONLY) = 6
     0.000146 fstat64(6, {st_mode=S_IFREG|0644, st_size=23453, ...}) = 0
     0.000202 old_mmap(NULL, 23453, PROT_READ, MAP_PRIVATE, 6, 0) =
0x40282000
     0.000165 close(6)                  = 0
     0.000119 open("/lib/libnss_mysql.so.2", O_RDONLY) = 6
     0.000172 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\32"..., 1024) = 1024
     0.000216 fstat64(6, {st_mode=S_IFREG|0755, st_size=51248, ...}) = 0
     0.000206 old_mmap(NULL, 47260, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0)
= 0x402eb000
     0.000163 mprotect(0x402f6000, 2204, PROT_NONE) = 0
     0.000103 old_mmap(0x402f6000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0xa000) = 0x402f6000
     0.000202 close(6)                  = 0
     0.000157 open("/lib/libmysqlclient_r.so.10", O_RDONLY) = 6
     0.000182 read(6,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\212\0"..., 1024) = 1024
     0.000205 fstat64(6, {st_mode=S_IFREG|0755, st_size=279214, ...}) = 0
     0.000202 old_mmap(NULL, 225276, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0)
= 0x402f7000
     0.000166 mprotect(0x40315000, 102396, PROT_NONE) = 0
     0.000101 old_mmap(0x40315000, 102400, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 6, 0x1d000) = 0x40315000
     0.000195 close(6)                  = 0
     0.003776 munmap(0x40282000, 23453) = 0
     0.000230 brk(0x80ac000)            = 0x80ac000
     0.000140 open("/mnt/fileserver/config/nss_mysql/nss-mysql.conf",
O_RDONLY) = 6
     0.000275 fstat64(6, {st_mode=S_IFREG|0644, st_size=6923, ...}) = 0
     0.000197 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000127 read(6, "#\n# This is an example configura"..., 4096) = 4096
     0.000535 read(6, "ser_name); \n# The field name mus"..., 4096) = 2827
     0.000289 read(6, "", 4096)         = 0
     0.000115 close(6)                  = 0
     0.000092 munmap(0x40282000, 4096)  = 0
     0.000367 socket(PF_UNIX, SOCK_STREAM, 0) = 6
     0.000163 fcntl64(6, F_GETFL)       = 0x2 (flags O_RDWR)
     0.000137 connect(6, {sin_family=AF_UNIX,
path="/var/lib/mysql/mysql.sock"}, 110) = 0
     0.000253 brk(0x80af000)            = 0x80af000
     0.000154 setsockopt(6, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP
(Operation not supported)
     0.000131 setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
     0.000107 read(6, ",\0\0\0", 4)     = 4
     0.000123 read(6, "\n3.23.56-log\0005>\0\0!uOkKs#N\0, \10\2\0\0"..., 44)
= 44
     0.000255 open("/usr/share/mysql/charsets/Index", O_RDONLY|O_LARGEFILE)
= 7
     0.000181 fstat64(7, {st_mode=S_IFREG|0644, st_size=549, ...}) = 0
     0.000190 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000120 read(7, "# sql/share/charsets/Index\n#\n# T"..., 4096) = 549
     0.000294 read(7, "", 4096)         = 0
     0.000107 close(7)                  = 0
     0.000090 munmap(0x40282000, 4096)  = 0
     0.000175 write(6, "$\0\0\1\r \377\377\377root\0CJPSJ]NW\0_system_n"...,
40) = 40
     0.000170 read(6, "\5\0\0\2", 4)    = 4
     0.000275 read(6, "\0\0\0\2\0", 5)  = 5
     0.000169 getpid()                  = 7256
     0.000313 fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
     0.000102 read(6, 0x80ab388, 8192)  = -1 EAGAIN (Resource temporarily
unavailable)
     0.000108 fcntl64(6, F_SETFL, O_RDWR) = 0
     0.000094 write(6, "\351\0\0\0\3select nss_user.user_name,n"..., 237) =
237
     0.000156 read(6, "\1\0\0\1", 4)    = 4
     0.000844 read(6, "\7", 1)          = 1
     0.000114 read(6, "\35\0\0\2", 4)   = 4
     0.000115 read(6, "\10nss_user\tuser_name\0032\0\0\1\375\3\1\0\0", 29) =
29
     0.000154 brk(0x80b1000)            = 0x80b1000
     0.000125 read(6, "\27\0\0\3", 4)   = 4
     0.000121 read(6, "\10nss_user\3uid\3\v\0\0\1\3\3\1\0\0", 23) = 23
     0.000145 read(6, "\20\0\0\4", 4)   = 4
     0.000116 read(6, "\0\4NULL\3\4\0\0\1\6\3\0\0\0", 16) = 16
     0.000139 read(6, "\34\0\0\5", 4)   = 4
     0.000115 read(6, "\10nss_user\10realname\3 \0\0\1\375\3\1\0\0", 28) =
28
     0.000149 read(6, "\31\0\0\6", 4)   = 4
     0.000116 read(6, "\10nss_user\5shell\3\24\0\0\1\375\3\1\0\0", 25) = 25
     0.000183 read(6, "\33\0\0\7", 4)   = 4
     0.000117 read(6, "\10nss_user\7homedir\3\377\0\0\1\375\3\0\0\0", 27) =
27
     0.000152 read(6, "\27\0\0\10", 4)  = 4
     0.000116 read(6, "\10nss_user\3gid\3\v\0\0\1\3\3\1\0\0", 23) = 23
     0.044711 read(6, "\1\0\0\t", 4)    = 4
     0.000119 read(6, "\376", 1)        = 1
     0.000112 brk(0x80b3000)            = 0x80b3000
     0.000204 read(6, "Q\0\0\n", 4)     = 4
     0.000122 read(6, "\7tctrail\0042008\373\22Trans Canada trai"..., 81) =
81
     0.000152 brk(0x80b5000)            = 0x80b5000
     0.000126 read(6, "\1\0\0\v", 4)    = 4
     0.000119 read(6, "\376", 1)        = 1
     0.000428 open("/etc/group", O_RDONLY) = 7
     0.000150 fcntl64(7, F_GETFD)       = 0
     0.000092 fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
     0.000100 fstat64(7, {st_mode=S_IFREG|0644, st_size=657, ...}) = 0
     0.000231 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000135 read(7, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 657
     0.000213 close(7)                  = 0
     0.000096 munmap(0x40282000, 4096)  = 0
     0.000391 read(5, "", 4096)         = 0
     0.000125 close(5)                  = 0
     0.000091 munmap(0x40014000, 4096)  = 0
     0.000128 stat64("/etc/httpd/conf/srm.conf", {st_mode=S_IFREG|0644,
st_size=297, ...}) = 0
     0.000237 lstat64("/etc/httpd/conf/srm.conf", {st_mode=S_IFREG|0644,
st_size=297, ...}) = 0
     0.000236 open("/etc/httpd/conf/srm.conf", O_RDONLY) = 5
     0.000145 fstat64(5, {st_mode=S_IFREG|0644, st_size=297, ...}) = 0
     0.000192 fstat64(5, {st_mode=S_IFREG|0644, st_size=297, ...}) = 0
     0.000186 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
     0.000113 read(5, "#\n# This is the default file for"..., 4096) = 297
     0.000208 read(5, "", 4096)         = 0
     0.000108 close(5)                  = 0
     0.000088 munmap(0x40014000, 4096)  = 0
     0.000116 stat64("/etc/httpd/conf/access.conf", {st_mode=S_IFREG|0644,
st_size=285, ...}) = 0
     0.000229 lstat64("/etc/httpd/conf/access.conf", {st_mode=S_IFREG|0644,
st_size=285, ...}) = 0
     0.000235 open("/etc/httpd/conf/access.conf", O_RDONLY) = 5
     0.000142 fstat64(5, {st_mode=S_IFREG|0644, st_size=285, ...}) = 0
     0.000191 fstat64(5, {st_mode=S_IFREG|0644, st_size=285, ...}) = 0
     0.000187 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
     0.000113 read(5, "#\n# This is the default file for"..., 4096) = 285
     0.000199 read(5, "", 4096)         = 0
     0.000104 close(5)                  = 0
     0.000088 munmap(0x40014000, 4096)  = 0
     0.000298 chmod("/var/run/httpd.mm.7256.sem", 0600) = 0
     0.000183 chown32(0x40135014, 0x30, 0xffffffff) = 0
     0.000171 open("/var/log/httpd/error_log", O_WRONLY|O_APPEND|O_CREAT,
0666) = 5
     0.000188 fcntl64(5, F_DUPFD, 15)   = 15
     0.000126 close(5)                  = 0
     0.000105 fcntl64(15, F_GETFL)      = 0x401 (flags O_WRONLY|O_APPEND)
     0.000115 fstat64(15, {st_mode=S_IFREG|0644, st_size=38195, ...}) = 0
     0.000189 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
     0.000116 _llseek(15, 0, [0], SEEK_CUR) = 0
     0.000162 dup2(15, 2)               = 2
     0.000098 open("/mnt/fileserver/logs/web/logs/tctrail.zesolution.com",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 5
     0.000188 fcntl64(5, F_DUPFD, 15)   = 16
     0.000089 close(5)                  = 0
     0.000086 fcntl64(16, F_GETFL)      = 0x401 (flags O_WRONLY|O_APPEND)
     0.000116 fstat64(16, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
     0.000188 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40282000
     0.000121 _llseek(16, 0, [0], SEEK_CUR) = 0
     0.000111 open("/mnt/fileserver/logs/web/logs/control.zesolution.com",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 5
     0.000180 fcntl64(5, F_DUPFD, 15)   = 17
     0.000090 close(5)                  = 0
     0.000086 fcntl64(17, F_GETFL)      = 0x401 (flags O_WRONLY|O_APPEND)
     0.000111 fstat64(17, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
     0.000191 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40283000
     0.000116 _llseek(17, 0, [0], SEEK_CUR) = 0
     0.000111 open("/mnt/fileserver/logs/web/logs/www.zesolution.com",
O_WRONLY|O_APPEND|O_CREAT, 0666) = 5
     0.000176 fcntl64(5, F_DUPFD, 15)   = 18
     0.000090 close(5)                  = 0
     0.000086 fcntl64(18, F_GETFL)      = 0x401 (flags O_WRONLY|O_APPEND)
     0.000111 fstat64(18, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
     0.000192 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40284000
     0.000116 _llseek(18, 0, [0], SEEK_CUR) = 0
     0.000131 open("/etc/mime.types", O_RDONLY) = 5
     0.000133 fstat64(5, {st_mode=S_IFREG|0644, st_size=12704, ...}) = 0
     0.000228 fstat64(5, {st_mode=S_IFREG|0644, st_size=12704, ...}) = 0
     0.000194 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40285000
     0.000116 read(5, "# This is the mime.types file fr"..., 4096) = 4096
     0.059190 read(5, "ve-identity-message\napplication/"..., 4096) = 4096
     0.000585 read(5, "lscriptc\twmlsc\napplication/vnd.w"..., 4096) = 4096
     0.000807 read(5, "t/x-setext\t\t\tetx\ntext/xml\t\t\txml "..., 4096) =
416
     0.000284 read(5, "", 4096)         = 0
     0.000119 close(5)                  = 0
     0.000093 munmap(0x40285000, 4096)  = 0
     0.000170 open("/var/log/httpd/access_log", O_WRONLY|O_APPEND|O_CREAT,
0644) = 5
     0.000168 fcntl64(5, F_DUPFD, 15)   = 19
     0.000100 close(5)                  = 0
     0.000122 open("/mnt/fileserver/logs/web/logs/tctrail.zesolution.com",
O_WRONLY|O_APPEND|O_CREAT, 0644) = 5
     0.000190 fcntl64(5, F_DUPFD, 15)   = 20
     0.000092 close(5)                  = 0
     0.000115 open("/mnt/fileserver/logs/web/logs/control.zesolution.com",
O_WRONLY|O_APPEND|O_CREAT, 0644) = 5
     0.000189 fcntl64(5, F_DUPFD, 15)   = 21
     0.000090 close(5)                  = 0
     0.000103 brk(0x80b8000)            = 0x80b8000
     0.000133 open("/mnt/fileserver/logs/web/logs/www.zesolution.com",
O_WRONLY|O_APPEND|O_CREAT, 0644) = 5
     0.000183 fcntl64(5, F_DUPFD, 15)   = 22
     0.000090 close(5)                  = 0
     0.000208 chdir("/")                = 0
     0.000206 fork()                    = 7257
[pid  7256]      0.001784 fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid  7256]      0.000115 read(6, 0x80ab388, 8192) = -1 EAGAIN (Resource
temporarily unavailable)
[pid  7256]      0.000104 fcntl64(6, F_SETFL, O_RDWR) = 0
[pid  7256]      0.000100 write(6, "\1\0\0\0\1", 5) = 5
[pid  7256]      0.000166 shutdown(6, 2 /* send and receive */) = 0
[pid  7256]      0.000112 close(6)      = 0
[pid  7257]      0.000113 getpid()      = 7257
[pid  7256]      0.002405 _exit(0)      = ?
[pid  7257]      0.000320 setsid()      = 7257
[pid  7257]      0.000173 close(0)      = 0
[pid  7257]      0.000110 open("/dev/null", O_RDONLY) = 0
[pid  7257]      0.000156 close(1)      = 0
[pid  7257]      0.000099 open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666)
= 1
     0.000203 getpid()                  = 7257
     0.000135 time(NULL)                = 1054779520
     0.000115 close(22)                 = 0
     0.000091 close(21)                 = 0
     0.000085 close(20)                 = 0
     0.000084 close(19)                 = 0
     0.000213 --- SIGSEGV (Segmentation fault) ---


Any pointers would be greatly appreciated on this one ... im clueless.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]