Received: from hotmail.com (oe60.law11.hotmail.com [64.4.16.195]) by postgresql.org (Postfix) with ESMTP id ADFF1474E42 for ; Sat, 23 Mar 2002 08:12:28 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 23 Mar 2002 05:12:31 -0800 X-Originating-IP: [210.49.252.9] From: "David" To: References: Subject: Re: access is denied completely from postgresql!! Date: Sun, 24 Mar 2002 00:11:13 +1100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C1D2C8.68E14350" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: X-OriginalArrivalTime: 23 Mar 2002 13:12:31.0803 (UTC) FILETIME=[63EF90B0:01C1D26C] X-Archive-Number: 200203/286 X-Sequence-Number: 3820 This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C1D2C8.68E14350 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I just worked out how to initialize a new database location and did that so= all working now! I just have to recreate my databases. Thanks!! :) ----- Original Message -----=20 From: David Dunstone=20 To: jm.poure@freesurf.fr ; pgsql-admin@postgresql.org=20 Sent: Saturday, March 23, 2002 11:28 PM Subject: Re: [ADMIN] access is denied completely from postgresql!! The Postgresql version is 7.0.3-8 and i am running it on Redhat 7.1. I d= ont really worry about the database backup because i had only basically cre= ated a few databases with test data at this stage. So im kind of new to th= e PostgreSQL. If i try to service it with Webmin, which worked before the = crash, Webmin now returns the following kind of error..for example, retriev= ing a list of users of the system:=20 SQL select * from pg_shadow failed : pg_shadow: Permission denied. I can see the current data in the current database, just cant do anything= with that, add users, or give users permission etc. I dont mind deleting the databases and starting again!! thanks! >From: Jean-Michel POURE=20 >Reply-To: jm.poure@freesurf.fr=20 >To: "David" ,=20 >Subject: Re: [ADMIN] access is denied completely from postgresql!!=20 >Date: Sat, 23 Mar 2002 13:11:19 +0100=20 >=20 >Le Samedi 23 Mars 2002 12:23, David a =E9crit :=20 > > I have done nothing, my LInux server crashed, when i went back in, no= user=20 > > had access to PostgreSQL.=20 > > How do i get access back? Can I somehow just create a new environmen= t with=20 > > a new database? i dont mind that! I am just not sure how to do it!= =20 > > Do i have to remove PostgreSQL? Cuz it says i haev to remove about 1= 5=20 > > different dependancies!! which is a pain..and i dont know if it will= =20 > > automatically work with Apache still if i was to do that and reinstal= l..=20 > > Help!!=20 >=20 >Don't do anything unless we understand what is going on.=20 >1) What is the version of you PostgreSQL installed (rpm -q postgresql)?= =20 >Alternatively, what is your linux distribution?=20 >2) Do you have a backup of your database (schema + data)?=20 >3) What do the logs say when you try to start the database (probably wit= h=20 >'service postgresql start')?=20 >=20 >Regards,=20 >Jean-Michel POURE=20 >=20 >---------------------------(end of broadcast)---------------------------= =20 >TIP 5: Have you checked our extensive FAQ?=20 >=20 >http://www.postgresql.org/users-lounge/docs/faq.html=20 ---------------------------------------------------------------------------= --- Join the world's largest e-mail service with MSN Hotmail. Click Here ------=_NextPart_000_0003_01C1D2C8.68E14350 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I just worked out how to initialize a new = database=20 location and did that so all working now! I just have to recreate my=20 databases.  Thanks!! :)
----- Original Message -----
Fro= m:=20 Da= vid=20 Dunstone
To: jm.poure@freesurf.fr ; pgsql-admin@postgresql.org
Sent: Saturday, March 23, 2002 11:= 28=20 PM
Subject: Re: [ADMIN] access is den= ied=20 completely from postgresql!!

The Postgresql version is 7.0.3-8 and i am running it on Redhat 7.1.&n= bsp;=20 I dont really worry about the database backup because i had only basicall= y=20 created a few databases with test data at this stage.  So im kind of= new=20 to the PostgreSQL.  If i try to service it with Webmin, which worked= =20 before the crash, Webmin now returns the following kind of error..for exa= mple,=20 retrieving a list of users of the system:

SQL select * from pg_shadow failed : pg_shadow: Permissi= on=20 denied.

I can see the current data in the current database, just cant do anyth= ing=20 with that, add users, or give users permission etc.

I dont mind deleting the databases and starting again!!

thanks!

>From: Jean-Michel POURE
>Reply-To: jm.poure@freesurf.fr=20
>To: "David" ,=20
>Subject: Re: [ADMIN] access is denied completely from=20 postgresql!!=20
>Date: Sat, 23 Mar 2002 13:11:19 +0100=20
>=20
>Le Samedi 23 Mars 2002 12:23, David a =E9crit :=20
> > I have done nothing, my LInux server crashed, when i= went=20 back in, no user=20
> > had access to PostgreSQL.=20
> > How do i get access back?  Can I somehow just c= reate=20 a new environment with=20
> > a new database? i dont mind that!  I am just no= t=20 sure how to do it!=20
> > Do i have to remove PostgreSQL?  Cuz it says i = haev=20 to remove about 15=20
> > different dependancies!! which is a pain..and i dont= know=20 if it will=20
> > automatically work with Apache still if i was to do = that=20 and reinstall..=20
> > Help!!=20
>=20
>Don't do anything unless we understand what is going on.= =20
>1) What is the version of you PostgreSQL installed (rpm -q= =20 postgresql)?=20
>Alternatively, what is your linux distribution?=20
>2) Do you have a backup of your database (schema + data)?= =20
>3) What do the logs say when you try to start the database= =20 (probably with=20
>'service postgresql start')?=20
>=20
>Regards,=20
>Jean-Michel POURE=20
>=20
>---------------------------(end of=20 broadcast)---------------------------=20
>TIP 5: Have you checked our extensive FAQ?=20
>=20
>http://www.postgresql.org/users-lounge/docs/faq.html=20


Join the world’s largest e-mail service with MSN Hotmail. Click=20 Here
------=_NextPart_000_0003_01C1D2C8.68E14350--