Re: Starting postgresql server in RedHat 8.0

From: "Eft, Aaron" <Aaron(dot)Eft(at)avnet(dot)com>
To: Rebecca(dot)R(dot)Hepper(at)seagate(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Starting postgresql server in RedHat 8.0
Date: 2003-01-24 18:09:31
Message-ID: DC570C9C688E284ABE0DBE7C266599441CA332@amer31.avnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I would suggest reinstalling Postgres. You are missing a lot of files that
need to be there.

[root(at)localhost data]# ls -l
total 44
drwx------ 10 postgres postgres 4096 Jan 14 17:45 base
drwx------ 2 postgres postgres 4096 Jan 24 12:10 global
drwx------ 2 postgres postgres 4096 Jan 6 17:32 pg_clog
-rw------- 1 postgres postgres 2510 Jan 6 17:48 pg_hba.conf
-rw------- 1 postgres postgres 1441 Jan 6 17:32 pg_ident.conf
-rw------- 1 postgres postgres 4 Jan 6 17:32 PG_VERSION
drwx------ 2 postgres postgres 4096 Jan 21 10:31 pg_xlog
-rw------- 1 postgres postgres 5236 Jan 23 22:31 postgresql.conf
-rw------- 1 postgres postgres 48 Jan 24 12:09 postmaster.opts
-rw------- 1 postgres postgres 45 Jan 24 12:09 postmaster.pid

-----Original Message-----
From: Jason Earl [mailto:jason(dot)earl(at)simplot(dot)com]
Sent: Friday, January 24, 2003 10:31 AM
To: Rebecca(dot)R(dot)Hepper(at)seagate(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] Starting postgresql server in RedHat 8.0

Rebecca(dot)R(dot)Hepper(at)seagate(dot)com writes:

> Hi All,
>
> I just installed RedHat 8.0 on a system. I receive a failure status when
I
> try to start the postrgresql server by doing the following command as
root:
>
> /etc/init.d/postgresql start
>
> It is failing because there is no PG_VERSION file at /var/lib/pgsql/data.
> In the data directory, there is only one file: pg_hba.conf.
>
> What can't I start the postgresql server? I was able to start the server
> this way in RedHat 7.1.
>
> Thanks!
> Rebecca

You probably need to run initdb first (as user postgres).

Jason

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Elphick 2003-01-24 18:30:19 Re: Can't read input file
Previous Message Josh Berkus 2003-01-24 18:03:27 Re: from mssql7.0 and ASP to postgres and PHP