database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 8517 게시물 읽기
No. 8517
PostgreSQL 초보적인 질문입니다..
작성자
초보자
작성일
2009-10-06 15:01
조회수
10,818

지금 서버에서 postgres를 쓰고있는데..


이걸 로컬에서 테스트를 해보고 싶은데


오라클처럼 연습용(scott/tiger처럼) 같이 작동이 안되네요..


현재 8.4버전 쓰고있고..


pgAdmin III 에서 A라는 서버로 연결해서 가동중입니다..


웹으로 연결하지 않아도 톰캣구동만 해서 db를 따로 작성하고싶은데..


뭐가 문제인지..ㅎ;;


이 글에 대한 댓글이 총 2건 있습니다.

찾다보니까 11페이지에 pgAdmin에 대해 질문글이 올라왔더군요..


============================================================================================


접속을 시도하면 pgAdmin 구루 힌트 - 서버가 응답하지 않습니다.


Server doesn't listen

The server doesn't accept connections: the connection library reports

could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?


If you encounter this message, please check if the server you're trying to contact is actually running PostgreSQL on the given port. Test if you have network connectivity from your client to the server host using ping or equivalent tools. Is your network / VPN / SSH tunnel / firewall configured correctly?

For security reasons, PostgreSQL does not listen on all available IP addresses on the server machine initially. In order to access the server over the network, you need to enable listening on the address first.

For PostgreSQL servers starting with version 8.0, this is controlled using the "listen_addresses" parameter in the postgresql.conf file. Here, you can enter a list of IP addresses the server should listen on, or simply use '*' to listen on all available IP addresses. For earlier servers (Version 7.3 or 7.4), you'll need to set the "tcpip_socket" parameter to 'true'.

You can use the postgresql.conf editor that is built into pgAdmin III to edit the postgresql.conf configuration file. After changing this file, you need to restart the server process to make the setting effective.

If you double-checked your configuration but still get this error message, it's still unlikely that you encounter a fatal PostgreSQL misbehaviour. You probably have some low level network connectivity problems (e.g. firewall configuration). Please check this thoroughly before reporting a bug to the PostgreSQL community. 


===========================================================================================


이렇게 메세지가 뜹니다..


제어판 - 관리도구 - 서비스에서는 자동으로 설정 되어있구요..


이벤트 뷰어 - 응용프로그램에서 로그를 보면 에러가 2개가 있는데


pg_ctl: "postgresql-8.4" 서비스가 이미 등록 되어 있음 => 이것과


2009-10-06 14:03:38 KSTPANIC:  could not open control file "global/pg_control": Permission denied

=> 이러한 오류가 있습니다.


초보자님이 2009-10-06 15:30에 작성한 댓글입니다. Edit

PostgreSQL이 정상설치되었다는 가정하에 pgAdmin 이 설치된 컴퓨터가 로컬이 아니라면, postgresql.conf 파일에서 외부 접속을 허용할 수 있게 해야합니다. pg_hba.conf 권한 설정도 필요할 수 있구요. 해당 사항은 검색해보시면, 나옵니다.

김대청(dcmru)님이 2009-10-08 16:48에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
8520아래 쿼리의 EXPLAIN. [3]
이기자
2009-10-08
7238
8519쿼리문좀 봐주세요 T.T 거북이 보다 더 느립니다. [3]
이기자
2009-10-08
7603
8518연달아서 질문입니다 ㅡ,.ㅡ [1]
초보자
2009-10-06
6728
8517PostgreSQL 초보적인 질문입니다.. [2]
초보자
2009-10-06
10818
8516- [3]
아무개
2009-10-05
6770
8515- [2]
아무개
2009-09-29
7275
85140 이 아닌 경우를 조건으로 할때 [2]
souler
2009-09-24
7156
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다