-- Unit user-26.slice has begun shutting down. Mar 06 16:28:37 head01 pbs[2792]: *** Error initializing the PBS dataservice Mar 06 16:28:37 head01 pbs[2792]: Error details: Mar 06 16:28:37 head01 pbs[2792]: Creating the PBS Data Service... Mar 06 16:28:37 head01 pbs[2792]: Starting PBS Data Service.. Mar 06 16:28:37 head01 pbs[2792]: waiting for server to start....2018-03-06 16:28:36 KSTFATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.15007.lock": No such file of directory Mar 06 16:28:37 head01 pbs[2792]: stopped waiting Mar 06 16:28:37 head01 pbs[2792]: pg_ctl: could not start server Mar 06 16:28:37 head01 pbs[2792]: Examine the log output. Mar 06 16:28:37 head01 pbs[2792]: Failed to start PBS Data Service Mar 06 16:28:37 head01 pbs[2792]: Error starting PBS Data Service Mar 06 16:28:37 head01 systemd[1]: pbs.service: control process exited, code=exited status=1 Mar 06 16:28:37 head01 systemd[1]: Failed to start LSB: The Portable Batch System (PBS) is a flexible workload. -- Subject: Unit pbs.service has failed |
# systemctl status pbs
명령어로 확인해보면 Failed to start LSB라고 나오면서 pbs가 실행이 안된다
어제까지 stop하고 start해도 문제 없었다는 생각뿐이다...
메세지의 위에 보면 postgresql에서 파일이나 폴더를 못 찾는 문제가 생기고 있는 것을 확인 할 수 있다.
postgresql 문제로 보이는데 분석할 여유도 방법도 몰라서
yum remove로 삭제하고 다시 설치해 보았다.
# yum list | grep postgresql 로 확인해보고 설치된거 지우고 다시 설치
================================================================================================================== Package Arch Version R ================================================================================================================== Installing: postgresql-server x86_64 9.2.21-1.el7 r Installing for dependencies: postgresql x86_64 9.2.21-1.el7 r Transaction Summary ================================================================================================================== Install 1 Package (+1 Dependent package) Total download size: 6.8 M Installed size: 32 M Is this ok [y/d/N]: y Downloading packages: ------------------------------------------------------------------------------------------------------------------ Total Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : postgresql-9.2.21-1.el7.x86_64 Installing : postgresql-server-9.2.21-1.el7.x86_64 Verifying : postgresql-server-9.2.21-1.el7.x86_64 Verifying : postgresql-9.2.21-1.el7.x86_64 Installed: postgresql-server.x86_64 0:9.2.21-1.el7 Dependency Installed: postgresql.x86_64 0:9.2.21-1.el7 Complete! |
postgresql 설치 이후 PBS가 다시 정상적으로 실행이 된다.
'지식생활 > Linux' 카테고리의 다른 글
PBSpro 14.1.2 RPM Linux서버에 설치 (0) | 2018.03.04 |
---|