tag 394548 needsinfo unreproducible thanks Hi Kjetil,
Kjetil Kjernsmo [2006-10-21 22:06 +0200]: > What simply happened when I did the last testing upgrade was that the > data directory, i.e. all contents of /var/lib/postgresql disappeared. Ouch! What did you update? Sarge to Testing, or Testing->slightly newer testing? What else (apart from updated postgresql-8.1) happened there? Please check /var/log/dpkg.log (or just tell me the time when you updated and mail me the file, then I'll check for you). > I have tried to reinstall the latest package, but it does not appear to > generate the 8.1/main cluster. If it try pg_createcluster (or > something), it says however that the cluster allready is configured. The > data directory does not exist. Yes, as long as the /etc/postgresql/8.1/main configuration directory exists, the postinst scripts and pg_createcluster assume that the cluster is still there. Please remove /etc/postgresql/ completely, it's useless now anyway. Sorry, I have absolutely no idea what happened there. The only time where data is removed is when you purge postgresql-8.1, but I think that did not happen here (since this would have removed /etc/postgresql and /var/log/postgresql, too). Do you have /var/lib/postgresql/ (or a parent directory) on an extra mount point? If so, did it get unmounted for some reason? Thanks, 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