관리 메뉴

플랫폼공작소 IT Blog

sh: logfile: 허가 거부 본문

DataBase/DB

sh: logfile: 허가 거부

솜픽(Sompic) 플랫폼공작소 2016. 11. 10. 16:40

sh: logfile: 허가 거부(permission denied)


[postgres@localhost ~]$ exit;

logout

[root@localhost bin]# cd /home/postgres

[root@localhost postgres]# chown -R postgres:postgres data

[root@localhost postgres]# chmod -R 755 data

[root@localhost postgres]# su - postgres

[postgres@localhost ~]$ pg_ctl -D /home/postgres/data -l logfile start

server starting

[postgres@localhost ~]$


감사합니다 ^  ^


0 Comments
댓글쓰기 폼