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]:
User postgres is not a local user. Do you want to create this user ? y
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 [localhost.localdomain]:
WARNING: Unable to contact authentication server on host localhost.localdomain and port 9090
Do you want to specify a different authentication server host or port ?
In the /nsr/authc/logs/catalina.0.log:
Nov 10, 2016 8:45:28 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production 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_111/jre/lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Nov 10, 2016 8:45:29 AM org.apache.coyote.AbstractProtocol init
It should modify the firewall to allow all of the ports Networker uses and can use. We noticed that while the error would claim an authentication failure, you could see the authentication succeed in the debug logs, but would fail later to connect to set up the save.
CentOS went to using firewalld instead of iptables, so changes made to the iptables can't be static between reboots and I simply wasn't smart enough to figure out how make the changes using the firewalld commands/configuration. The other option as noted above is just turn off the fire wall.
Faced the same error. Upgraded java to the latest version. Rerun the authc configuration script e/opt/nsr/authc-server/scripts/authc_configure.sh . Then restarted the Networker services on the host. After restarting services, I run the nmc configuration, and it completed successfully.
Was trying to setup this in lab environment and run into the error. Stopped the firewall service on both the hosts (nmc and networker) and it was able to proceed.
NMarc1
18 Posts
13267
0
Posted November 15th, 2016 21:00
Login to server as root
Using following command see port 9090 used by another program
netstat -tulpn or netstat -tulpn | grep 9090