[PLUG] Debugging New Apache + PHP Build
Pelster, John
John.Pelster at usi.net
Fri Mar 29 19:52:09 UTC 2002
Thanks Paul,
Taking your advice, I found this error:
dyld found undefined symbol: pen_file_for_scanning
Now, doing some Googling, it seems that people have run into this before and
I need to recompile Apache and build PHP into it... Arg.
This causes problems for me because this server already has a production
server running with WebObjects (an application server Apple inherited from
NeXT) and I don't want to touch the existing Apache installation.
So, would the best thing to do be recompile Apache w/ PHP and just configure
the heck out of it so that it uses it's own directories and executable
names... (will --with-suffix work?)
Has anyone here ran two separate versions of Apache on one server?
Thanks,
John Pelster
-----Original Message-----
From: Paul Heinlein [mailto:heinlein at attbi.com]
Sent: Friday, March 29, 2002 11:34 AM
To: 'plug at pdxlinux.org'
Subject: Re: [PLUG] Debugging New Apache + PHP Build
On Fri, 29 Mar 2002, Pelster, John wrote:
> I tried running the server in single threaded debug mode, using:
>
> /usr/sbin/apache -X -f Configuration/forum.conf
>
> It gives me one word of output and then dies: Abort.
>
> Any suggestions?
Is 'apache' really the name of the executable? Wierd :-)
Anyway, in your configuration file, set LogLevel to 'debug' and run httpd
(er, apache) again. Then look at your error_log to see if it picks up on
anything.
If that doesn't work, you might try digging around for 'truss' (which is
/usr/bin/truss on FreeBSD systems). Try running apache under it, e.g.,
truss -o /tmp/apache.debug /usr/sbin/apache ...
The /tmp/apache.debug file will contain a record of the system calls made by
apache and, hopefully, an indication of which one failed.
-- Paul Heinlein <heinlein at attbi.com>
_______________________________________________
PLUG mailing list
PLUG at lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
More information about the PLUG
mailing list