[root@hostname db]# systemctl restart postgresql-9.4 Failed to restart postgresql-9.4.service: Unit is not loaded properly: Invalid argument. See system logs and 'systemctl status postgresql-9.4.service' for details.
참고: 설치 유형(Privileged 또는 Unprivileged)에 따라 다음 단계를 수행하는 데 필요한 경로와 사용자가 달라집니다. 이 단계를 수행할 때는 주의해야 하며, 올바른 사용자가 명령을 실행하는지 확인하십시오.
특별 권한 설치의 경우 사용자를 "root" 또는 실행 중인 서비스와 관련된 사용자 이름(예: postgres, pgbouncer, phantom 등). 권한이 없는 설치의 경우 SOAR을 설치하는 동안 사용되는 "phantom" 또는 특별히 명명된 다른 어카운트가 표시될 수 있습니다.
systemtl status postgresql-9.4.service 수행:
[root@hostname db]# systemctl status postgresql-9.4.service ● postgresql-9.4.service Loaded: error (Reason: Invalid argument) Active: inactive (dead) Aug 01 10:27:21 fqdn systemd[1]: postgresql-9.4.service lacks both ExecStart= and ExecStop= setting. Refusing. Aug 01 10:27:21 fqdn systemd[1]: Cannot add dependency job for unit postgresql-9.4.service, ignoring: Unit is not loaded...gument. Aug 01 10:27:51 fqdn systemd[1]: postgresql-9.4.service lacks both ExecStart= and ExecStop= setting. Refusing. Aug 01 10:27:51 fqdn systemd[1]: postgresql-9.4.service lacks both ExecStart= and ExecStop= setting. Refusing. Aug 01 10:27:52 fqdn systemd[1]: postgresql-9.4.service lacks both ExecStart= and ExecStop= setting. Refusing. Aug 01 10:27:53 fqdn systemd[1]: postgresql-9.4.service lacks both ExecStart= and ExecStop= setting. Refusing. Aug 01 10:27:53 fqdn systemd[1]: postgresql-9.4.service lacks both ExecStart= and ExecStop= setting. Refusing. Aug 01 10:27:58 fqdn systemd[1]: postgresql-9.4.service lacks both ExecStart= and ExecStop= setting. Refusing. Hint: Some lines were ellipsized, use -l to show in full.
[root@hostname db]# /<phantom_home>/bin/start_phantom.sh Starting all Phantom services psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.6432"? psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.6432"? psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.6432"? psql: could not connect to server: No such file or directory
참고: 설치 유형(Privileged 또는 Unprivileged)에 따라 다음 단계를 수행하는 데 필요한 경로와 사용자가 달라집니다. 이 단계를 수행할 때는 주의해야 하며, 올바른 사용자가 명령을 실행하는지 확인하십시오.
특별 권한 설치의 경우 사용자를 "root" 또는 실행 중인 서비스와 관련된 사용자 이름(예: postgres, pgbouncer, phantom 등). 권한이 없는 설치의 경우 SOAR을 설치하는 동안 사용되는 "phantom" 또는 특별히 명명된 다른 어카운트가 표시될 수 있습니다.
다음을 수행하여 해결 방법 수행:
a. Postgres 서비스를 시작하려면
sudo -su postgres /usr/pgsql-9.4/bin/pg_ctl start -D /opt/phantom/data/db/ -s -w -t 300
sudo -su postgres /usr/bin/pgbouncer -d -q /etc/pgbouncer/pgbouncer.ini
/<phantom_home>/bin/start_phantom.sh
| 개정 | 게시 날짜 | 의견 |
|---|---|---|
1.0 |
28-Sep-2026
|
최초 릴리스 |