On Tue, Feb 26, 2008 at 12:12:33AM +0100, Ennio-Sr wrote:
> Hi all!
> 
> [Running Debian/Lenny powerpc on an iBook.]
> After upgrading from postgresql-8.1 to pg_8.3 I lost the capacity to
> connect to my databases.
> Besides that I just found out that 'pidof' doen't seem to work for the
> ordinary user, as far as postgresql is concerned, whereas it works
> regularly for other processes:
> 
> user$ pidof /usr/sbin/apache
> 19095 19094 19093 19092 19091 19088
> 
> user$ pidof /usr/lib/postgresql/8.3/bin.postmaster
> [nihil]

Umm you have bin.postmaster (note the . not a /) here so I'd expect that
to be empty.  Does it work if you use:
        pidof /usr/lib/postgresql/8.3/bin/postmaster

You might also want to look at pgrep.

Yours Tony

  linux.conf.au    http://www.marchsouth.org/
  Jan 19 - 24 2009 The Australian Linux Technical Conference!


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

Reply via email to