Thread: Mr Thomas problem starting postgresql

Mr Thomas problem starting postgresql

From
suresh s
Date:
Hi Thomas,

[root@pyro1 /root]# su suresh "touch /tmp/filename"
bash: /root/.bashrc: Permission denied
touch /tmp/filename: touch /tmp/filename: Permission
denied

this i tried in some other system

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

Thanking u

regards
suresh

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

Re: Mr Thomas problem starting postgresql

From
suresh s
Date:
> Hi Thomas,
>
> [root@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