Reply
Highlighted
New Contributor
Posts: 1
Registered: ‎05-18-2017

Re: cloudera-scm-server is dead and pid file exists

Thanks for reply..

 

i do also having same problem. but as you asvised i removed the file /var/run/cloudera-scm-server.pid

 

then i start the cloudera service and again same issue but that removed file automatically regenarated again.

 

[root@cdh1 ~]# service cloudera-scm-server start
Starting cloudera-scm-server: [ OK ]
[root@cdh1 ~]# service cloudera-scm-server status
cloudera-scm-server dead but pid file exists
[root@cdh1 ~]# rm /var/run/cloudera-scm-server.pid
rm: remove regular file `/var/run/cloudera-scm-server.pid'? y
[root@cdh1 ~]#

New Contributor
Posts: 1
Registered: ‎04-24-2018

Re: cloudera-scm-server is dead and pid file exists

Hi,

 

I fix this issue as ..

 

1) go to the /etc/cloudera-scm-agent/config.ini ---- file  and then update the following parameters in this file according to your servers.

 

## It should not normally be necessary to modify these.
# Port that the CM agent should listen on.
listening_port=9000

# IP Address that the CM agent should listen on.
listening_ip=192.168.0.000    -------------------------------------------------------> need your server IP

# Hostname that the CM agent reports as its hostname. If unset, will be
# obtained in code through something like this:
#
# python -c 'import socket; \
# print socket.getfqdn(), \
# socket.gethostbyname(socket.getfqdn())'
#
listening_hostname=192.168.0.000 ------------------------------------------------> need your server Ip same as above

 

use_tls=1

 

save this setting in config.ini file and then

 

restart cloudera-scm-agent services as 

 

service cloudera-scm-agent restart

 

your issue will resolved...

 

 

Regards,

 

Maroof khan Gandapur

 

 

Announcements