postgresql startup script error

Brooks Davis brooks at one-eyed-alien.net
Thu Apr 27 16:29:18 UTC 2006


On Thu, Apr 27, 2006 at 02:35:58PM +0800, Jiawei Ye wrote:
> I am running postgresql-server-81 from ports on -current, the rcNG
> script seem to be errornous. During boot, I get
> 
> exec: /etc/rc//bin/pg_ctl: not found
> 
> But starting manually works
> 
> /usr/local/etc/rc.d/010.pgsql.sh restart
> pg_ctl: PID file "/usr/local/pgsql/data/postmaster.pid" does not exist
> Is postmaster running?
> starting postmaster anyway

There was a recent change to /etc/rc.subr to set the variable $prefix
based on the value of $command with a fallback to the path to the the
script.  It looks like that may have blown up intrestingly in this
script.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060427/45ea2b01/attachment.pgp


More information about the freebsd-ports mailing list