[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [GENERAL] odbc with debian woody/postgres



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



Reply to: