Mr Thomas problem starting postgresql

Started by suresh sover 23 years ago2 messagesgeneral
Jump to latest
#1suresh s
sureshatwork@yahoo.com

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

#2suresh s
sureshatwork@yahoo.com
In reply to: suresh s (#1)
Re: Mr Thomas problem starting postgresql

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