Re: access is denied completely from postgresql!!

From: "David Dunstone" <iaredavey(at)hotmail(dot)com>
To: jm(dot)poure(at)freesurf(dot)fr, pgsql-admin(at)postgresql(dot)org
Subject: Re: access is denied completely from postgresql!!
Date: 2002-03-23 12:28:15
Message-ID: F69ILoygXLsxpTljBOh0000dab6@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

<html><div style='background-color:'><DIV>
<P>The Postgresql version is 7.0.3-8 and i am running it on Redhat 7.1.&nbsp; I dont really worry about the database backup because i had only basically created a few databases with test data at this stage.&nbsp; So im kind of new to the PostgreSQL.&nbsp; If i try to service it with Webmin, which worked before the crash, Webmin now returns the following kind of error..for example, retrieving a list of users of the system: </P>
<H3>SQL <TT>select * from pg_shadow</TT> failed : <TT>pg_shadow: Permission denied.</TT></H3>
<P>I can see the current data in the current database, just cant do anything with that, add users, or give users permission etc.</P>
<P>I dont mind deleting the databases and starting again!!</P>
<P>thanks!<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: Jean-Michel POURE <JM(dot)POURE(at)FREESURF(dot)FR>
<DIV></DIV>&gt;Reply-To: jm(dot)poure(at)freesurf(dot)fr
<DIV></DIV>&gt;To: "David" <IAREDAVEY(at)HOTMAIL(dot)COM>, <PGSQL-ADMIN(at)POSTGRESQL(dot)ORG>
<DIV></DIV>&gt;Subject: Re: [ADMIN] access is denied completely from postgresql!!
<DIV></DIV>&gt;Date: Sat, 23 Mar 2002 13:11:19 +0100
<DIV></DIV>&gt;
<DIV></DIV>&gt;Le Samedi 23 Mars 2002 12:23, David a crit :
<DIV></DIV>&gt; &gt; I have done nothing, my LInux server crashed, when i went back in, no user
<DIV></DIV>&gt; &gt; had access to PostgreSQL.
<DIV></DIV>&gt; &gt; How do i get access back? &nbsp;Can I somehow just create a new environment with
<DIV></DIV>&gt; &gt; a new database? i dont mind that! &nbsp;I am just not sure how to do it!
<DIV></DIV>&gt; &gt; Do i have to remove PostgreSQL? &nbsp;Cuz it says i haev to remove about 15
<DIV></DIV>&gt; &gt; different dependancies!! which is a pain..and i dont know if it will
<DIV></DIV>&gt; &gt; automatically work with Apache still if i was to do that and reinstall..
<DIV></DIV>&gt; &gt; Help!!
<DIV></DIV>&gt;
<DIV></DIV>&gt;Don't do anything unless we understand what is going on.
<DIV></DIV>&gt;1) What is the version of you PostgreSQL installed (rpm -q postgresql)?
<DIV></DIV>&gt;Alternatively, what is your linux distribution?
<DIV></DIV>&gt;2) Do you have a backup of your database (schema + data)?
<DIV></DIV>&gt;3) What do the logs say when you try to start the database (probably with
<DIV></DIV>&gt;'service postgresql start')?
<DIV></DIV>&gt;
<DIV></DIV>&gt;Regards,
<DIV></DIV>&gt;Jean-Michel POURE
<DIV></DIV>&gt;
<DIV></DIV>&gt;---------------------------(end of broadcast)---------------------------
<DIV></DIV>&gt;TIP 5: Have you checked our extensive FAQ?
<DIV></DIV>&gt;
<DIV></DIV>&gt;http://www.postgresql.org/users-lounge/docs/faq.html
<DIV></DIV></div><br clear=all><hr>Join the worlds largest e-mail service with MSN Hotmail. <a href='http://g.msn.com/1HM301201/13'>Click Here</a><br></html>

Attachment Content-Type Size
unknown_filename text/html 2.7 KB

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David 2002-03-23 13:11:13 Re: access is denied completely from postgresql!!
Previous Message Jean-Michel POURE 2002-03-23 12:11:19 Re: access is denied completely from postgresql!!