postgres db deleted and recreated... "No directory, logging in with HOME=/" error...

From: <operationsengineer1(at)yahoo(dot)com>
To: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: postgres db deleted and recreated... "No directory, logging in with HOME=/" error...
Date: 2006-05-06 17:11:55
Message-ID: 20060506171155.70687.qmail@web33305.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

hi all,

thanks for the good information and advise. i've
learned something from everyone's replies. i have
open office open and i'm keeping good notes.

i'm now reading up on how to create a role for my os
user so that the os user can have full privileges on
the db.

i think this won't be a problem.

so why am i posting, you ask? great question. ;-)

well, i dropped the "postgres" db in order to create a
"rails" db. i tried to do some stuff and i kept
getting the error that postgres didn't exist. then i
remembered that was likely because it was the default
db required to work with other dbs.

ooops!

i had created a postgres db earlier, so i thought
deleting postgres would only impact what i had
previously created (i think postgres already existed
in the distro, now that i look back).

anyway, i recreated postgres, but when i "su -
postgres"... i get the following error:

No directory, logging in with HOME=/

i think i must've deleted a directory when i deleted
postgres and it wasn't recreated when i recreated
postgres.

what can i do, if anything, to get back on track after
delting and recreating the postgres db? i'm running
simply mepis, which is based on debian.

as always, tia...

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message John Purser 2006-05-06 18:47:43 Re: postgres db deleted and recreated... "No directory,
Previous Message Bruno Wolff III 2006-05-06 15:53:16 Re: Switch to Linux Dev Questions