*BSD News Article 82348


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!news.mel.aone.net.au!mackay02.cqit.qld.edu.au!nanguo.chalmers.com.au!robert
From: robert@nanguo.chalmers.com.au (Robert Chalmers)
Subject: [q] still on postgres95
Organization: China House.
Date: Tue, 5 Nov 1996 10:00:15 GMT
Message-ID: <E0E6GF.MF.G.nanguo@nanguo.chalmers.com.au>
X-Newsreader: TIN [version 1.2 PL2]
Lines: 59


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.
-- 
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.