Re: Createdb problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kenneth McDowell <kmcdowel(at)netwiz(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Createdb problems
Date: 2002-02-22 02:46:25
Message-ID: 13232.1014345985@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kenneth McDowell <kmcdowel(at)netwiz(dot)net> writes:
> I am trying to create a database on a mounted volume.
> I have used initdb and created the cluster fine.
> I have set an environment variable for the PATH, and restarted postgres but
> when I go to use the createdb --location=PATH dbname
> I get the following error

> cp: /volumes/hood/postgres/base/26916: Too many levels of symbolic links
> ERROR: CREATE DATABASE: could not initialize database directory

Hm. What exactly is that PATH value, and where is your regular database
area (PGDATA)? I am suspicious of a circular-symlink kind of problem,
but there's not enough info here to understand what's wrong.

Also, which PG version are you using?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-02-22 03:06:31 Re: metadata and views
Previous Message Tom Lane 2002-02-22 02:43:53 Re: PL/pgSQL Memory Management?