Re: initdb creates a wrong-version database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Anton,

   I guess that you are trying to initdb a location that was
previously initdb'ed with the older version. Check if your $PGDATA
contains information, and if you, consider to rename it or created a
new $PGDATA to initdb.

  Regards,
Guido.

On 3/17/06, Anton J. Garnik <valinor@xxxxxxx> wrote:
> Hello pgsql-admin,
>
>   I have installed PostgreSQL 8.1.3 on Trustix Secure Linux
>   When I have created the initial database with initdb
>   and run postmaster, it says:
> ---------------------------
> An old version of the database format was found.\nYou need to upgrade the data format before using P
> ostgreSQL.\nSee /usr/share/postgresql-package/README.rpm.dist for more information.
> ---------------------------
>
>  What is wrong? In the README I found no information about how to
>  convert database format, just about migration data
>
>  There was postgresql 7.4 libs in my /usr/lib directory (it is needed by
>  php4), but no conflicts with names.
>
> --
> Best regards,
>  Anton                          mailto:valinor@xxxxxxx
>
> Ekaterinburg, Russia
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>


--
Guido Barosio
-----------------------


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux