[plug] DebNewbie Q?

Jeremy Malcolm Jeremy at Malcolm.wattle.id.au
Tue Nov 6 18:28:41 WST 2001


sol wrote:
> 
> Connection to database 'template1' failed.
> ERROR: mdopen: couldn't open /var/lib/postgres/data/pg_shadow:
> Permission denied.
> 
> Do I need to chmod something here?

If you answered yes to all the questions then your sol user should be a
postgres superuser, so you shouldn't be seeing that error.  Are you
logged in as sol as well?  You need to have a user account on the system
that is the same as your postgres account.  Also, you can't use psql as
root (but that is not your problem here).  Try being postgres user and
see if that makes the errors go away.  If it does, try deleting
(destroyuser sol) and recreating yourself again.

-- 
JEREMY MALCOLM <Jeremy at Malcolm.wattle.id.au> http://malcolm.wattle.id.au
Providing online networks of Australian lawyers (http://www.ilaw.com.au)
and Linux experts (http://www.linuxconsultants.com.au) for instant help!
Disclaimer: http://www.terminus.net.au/disclaimer.html. GPG key: finger.



More information about the plug mailing list