Hi

On rebooting my raq 4 the other day, the entire /home partition was hosed,
which wasn't much fun at all.

I seem to have been enable to restore enough data from backups and the created
"lost+found" directory to get the server up and working again, but as far as I
can tell the PostgreSQL database has been completely killed.

However, I'm not tally sure where the system database files are even stored on
a Raq 4. Some sources point to /var/lib/pgsql while others point to /home/pgsql

Attempting to restart pgsql gives me the following output:

[root lost+found]# /etc/rc.d/init.d/postgresql start
Setting up PostgreSQL: no database files found.  creating...
This database system will be initialized with username "postgres".
This user will own all the data files and must also own the server process.

Fixing permissions on pre-existing data directory /var/lib/pgsql/data
Creating database system directory /var/lib/pgsql/data/base
Creating database XLOG directory /var/lib/pgsql/data/pg_xlog
Creating template database in /var/lib/pgsql/data/base/template1
Creating global relations in /var/lib/pgsql/data/base
Adding template1 database to pg_database
/usr/bin/initdb: /tmp/initdb.18807: Permission denied
/usr/bin/initdb: /tmp/initdb.18807: Permission denied
/usr/bin/initdb: /tmp/initdb.18807: Permission denied
/usr/bin/initdb: /tmp/initdb.18807: No such file or directory

initdb failed.
Removing /var/lib/pgsql/data.
rm: cannot remove directory `/var/lib/pgsql/data': Permission denied
Failed.
Removing temp file /tmp/initdb.18807.
failed!


Anyone care to point me gently in the right direction?

Or is this a reinstall from scratch job?

TIA

Pete

PeTe :)
--
Kush-T Web Services (http://www.kush-t.co.uk)


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to