Fixing “/var/lib/pgsql/data is missing” Error

Posted by Johan Cyprich on 21 Nov 2008 | Tagged as: How To

After installing an older version of Fedora, I noticed an error message that quickly appeared every time the system boots and its starting the many services that Linux uses:

/var/lib/pgsql/data is missing

The solution to this PostgreSQL problem is shown with the error message but the screen scrolls very quickly (or is unreadable with a very fast computer) so its difficult to catch. The command to correct this issue is:

service postgresql initidb

Run this from a command console (i.e. Konsole) and then the Postgres database will operate correctly.



Tweet This Tweet This Post!

Related posts:
    Fixing Database Error 1054 in Fireboard
    Fixing “Error: bad interpreter: No such file or directory” in PHP
    Joomla 1.5.5
    Postgres: column “field” does not exist

Share this post:

del.icio.us:Fixing  digg:Fixing  spurl:Fixing  wists:Fixing  simpy:Fixing  newsvine:Fixing  blinklist:Fixing  furl:Fixing  reddit:Fixing  fark:Fixing  blogmarks:Fixing  Y!:Fixing  smarking:Fixing  magnolia:Fixing  segnalo:Fixing  gifttagging:Fixing

Follow Me:

Did you find this post interesting and useful? You can keep up to date on this blog by subscribing to my RSS feed, or you can have new posts sent to you by e-mail. You can also follow me on Twitter.


Trackback This Post | Subscribe to the comments through RSS Feed

Leave a Reply

CommentLuv Enabled