Re: Mr Thomas problem starting postgresql

From: suresh s <sureshatwork(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Mr Thomas problem starting postgresql
Date: 2002-12-12 08:43:39
Message-ID: 20021212084339.11730.qmail@web14603.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hi Thomas,
>
> [root(at)pyro1 /root]# su suresh "touch /tmp/filename"
> bash: /root/.bashrc: Permission denied
> touch /tmp/filename: touch /tmp/filename: Permission
> denied
>
> what may the problem starting postgresql
> it says user postgres does not exist
>
> even though after
> su - -c "adduser postgres"
>
> this created postgres user in linux s/y

Hi all

the problem is i have to add user specifying the home
directory og postgres to /var/lib/pgsql

$su
#adduser -d /var/lib/pgsql postgres
#cd /var/lib
#chown postgres.postgres pgsql

now
#su postgres
$/etc/rc.d/init.d/postgresql start

working fine

thanking u all

surseh s

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Çağıl Şeker 2002-12-12 10:06:07 available system commands / stored procedured in PG
Previous Message Shridhar Daithankar 2002-12-12 07:28:29 Re: Urgent need of (paid) PostgreSQL support in New