Help - Search - Members - Calendar
Full Version: Raq Control Panel Unavailable and Postgresql error
The Planet Forums > System Administration > Server Hardware > RaQ Support
cjhowland
I've just taken over an old RaQ4 server with a number of my sites on it from my previous ISP. I'm intending to move all the sites to another server, but in the meantime I've got serious problems as for some reason the Cobalt control panel is now refusing to accept the admin password (that works with ssh), POP3 connections are refusing valid usernames and passwords and postgresql won't restart.

Looking at /var/log/postgresql I'm seeing these errors :

060413.20:45:01.264 [3468] DEBUG: Data Base System is starting up at Thu Apr 13 20:45:01 2006
060413.20:45:01.264 [3468] FATAL 2: database was initialized with CATALOG_VERSION_NO 183227825,
but the backend was compiled with CATALOG_VERSION_NO 200005041.
looks like you need to initdb.
060413.20:45:01.264 [3468] FATAL 2: database was initialized with CATALOG_VERSION_NO 183227825,
but the backend was compiled with CATALOG_VERSION_NO 200005041.
looks like you need to initdb.
Startup failed - abort

I'm also getting messages when logged in via ssh as follows :

Message from syslogd@www at Thu Apr 13 20:30:29 2006 ...
www procmail[2652]: Couldn't rename bogus " /dev/null" into " /var/spool/mail/BOGUS.admin.gAC"

but I'm not sure if this is related.

As far as I am aware no changes have been made to the server, although a number of sites have been deleted as we are migrating off this server.

I seem to remember in the past that deleting a site from the RaQ caused problems with the control panel and some sites were deleted today. I don't see why this should have caused the postresql error reported, though.

Any help would be appreciated as the server keeps going down and won't accept POP3 or control panel logins and I don't know enough about the RaQs to sort this out.

Thanks
kidda
Hiya Chris cobalts eh, great fun

Message from syslogd@www at Thu Apr 13 20:30:29 2006 ...
www procmail[2652]: Couldn't rename bogus " /dev/null" into " /var/spool/mail/BOGUS.admin.gAC"

this message is a script that we wrote to remove the emails that the server sends itself that does a really good job of filling the cobalt, never really understood why anyone would have a server fill itself but i guess the makers of cobalts thought it was a good idea.

Postgre issues, do this and it should fix it

su root
mkdir /var/lib/pgsql/dataold
mv /var/lib/pgsql/data /var/lib/pgsql/dataold
mkdir /var/lib/pgsql/data
chown postgres: postgres /var/lib/pgsql/data
chmod 700 /var/lib/pgsql/data
su postgres
initdb -D /var/lib/pgsql/data
su
/etc/rc.d/init.d/postgresql stop
/etc/rc.d/init.d/postgresql start
cd /usr/local/sbin (or wherever the meta-verify i son a raq 3)
./meta-verify -si
Answer yes to all questions uppercase Y
./meta-verify -sa
Answer yes to all questions
./meta-verify -ui
Answer yes to all questions
#./meta-verify -ua
Answer yes to all questions
/usr/local/sbin/swatch

Cheers Dave (UK3)
P.S. Done this for you btw
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.