pgsql.so causes Apache 1.3.36 to core dump

pgsql.so causes Apache 1.3.36 to core dump

am 09.06.2006 15:47:28 von pobox

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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: pgsql.so causes Apache 1.3.36 to core dump SOLVED

am 10.06.2006 15:12:18 von pobox

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.

--

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php