For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > June 2006 > Re: [PHP-DB] pgsql.so causes Apache 1.3.36 to core dump SOLVED









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] pgsql.so causes Apache 1.3.36 to core dump SOLVED
pobox@verysmall.org

2006-06-17, 8:04 am

pobox@verysmall.org wrote:
> I have a quite depressing row with pgsql.so the last ten days.
>
> I have -
>
> FreeBSD 5.4
> apache 1.3.36
> PHP 5.1.4
> PostgreSQL 8.0.8
>
> Everything compiled from ports.
>
> After everything is installed - it works. As soon as I reboot the
> FreeBSD - apache starts to core dump. When I comment pgsql.so in the
> extensions.ini or uninstall it - everything works again.
>
> I did more than a dozen clean installations on a blank drive starting
> from the operating system and I get all the time the same result - after
> install all works, after OS reboot - apache starts to core dump.
>
> Is it possible that I do something wrong, which is enforced on reboot?
>
> Thanks a lot for your help,
> Iv


SOLVED

Somebody from the list came in to debug with us. He examined httpd.core
and found out that the problem is around 'get host by name'. Then he
added a line in 'hosts' and gave the host name in 'httpd.conf' and all
worked fine.

Interesting that the server worked without this for quite a while.

Iv.

--
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com