> 
> I can't for the life of me get postgresql to start and stop.  running
> /etc/init.d/postgresql stop gets me this:
> 
> Stopping PostgreSQL database: postmaster
> /etc/init.d/postgresql:  command not found
> 
> while running
> /usr/lib/postgresql/bin/pg_ctl-D /var/lib/postgres/data stop
> gives the following:
> 
> pg_ctl: cannot find /var/lib/postgres/data/postmaster.pid
> Is postmaster running?


Do you run  /etc/init.d/postgresql  as root?  "start-stop-daemon" is (in
my system at least) located in  /sbin  so ordinary users usually don't
find it (/sbin is not in their path).

Best regards,
        Emil


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to