Hi Fabio,
sorry for the missing CC of the last mail I just did a reply.
I'm using php4, but not php4-imap:
dpkg --list | grep php
ii php4 4.3.3-4A server-side, HTML-embedded scripting langu
ii php4-cgi 4.3.3-4A server-side, HTML-embedded scripting langu
ii php4-mysql 4.3.3-4MySQL module for php4
ii php4-pear 4.3.3-4PEAR - PHP Extension and Application Reposit
ii php4-pgsql 4.3.3-1PostgreSQL module for php4
pi phpdoc 20030911-1 Documentation for PHP4 and PHP3
dpkg --list | grep apache
iF apache 1.3.29.0.1-3 Versatile, high-performance HTTP server
ii apache-common 1.3.29.0.1-3 Support files for all Apache webservers
ii apache-utils 1.3.29.0.1-3 Utility programs for webservers
I attached the requested strace. The apache is working without any problem
including php4 - it's just the installation which fails.
Cheers
Martin
On Wednesday 14 January 2004 06:36, Fabio Massimo Di Nitto wrote:
> Hi Martin,
> are you using php4? in case please try to remove the php4-imap
> extension and try again (it is a well known problem in php4). Otherwise
> please send me the output of:
>
> strace apache -X -F
>
> Thanks
> Fabio
>
> PS keep the bug in CC. I am not the only maintainer that take care of
> apache.
>
> On Tue, 13 Jan 2004, Martin Hans wrote:
> > Hi Fabio,
> >
> > first, the "/var/www" part of my bug report was very badly phrased,
> > sorry. I only wanted to say, that my problem is not the same like the
> > #224454 issue, although the dselect error message is the same. And yes I
> > have a /var/www.
> >
> > I attached the dselect log. I hope it helps.
> > I get no log messages in /var/log/apache/* or some other logs in
> > /var/log.
> >
> > Cheers
> >
> > Martin
> >
> > On Monday 12 January 2004 21:28, you wrote:
> > > Hi Martin,
> > >
> > > On Tue, 23 Dec 2003, Martin Hans wrote:
> > > > Package: apache
> > > > Version: 1.3.29.0.1-3
> > > > Severity: important
> > > > Tags: sid
> > > >
> > > > The apache package fails to upgrade:
> > > >
> > > > Setting up apache (1.3.29.0.1-3) ...
> > > > Starting web server: apache failed
> > > > invoke-rc.d: initscript apache, action "start" failed.
> > >
> > > Can you please check the logs for errors and see what is causing the
> > > failure?
> > >
> > > > dpkg: error processing apache (--configure):
> > > > subprocess post-installation script returned error exit status 1
> > > >
> > > > Afterwards the apache package is broken, but the apache itself
> > > > is running.
> > > > I got no "/var/www" like #224454 and my /var/www is just a directory.
> > >
> > > I don't understand... do you have a /var/www or not?? /var/www is only
> > > created on installation.. it is not touched across upgrades.
> > >
> > > Fabio
execve("/usr/sbin/apache", ["apache", "-X", "-F"], [/* 13 vars */]) = 0
uname({sys="Linux", node="Balu", ...}) = 0
brk(0) = 0x808d79c
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=67487, ...}) = 0
old_mmap(NULL, 67487, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)= 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 5\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=134356, ...}) = 0
old_mmap(NULL, 136912, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40029000
old_mmap(0x4004a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x2) = 0x4004a000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300A\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=81031, ...}) = 0
old_mmap(NULL, 331716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4004b000
old_mmap(0x40058000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xc000) = 0x40058000
old_mm