pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
unable to add users
2+ messages / 2 participants
[nested] [flat]

* unable to add users
@ 2004-09-21 12:00 Pradeepkumar, Pyatalo (IE10) <Pradeepkumar.Pyatalo@honeywell.com>
  2004-09-21 14:10 ` Re: unable to add users Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Pradeepkumar, Pyatalo (IE10) @ 2004-09-21 12:00 UTC (permalink / raw)
  To: pgsql-admin


Hi all,
	I was just trying to add some users to my database....i followed the
createuser help and gave the following command
[root]#/usr/local/pgsql/bin/createuser -ADe epsadmin
I get the following error.....
createuser: could not connect to database template1: FATAL:  could not open
file "/usr/local/pgsql/data/global/1262": Permission denied

Any help on this really appreciable.

With Best Regards,
Pradeep Kumar P.J




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: unable to add users
  2004-09-21 12:00 unable to add users Pradeepkumar, Pyatalo (IE10) <Pradeepkumar.Pyatalo@honeywell.com>
@ 2004-09-21 14:10 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2004-09-21 14:10 UTC (permalink / raw)
  To: Pradeepkumar, Pyatalo (IE10) <Pradeepkumar.Pyatalo@honeywell.com>; +Cc: pgsql-admin

"Pradeepkumar, Pyatalo (IE10)" <Pradeepkumar.Pyatalo@honeywell.com> writes:
> I get the following error.....
> createuser: could not connect to database template1: FATAL:  could not open
> file "/usr/local/pgsql/data/global/1262": Permission denied

Looks like you started the postmaster as the wrong user (ie, not the
account that owns the database files).

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-09-21 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-09-21 12:00 unable to add users Pradeepkumar, Pyatalo (IE10) <Pradeepkumar.Pyatalo@honeywell.com>
2004-09-21 14:10 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox