psql 을 실행할 때 다음과 같은 에러가 나는데용.00;
psql: could not connect to server: 그런 파일이나 디렉토리가 없음
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
postmaster -i& 명령 안써줘서 그런지도 몰라서..다시 해 봤더니 역시 마찬가지 더군요...
postmaster -i& 를 쳤을때는 이런 에러가 납니다.
[1] 24920
bash-2.05a$ Found a pre-existing shared memory block (ID 27262989) still in use.
If you're sure there are no old backends still running,
remove the shared memory block with ipcrm(1), or just
delete "/var/lib/pgsql/data/postmaster.pid".
[1]+ Exit 1 postmaster -i
재부팅을 해야 하는지요...
사실 자주 이런 에러가 나는데...방지할 수 있는 방법은 없는지여.
|