[plug] cgi not running through suexec
Adam Hewitt
n3urogod at gmail.com
Mon Dec 5 11:40:46 WST 2005
Hi All,
I have a problem where cgi scirpts are being exec'ed instead of being run
through suexec, does anyone have any idea why suexec would be getting left
out? Keeping in mind that I have suexec working for another realm, and I
have diffed the apache2 vhost configs and they are almost identical...
[pid 19752] connect(43, {sa_family=AF_FILE, path="/var/run/.nscd_socket"},
110) = 0
[pid 19752] writev(43, [{"\2\0\0\0\0\0\0\0\27\0\0\0", 12}, {"
username at domainname.com\0", 23}], 2) = 35
[pid 19752] read(43,
"\2\0\0\0\1\0\0\0\27\0\0\0#\0\0\0\311q\t\0\264\0\0\0\16\0\0\0\34\0\0\0\23\0\0\0",
36) = 36
[pid 19752] read(43, "username at domainname.com\0$1$2PASSWORD0\0Not
Available\0/u/a/username at domainname.com\0/bin/default-shell\0", 119) = 119
[pid 19752] close(43) = 0
[pid 19752] stat64("/u", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 19752] stat64("/u/a/username at domainname.com/cgi-bin/script.cgi",
{st_mode=S_IFREG|0755, st_size=522, ...}) = 0
[pid 19752] open("/u/a/.htaccess", O_RDONLY) = -1 ENOENT (No such file or
directory)
[pid 19752] open("/u/a/username at domainname.com/.htaccess", O_RDONLY) = -1
ENOENT (No such file or directory)
[pid 19752] open("/u/a/username at domainname.com/cgi-bin/.htaccess", O_RDONLY)
= -1 ENOENT (No such file or directory)
[pid 19752] open("/u/a/username at domainname.com/cgi-bin/script.cgi/.htaccess",
O_RDONLY) = -1 ENOTDIR (Not a directory)
[pid 19752] getpid() = 19752
[pid 19752] pipe([43, 44]) = 0
[pid 19752] fcntl64(44, F_GETFL) = 0x1 (flags O_WRONLY)
[pid 19752] fcntl64(44, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
[pid 19752] pipe([45, 46]) = 0
[pid 19752] fcntl64(45, F_GETFL) = 0 (flags O_RDONLY)
[pid 19752] fcntl64(45, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
[pid 19752] pipe([47, 48]) = 0
[pid 19752] fcntl64(47, F_GETFL) = 0 (flags O_RDONLY)
[pid 19752] fcntl64(47, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
[pid 19752] fork(Process 19772 attached
) = 19772
[pid 19772] --- SIGSTOP (Stopped (signal)) @ 0 (0) ---
[pid 19752] close(43) = 0
[pid 19772] getpid( <unfinished ...>
[pid 19752] close(46 <unfinished ...>
[pid 19772] <... getpid resumed> ) = 19772
[pid 19752] <... close resumed> ) = 0
[pid 19752] close(48 <unfinished ...>
[pid 19772] getrlimit(RLIMIT_STACK, <unfinished ...>
[pid 19752] <... close resumed> ) = 0
[pid 19772] <... getrlimit resumed> {rlim_cur=RLIM_INFINITY,
rlim_max=RLIM_INFINITY}) = 0
[pid 19752] close(44) = 0
[pid 19752] poll( <unfinished ...>
[pid 19772] close(3) = 0
[pid 19772] close(41) = 0
[pid 19772] close(40) = 0
[pid 19772] close(39) = 0
[pid 19772] close(38) = 0
[pid 19772] close(37) = 0
[pid 19772] close(36) = 0
[pid 19772] close(35) = 0
[pid 19772] close(34) = 0
[pid 19772] close(33) = 0
[pid 19772] close(32) = 0
[pid 19772] close(31) = 0
[pid 19772] close(30) = 0
[pid 19772] close(29) = 0
[pid 19772] close(28) = 0
[pid 19772] close(27) = 0
[pid 19772] close(25) = 0
[pid 19772] close(23) = 0
[pid 19772] close(26) = 0
[pid 19772] close(22) = 0
[pid 19772] close(21) = 0
[pid 19772] close(20) = 0
[pid 19772] close(19) = 0
[pid 19772] close(18) = 0
[pid 19772] close(17) = 0
[pid 19772] close(16) = 0
[pid 19772] close(15) = 0
[pid 19772] close(14) = 0
[pid 19772] close(13) = 0
[pid 19772] close(12) = 0
[pid 19772] close(11) = 0
[pid 19772] close(10) = 0
[pid 19772] close(9) = 0
[pid 19772] close(8) = 0
[pid 19772] close(6) = 0
[pid 19772] close(5) = 0
[pid 19772] close(4) = 0
[pid 19772] close(42) = 0
[pid 19772] close(44) = 0
[pid 19772] dup2(43, 0) = 0
[pid 19772] close(43) = 0
[pid 19772] close(45) = 0
[pid 19772] dup2(46, 1) = 1
[pid 19772] close(46) = 0
[pid 19772] close(47) = 0
[pid 19772] dup2(48, 2) = 2
[pid 19772] close(48) = 0
[pid 19772] rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 19772] chdir("/u/a/username at domainname.com/cgi-bin/") = 0
[pid 19772] getpid() = 19772
[pid 19772] getrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY,
rlim_max=RLIM_INFINITY}) = 0
[pid 19772] rt_sigaction(SIGRTMIN, {SIG_DFL}, NULL, 8) = 0
[pid 19772] rt_sigaction(SIGRT_1, {SIG_DFL}, NULL, 8) = 0
[pid 19772] rt_sigaction(SIGRT_2, {SIG_DFL}, NULL, 8) = 0
[pid 19772] execve("/u/a/username at domainname.com/cgi-bin/script.cgi",
["/u/a/username at domainname.com/cgi-bin/script.cgi"], [/* 25 vars */]) = 0
Cheers,
Adam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20051205/a7b29a00/attachment.html>
More information about the plug
mailing list