Thanks. Installed Java SE Development Kit and it worked.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menusudo netxmsd
Using configuration file "/etc/netxmsd.conf"
[17-Jul-2017 07:35:24.126] [INFO ] Platform subagent "/usr/lib/x86_64-linux-gnu/netxms/linux.nsm" successfully loaded
[17-Jul-2017 07:35:24.128] [INFO ] Database driver "pgsql.ddr" loaded and initialized successfully
[17-Jul-2017 07:35:24.138] [ERROR] Your database has format version 404, but server is compiled for version 456
# Description:
### END INIT INFO
#######################################
#
# NetXMS server startup script
# For Ubuntu Linux
#
# Written by Dmitry Chernyshov
# [email protected]
#
#######################################
NETXMS_BINDIR="~BINDIR~"
NETXMS_LIBDIR="~LIBDIR~"
NAME=netxmsd
DAEMON=$NETXMS_BINDIR/netxmsd
PIDFILE=/var/run/netxmsd.pid
test -x $DAEMON || exit 5
. /lib/lsb/init-functions
case "$1" in
start)
# start daemon
log_daemon_msg "Starting NetXMS server" "netxmsd"
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- -p $PIDFILE -d
log_end_msg $?
;;
stop)
log_daemon_msg "Stopping NetXMS server" "netxmsd"
start-stop-daemon --stop --quiet --pidfile $PIDFILE
log_end_msg $?
;;
restart)
$0 stop && sleep 2 && $0 start
;;
esac
14-Mar-2017 21:04:11.465] Log file opened
[14-Mar-2017 21:04:11.884] [INFO ] Platform subagent "/usr/lib/x86_64-linux-gnu/netxms/linux.nsm" successfully loaded
[14-Mar-2017 21:04:12.362] [INFO ] Database driver "pgsql.ddr" loaded and initialized successfully
[14-Mar-2017 21:04:37.534] [ERROR] Unable to establish connection with database (FATAL: the database system is starting up
FATAL: the database system is starting up)
Setting up netxms-agent:amd64 (2.0.8-2) ...
Job for nxagentd.service failed because the control process exited with error code. See "systemctl status nxagentd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nxagentd, action "start" failed.
dpkg: error processing package netxms-agent:amd64 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of netxms-server:amd64:
netxms-server:amd64 depends on netxms-agent; however:
Package netxms-agent:amd64 is not configured yet.
dpkg: error processing package netxms-server:amd64 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Errors were encountered while processing:
netxms-agent:amd64
netxms-server:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
[ERROR] Unable to establish connection with database (Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))