Re: Problem with segfaulting Apache 1.3.31-6 on Debian Sarge

2004-10-06 Thread Fabio Massimo Di Nitto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adrian Neumaier wrote:
| Hi,
|
| with the latest apache update i get an segmentation fault in apache
| while reading /usr/share/misc/file/magic/mime.
|
| If i do an 'strace apache -F' i get the following output:
|
| open(/usr/share/misc/file/magic.mime, O_RDONLY) = 4
| fstat64(4, {st_mode=S_IFREG|0644, st_size=26861, ...}) = 0
| mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
| 0) = 0x48997000
| read(4, # Magic data for KMimeMagic (ori..., 131072) = 26861
| read(4, , 131072) = 0
| close(4)= 0
| munmap(0x48997000, 131072)  = 0
| --- SIGSEGV (Segmentation fault) @ 0 (0) ---
| +++ killed by SIGSEGV +++
|
| If i run it with 'gdb --args apache -F' i get this:
|
| Program received signal SIGSEGV, Segmentation fault.
| [Switching to Thread 1076565824 (LWP 23328)]
| 0x401f0568 in strcmp () from /lib/tls/i686/cmov/libc.so.6
|
| This even happens with when i run apache with -X...
|
| I've no clue why this happens - nor why it happend only last sunday
| morning when apache was restarted during the logrotate. Apache-ssl is
| not affected by this behavior.
|
| Some Package informations:
|
| ii  apache 1.3.31-6   Versatile, high-performance HTTP server
| ii  apache-common  1.3.31-6   Support files for all Apache webservers
| ii  libc6  2.3.2.ds1-16   GNU C Library: Shared libraries and
| Timezone
| ii  libc6-i686 2.3.2.ds1-16   GNU C Library: Shared libraries [i686
| optimized]
|
| Kernel is a 2.6.7
|
| Has anyone any hint for me how to get rid of this? Sadly using apache2
| is not a solution for me...
Are you running php4? In this case it is a know problem and either you
install libapache-mod-ssl (even unconfigured) or you remove php4.
The real problem is located down in the lic6 elf loader but there is not
much to do about it until there will be a fix for it.
Fabio
- --
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBY9ZphCzbekR3nhgRAo/MAJ47XLCrzbWivkLzMiOMo9oKqCkwgwCfcxHh
sTsoWIoCuMIwphUDUXFFRd8=
=K+Aa
-END PGP SIGNATURE-



RE: Problem with segfaulting Apache 1.3.31-6 on Debian Sarge

2004-10-06 Thread Adam Conrad
Fabio Massimo Di Nitto wrote:
 
 Are you running php4? In this case it is a know problem and either you
 install libapache-mod-ssl (even unconfigured) or you remove php4.

Or upgrade to libc6 2.3.2.ds1-17 from unstable, and let us know if that
clears up your problem.

... Adam




Bug#275175: stop in prerm vs. force-reload in postinst

2004-10-06 Thread Uwe Zeisberger
Package: apache2-mpm-prefork
Version: 2.0.52-1
Severity: minor

Hello,

if I upgrade the apache2-mpm-prefork package, the old apache is
stopped via prerm and the postinst tries to force-reload the server.

This results in a message `httpd (no pid file) not running' (and a
running web server).

I suggest to start apache in postinst unconditionally. Then, I think,
you don't need preinst and the file /var/cache/apache2/reload any more.

I'm not sure, if the alternative (not to stop apache on upgrade in
postrm and force-reload in postinst) is a save way to replace it - you
know better and may choose this one.

Regards
Uwe

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-rc1
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache2-mpm-prefork depends on:
ii  apache2-common  2.0.52-1 Next generation, scalable, extenda
ii  libapr0 2.0.52-1 The Apache Portable Runtime
ii  libc6   2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libdb4.24.2.52-17Berkeley v4.2 Database Libraries [
ii  libexpat1   1.95.6-8 XML parsing C library - runtime li
ii  libldap22.1.30-3 OpenLDAP libraries
ii  libssl0.9.7 0.9.7d-5 SSL shared libraries
ii  zlib1g  1:1.2.1.1-7  compression library - runtime

-- no debconf information


signature.asc
Description: Digital signature


Re: Need some help to package apache-lingerd

2004-10-06 Thread Alexis Sukrieh
I've worked a lot on apache-lingerd the past two days ;
here is the result of my work :

get this tarball :
http://www.sukria.net/tarballs/apache-1.3.31-with-lingerd.tar.gz

and run a dpkg-buildpackage inside ...

Everything should compile nicely.

You'll have every apache-* package (-ssl, --perl, ...) and a new one :
apache-lingerd.

Despite of the fact that each package compiles nicely, it remains a
problem with the lingerd one :

- no httpd.conf is installed (I cannot find how the Apache Team handle
that file, it seems to be a nice trick to do with 
apache-lingerd.httpd.conf but I don't see exactly what).

- there may be some problems with postinst and preinst scripts too...

If someone, who knows how the Debian Apache Team works, can take an eye on my 
tarball, I would be gracefull.

Thanks.

PS : note that lingerd and apache-lingerd binaries are working very nice
on my box, the last issue is to fix all the debian (pre|post)stuff and
make sure evry conffile is installed correctly.

-- 
* Alexis Sukrieh ([EMAIL PROTECTED]) disait :
Alexis Sukrieh [EMAIL PROTECTED]
 * Another Linux Debian Geek Enthusiast
 * http://www.sukria.net