Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2006 09:29:05 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Jiawei Ye <leafy7382@gmail.com>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: postgresql startup script error
Message-ID:  <20060427162905.GA12971@odin.ac.hmc.edu>
In-Reply-To: <c21e92e20604262335o75c134bas7db1ed23b076ca3b@mail.gmail.com>
References:  <c21e92e20604262335o75c134bas7db1ed23b076ca3b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> exec: /etc/rc//bin/pg_ctl: not found
>=20
> But starting manually works
>=20
> /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

--=20
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

--SLDf9lqlvOQaIe6s
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFEUPFQXY6L6fI4GtQRAkVlAKCka7E4hm60Z41UJeTtQJkXyFKu4gCgtrYr
NDzzRXsVsJVzp8MNgl8z2nk=
=Md/P
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060427162905.GA12971>