Tuesday, December 19, 2017

Issue with Networker service not able to start in RHEL

Basic steps to solve the networker backup service starting issue in Linux

If you are facing issues in starting the networker service in RHEL systems, try below steps which have always worked for me.

Keep in my below points before proceeding:
1. Your system should have networker server's IP entry in /etc/hosts file.
2. Your system should have networker serevr's hostname/IP entries in /nsr/res/server file.
The networker server should be pingable/resolvable from its hostname which is mentioned in '/nsr/res/server' file.
3. Assuming that OS firewall is not blocking the traffic.

Solution steps:

[root@system1 nsr]# cd /nsr/
[root@system1 nsr]#
[root@system1 nsr]# ll
total 0
drwxrwxrwt. 2 root root  6 Jul 19  2016 applogs
drwx------. 3 root root 21 Jul 19  2016 cores
drwxrwxrwt. 4 root root 29 Jul 19  2016 dedup
drwxr-xr-x. 2 root root 23 Jul 19  2016 logs
drwxr-xr-x. 3 root root 34 Mar  9 16:21 res
drwxr-xr-x. 2 root root 38 Mar 21 19:46 run
drwxr-xr-x. 4 root root 67 Mar  9 17:53 tmp
[root@system1 nsr]#
[root@system1 nsr]# mv tmp tmp.old
[root@system1 nsr]# cd res/
[root@system1 res]# ll
total 8
drwx------. 12 root root 4096 Feb 27 17:17 nsrladb
-rw-r--r--.  1 root root   60 Mar  9 15:53 servers
[root@system1 res]#
[root@system1 res]# cat servers
networker_server.bck-services.dco.slb.com
networker_server
[root@system1 res]#
[root@system1 res]# mv nsrladb/ nsrladb.old/
[root@system1 res]# ll
total 8
drwx------. 12 root root 4096 Feb 27 17:17 nsrladb.old
-rw-r--r--.  1 root root   60 Mar  9 15:53 servers
[root@system1 res]#
[root@system1 res]# cd
[root@system1 ~]#
[root@system1 ~]# service networker restart
usage: networker {start|stop|status}
[root@system1 ~]# service networker stop
/usr/sbin/nsr_shutdown: line 341: /nsr/tmp/sec/services.tmp: No such file or directory
/usr/sbin/nsr_shutdown: line 342: /nsr/tmp/sec/services: No such file or directory
/usr/sbin/nsr_shutdown: line 353: /nsr/tmp/sec/services.tmp: No such file or directory
cat: /nsr/tmp/sec/services.tmp: No such file or directory
[root@system1 ~]#
[root@system1 ~]# service networker start
[root@system1 ~]#
[root@system1 ~]# netstat -tulpn | grep -i 7937
tcp        0      0 0.0.0.0:7937            0.0.0.0:*               LISTEN      36136/nsrexecd
[root@system1 ~]#
[root@system1 ~]# netstat -tulpn | grep -i 7938
tcp        0      0 0.0.0.0:7938            0.0.0.0:*               LISTEN      36136/nsrexecd
udp        0      0 0.0.0.0:7938            0.0.0.0:*                           36136/nsrexecd
[root@system1 ~]#

No comments:

Post a Comment