Re: [GENERAL] Problem. createdb: could not connect to database postgres: could not connect to server: No such file or directory

2008-04-19 Thread Martijn van Oosterhout
On Sat, Apr 19, 2008 at 10:14:00AM +0530, Jaisen N.D. wrote: Hi., Sorry for my late reply, I wasn't on desk for last few days. My goal is to set up a spatial database, with postgresql 8.1. I removed the postgresql installation using apt-get --purge remove. and removed the

Re: [GENERAL] Problem. createdb: could not connect to database postgres: could not connect to server: No such file or directory

2008-04-18 Thread Jaisen N.D.
Hi., Sorry for my late reply, I wasn't on desk for last few days. My goal is to set up a spatial database, with postgresql 8.1. I removed the postgresql installation using apt-get --purge remove. and removed the var/lib/postgresql/data directory. And then reinstalled it again. The result I got is

Re: [GENERAL] Problem. createdb: could not connect to database postgres: could not connect to server: No such file or directory

2008-04-12 Thread Craig Ringer
Jaisen N.D. wrote: Hai, I use Debian Etch. I have a problem with postgresql 8.1. I have uninstalled the postgresql-8.3, which I was took from debian back ports, removed its configuration files, and the user postgres also. It sounds like you didn't remove the data directory,

Re: [GENERAL] Problem. createdb: could not connect to database postgres: could not connect to server: No such file or directory

2008-04-12 Thread Alban Hertroys
On Apr 12, 2008, at 7:11 AM, Jaisen N.D. wrote: localhost:/home/user# su - postgres [EMAIL PROTECTED]:~$ /usr/lib/postgresql/8.1/bin/initdb -D /var/ lib/postgresql/data The files belonging to this database system will be owned by user postgres. This user must also own the server process.

[GENERAL] Problem. createdb: could not connect to database postgres: could not connect to server: No such file or directory

2008-04-11 Thread Jaisen N.D.
Hai, I use Debian Etch. I have a problem with postgresql 8.1. I have uninstalled the postgresql-8.3, which I was took from debian back ports, removed its configuration files, and the user postgres also. Then installed postgresql-8.1. But when I started to create a database, it shows some message