cloudera-scm-server-db pg_ctl: server does not shut down

By | October 23, 2014

Problem:


# service cloudera-scm-server-db stop
waiting for server to shut down............................................................... failed
pg_ctl: server does not shut down
HINT: The "-m fast" option immediately disconnects sessions rather than
waiting for session-initiated disconnection.

Solution:


#cd /var/lib/cloudera-scm-server-db/data
# rm postmaster.pid
# service cloudera-scm-server-db status
pg_ctl: no server running

# service cloudera-scm-server status
cloudera-scm-server dead but pid file exists
# rm /var/run/cloudera-scm-server.pid

# service cloudera-scm-server status
cloudera-scm-server is stopped


# service cloudera-scm-server-db start
DB initialization done.
waiting for server to start.... done
server started
# service cloudera-scm-server start
Starting cloudera-scm-server:                              [  OK  ]

Comment below if you find this blog useful.

Leave a Reply

Your email address will not be published. Required fields are marked *