Hi Ross,

Ross Boylan [2008-04-13 23:21 -0700]:
> Configuring already existing cluster (configuration:
> /etc/postgresql/8.1/wheat, data: /var/lib/postgresql/8.1/wheat,
> owner: 107:122)
> Error: move_conffile: required configuration file
> /var/lib/postgresql/8.1/wheat/postgresql.conf does not exist

Indeed this mode of operation is meant to integrate existing
"initdb"-created clusters into Debian's postgresql-common layout, with
the configuration files being moved to /etc. But if the configuration
files are missing, there is not much that pg_createcluster can do to
"reinvent" them.

If you still have the original files (postgresql.conf, pg_hba.conf,
pg_ident.conf, etc.), please copy them into the data directory. If
not, you might use the *.sample templates in
/usr/share/postgresql/8.1/ to reconfigure it properly.

The more interesting question here is, how did the files disappear
from /etc/ in the first place? That sounds like the real bug.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to