Re: can not start the postgresql, i use gentoo - Mailing list pgsql-admin

From Andy
Subject Re: can not start the postgresql, i use gentoo
Date
Msg-id 004c01c58cfb$0b996790$0b00a8c0@forge
Whole thread Raw
In response to can not start the postgresql, i use gentoo  (guo weidong <gwd1122331@yahoo.com>)
Responses Re: can not start the postgresql, i use gentoo
List pgsql-admin
# PostgreSQL's Database Directory
PGDATA=/var/lib/postgresql/data

Is this all you have in the postgresql.conf file??? That file is usually
full with settings(most of them optional) but still...
Are u sure?

Andy.

----- Original Message -----
From: "guo weidong" <gwd1122331@yahoo.com>
To: <pgsql-admin@postgresql.org>
Sent: Wednesday, July 20, 2005 6:30 AM
Subject: [ADMIN] can not start the postgresql, i use gentoo


>I can not run start the postgresql service, and spent
> several days can not solve the problem. thanks for
> anyone who can help me .
> :oops: :oops: :oops: :oops: :oops:
> /etc/init.d/postgresql start
> * Starting PostgreSQL ...
> * Please see log file:
> /var/lib/postgresql/data/postgresql.log [ !! ]
>
> and my postgresql.log is
>
> FATAL: syntax error in file
> "/var/lib/postgresql/data/postgresql.conf" line 2,
> near token "/"
>
> I dont'n know what is wrong with the postgresql.conf
>
> Here is the config file
> postgresql.conf
>
> # PostgreSQL's Database Directory
> PGDATA=/var/lib/postgresql/data
>
> # Logfile path: (NOTE: This must be uid/gid owned by
> the value of $PGUSER!)
> PGLOG=/var/lib/postgresql/data/postgresql.log
>
> # Run the PostgreSQL user as:
> PGUSER=postgres
>
> # Extra options to run postmaster with.
> # If you want to enable TCP/IP for PostgreSQL, add -i
> to the following:
> PGOPTS="-N 1024 -B 2048 -i"
>
> #tcpip_socket = true
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>               http://archives.postgresql.org
>
>


pgsql-admin by date:

Previous
From: imi
Date:
Subject: Re: PGSQL 7.4.8 : idle in transaction problem
Next
From: Tsirkin Evgeny
Date:
Subject: Re: caching table/query