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 9538 게시물 읽기
No. 9538
[초보]service postgres start 질문있습니다.
작성자
tam(tambou1225)
작성일
2015-04-15 17:45
조회수
10,682

Centos7 64비트

yum install postgersql-server 를 이용하여 설치하였습니다.

버전은  9.2.10

 

설치하고난 후 실행이 안되는것 같습니다.

 

[root@localhost 바탕화면]# service postgres start
Redirecting to /bin/systemctl start  postgres.service
Failed to issue method call: Unit postgres.service failed to load: No such file or directory.
 

[root@localhost 바탕화면]# systmctl start postgres.service
bash: systmctl: 명령을 찾을 수 없습니다...
 

[root@localhost 바탕화면]# /usr/bin/postgres -D /var/lib/pgsql/data
"root" execution of the PostgreSQL server is not permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromise.  See the documentation for
more information on how to properly start the server.
 

인터넷을 많이 찾아봤는데 원인을 잘 모르겠습니다. 이틀째 여기서 막혀서 시작도 못하구있네요 한숨

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

CentOS 7에서 서비스 실행 방법이 많이 바뀌어서 잘은 모르겠지만,

/etc/init.d/postgres 라는 파일이 있으면,

그 스크립트 파일로 서버를 실행해보세요.

/etc/init.d/postgres start

 

 

김상기(ioseph)님이 2015-04-16 14:54에 작성한 댓글입니다.
[Top]
No.
제목
작성자
작성일
조회
9541단일 insert 문을 트랜잭션 처리하는 것에 오버헤드가 있나요? [1]
exzextor
2015-04-20
9715
9540db접속 로그는 남지 않나요? [1]
이기자
2015-04-19
10967
9539ODBC 연결 질문입니다. [1]
초보자
2015-04-15
10221
9538[초보]service postgres start 질문있습니다. [1]
tam
2015-04-15
10682
9537저장 프로시저 암호화 문의 드립니다 [2]
YJ
2015-04-15
10054
9536dbs 파일때문인데요,,
길동이
2015-04-14
10641
95352015년 4월 모임 후기 [5]
김상기
2015-04-03
10319
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.018초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다