postgres 8 init script problem?
Dick Davies
rasputnik at hellooperator.net
Sun Feb 6 14:25:23 PST 2005
* Dick Davies <rasputnik at hellooperator.net> [0237 21:37]:
> Anyone else having problems starting postgres 8.0.1 (from ports)
> on RELENG_5?
>
> It seems to start alright, but clankily:
>
> root$ /usr/local/etc/rc.d/010.pgsql.sh start
> <hang for about a minute>
> could not start postmaster
> root$ /usr/local/etc/rc.d/010.pgsql.sh status
> pg_ctl: postmaster is running (PID: 54846)
> /usr/local/bin/postgres -D /usr/local/pgsql/data
Ah, found it. I had PGHOST set in roots environment
(after 'su'ing rather than 'su -'ing).
unset PG_HOST
gets it running in no time.
(Looks like a bug in 010.pgsql.sh, though. roots environment
shouldn't get picked up, surely?)
--
'A little rudeness and disrespect can elevate a meaningless interaction
into a battle of wills and add drama to an otherwise dull day.'
-- Calvin discovers Usenet
Rasputin :: Jack of All Trades - Master of Nuns
More information about the freebsd-questions
mailing list