Skip to contentSkip to conversation

apache weirdness

parisc-linux Paul Telford 3 participants 5 messages Feb 7, 2002 – Feb 8, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm running Apache 1.3.22 on an A180 box, kernel 2.4.16. I have the
"indexes" option turned on, and when I pull up a directory without an index.html a number of files are reported as zero length with a very long string of zeros. Something like:

Canna-3.5b2-50.i386.rpm 07-Sep-2001 09:37
0.000000000000000000000000000000000000000000M

The files are not zero length if I use "ls". I have tried tweaking various settings in httpd.conf to no avail. Is this an Apache bug, parisc-linux bug, both, neither? I have searched google and bugs.apache.org to no avail. Any help appreciated....

Thanks,

Paul.

P.S. Those of you internal to HP can see the problem here:
http://zaphod.rose.hp.com/LinuxCOE/RedHat/redhat-7.2-en/os/i386/RedHat/RPMS/

#1 lore raw
Quoted 7 lines · Paul Telford

I'm running Apache 1.3.22 on an A180 box, kernel 2.4.16. I have the
"indexes" option turned on, and when I pull up a directory without an index.html a number of files are reported as zero length with a very long string of zeros. Something like:

Canna-3.5b2-50.i386.rpm 07-Sep-2001 09:37
0.000000000000000000000000000000000000000000M

I've seen this before - perhaps when I first got gsyprf10 or gsyperf11 up and running?
Anyone else remember more?

I think the workaround was to use a different method of displaying the files. We weren't able to reproduce the bug on a different machine.

grant

#2 lore raw
Quoted 3 lines · Grant Grundler

I think the workaround was to use a different method of displaying the files. We weren't able to reproduce the bug on a different machine.

I can reproduce it reliably. What (if anything) can I do to help debug the problem further?

Thanks

Paul.

#3 lore raw
Quoted 8 lines · Paul Telford
Quoted 3 lines · Grant Grundler

I think the workaround was to use a different method of displaying the files. We weren't able to reproduce the bug on a different machine.

I can reproduce it reliably. What (if anything) can I do to help debug the problem further?

<puts on apache maintainer's cap>
In the apache-dev package, there's /usr/sbin/apache.dbg which is an unstripped binary you can use to debug problems like this.

Signature · 1 line
Revolutions do not require corporate support.
#4 lore raw
Quoted 3 lines · Matthew Wilcox

<puts on apache maintainer's cap>
In the apache-dev package, there's /usr/sbin/apache.dbg which is an unstripped binary you can use to debug problems like this.

I wasn't able to make much progress trying to debug, since my copy of the source didnt match up with apache.dbg. So I used apt-get to get the latest source, recompiled and the problem is gone. So maybe there is some incompatibility between my system and the one used to compile the binary .deb package... anyway, problem solved, relatively painlessly. Thanks for the help....

Paul.