Unix Technical Forum

psql: FATAL: the database system is starting up

This is a discussion on psql: FATAL: the database system is starting up within the pgsql Admins forums, part of the PostgreSQL category; --> Hi, I run out of disk space on the box and had to delete some files and restartpostgres. Ever ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-01-2008, 08:09 AM
Valentin Bogdanov
 
Posts: n/a
Default psql: FATAL: the database system is starting up

Hi,

I run out of disk space on the box and had to delete some files and restartpostgres. Ever since I have been getting the above message. PS shows this process:

9351 ? D 0:04 postgres: startup process

Running an strace on this process shows that it is trying to write 8K of zeros to a file called 023D in pg_clog but fails at 224K and it just keeps trying forever.

I tried replacing the file with one I created - 256K as the other files in the pg_clog and filled with zeros. But it keeps doing the same thing :

open("pg_clog/023D", O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 10
_llseek(10, 221184, [221184], SEEK_SET) = 0
write(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ 0\0\0"..., 8192) = 8192
fsync(10) = 0
close(10)


Any ideas on what might be causing this and what I can do to fix it will begreatly appreciated. Need to get it fixed fast.


Many Thanks
valiouk


__________________________________________________ ________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available nowat Yahoo! http://uk.docs.yahoo.com/ymail/new.html

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:42 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com