Start a Conversation

Unsolved

This post is more than 5 years old

M

15694

February 26th, 2016 04:00

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

Hi Guys,

I am implementing Networker 9.0.0.2  on Rhel machine. During NMC configuration I ran into following message

WARNING: Unable to contact authentication server on host BKP-01 and port 9090

Auth configuration went fine and when NMC was been configured I got into above warning.

Need your suggestion to resolve this issue.

LOGS:

---------

]# /opt/nsr/authc-server/scripts/authc_configure.sh

Specify the directory where the Java Standard Edition Runtime Environment (JRE) software is installed [/usr/java/latest]: /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/

The Apache Tomcat will use "BKP-01" as the host name.

The Apache Tomcat will use "9090" as the port number.

The NetWorker Authentication Service requires a keystore file to configure encryption and to provide SSL support.

EMC recommends that you specify a password that has a minimum of nine characters,

with at least one upper case letter, one lower case letter, one number and one special character.

The installation process will create a new keystore file.

Specify the keystore password:

Confirm the password:

The NetWorker Authentication Service defines automatically an administrator user account

named administrator in the NetWorker Authentication Service local database.

This account is specific to the administration of the NetWorker Authentication Service and

is no way related to other administrator accounts on this system.

The password of this account must meet the following criteria: A minimum of nine characters

with at least one upper case letter, one lower case letter, one number and one special character.

Specify an initial password for administrator:

Confirm the password:

Creating the installation log in /opt/nsr/authc-server/logs/install.log.

Performing initialization. Please wait...

The Installation completed successful.

=========================================

# /opt/lgtonmc/bin/nmc_config

For optimum security, the NMC server must run the embedded PostgreSQL database server

as a non root user. Specify a local user name that will start the database server.

If you specify a user that does not exist, the configuration process will provide you with

the option to create the user account.

Specify the user for the database server [postgres]: nwkradmin

Specify the directory to use for the LGTOnmc database [/nsr/nmc/nmcdb]:

Do you want to migrate the NMC server data from a previous LGTOnmc 8.x.x release ? n

Specify the host name of the NetWorker Authentication Service host [BKP-01]:

WARNING: Unable to contact authentication server on host BKP-01 and port 9090

Do you want to specify a different authentication server host or port ? y

Specify the host name of the NetWorker Authentication Service host [BKP-01]:

Specify the port number that the NetWorker Authentication Service uses for communication [9090]:

WARNING: Unable to contact authentication server on host BKP-01 and port 9090

Do you want to specify a different authentication server host or port ? n

Start the NMC server daemons at end of the configuration ? y

Creating the installation log in /opt/lgtonmc/logs/install.log.

Performing initialization. Please wait...

Starting GST:

GST Services, Version 9.0.Build.448

done.

The installation completed successfully.

You have new mail in /var/spool/mail/root

10 Posts

August 2nd, 2016 08:00

I'm having this same issue. Did you find the answer to your question?

October 4th, 2016 07:00

Hi,

I had the same issue.

in the /nsr/authc/logs/catalina.0.log:

javax.net.ssl.SSLHandshakeException: No appropriate protocol, may be no appropriate cipher suite specified or protocols are deactivated

        at com.ibm.jsse2.C.c(C.java:212)

        at com.ibm.jsse2.ap.g(ap.java:523)

        at com.ibm.jsse2.ap.beginHandshake(ap.java:363)

        at org.apache.tomcat.util.net.SecureNioChannel.reset(SecureNioChannel.java:89)

        at org.apache.tomcat.util.net.SecureNioChannel. (SecureNioChannel.java:71)

        at org.apache.tomcat.util.net.NioEndpoint.setSocketOptions(NioEndpoint.java:666)

        at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:824)

        at java.lang.Thread.run(Thread.java:785)

I used ibm java 8 .

After changing to oracle java 8 I can connect to the auth. server.

best regards.

11 Posts

November 10th, 2016 06:00

Have You got problem with it? I have Oralce Java 8 and it doesn't help..

November 10th, 2016 07:00

Hi,

do you see some error in logs (under /nsr/ahthc)?

bg

11 Posts

November 14th, 2016 01:00

I don't have there any errors. I try run Networker on CentoOs7

November 14th, 2016 04:00

Hi debek.

we use Networker 9.0.1 on SUSE.

can you post the Output of nmc_config and the files under /nsr/auth/*

bg

November 15th, 2016 04:00

hi debek,

we have today intalled Networker 9.0.1 on CentOS 7.

http://www.aventistech.com/2016/03/03/networker9-on-centos7.

We didn't get any error.

Can you see :

1) the port 9090 with netstat -an | grep 9090

2) Processes of nsrtoncat : PS -ef | grep nsrtomcat.

bg

11 Posts

November 23rd, 2016 03:00

nsrtomcat and port 9090 is not listed.

Should I install it manualy?

November 23rd, 2016 04:00

Hi debek,

did you install the lgtoauthc.rpm and run the script /opt/nsr/authc-Server/scripts/authc_configure.sh after the Installation?

Pleas post me the output of rpm -qa| grep lgto.

bg

11 Posts

November 23rd, 2016 05:00

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

November 23rd, 2016 07:00

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

11 Posts

November 24th, 2016 00:00

[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:   

[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

November 24th, 2016 02:00

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

11 Posts

November 24th, 2016 22:00

So problem is with aplication. It should start correctly.

How can I start it manualy?

November 25th, 2016 01:00

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.

No Events found!

Top