Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 1996 19:59:29 +1000 (EST)
From:      robert@chalmers.com.au (Robert Chalmers)
To:        freebsd-questions@freebsd.org (bsd)
Subject:   [q] postgres95 again. sorry.
Message-ID:  <m0vKiI6-0000fFC@nanguo.chalmers.com.au>

Next in thread | Raw E-Mail | Index | Archive | Help
Firstly: I'm running FreeBSD 2.2-SNAP, from Feb/March. Pentium 120.
I've combed the Makefile.global carefully.

Well, I rekon there is a glitch somewhere. Perhaps it is the flex-2.5.3
after all, but where?

I checked the gmake log line by line, thousands of it. No warnings or
errors anywhere. Everything compiled perfectly - apparently.

I then did the gmake install, checked the log. perfect.

I then tried a "postmaster -d >& pm.log &" startup, and of course it
bombed. as it should.

I then did the 'initdb", which worked fine, 

I then did the "postmaster ...." bit again, and bang! it blows up.

The short three startup logs are here, so if anyone has a similar experience,
I'd sure like to know how you fixed it. Is it the flex version ? I
might have to go to the flex-2.5.2 version, one release earlier maybe?

or is it something else. A bad system call indicates something wrong in
the actual function calls? anyway, here's the little logs of startup;

postmaster does not find the database.  Expected to find it in the PGDATA directory "/usr/local/postgres95/data", but unable to open directory with pathname "/usr/local/postgres95/data/base/template1/pg_class".


initdb: verbose mode on
initdb: using /usr/local/postgres95/data/files/local1_template1.bki
initdb: using /usr/local/postgres95/data/files/global1.bki
initdb: creating SHARED relations in /usr/local/postgres95/data
initdb: creating template database in /usr/local/postgres95/data/base/template1
postgres -boot -C -F -Q template1 < /usr/local/postgres95/data/files/local1_template1.bki 
postgres -boot -C -F -Q template1 < /usr/local/postgres95/data/files/global1.bki
postgres -boot -C -F -Q template1 < /tmp/create.13199
vacuuming template1


FindBackend: searching PATH ...
ValidateBackend: can't stat "/sbin/postgres"
ValidateBackend: can't stat "/bin/postgres"
ValidateBackend: can't stat "/usr/sbin/postgres"
ValidateBackend: can't stat "/usr/bin/postgres"
ValidateBackend: can't stat "/usr/games/postgres"
ValidateBackend: can't stat "/usr/local/bin/postgres"
FindBackend: found "/usr/local/postgres95/bin/postgres" using PATH

-- 
The China House					Sheng Huo Jiu Shi Dou Zheng
robert@chalmers.com.au for Whirled Peas		http://www.chalmers.com.au
Location: Whitsunday Web Works.			21'7" S, 149'14" E.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?m0vKiI6-0000fFC>