_fool
April 22nd, 2008, 07:59 PM
hi folks,
i was playing with a postgresql installation on gutsy and made some users and granted them permissions via a readme for some software i was trying to setup. i wanted a clean slate, so i removed apt-get remove'd postgresql postgresql-client, and reinstalled them. unfortunately, the permissions i'd set up before persisted, so i re-removed the packages, and saw that /var/lib/postgresql/8.2/main directory remained and was full of files. so i removed that directory manually, thinking that it contained the saved state.
unfortunately upon reinstallation of the packages, that directory does not reappear and the db server does not work--the init script claims to start it successfully, but the process is not running and the log is not updated.
i went to another ubuntu machine to try to figure out what package "owned" that directory to reinstall it, but dpkg -S claimed nobody owned it. sigh.
how can i get it back?
this is 64bit/x86 gutsy, and i have the following postgresql packages installed:
ii postgresql 8.2.7-0ubuntu0.7.10 object-relational SQL database (latest version)
ii postgresql-8.2 8.2.7-0ubuntu0.7.10 object-relational SQL database, version 8.2 server
ii postgresql-client 8.2.7-0ubuntu0.7.10 front-end programs for PostgreSQL (latest version)
ii postgresql-client-8.2 8.2.7-0ubuntu0.7.10 front-end programs for PostgreSQL 8.2
thanks in advance for your help!
i was playing with a postgresql installation on gutsy and made some users and granted them permissions via a readme for some software i was trying to setup. i wanted a clean slate, so i removed apt-get remove'd postgresql postgresql-client, and reinstalled them. unfortunately, the permissions i'd set up before persisted, so i re-removed the packages, and saw that /var/lib/postgresql/8.2/main directory remained and was full of files. so i removed that directory manually, thinking that it contained the saved state.
unfortunately upon reinstallation of the packages, that directory does not reappear and the db server does not work--the init script claims to start it successfully, but the process is not running and the log is not updated.
i went to another ubuntu machine to try to figure out what package "owned" that directory to reinstall it, but dpkg -S claimed nobody owned it. sigh.
how can i get it back?
this is 64bit/x86 gutsy, and i have the following postgresql packages installed:
ii postgresql 8.2.7-0ubuntu0.7.10 object-relational SQL database (latest version)
ii postgresql-8.2 8.2.7-0ubuntu0.7.10 object-relational SQL database, version 8.2 server
ii postgresql-client 8.2.7-0ubuntu0.7.10 front-end programs for PostgreSQL (latest version)
ii postgresql-client-8.2 8.2.7-0ubuntu0.7.10 front-end programs for PostgreSQL 8.2
thanks in advance for your help!