Hi,
On Sun, 2006-02-05 at 01:29 +0000, Paul Smith wrote:
> > Did you do "pg_ctl reload" after changing the pg_hba.conf file?
>
> I did everything from the beginning:
>
> 1. createuser;
> 2. on a directory created on my home directory, I did "initdb.";
> 3. but something strange occurs:
>
> $ postmaster -D .
> LOG: could not bind IPv4 socket: Address already in use
> HINT: Is another postmaster already running on port 5432? If not,
> wait a few seconds and retry.
> WARNING: could not create listen socket for "localhost"
> FATAL: could not create any TCP/IP sockets
AFAICS, before creating the cluster, you rm'ed the previous one, without
stopping the running postmaster. So now you cannot start postmaster.
You need to stop/kill the previous ones. Use ps to find out those
processes.
Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/