New install, not being able to login ..

Started by faisali, January 22, 2025, 03:14:23 AM

Previous topic - Next topic

faisali

Hello,
New install, Debian 12, Netxms ver 5.1.3, openjdk ver 17.0.3

------------------
catalina.out shows it trying to connect to org.netxms ?
Any suggestions on how to fix this ?
Thank you in advance.

-------------
20:12:30.375 [UIThread [1b0deb40]] INFO  org.netxms.nxmc.Startup - NetXMS Management Console version 5.1.3 starting
20:12:30.375 [UIThread [1b0deb40]] INFO  org.netxms.nxmc.Startup - State directory: /opt/tomcat9/work/Catalina/localhost/nxmc/state
20:12:30.375 [UIThread [1b0deb40]] INFO  org.netxms.nxmc.Startup - Registered themes: org.eclipse.rap.rwt.theme.Fallback, org.eclipse.rap.rwt.theme.Default, org.netxms.themes.light
20:12:30.376 [UIThread [1b0deb40]] DEBUG org.netxms.nxmc.PreferenceStore - Calling preference initializer org.netxms.nxmc.base.BasePreferenceInitializer@1d3d5d73
20:12:30.376 [UIThread [1b0deb40]] DEBUG org.netxms.nxmc.PreferenceStore - Calling preference initializer org.netxms.nxmc.modules.networkmaps.NetworkMapPreferenceInitializer@18e7cdba
20:12:30.376 [UIThread [1b0deb40]] DEBUG org.netxms.nxmc.PreferenceStore - Calling preference initializer org.netxms.nxmc.modules.charts.ChartPreferenceInitializer@26826532
20:12:30.376 [UIThread [1b0deb40]] DEBUG org.netxms.nxmc.PreferenceStore - Calling preference initializer org.netxms.nxmc.modules.objects.ObjectsPreferenceInitializer@3ebee0b6
20:12:30.376 [UIThread [1b0deb40]] INFO  org.netxms.nxmc.Startup - Language: en
20:12:30.383 [UIThread [1b0deb40]] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Metropolis Medium
20:12:30.383 [UIThread [1b0deb40]] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Metropolis Medium
20:12:30.387 [UIThread [1b0deb40]] INFO  org.netxms.nxmc.AppPropertiesLoader - Property file nxmc.properties not found in classpath
20:12:30.452 [UIThread [1b0deb40]] INFO  org.netxms.nxmc.AppPropertiesLoader - Server address resolved from NETXMS_SERVER: 143.244.220.150
20:12:38.606 [ModalContext] INFO  org.netxms.nxmc.base.login.LoginJob - Connecting to 143.244.220.150 port 4701
20:12:38.606 [ModalContext] INFO  org.netxms.client.NXCSession - Connecting to 143.244.220.150:4701
--------------------

faisali

Update:-   Ignore the above ..
I found the issue:-

For anyone who may run into this issue.
It has to do with resolve.conf , how it was setup automatically "Search" using a default domain name..
i.e. the machine was resolving NETXMS_SERVER  ....

==========
Faisal.

Alex Kirhenshtein

It's a leftover from really old times. We probably need to remove this option.

Web load configuration in the following order (e.g. "server" parameter, same for others):
1) from JNDI, java:comp/env/nxmc/server
2) "server" from the property file /nxmc.properties (from resources)
3) JVM property "nxmc.server" (e.g. you can run "java -Dnxmc.server=1.2.3.4")
4) environment variable NXMC_SERVER
5) then, if not found, and only for the server - try to look up the hostname "NETXMS_SERVER"

faisali

Yep, I found that in the docs.
Thank you.
Faisal