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 3519 게시물 읽기
No. 3519
postmaster -i & 에대해서..
작성자
사이버
작성일
2001-10-17 00:22
조회수
1,779

bash$ postmaster -i &

[1] 17549

bash$ Database system in directory /home/local/pgsql/data/ is not compatible with

this version of Postgres, or we are unable to read the PG_VERSION file. Explanati

on from ValidatePgVersion: Version number in file '/home/local/pgsql/data//PG_VERS

ION' should be 6.5, not 7.0.

 

No data directory -- can't proceed.

 

이런 에러가 나네요...

보니깐...

postgresql이 6.5. 와 7.0이 둘다 같이 있다는 메세지 같은데..????

 

왜 그런거지 모르겠네요???

 

분명히..

/etc/profile

에서

 

PATH="$PATH:/usr/local/mysql/bin:/usr/local/jdk1.2/bin:/usr/X11R6/bin:/usr/local/J

SDK2.0/bin:/home/local/pgsql/data/base/template1:/home/local/pgsql/bin:."

CLASSPATH="/usr/local/JSDK2.0/lib/jsdk.jar:/home/local/pgsql/lib/jdbc/postgresql.j

ar:/usr/local/apache/servlets/mail.jar:/usr/local/apache/servlets/activation.jar:/

usr/local/jdk1.2.2/lib/mm.mysql-2.0.2-bin.jar:."

MANPATH="$MANPATH:/home/local/pgsql/man"

PGLIB="/home/local/pgsql/lib"

PGDATA="/home/local/pgsql/data/"

 

을 해주었고요...

그리고...

 

/etc/ld.so.conf

에서도

home/local/pgsql/lib

을 해주었거든요...

그런데..왜 이런 에러가 나죠?????

 

그래서 에러가 나지 않는 방향으로 할려면..

/home/local/pgsql/bin/postmaster -i -D /home/local/pgsql/data &

이렇게 data가 있는 이름을 지정해 줘야 하드라구요..

 

bash$ /home/local/pgsql/bin/postmaster -i -D /home/local/pgsql/data &

[1] 17575

bash$ DEBUG: Data Base System is starting up at Wed Oct 17 00:19:12 2001

DEBUG: Data Base System was shut down at Wed Oct 17 00:06:38 2001

DEBUG: Data Base System is in production state at Wed Oct 17 00:19:12 2001

...

 

그런데 이 또한 문제가 있네요...

이걸하게 되면...

 

bash$ psql -l

datname |datdba|encoding|datpath

---------+------+--------+---------

template1| 500| 0|template1

(1 row)

 

bash$ pq_recvbuf: unexpected EOF on client connection

이런 메시지가 뜨더군요..

 

 

결론적으로 기존에 있던 6.5랑 7.0.2랑 같이 뜨는것 같기도 한데????

제가 안해준게 있나요????

 

http://database.sarang.net/database/postgres/lecture/pgsql_7.1.inst.html

에서 봐서 했거든요...

 

좀 알려주세요

[Top]
No.
제목
작성자
작성일
조회
3529[급]postgres ->access dbf
장학우
2001-10-17
1657
3535┕>Re: [급]postgres ->access dbf
정재익
2001-10-18 09:57:13
1795
3527ALTER TABLE table DROP CONSTRAINT 꽁수
김상기
2001-10-17
1643
3528┕>Re: ALTER TABLE table DROP CONSTRAINT 꽁수
정재익
2001-10-17 17:04:59
1799
3523[긴급]디비 복구시 에러.....
승현
2001-10-17
1635
3526┕>경험에 의하면...
김상기
2001-10-17 16:57:20
1705
3519postmaster -i & 에대해서..
사이버
2001-10-17
1779
3520┕>Re: postmaster -i & 에대해서..
정재익
2001-10-17 08:37:39
1662
3524 ┕>Re: Re: postmaster -i & 에대해서..
사이버
2001-10-17 14:41:12
1606
3525  ┕>Re: Re: Re: postmaster -i & 에대해서..
정재익
2001-10-17 15:09:28
1718
3530   ┕>Re: Re: Re: Re: postmaster -i & 에대해서..(감사..감사..내용무)
사이버
2001-10-18 00:37:50
1882
3518[요청]phppgadmin을 찾고 있습니다.
박종오
2001-10-16
1514
3571┕>Re: [요청]phppgadmin을 찾고 있습니다.
정재익
2001-10-22 22:20:08
1710
3506PowerBuilder와 ODBC로 연결하기...
이은자
2001-10-15
1762
3508┕>Re: Visual Basic 과의 연동...
정재익
2001-10-15 23:11:42
1849
3500connection id가 중복됩니다.
임성호
2001-10-13
1659
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.023초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다