On Tue, Mar 06, 2001 at 03:56:35PM +0100, Torben Nehmer wrote:
> Hi.
>
> I've made some more experiments, and my problem is really funny. I start
> apache (apachectl or httpd directly) and apache terminates immediately
> after the start. A log message from mod_unique_id is the one and only
> thing that appears. Apache exits normally (exit code 0)!!!
>
> If I disable the php module, apache starts up normally.
Where is php.ini situated? It should be inside chrooted environment as well.
>
> This behavoir can be reproduced for both php3 and php4. I used the cvs
> versions for my tests.
>
> Additionally, if I start the very same Apache outside the chroot
> environment everything works kike it should. ldd doesn't report any
> missing libraries for any binary in the chroot tree.
>
> Mysql is located outside the chroot environment and I access it via
> tcp/ip. I'm using 127.0.0.1 for the mysql host. This is compiled
> statically into midgard-lib (default.h)
Change it to IP addres _different_ from localhost's address. MySQL
has hardcoded behaviour for localhost: it opens only sockets with it
(if they are available on running system).
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | www.midgard-project.org | Aurora R&D team
Minsk Linux Users Group | www.minsk-lug.net | www.aurora-linux.com
ALT Linux Team | www.alt-linux.org | Architecte Open Source
-- Dijkstra probably hates me
(Linus Torvalds, in kernel/sched.c)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]