error with start up pgsql.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sam

    error with start up pgsql.

    Hi,

    I got the following error when running pgsql.sh:

    FATAL: File /usr/local/pgsql/data/PG_VERSION does not contain valid
    data. You need to initdb.

    any suggest?

    Thanks
    sam
  • sam

    #2
    Re: error with start up pgsql.

    sam wrote:[color=blue]
    > Hi,
    >
    > I got the following error when running pgsql.sh:
    >
    > FATAL: File /usr/local/pgsql/data/PG_VERSION does not contain valid
    > data. You need to initdb.
    >
    > any suggest?
    >
    > Thanks
    > sam[/color]

    I fixed the problem by executing the initdb in the pgsql user account.

    sam

    Comment

    Working...