From owner-freebsd-questions Tue Nov 5 01:58:46 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA22861 for questions-outgoing; Tue, 5 Nov 1996 01:58:46 -0800 (PST) Received: from nanguo.chalmers.com.au (nanguo.chalmers.com.au [203.1.96.5]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA22855 for ; Tue, 5 Nov 1996 01:58:34 -0800 (PST) Received: by nanguo.chalmers.com.au (Smail3.1.28.1 #8) id m0vKiI6-0000fFC; Tue, 5 Nov 96 19:59 EST Message-Id: From: robert@chalmers.com.au (Robert Chalmers) Subject: [q] postgres95 again. sorry. To: freebsd-questions@freebsd.org (bsd) Date: Tue, 5 Nov 1996 19:59:29 +1000 (EST) X-Mailer: ELM [version 2.4 PL22] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.