[CLUE-Tech] help with GNU mailman - displaying jibberish
Kevin Fenzi
kevin at scrye.com
Mon Apr 5 18:47:14 MDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Dan" == Dan Harris <coronadh at coronasolutions.com> writes:
Dan> I've been running GNU's mailman on a Debian (woody) server for a
Dan> year or so. I'm happy to say I haven't needed to touch the admin
Dan> interface once since I originally set it up. However, the need
Dan> has come about for me to do it and I'm running into some very
Dan> strange problems. It looks like when apache ( 1.3.26 + mod_perl
Dan> ) tries to exec one of the cgi programs, it shows whats at the
Dan> following URL ( it's a bunch of garbage ascii ):
Dan> http://coronasolutions.com/cgi-bin/mailman/admin
Dan> However, when I run them from command-line ( su'd ), they appear
Dan> to spit out the correct HTML to stdout. The 'admin' executable
Dan> looks like this:
Dan> -rwxr-sr-x 1 root list 5584 Sep 18 2002 admin
Dan> and 'ldd' output looks like this:
Dan> libc.so.6 => /lib/libc.so.6 (0x40019000) /lib/ld-linux.so.2 =>
Dan> /lib/ld-linux.so.2 (0x40000000)
Dan> I wonder if something happened during a software update that
Dan> broke it? Is this a suid problem? I'm confused..
Two possible things to check:
- - Do you have that partition mounted 'nosuid'? look in /etc/fstab
- - Do you have a line like:
ScriptAlias /mailman/ /var/mailman/cgi-bin/
That tells apache to treat everything in there as a script and run
it. Otherwise it might just spew the binary to the browser, as you are
seeing.
Dan> Thanks for any help.
Dan> -Dan
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFAcf4W3imCezTjY0ERAvqxAJ0aapSoM7ldDYn5gdAqvTbBbU6tJwCePr9f
gmCPqSEQW5lLAr2IEdT/GiQ=
=aj9G
-----END PGP SIGNATURE-----
More information about the clue-tech
mailing list