Received: from news.tht.net (news.hub.org [216.126.91.242]) by hub.org (8.9.3/8.9.3) with ESMTP id LAA74552; Wed, 12 Jan 2000 11:52:55 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.9.3/8.9.3) id LAA29511; Wed, 12 Jan 2000 11:23:39 -0500 (EST) (envelope-from news) X-Authentication-Warning: news.tht.net: news set sender to using -f Sender: ckempf@singularity.enigami.com X-Newsgroups: comp.databases.postgresql, comp.databases.postgresql.admin, comp.databases.postgresql.hackers, comp.databases.postgresql.questions, linux.act.postgres Subject: Re: postgresql installation References: <387c40b0@feednews.internext.fr> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Cory Kempf Message-ID: <5faembw96k.fsf@singularity.enigami.com> Lines: 30 X-Newsreader: Gnus v5.6.45/XEmacs 21.1 - "Big Bend" X-Trace: tw11.nn.bcandid.com 947694214 216.204.32.42 (Wed, 12 Jan 2000 09:23:34 MST) Organization: bCandid - Powering the world's discussions - http://bCandid.com Date: Wed, 12 Jan 2000 16:23:35 GMT To: pgsql-hackers@postgresql.org.pgsql-admin@postgresql.org.pgsql-questions@postgresql.org "Netra systems" writes: > hello, > i have pb with the postgre sql installation : > i compile all .. ok > but when i want to run postmaster or anything else it say : no db dir : > data/../template1 ... > i have no data dir in my postgre dinstalled dir .... > how can i have this dir with all into ? Have you run initdb? My guess is no. Also, when you run initdb, the data directory it uses (I use /var/lib/pgsql, which I set up by having my .zshrc file export PGDATA=/var/lib/pgsql for my postgres account) needs to be the same as that passed to postmaster via the -D option. Oh, initdb really should be run as the postgres user. Definately not as root! Make sure your permissions are set up ahead of time! +C -- Have you signed up to be a bone marrow doner? All it takes is a simple blood test, and it can save a life. Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com