Debek1
1 Copper

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

Yes I run it before. (/opt/nsr/authc-server/scripts/authc_configure.sh)

rpm -qa| grep lgto

lgtonmc-9.0-1.x86_64

lgtoxtdclnt-9.0.0.2-1.x86_64

lgtoauthc-9.0.0.2-1.x86_64

lgtoclnt-9.0.0.2-1.x86_64

lgtoserv-9.0.0.2-1.x86_64

lgtonode-9.0.0.2-1.x86_64

0 Kudos

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

Hi Debek,

please run systemctl status networker.

In the output you must see 4 jscv.exec processes (2 with .../opt/nsr/authc-server/.. and 2 with /opt/nsr/eventservice/..)

Please check also:

1) the port of auth-Server : grep  -i 9090 /nsr/authc/conf/*

2) under /nsr/authc/logs exists a log catalina.log.0. Pleas search in this file the port 9090.

3) Please stop networker, stop the firewalld and start networker again.

bg

0 Kudos
Debek1
1 Copper

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

[root@localhost ~]# service networker status

+--o nsrexecd (3267)

[root@localhost ~]# grep  -i 9090 /nsr/authc/conf/*

/nsr/authc/conf/authc-server-app.json:    "port" : "9090",

grep: /nsr/authc/conf/Catalina: Is a directory

/nsr/authc/conf/server.xml:    <Connector port="9090" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true"

[root@localhost logs]# cat catalina.log.0

Nov 16, 2016 9:28:34 AM org.apache.catalina.core.AprLifecycleListener init

INFO: The APR based Apache Tomcat Native library which allows optimal performance in roduction environments was not found on the java.library.path: /usr/lib/nsr/lib64/cst/usr/lib/nsr/lib64::/usr/java/jdk1.8.0_111/jre/lib/amd64/server:/usr/java/jdk1.8.0_11/jre/lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

Nov 16, 2016 9:28:35 AM org.apache.coyote.AbstractProtocol init

INFO: Initializing ProtocolHandler ["http-nio-9090"]

Nov 16, 2016 9:28:35 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

INFO: Using a shared selector for servlet write/read

Nov 16, 2016 9:28:35 AM org.apache.coyote.AbstractProtocol init

INFO: Initializing ProtocolHandler ["ajp-bio-8009"]

Nov 16, 2016 9:28:35 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1564 ms

Nov 16, 2016 9:28:35 AM org.apache.catalina.core.StandardService startInternal

INFO: Starting service Catalina

Nov 16, 2016 9:28:35 AM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.55

Nov 16, 2016 9:28:36 AM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive /nsr/authc/webapps/auth-server.war

Firewall is stooped.

service stop iptables

Now I'm trying run it on RHEL 6.8

0 Kudos

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

Hi Bebek,

if you only see nsrexecd by runing "service networker status", the networker Service isn't correctly started.

The authc-Service (jscv.exec) is started with nsrctld.

bg

0 Kudos
Debek1
1 Copper

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

So problem is with aplication. It should start correctly.

How can I start it manualy?

0 Kudos

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

Hi Debek,

please do following:

1) stop networker: Service networker stop

2) check nsr*-processes: PS -ef | greo nsr -> noting. if nsr*-processes exist -> kill -9

3) edit the file /etc/init.d/networker: insert at begin: set -x, and save the file.

4) run /etc/init.d/networker start > /tmp/start_nw.txt 2>&1.

5) wait a Moment.

6) run /etc/init.d/networker status > /tmp/status_nw.txt 2>&1.

Post the the both output files.

bg.

0 Kudos
Debek1
1 Copper

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

/tmp/start_nw.txt


++ NSRRC=/nsr/nsrrc

++ NSR_ENVEXEC=/opt/nsr/admin/nsr_envexec

++ NETWORKERRC=/opt/nsr/admin/networkerrc

++ case $1 in

++ start_service

++ echo 'starting NetWorker daemons:'

++ '[' -x /opt/nsr/admin/nsr_serverrc ']'

++ . /opt/nsr/admin/nsr_serverrc

++++ rpm -q --qf '%{INSTPREFIXES}\n' lgtoauthc

+++ AUTHC_PKG_HOME=/opt/nsr/authc-server

+++ '[' '!' -f /opt/nsr/authc-server/script/authc_configure.sh ']'

+++ AUTHC_PKG_HOME=/opt/nsr/authc-server

+++ AUTHC_HOME=/nsr/authc

+++ export AUTHC_HOME

+++ AUTHC_INSTALLRC=/nsr/authc/conf/installrc

+++ JAVA_HOME=

+++ '[' -f /nsr/authc/conf/installrc ']'

+++ . /nsr/authc/conf/installrc

++++ JAVA_HOME=/usr/java/jdk1.8.0_111

+++ '[' -z /usr/java/jdk1.8.0_111 ']'

+++ export JAVA_HOME

+++ JSVC_DIR=/opt/nsr/jsvc

+++ export JSVC_DIR

++++ grep ':5672 '

++++ grep qpidd

++++ netstat -lnpt

+++ qpiddchk=

+++ '[' -n '' ']'

+++ return 0

++ '[' -f /usr/sbin/nsrexecd ']'

++ '[' -f /usr/sbin/NetWorker.clustersvr ']'

++ /opt/nsr/admin/nsr_envexec -u /nsr/nsrrc -s /opt/nsr/admin/networkerrc /usr/sbin/nsrexecd

++ /usr/bin/tee /dev/console

++ echo ' nsrexecd'

++ '[' -x /usr/sbin/nsrpsd ']'

++ /usr/sbin/nsrpsd -i

++ '[' -f /usr/sbin/lgtolmd ']'

++ '[' -f /usr/sbin/nsrctld -a '!' -f /usr/sbin/NetWorker.clustersvr ']'

++ /usr/bin/tee /dev/console

++ /opt/nsr/admin/nsr_envexec -u /nsr/nsrrc -s /opt/nsr/admin/networkerrc /usr/sbin/nsrctld

++ echo ' nsrctld'

++ '[' -f /opt/nsr/nsrmq/bin/nsrmqd ']'

++ '[' -d /var/lock/subsys ']'

++ touch /var/lock/subsys/networker

/etc/init.d/networker status

++ NSRRC=/nsr/nsrrc

++ NSR_ENVEXEC=/opt/nsr/admin/nsr_envexec

++ NETWORKERRC=/opt/nsr/admin/networkerrc

++ case $1 in

++ '[' -f /usr/sbin/nsr_shutdown ']'

++ /usr/sbin/nsr_shutdown -l

+--o nsrexecd (14519)

0 Kudos

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

Hi Debek,

please stop networker (Service networker stop)

1) start nsrexecd: nsrexecd -D9 > /tmp/nsrexecd.log 2>&1

2) start nsrctld: source /opt/nsr/admin/networkerrc

                         source /opt/nsr/admin/nsr_serverrc

                         nsrctld -D9 > /tmp/nsrctd.lg 2>&1

wait a Moment and stop networker via nsr_shutdown

bg

0 Kudos
Dinabandhu
1 Copper

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

Hi Debek,

Are the NMC server and Networker server same here?

0 Kudos
EricMC
1 Copper

Re: Networker 9.0.0.2 Rhel implementation || Unable to contact authentication server on host BKP-01 and port 9090

I had this same issue (NMC and Networker server were the same for me) and it ended up being the linux firewall.  It turned back on after a reboot so we had to update the policy so it would stay disabled.

0 Kudos