Re: can't start postgresql

From: Igor Shevchenko <igor(at)listmarketer(dot)com>
To: Enrico <scotty(at)linuxtime(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: can't start postgresql
Date: 2006-11-14 17:45:10
Message-ID: 200611141945.10944.igor@listmarketer.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 14 November 2006 17:21, Enrico wrote:
> > Thanks, but this is not working -
> >
> > [postgres(at)db ~]$ /usr/pgsql/bin/initdb -D /usr/pgsql/data
> > The files belonging to this database system will be owned by user
> > "postgres". This user must also own the server process.
> >
> > The database cluster will be initialized with locale C.
> >
> > initdb: directory "/usr/pgsql/data" exists but is not empty
> > If you want to create a new database system, either remove or empty
> > the directory "/usr/pgsql/data" or run initdb
> > with an argument other than "/usr/pgsql/data".
>
> of course if want to use /usr/pgsql/bin/initdb -D /usr/pgsql/data
> directory /usr/pgsql/data must be empty and user postgres must be the
> owner, but I don't understand, what is your problem?

The problem is that the db was not empty (32g of data).

--
Best Regards,
Igor Shevchenko

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Clodoaldo Pinto Neto 2006-11-14 18:06:49 Re: empty folder for downlaoding PostgreSQL 8.1.5 for FC 4
Previous Message Igor Shevchenko 2006-11-14 16:57:41 Re: can't start postgresql