@victor said in NetXMS 1.2.10 released:
Hi!
Bug should be fixed. We have uploaded updated installers, Please download updated version and reinstall.
Best regards,
Victor
Confirm, working fine now - many thanks
@victor said in NetXMS 1.2.10 released:
Hi!
Bug should be fixed. We have uploaded updated installers, Please download updated version and reinstall.
Best regards,
Victor
Confirm, working fine now - many thanks
I'm a little confused by the current, 1.2.10, app for Android.
I download the new APK, it has "console" in the name, you run it and it says "NetXMS Client" (not a big deal I suppose, but client to me is close to the "agent" than the "console") and that it's version 1.2.7 (which is very confusing after updating it).
Just upgraded my Win_x64 server installation and the core service keeps crashing:
[13-Dec-2013 15:56:31.594] Client session closed due to communication error (The operation completed successfully.)
[13-Dec-2013 15:56:31.595] *Locks* All locks for session 0 removed
[13-Dec-2013 15:56:31.595] SQL request queued: INSERT INTO audit_log (record_id,timestamp,subsystem,success,user_id,workstation,object_id,message) VALUES(685,1386946591,'SECURITY',1,0,'127.0.0.1',0,'User logged out (client: nxmc/1.2.10 (Windows Server 2012 6.2; libnxcl 1.2.10))')
[13-Dec-2013 15:56:31.597] [CLSN-0] Session closed
[13-Dec-2013 15:56:31.755] Successful sync query: "INSERT INTO audit_log (record_id,timestamp,subsystem,success,user_id,workstation,object_id,message) VALUES(685,1386946591,'SECURITY',1,0,'127.0.0.1',0,'User logged out (client: nxmc/1.2.10
(Windows Server 2012 6.2; libnxcl 1.2.10))')" [160 ms]
[13-Dec-2013 15:56:31.830] EXCEPTION 0xC0000005 (Access violation) at 0x004D84A2 (crash dump was generated); please send files C:\\netxmsd-524-1386946591.info and C:\\netxmsd-524-1386946591.mdmp to [email protected]
*************************************************************
EXCEPTION: C0000005 (Access violation) at 00000000004D84A2
PROCESS TERMINATED
Dumps attached
Ok, will do. Thanks
I'd like to be able to monitor the machines on a remote site from my NetXMS installation. I have installed and configured the agent on a server on the remote site and created a port forward on the firewall.
I next created a new zone and added the new agent using the external IP address of the remote site. The server is added under the subnet of the external IP, then underneath I can see the server itself. All seems well and I can monitor it successfully.
I then notice a few moments late that another subnet appears under the same zone but with the IP range of the remote site, then under that the same server. All good so far.
But that's it. None of the other network devices ever appear and I cannot see how to get them to do so. The agent configuration looks fine as I have enabled the proxies. Any ideas?
#
# NetXMS agent configuration file
# Created by agent installer at Thu Jun 13 14:39:47 2013
#
MasterServers = ****
ConfigIncludeDir = C:\Program Files\NetXMS\etc\nxagentd.conf.d
LogFile = {syslog}
FileStore = C:\Program Files\NetXMS\var
EnableWatchdog = yes
EnableProxy = yes
EnableSNMPProxy = yes
RequireAuthentication = yes
RequireEncryption = yes
SharedSecret = ****
SubAgent = ecs.nsm
SubAgent = ping.nsm
SubAgent = logwatch.nsm
SubAgent = portcheck.nsm
SubAgent = winperf.nsm
SubAgent = wmi.nsm
SubAgent = ups.nsm
SubAgent = odbcquery.nsm
ExternalParameter = DNS.Lookup(*):dig +noall +short @$1 $2 A
ExternalParameterShellExec = DNS.Check(*):dig +noall +short @$1 $2 A | find /c "$3"
#UPS subagent configuration section
*UPS
Device = 0:ANY:USB
#ODBC subagent query section
*ODBC
Query = TempSensorTemp:TempSensor:select Value from Reading order by Timestamp desc limit 1:60
@alk said in 1.2.8 Web GUI Win x64 refuses to remain started:
Please try these binaries (uninstall old version and remove leftovers is any):
www.netxms.org/tmp/netxms-webui-1.2.8.exe
www.netxms.org/tmp/netxms-webui-1.2.8-x64.exe
Works like a charm, installed the 64bit version (no java), I also deleted the relevant folders out of C:\Windows\Temp just to be certain.
Many many thanks.
@alk said in 1.2.8 Web GUI Win x64 refuses to remain started:
I did some changes which could resolve this issue, and will push test build to the web later today.
Good news - let me know when and I can test it out for you.
Anyone ideas about this yet?
@victor said in 1.2.8 Win x64 Server, error during install/upgrade:
Hi!
Put attached ssleay.dll to NetXMS bin folder. It's new dependency, and I forgot to include it into installer. Repacked installer will also be available in few hours.
Best regards,
Victor
Perfect, the repackaged installer is working now - many thanks
@alk said in 1.2.8 Web GUI Win x64 refuses to remain started:
Hello.
- Check that all Jetty's are stopped
- Remove all "jetty-*-nxmc.war-*" folders from C:\Windows\Temp\
- Try to start service once again.
Did that and still the same, so I uninstalled the GUI, deleted the installation folder and reinstalled it. Still fails to remain started:
2013-07-22 09:55:17 Commons Daemon procrun stderr initialized
Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
1.v20120215
2013-07-22 09:55:18.928:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\NetXMS\WebUI\contexts at interval 1
2013-07-22 09:55:18.938:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\NetXMS\WebUI\contexts\nxmc.xml
2013-07-22 09:55:19.008:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-\webapp
2013-07-22 09:55:21.218:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-/webapp/},C:\Program Files\NetXMS\NetXMS\WebUI/nxmc/nxmc.war
2013-07-22 09:55:25.597:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\NetXMS\WebUI\contexts at interval 1
2013-07-22 09:55:25.599:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\NetXMS\WebUI\contexts\nxmc.xml
2013-07-22 09:55:25.889:WARN:oejw.WebInfConfiguration:oejw.WebInfConfiguration#makeTempDirectory(WebInfConfiguration.java:360):Can't reuse C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-, using C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842
2013-07-22 09:55:25.893:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842\webapp
2013-07-22 09:55:28.152:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842/webapp/},C:\Program Files\NetXMS\NetXMS\WebUI/nxmc/nxmc.war
2013-07-22 09:55:32.107:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:8787
2013-07-22 09:55:32.108:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED [email protected]:8787: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
at org.eclipse.jetty.start.Main.start(Main.java:602)
at org.eclipse.jetty.start.Main.main(Main.java:82)
2013-07-22 09:55:32.108:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED org.eclipse.jetty.server.Server@1520a8e: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
at org.eclipse.jetty.start.Main.start(Main.java:602)
at org.eclipse.jetty.start.Main.main(Main.java:82)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
at org.eclipse.jetty.start.Main.start(Main.java:602)
at org.eclipse.jetty.start.Main.main(Main.java:82)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
... 7 more
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
2013-07-22 09:55:32.112:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787
2013-07-22 09:55:32.112:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787
2013-07-22 09:55:32.112:INFO:oejs.Server:oejs.Server#doStop(Server.java:310):Graceful shutdown o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842/webapp/},C:\Program Files\NetXMS\NetXMS\WebUI/nxmc/nxmc.war
2013-07-22 09:55:33.380:INFO:oejsl.ELContextCleaner:oejsl.ELContextCleaner#contextDestroyed(ELContextCleaner.java:58):javax.el.BeanELResolver purged
2013-07-22 09:55:33.380:INFO:oejsh.ContextHandler:oejsh.ContextHandler#doStop(ContextHandler.java:788):stopped o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_1431937279036806842/webapp/},C:\Program Files\NetXMS\NetXMS\WebUI/nxmc/nxmc.war
and the other log in case it helps:
[2013-07-22 09:55:17] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized
[2013-07-22 09:55:17] [info] ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 32-bit) started
[2013-07-22 09:55:17] [debug] ( prunsrv.c:559 ) Installing service...
[2013-07-22 09:55:17] [info] ( prunsrv.c:595 ) Service nxWebUI name NetXMS WebUI
[2013-07-22 09:55:17] [debug] ( prunsrv.c:611 ) Setting service description NetXMS Web Interface (jetty)
[2013-07-22 09:55:17] [info] ( prunsrv.c:629 ) Service 'nxWebUI' installed
[2013-07-22 09:55:17] [info] ( prunsrv.c:1729) Commons Daemon procrun finished
[2013-07-22 09:55:17] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized
[2013-07-22 09:55:17] [info] ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 32-bit) started
[2013-07-22 09:55:17] [info] ( prunsrv.c:720 ) Starting service 'nxWebUI' ...
[2013-07-22 09:55:17] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized
[2013-07-22 09:55:17] [info] ( prunsrv.c:1648) Commons Daemon procrun (1.0.9.0 32-bit) started
[2013-07-22 09:55:17] [info] ( prunsrv.c:1561) Running 'nxWebUI' Service...
[2013-07-22 09:55:17] [debug] ( prunsrv.c:1345) Inside ServiceMain...
[2013-07-22 09:55:17] [info] ( prunsrv.c:1089) Starting service...
[2013-07-22 09:55:17] [debug] ( javajni.c:206 ) loading jvm 'C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll'
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[0] -Djetty.home=C:\Program Files\NetXMS\NetXMS\WebUI
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[1] -DSTOP.PORT=8087
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[2] -DSTOP.KEY=downB0y
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[3] -Djetty.logs=C:\Program Files\NetXMS\NetXMS\WebUI\logs
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[4] -Dorg.eclipse.jetty.util.log.SOURCE=true
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[5] -XX:MaxPermSize=128M
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[6] -XX:+CMSClassUnloadingEnabled
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[7] -XX:+CMSPermGenSweepingEnabled
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[8] -Djetty.port=8787
[2013-07-22 09:55:17] [debug] ( javajni.c:660 ) Jvm Option[9] -Djava.class.path=C:\Program Files\NetXMS\NetXMS\WebUI\start.jar
[2013-07-22 09:55:18] [debug] ( javajni.c:844 ) argv[0] = OPTIONS=All
[2013-07-22 09:55:18] [debug] ( javajni.c:844 ) argv[1] = C:\Program Files\NetXMS\NetXMS\WebUI\etc\jetty.xml
[2013-07-22 09:55:18] [debug] ( javajni.c:844 ) argv[2] = C:\Program Files\NetXMS\NetXMS\WebUI\etc\jetty-deploy.xml
[2013-07-22 09:55:18] [debug] ( javajni.c:844 ) argv[3] = C:\Program Files\NetXMS\NetXMS\WebUI\etc\jetty-contexts.xml
[2013-07-22 09:55:18] [debug] ( javajni.c:897 ) Java Worker thread started org/eclipse/jetty/start/Main:main
[2013-07-22 09:55:19] [debug] ( prunsrv.c:1148) Java started org/eclipse/jetty/start/Main
[2013-07-22 09:55:19] [info] ( prunsrv.c:1244) Service started in 1310 ms.
[2013-07-22 09:55:19] [debug] ( prunsrv.c:1496) Waiting for worker to finish...
[2013-07-22 09:55:20] [info] ( prunsrv.c:738 ) Service 'nxWebUI' started
[2013-07-22 09:55:20] [info] ( prunsrv.c:749 ) Start service finished.
[2013-07-22 09:55:20] [info] ( prunsrv.c:1729) Commons Daemon procrun finished
[2013-07-22 09:55:33] [debug] ( prunsrv.c:891 ) Start exit hook called ...
As per thread https://www.netxms.org/forum/installation/webui-1-2-7-64-bit/ v1.2.8 is doing the exact same thing i.e. it reports the address is already in use when it isn't.
Here's the error log:
2013-07-21 03:00:45 Commons Daemon procrun stderr initialized
Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
1.v20120215
2013-07-21 03:00:52.699:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\WebUI\contexts at interval 1
2013-07-21 03:00:52.708:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\WebUI\contexts\nxmc.xml
2013-07-21 03:00:52.838:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-\webapp
2013-07-21 03:00:55.213:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war
2013-07-21 03:00:58.870:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\WebUI\contexts at interval 1
2013-07-21 03:00:58.872:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\WebUI\contexts\nxmc.xml
2013-07-21 03:00:59.023:WARN:oejw.WebInfConfiguration:oejw.WebInfConfiguration#makeTempDirectory(WebInfConfiguration.java:360):Can't reuse C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-, using C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751
2013-07-21 03:00:59.026:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751\webapp
2013-07-21 03:00:59.988:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war
2013-07-21 03:01:03.387:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:8787
2013-07-21 03:01:03.388:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED [email protected]:8787: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
at org.eclipse.jetty.start.Main.start(Main.java:602)
at org.eclipse.jetty.start.Main.main(Main.java:82)
2013-07-21 03:01:03.388:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED org.eclipse.jetty.server.Server@337688d3: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
at org.eclipse.jetty.start.Main.start(Main.java:602)
at org.eclipse.jetty.start.Main.main(Main.java:82)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
at org.eclipse.jetty.start.Main.start(Main.java:602)
at org.eclipse.jetty.start.Main.main(Main.java:82)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
... 7 more
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
2013-07-21 03:01:03.396:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787
2013-07-21 03:01:03.396:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787
2013-07-21 03:01:03.397:INFO:oejs.Server:oejs.Server#doStop(Server.java:310):Graceful shutdown o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war
2013-07-21 03:01:04.640:INFO:oejsl.ELContextCleaner:oejsl.ELContextCleaner#contextDestroyed(ELContextCleaner.java:58):javax.el.BeanELResolver purged
2013-07-21 03:01:04.640:INFO:oejsh.ContextHandler:oejsh.ContextHandler#doStop(ContextHandler.java:788):stopped o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_3379942432851551751/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war
2013-07-21 23:48:02 Commons Daemon procrun stderr initialized
Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
1.v20120215
2013-07-21 23:48:03.794:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\WebUI\contexts at interval 1
2013-07-21 23:48:03.801:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\WebUI\contexts\nxmc.xml
2013-07-21 23:48:03.880:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-\webapp
2013-07-21 23:48:05.598:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war
2013-07-21 23:48:08.792:INFO:oejdp.ScanningAppProvider:oejdp.ScanningAppProvider#doStart(ScanningAppProvider.java:110):Deployment monitor C:\Program Files\NetXMS\WebUI\contexts at interval 1
2013-07-21 23:48:08.793:INFO:oejd.DeploymentManager:oejd.DeploymentManager#addApp(DeploymentManager.java:129):Deployable added: C:\Program Files\NetXMS\WebUI\contexts\nxmc.xml
2013-07-21 23:48:08.942:WARN:oejw.WebInfConfiguration:oejw.WebInfConfiguration#makeTempDirectory(WebInfConfiguration.java:360):Can't reuse C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-, using C:\Windows\TEMP\jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829
2013-07-21 23:48:08.945:INFO:oejw.WebInfConfiguration:oejw.WebInfConfiguration#unpack(WebInfConfiguration.java:455):Extract jar:file:/C:/Program%20Files/NetXMS/WebUI/nxmc/nxmc.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829\webapp
2013-07-21 23:48:10.153:INFO:oejsh.ContextHandler:oejsh.ContextHandler#startContext(ContextHandler.java:737):started o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war
2013-07-21 23:48:13.331:INFO:oejs.AbstractConnector:oejs.AbstractConnector#doStart(AbstractConnector.java:333):Started [email protected]:8787
2013-07-21 23:48:13.332:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED [email protected]:8787: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
at org.eclipse.jetty.start.Main.start(Main.java:602)
at org.eclipse.jetty.start.Main.main(Main.java:82)
2013-07-21 23:48:13.332:WARN:oejuc.AbstractLifeCycle:oejuc.AbstractLifeCycle#setFailed(AbstractLifeCycle.java:199):FAILED org.eclipse.jetty.server.Server@2b6a702b: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
at org.eclipse.jetty.start.Main.start(Main.java:602)
at org.eclipse.jetty.start.Main.main(Main.java:82)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
at org.eclipse.jetty.start.Main.start(Main.java:602)
at org.eclipse.jetty.start.Main.main(Main.java:82)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.Server.doStart(Server.java:272)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
... 7 more
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
2013-07-21 23:48:13.339:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787
2013-07-21 23:48:13.339:INFO:oejs.Server:oejs.Server#doStop(Server.java:301):Graceful shutdown [email protected]:8787
2013-07-21 23:48:13.340:INFO:oejs.Server:oejs.Server#doStop(Server.java:310):Graceful shutdown o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war
2013-07-21 23:48:14.513:INFO:oejsl.ELContextCleaner:oejsl.ELContextCleaner#contextDestroyed(ELContextCleaner.java:58):javax.el.BeanELResolver purged
2013-07-21 23:48:14.513:INFO:oejsh.ContextHandler:oejsh.ContextHandler#doStop(ContextHandler.java:788):stopped o.e.j.w.WebAppContext{/,file:/C:/Windows/Temp/jetty-0.0.0.0-8787-nxmc.war-_-any-_227396275217591829/webapp/},C:\Program Files\NetXMS\WebUI/nxmc/nxmc.war
I keep getting the following error at the end of the install:
---------------------------
netxmsd.exe - Ordinal Not Found
---------------------------
The ordinal 3905 could not be located in the dynamic link library D:\PHP\SSLEAY32.dll.
---------------------------
I can see the NetXMS bin folder has libeay32.dll but not its own corresponding ssleay32.dll - is it possible the version it's finding in my PHP folder is not compatible? I can't remove it as PHP needs it.
@victor said in NetXMS 1.2.8 released:
Yes, looks like some files was corrupted. Now correct versions are uploaded.
Best regards,
Victor
Thanks, much better
Have the files not fully been added to your site as https://www.netxms.org/download/netxms-1.2.8-x64.exe keeps coming down as corrupted?
We're having issues with it under Windows, see our thread here: https://www.netxms.org/forum/installation/web-ui-server-2012/
What version of Java are you using? I think it all started going wrong for me some time after I upgraded to v7_25 but I hadn't used the WebGUI much so I can't be certain.
I'm still not getting anywhere with this, the same error keeps occurring. I have checked with "netstat -ano" that the port is free and have tried configuring Jetty to use both 127.0.0.1 and the IP of the machine instead of 0.0.0.0 but it keeps insisting that the address is already in use.
I even tried copying a newer version of v7 Jetty across and that gets me nowhere, except that a deprecated class is now no longer valid.
@jgmankos said in Setup problem - database connection:
Not getting an error if I log into MySQL via command line with the exact same credentials. Is there a way to log in MySQL to see what NetXMS is trying as credentials?
I'm no MySQL expert, but a quick look around shows there's a "--verbose" and "--debug" parameter for the mysqld service - perhaps one of those will enable better logging in the "{server name}.err" log file found in \MySQL\data
Strange as that's more-or-less exactly the same settings I have:
LogFile = {syslog}
DBDriver = mysql.ddr
DBServer = localhost
DBName = netxms_db
DBLogin = netxms
DBPassword = **********
LogFailedSQLQueries = yes
Any errors in the MySQL .err file? You could also try logging into MySQL from the command-line:
mysql -h 127.0.0.1 -u netxms_usr -p
It will prompt you for the password.
What DB were you trying to connect to in the first place? That config file seems to be set up for MySQL so you need to be use the user-id has locahost access "%" or "localhost" to your MySQL server and the netxms_db database.
@victor said in Using ODBC on remote agent to test table value:
Try to replace odbcquery.nsm with attached one. Should work!
Best regards,
Victor
Perfect, it's all working now. Many thanks.
It's working for this CSV DSN and also a SQLite one I'm also testing.