<div><font face="Arial" size="2"><span class="993331403-05122005">Hi
All,</span></font></div>
<div><font face="Arial" size="2"><span class="993331403-05122005"></span></font> </div>
<div><font face="Arial" size="2"><span class="993331403-05122005">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...<br></span>
</font></div>
<br><br>[pid 19752] connect(43, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = 0<br>[pid 19752] writev(43, [{"\2\0\0\0\0\0\0\0\27\0\0\0", 12}, {"username@domainname.com\0", 23}], 2) = 35
<br>[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<br>[pid 19752] read(43, "username@domainname.com\0$1$2PASSWORD0\0Not Available\0/u/a/username@domainname.com
\0/bin/default-shell\0", 119) = 119<br>[pid 19752] close(43) = 0<br>[pid 19752] stat64("/u", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>[pid 19752] stat64("/u/a/username@<a href="http://domainname.com/cgi-bin/script.cgi">
domainname.com/cgi-bin/script.cgi</a>", {st_mode=S_IFREG|0755, st_size=522, ...}) = 0<br>[pid 19752] open("/u/a/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)<br>[pid 19752] open("/u/a/username@
<a href="http://domainname.com/.htaccess">domainname.com/.htaccess</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>[pid 19752] open("/u/a/username@<a href="http://domainname.com/cgi-bin/.htaccess">domainname.com/cgi-bin/.htaccess
</a>", O_RDONLY) = -1 ENOENT (No such file or directory)<br>[pid 19752] open("/u/a/username@<a href="http://domainname.com/cgi-bin/script.cgi/.htaccess">domainname.com/cgi-bin/script.cgi/.htaccess</a>", O_RDONLY) = -1 ENOTDIR (Not a directory)
<br>[pid 19752] getpid() = 19752<br>[pid 19752] pipe([43, 44]) = 0<br>[pid 19752] fcntl64(44, F_GETFL) = 0x1 (flags O_WRONLY)<br>[pid 19752] fcntl64(44, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
<br>[pid 19752] pipe([45, 46]) = 0<br>[pid 19752] fcntl64(45, F_GETFL) = 0 (flags O_RDONLY)<br>[pid 19752] fcntl64(45, F_SETFL, O_RDONLY|O_NONBLOCK) = 0<br>[pid 19752] pipe([47, 48]) = 0<br>
[pid 19752] fcntl64(47, F_GETFL) = 0 (flags O_RDONLY)<br>[pid 19752] fcntl64(47, F_SETFL, O_RDONLY|O_NONBLOCK) = 0<br>[pid 19752] fork(Process 19772 attached<br>) = 19772<br>[pid 19772] --- SIGSTOP (Stopped (signal)) @ 0 (0) ---
<br>[pid 19752] close(43) = 0<br>[pid 19772] getpid( <unfinished ...><br>[pid 19752] close(46 <unfinished ...><br>[pid 19772] <... getpid resumed> ) = 19772<br>[pid 19752] <... close resumed> ) = 0
<br>[pid 19752] close(48 <unfinished ...><br>[pid 19772] getrlimit(RLIMIT_STACK, <unfinished ...><br>[pid 19752] <... close resumed> ) = 0<br>[pid 19772] <... getrlimit resumed> {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
<br>[pid 19752] close(44) = 0<br>[pid 19752] poll( <unfinished ...><br>[pid 19772] close(3) = 0<br>[pid 19772] close(41) = 0<br>[pid 19772] close(40) = 0
<br>[pid 19772] close(39) = 0<br>[pid 19772] close(38) = 0<br>[pid 19772] close(37) = 0<br>[pid 19772] close(36) = 0<br>[pid 19772] close(35) = 0
<br>[pid 19772] close(34) = 0<br>[pid 19772] close(33) = 0<br>[pid 19772] close(32) = 0<br>[pid 19772] close(31) = 0<br>[pid 19772] close(30) = 0
<br>[pid 19772] close(29) = 0<br>[pid 19772] close(28) = 0<br>[pid 19772] close(27) = 0<br>[pid 19772] close(25) = 0<br>[pid 19772] close(23) = 0
<br>[pid 19772] close(26) = 0<br>[pid 19772] close(22) = 0<br>[pid 19772] close(21) = 0<br>[pid 19772] close(20) = 0<br>[pid 19772] close(19) = 0
<br>[pid 19772] close(18) = 0<br>[pid 19772] close(17) = 0<br>[pid 19772] close(16) = 0<br>[pid 19772] close(15) = 0<br>[pid 19772] close(14) = 0
<br>[pid 19772] close(13) = 0<br>[pid 19772] close(12) = 0<br>[pid 19772] close(11) = 0<br>[pid 19772] close(10) = 0<br>[pid 19772] close(9) = 0
<br>[pid 19772] close(8) = 0<br>[pid 19772] close(6) = 0<br>[pid 19772] close(5) = 0<br>[pid 19772] close(4) = 0<br>[pid 19772] close(42) = 0
<br>[pid 19772] close(44) = 0<br>[pid 19772] dup2(43, 0) = 0<br>[pid 19772] close(43) = 0<br>[pid 19772] close(45) = 0<br>[pid 19772] dup2(46, 1) = 1
<br>[pid 19772] close(46) = 0<br>[pid 19772] close(47) = 0<br>[pid 19772] dup2(48, 2) = 2<br>[pid 19772] close(48) = 0<br>[pid 19772] rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
<br>[pid 19772] chdir("/u/a/username@<a href="http://domainname.com/cgi-bin/">domainname.com/cgi-bin/</a>") = 0<br>[pid 19772] getpid() = 19772<br>[pid 19772] getrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
<br>[pid 19772] rt_sigaction(SIGRTMIN, {SIG_DFL}, NULL, 8) = 0<br>[pid 19772] rt_sigaction(SIGRT_1, {SIG_DFL}, NULL, 8) = 0<br>[pid 19772] rt_sigaction(SIGRT_2, {SIG_DFL}, NULL, 8) = 0<br>[pid 19772] execve("/u/a/username@
<a href="http://domainname.com/cgi-bin/script.cgi">domainname.com/cgi-bin/script.cgi</a>", ["/u/a/username@<a href="http://domainname.com/cgi-bin/script.cgi"]">domainname.com/cgi-bin/script.cgi"]</a>, [/* 25 vars */]) = 0
<br><br>Cheers,<br><br>Adam.<br>