| From: | Steve <haltline(at)ix(dot)netcom(dot)com> |
|---|---|
| To: | pgsql-questions(at)postgresql(dot)org |
| Subject: | Re: newbie needs help setting up pgsql on linux |
| Date: | 1999-12-22 21:00:44 |
| Message-ID: | 38613E63.47B6BB22@ix.netcom.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
There is a program called 'initdb' you need to run under your postgres usercode.
See 'man initdb' for details.
Eldad Midan wrote:
> Hi everybody,
>
> I am running RedHat Linux 6.1 on a Pentium, and am trying to migrate existing
> databases from Access-Win95 to PostgreSQL on Linux.
>
> I have installed the RPMs retrieved from RedHat's ftp site, read the relevant
> sections in the admin guide, the user's guide and some more, but I can't get
> postmaster to start. It seems that in order to start I need to install a
> database with a template (template1) which should be in some ... .../data
> directory. However, those files are nowhere to be found. I created a ...
> ../data directory, ran initlocation -D the-directory-where-the-data-will-reside
> and postmaster claims not to find a file called ...
> ../data/base/template1/pg_class. I looked around in various directories, and
> found some candidates in /usr/lib/pgsql/* but without instructions on how to
> make that into my template. Finally, when I 'touch' a file to be named
> pg_class, postmaster complains that the file PG_VERSION does not exist.
>
> Can anyone help me?
>
> ari
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ed Loehr | 1999-12-22 21:53:09 | [GENERAL] fsync performance impact |
| Previous Message | Ed Loehr | 1999-12-22 20:12:21 | Re: [GENERAL] creating trigger |