FATAL: the database system is starting up
-
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)Whenever the computer restarts uncleanly I keep getting the above error and netxms doesn't run. Have to start netxsms manually through sudo netxmsd -d
-
-
Yes. That must be the problem. This is what I have in the start up script.
# 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 ;; esacWhat line should I modify to make the netxms launch after 5 minutes?
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login