[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RaQ4] Gui Problems too!



At 06:33 PM 28/05/03 -0700, you wrote:
Hi,

I had a similar problem about a year ago.  Don't know if you are having the
same symptoms or not though.  Check out

http://list.cobalt.com/pipermail/cobalt-users/2002-January/061976.html

and the thread follow up, maybe it will help.

Regards,

Andrew

You win the Prize Andrew!
The control file was the issue.

I solved it a little differently though...

I compared the pg_control file to that on my other RaQ4 and found that appeared identical so I stole it form the other server as follows.

First I copied pg_control into a web dir on the other server and made it world readable then on the broken server:

[root /root]# locate pg_control
/var/lib/pgsql/data/pg_control
[root /root]# ls -la /var/lib/pgsql/data/

snip...
-rw-------    1 postgres postgres     8192 May 28 19:25 pg_control
...snip

[root /root]# wget http://xxxxx.xxxxxxx.xxx/pg_control
--21:06:47--  http://xxxxx.xxxxxxx.xxx:80/pg_control
           => `pg_control'
Connecting to xxxxx.xxxxxxx.xxx:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 8,192 [text/plain]

    0K -> ........                                               [100%]

21:08:06 (115.94 KB/s) - `pg_control' saved [8192/8192]
[root /root]# mv pg_control /var/lib/pgsql/data/pg_control2
[root /root]# cd /var/lib/pgsql/data/
[root data]# mv pg_control pg_control.old
[root data]# mv pg_control2 pg_control
[root data]# chown postgres:postgres pg_control
[root data]# ls -la

snip...
-rw-r--r--    1 postgres postgres     8192 May 28 20:06 pg_control
-rw-------    1 postgres postgres     8192 May 28 19:25 pg_control.old
...snip...

[root data]# chmod o-r pg_control
[root data]# chmod g-r pg_control

[root data]# /etc/rc.d/init.d/postgresql start
Setting up PostgreSQL: ok [1664]

[root data]# rm pg_control.old


And Voila! a working GUI Again.
Now the question is what happened?

Thanks ALL!
- Bill






---------------------------------
William J.A. Brillinger
Precision Design Co.

E-Mail:   mailto:billy@xxxxxxxxxx
Web site: http://www.pdcweb.net