Package: apache2-mpm-worker Version: 2.0.54-4 Severity: grave Justification: renders package unusable
With mpm-worker and cgid, CGIs can't execute, because somewhere compiled into the code is that path /var/run/cgisock which is quite different from the /var/run/apache2/cgisock that comes specified in the cgid.conf file! Without doing an strace, I would never have been able to figure it out. Strace output, abreviated ~:^) . . . 5794 <... poll resumed> [{fd=8, events=POLLIN, revents=POLLIN}], 1, 15000) = 1 5794 read(8, "GET /cgi-bin/env.pl HTTP/1.1\r\nHo"..., 8000) = 373 5794 gettimeofday({1120197035, 62657}, NULL) = 0 5794 stat64("/usr/lib/cgi-bin/env.pl", {st_mode=S_IFREG|0755, st_size=116, ...}) = 0 5794 lstat64("/usr/lib/cgi-bin/env.pl", {st_mode=S_IFREG|0755, st_size=116, ...}) = 0 5794 getpid() = 5783 5794 socket(PF_FILE, SOCK_STREAM, 0) = 9 5794 connect(9, {sa_family=AF_FILE, path="/var/run/cgisock"}, 110) = -1 ENOENT (No such file or directory) 5794 close(9) = 0 5794 gettimeofday({1120197035, 63709}, NULL) = 0 5794 write(6, "[Thu Jun 30 22:50:35 2005] [erro"..., 162) = 162 5794 stat64("/var/log/apache2/cgi.log", 0xb66b86ec) = -1 ENOENT (No such file or directory) 5794 open("/var/log/apache2/cgi.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = -1 EACCES (Permission denied) 5794 writev(8, [{"HTTP/1.1 503 Service Temporarily"..., 272}, {"<!DOCTYPE HTML PUBLIC \"-//IETF//"..., 470}], 2) = 742 5794 write(7, "10.1.1.15 - - [30/Jun/2005:22:50"..., 168) = 168 5794 shutdown(8, 1 /* send */) = 0 . . . Contents of /etc/apache2/mods-enable/cgid.conf as it comes from the debian factory: # Socket thingy for CGI. ScriptSock /var/run/apache2/cgisock So you can see there is a bit of a problem there. I don't know why the server is ignoring this directive and using /var/run/cgisock, but /var/run/cgisock is just wrong anyway. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.11.11c3 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages apache2-mpm-worker depends on: ii apache2-common 2.0.54-4 next generation, scalable, extenda ii libapr0 2.0.54-4 the Apache Portable Runtime ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.8-3 XML parsing C library - runtime li ii libldap2 2.1.30-8 OpenLDAP libraries ii libpcre3 4.5-1.2 Perl 5 Compatible Regular Expressi ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii zlib1g 1:1.2.2-4 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]