Jane,
On Wed, Mar 07, 2001 at 11:22:19AM +1300, Jane G wrote:
> I have some problem to use version 7.1beta5. When i got to step 5 'cp
> endian.h /usr/include' in Kevin's list, I can't find the file 'endian.h'.
> Do i still need the file 'endian.h'?
IIRC, step 5 is no longer needed for 7.1beta5. Remember that Kevin's howto
is for 7.0.3 not 7.1. Hence, it is a tad out of date at this point.
> The initdb is not completed, it show:
> "initdb: The directory /usr/local/pgsql/data exists but is not empty.
> If you want to create a new database system, either remove or empty
> the directory /usr/local/pgsql/data or run initdb with
> an argument other than /usr/local/pgsql/data."
> Then postmaster failed with error: postmaster does not find the database
> system.
> Did i miss some steps?
Your /usr/local/pgsql/data is left over from your 7.0.3 installation.
What I did was just rename data to data-7.0.3:
mv /usr/local/pgsql/data /usr/local/pgsql/data-7.0.3
After completing the above, retry the initdb -- it should work this time.
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com