서버가 부팅할때
Starting at Daemon ................................ [FAILED]
라고 뜹니다....
웹서비스는 잘 되지만,,,,,
게시판 같은건, 접속할 수 없다구,,,
Warning: Unable to connect to PostgresSQL server: connectDB() // connect() failed: Connection refused Is the postmaster running at 'localhost' and accepting connections on Unix socket '5432'?
postgresql6.5 rpm로 설치했습니다.... 자료를 찾아 봤더니, rpm으로 설치할 경우 슈퍼유저 권한이 postgres에게 있는 것이 아니라 daemon에 있다던데...정말인지....?
root로 postmaster를 restart시키면 퍼미션 에러가 뜨구요.....
su / daemon해서
postmaster를 restart시키면 퍼미션 에러는 뜨지 않는 대신에
$ ./postmaster restart
FATAL: StreamServerPort: bind() failed: 주소가 이미 사용 중입니다
Is another postmaster already running on that port?
If not, remove socket node (/tmp/.s.PGSQL.5432) and retry.
/usr/local/pgsql/bin/./postmaster: cannot create UNIX stream port
라고 뜹니다.
$ls /al /tmp/.s.PGSQL.5432해보아도 그런 파일은 없다고 나오는데.......
아무래도 데몬이 문제가 있는건지.................
엊그제 밤부터 마니 뒤적 거려본 결과 PostgresSQL에 대해서 공부는 마니 했지만
아직 문제 해결은 못했습니다..........
어떻게 해야할까요.......................?
|