clone 374098 -1 reassign -1 postgresql-common retitle -1 postgresql-common: pg_ctlcluster cannot parse cluster locale thanks
Nic, I'm CC'ing you on this because this is the exact same issue that you mailed me about. Please followup on this bug report instead. Hi Gary, Gary Hawkins [2006-07-01 10:26 +0100]: > Sorry for butting in -- I am getting a very similar error log to this Your error message is not similar at all, therefore I open a new bug about this. > I then tried moving the /etc/postgresql directories out of the way as you > suggested to Sumit, then executing pg_createcluster 8.1 main --start. This > succeeded, but I still cannot start postgresql afterwards. I think the reason > for the problem (from my limited understanding of Perl) might be something to > do with the get_cluster_locales function -- the 'open' seems to be failing and > is therefore (undef, undef) which I think is causing the error message. Right. Either pg_controldata itself fails, or at that point reading the 'pgdata' symlink fails. I'll try to reproduce this on my system if you send me your data (see below); if that doesn't work, I'd like to send you a debugging version of postgresql-common. > However, if I hard code the locales in then I get a further error message > afterwards: > > Starting PostgreSQL 8.1 database server: main* Use of uninitialized value in > concatenation (.) or string at /usr/bin/pg_ctlcluster line 286. > Error: could not exec /usr/lib/postgresql/8.1/bin/pg_ctl start -D > /var/lib/postgresql/8.1/main -l /var/log/postgresql/postgresql-8.1-main.log -s > -o -c unix_socket_directory="/var/run/postgresql" -c > config_file="/etc/postgresql/8.1/main/postgresql.conf" -c > hba_file="/etc/postgresql/8.1/main/pg_hba.conf" -c > ident_file="/etc/postgresql/8.1/main/pg_ident.conf" -c > external_pid_file="/var/run/postgresql/8.1-main.pid" : > failed! After this, can you please tar up /etc/postgresql/ and make it available to me? Thank you! Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org In a world without walls and fences, who needs Windows and Gates?
signature.asc
Description: Digital signature

