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:couldnotbindIPv4socket:addressalredyinuseHINT:Isanotherpostmasteralreadyrunningonport5432?Ifnot,waitafewsecondsandretry.
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:couldnotbindIPv4socket:addressalredyinuseHINT:Isanotherpostmasteralreadyrunningonport5432?Ifnot,waitafewsecondsandretry.
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
Комментариев нет:
Отправить комментарий