Pollywog wrote: >I have been unable to install postgresql and I did a search for "postgresql" >on Google's Linux search engine and I found a HOWTO which gave a clue about >the problem. I thought I should remove the user "postgres" from my >/etc/passwd because the HOWTO indicated that the installation should not fin >d >a user "postgres" already in the password file. > >I removed that user and it seems that did the trick :) >The HOWTO is for RPM versions but I thought this would apply to Debian >packages also. The Debian preinst script checks for the existence of postgres in /etc/passwd and creates it if it does not exist. If it does exist, it uses the home directory named in /etc/passwd as the POSTGRES_HOME directory.
If you have an existing installation, you should not remove the user from /etc/passwd. If you are _newly_ installing postgresql 6.5.2 or later, there may be a problem because base-passwd still makes the home directory /var/postgres whereas it should now be /var/lib/postgres. Editing /etc/passwd to correct this should be sufficient. -- Vote against SPAM: http://www.politik-digital.de/spam/ ======================================== Oliver Elphick [EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 ======================================== "Cast thy burden upon the LORD, and he shall sustain thee; he shall never allow the righteous to fall." Psalms 55:22