Jump to content

new era server install - initial login failing


David Norman
 Share

Recommended Posts

hello 

just started out with era server install in linux centos 6

database up

tomcat running

browsed to hxxp://hostname:8080/era

and tried to login with Administrator + ( --server-root-password ) as specified from install 

and got the attached and these in the logs

any ideas anyone ?

017-11-24 17:24:38 Error: CServerSecurityModule [Thread 7f0da2bfd700]: AuthenticateNativeUser: Native user login failed
2017-11-24 17:24:38 Error: NetworkModule [Thread 7f0d671c4700]: User context does not exist for id 1
2017-11-24 17:24:50 Error: CServerSecurityModule [Thread 7f0da2bfd700]: AuthenticateNativeUser: Native user login failed
2017-11-24 17:24:50 Error: NetworkModule [Thread 7f0d671c4700]: User context does not exist for id 2
2017-11-24 17:24:55 Error: CServerSecurityModule [Thread 7f0da2bfd700]: AuthenticateNativeUser: Native user login failed
2017-11-24 17:24:55 Error: NetworkModule [Thread 7f0d671c4700]: User context does not exist for id 3
2017-11-24 17:25:02 Error: CServerSecurityModule [Thread 7f0da2bfd700]: AuthenticateNativeUser: Native user login failed
2017-11-24 17:25:02 Error: NetworkModule [Thread 7f0d671c4700]: User context does not exist for id 4

image.png.035524b7cd1802b6269d9a39a77d7ff5.png

Link to comment
Share on other sites

  • ESET Staff

Seems that it is failing on login/password checks. Any chance you used special (non asci and non-numerical) characters in your password? If you are not sure, it is possible to reset password by running SERVER installer with just parameter "--server-root-password".

Link to comment
Share on other sites

Hi thanks for that tip, I'm afraid that didn't work same problem. 

 

Mysql database server is on the same host and we configured era to talk to the localhost 3306 port. 

I can see using iptraf that the application is talking to the mysql host ok. 

Not too sure where the issue is, guess I keep digging

Link to comment
Share on other sites

  • ESET Staff

I missed error on screenshot you provided in first post. There seems to be different problem than wrong password (error message in login screen would clearly state that user name or password is invalid).

In this case, I would recommend to check tomcat logs, most probably /var/log/tomcat*/. We have seen similar errors in case there was problem with tomcat or java version - which version are you actually using? What is the version of ERA components (Webconsole and SERVER)?

Link to comment
Share on other sites

 

only downloaded the other day 

[root@tpin-era-server-centos6 administrator]# ls -la server-linux-x86_64.sh 
-rwxr-xr-x. 1 root root 82141156 Feb 21  2017 server-linux-x86_64.sh

#############
# VARIABLES #
#############
installed=
upgrade=
arg_installed_version=
arg_current_version="6.5.417.0"
version_status=
# install-type possible values all,database,files
install_type=all
 

 

can't see much thats of use in /var/log/tomcat*

root@tpin-era-server-centos6 tomcat]# ls -lt
total 284
-rw-r--r--. 1 tomcat tomcat  9787 Nov 27 20:28 localhost_access_log.2017-11-27.txt
-rw-r--r--. 1 tomcat tomcat 97046 Nov 27 20:28 catalina.2017-11-27.log
-rw-rw----. 1 tomcat tomcat 99527 Nov 27 20:28 catalina.out
-rw-r--r--. 1 root   root       0 Nov 27 11:13 tomcat-initd.log
-rw-r--r--  1 tomcat tomcat     0 Nov 27 10:25 host-manager.2017-11-27.log
-rw-r--r--  1 tomcat tomcat     0 Nov 27 10:25 localhost.2017-11-27.log
-rw-r--r--  1 tomcat tomcat     0 Nov 27 10:25 manager.2017-11-27.log
-rw-r--r--. 1 tomcat tomcat   632 Nov 26 22:31 localhost_access_log.2017-11-26.txt
-rw-r--r--. 1 tomcat tomcat   993 Nov 26 18:51 catalina.2017-11-26.log
-rw-rw----. 1 tomcat tomcat  3364 Nov 26 03:53 catalina.out-20171126.gz
-rw-r--r--. 1 tomcat tomcat  1608 Nov 25 20:33 localhost_access_log.2017-11-25.txt
-rw-r--r--. 1 tomcat tomcat  1986 Nov 25 08:43 catalina.2017-11-25.log
-rw-r--r--. 1 tomcat tomcat  8812 Nov 24 23:26 localhost_access_log.2017-11-24.txt
-rw-r--r--. 1 tomcat tomcat 30549 Nov 24 17:35 catalina.2017-11-24.log
-rw-r--r--. 1 tomcat tomcat     0 Nov 24 16:22 host-manager.2017-11-24.log
-rw-r--r--. 1 tomcat tomcat     0 Nov 24 16:22 localhost.2017-11-24.log
-rw-r--r--. 1 tomcat tomcat     0 Nov 24 16:22 manager.2017-11-24.log

Link to comment
Share on other sites

Hi there 

 

watching the server logs, the error definately is > 

 

2017-11-28 13:53:20 Error: CServerSecurityModule [Thread 7fc1775fe700]: AuthenticateNativeUser: Native user login failed
2017-11-28 13:53:20 Error: NetworkModule [Thread 7fc137bc5700]: User context does not exist for id 3
 

I have just re installed again, and same issue. 

the install script, was 

 

sudo ./server-linux-x86_64.sh \
--skip-license \
--db-driver=MySQL \
--db-type="MySQL Server" \
--db-hostname=127.0.0.1 \
--db-port=3306 \
--db-name=era_db \
--db-admin-username=root \
--db-admin-password=****************************
--server-root-password=************************  \
--db-user-username=root \
--db-user-password=************************** \
--cert-hostname="****************************"

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...