🏫 TECH/📚 DB
-
[PostgreSQL] could not create shared memory segment: Invalid argument 해결방법 1. root 계정 로그인 2. /etc/sysctl.conf 3. kernel.shmmax = 41943040 4. sudo sysctl -p 끝. 5. Postgresql 재시작! 감사합니다. ============================================== You need to increase the maximum size of a chunk of shared memory Linux kernel allows to allocate at once (known as SHMMAX parameter) You need to edit /etc/sysctl.con..
[PostgreSQL] could not create shared memory segment: Invalid argument 오류[PostgreSQL] could not create shared memory segment: Invalid argument 해결방법 1. root 계정 로그인 2. /etc/sysctl.conf 3. kernel.shmmax = 41943040 4. sudo sysctl -p 끝. 5. Postgresql 재시작! 감사합니다. ============================================== You need to increase the maximum size of a chunk of shared memory Linux kernel allows to allocate at once (known as SHMMAX parameter) You need to edit /etc/sysctl.con..
2017.01.13 -
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 startserver starting[postgres@localhost ~]$ 감사합니다 ^ ^
sh: logfile: 허가 거부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 startserver starting[postgres@localhost ~]$ 감사합니다 ^ ^
2016.11.10