While installing PostreSQL I have follow start DB-server error:
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
(errors: LOG: could not bind IPv4 socket: address alredy in use
HINT: Is another postmaster already running on port 5432? If not,
wait a few seconds and retry.)
I stop already starting db:
etc/init.d/postresql stop
And all is OK.
There is small test for correct work of PostgreSQL:
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
(errors: LOG: could not bind IPv4 socket: address alredy in use
HINT: Is another postmaster already running on port 5432? If not,
wait a few seconds and retry.)
I stop already starting db:
etc/init.d/postresql stop
And all is OK.
There is small test for correct work of PostgreSQL:
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
Комментариев нет:
Отправить комментарий