error on start up "could not change directory to"

From: Kevin Duffy <kevind0718(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: error on start up "could not change directory to"
Date: 2012-02-05 18:31:12
Message-ID: CAHCyeW3+8N8o7k1_G59mBfjnsc5+YmsGvODJLbyvzoVpLRR8NQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello All:

I recently installed Postgresql 9.1 on Fedora 16.
I must admit I may not have run the install procedures correctly.

I have found postings that talk about the difference between
"su postgres" vs "su - postgres". The dash (-) makes it a login shell
But do understand the difference. I suspect that, in my ignorance, I used
su postgres

So here is what happens when I start the server as follows:
/usr/bin/pg_ctl -D /usr/local/pgsql/data start
I get:
could not change directory to "/home/kbd"
server starting

But the server starts OK. Would like to fix the above issue.

If I do:
/usr/bin/pg_ctl -D /usr/local/pgsql/data status
I get:
could not change directory to "/home/kbd"
pg_ctl: server is running (PID: 3142)

On Shut down I get the same
could not change directory to "/home/kbd"

How can I make this message go away?

Many thanks for your kind assistance.

KD

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2012-02-05 19:48:41 Re: error on start up "could not change directory to"
Previous Message Kevin Duffy 2012-02-03 15:41:31 Re: postgresql on Fedora 16