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

Re: postgres database framework disappeared: Solved



Johann Spies wrote:
  >On Fri, Jun 02, 2000 at 11:03:23PM +0200, Johann Spies wrote:
  >
  >> I don't know how this happened.  Suddenly postgres's postmaster is not
  >> running and trying to make it run results in the following error
  >> message:
  >> 
  >> There is no PostgreSQL database framework in /var/postgres/data.
  >> Run initdb as the postgres user to create it.
  >
  >I found the culprit but still does not know how it happened:
  >
  >In  /etc/passwd  the line was 
  >postgres:x:31:32:postgres:/var/lib/postgres:/bin/sh
  >                              ^^^^
  >I removed the /lib part and then after a reboot it worked.
  >
  >
  >How /var/postgres became /var/lib/postgres I do not know.  Earlier
  >today there was no problem and I did not edit that file for months.

Did you update base-passwd?

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "If any of you lack wisdom, let him ask of God, that 
      giveth to all men liberally without finding fault, and
      it will be given to him."          James 1:5 




Reply to: