Reply
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

 

 

New Contributor
Posts: 4
Registered: ‎09-25-2018

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

check for pid number by using

# ps-ef |grep cloudera-scm-server

# kill -20 <pid number>"

# service iptables stop

# service ip6tables stop

#service cloudera-scm-server restart

#service cloudera-scm-server status

if still it triggering same error

init 6

#service cloudera-scm-server restart

#service cloudera-scm-server status

contact me at amar.sql94@gmail.com

New Contributor
Posts: 4
Registered: ‎11-01-2018

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

/var/run/cloudera-scm-server.pid

 where we execute this command

 

New Contributor
Posts: 4
Registered: ‎11-01-2018

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

 after doing this step rm /var/run/cloudera-scm-server.pid  what we do

 

 

New Contributor
Posts: 4
Registered: ‎11-01-2018

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

/var/log/cloudera-scm-server/cloudera-scm-server.log while execututing this command access permission was denaid
New Contributor
Posts: 4
Registered: ‎09-25-2018

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

you has to do it  with root user login

 

or else sudo user login

New Contributor
Posts: 4
Registered: ‎09-25-2018

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

go through with my post
New Contributor
Posts: 4
Registered: ‎09-25-2018

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

which is mentioned above 13th post
Announcements