postgresql and initdb

Chuck Swiger cswiger at
Wed Oct 17 15:08:15 PDT 2007

On Oct 17, 2007, at 2:37 PM, Chad Perrin wrote:
>> ...suggests it will be put in /usr/local/bin/initdb (modulo $
>> {LOCALBASE}, if changed)-- try doing a rehash if needed.  :-)
> It's not there, unfortunately.  The above locate indicated as much,  
> and
> `cd /usr/local/bin;ls|grep initdb` returns nothing (as does simply  
> ls and
> searching through it by eye).
> Similarly, that location doesn't contain initlocation, pg_controldata,
> pg_ctl, pg_id, pg_resetxlog, postgres, or postmaster.
> Thus . . . rehashing (which I did before I ran the locate anyway)
> probably won't work.

Odd-- that sounds like the port wasn't installed properly.  What does:

   pkg_info | grep postgres  And "pkg_info -Lx postgres"...?


More information about the freebsd-questions mailing list