Moving our production NetXMS server to a new computer server. I have an issue.
-
Try to run netxmsd with elevated debug by adding
DebugLevel = 6
to /etc/netxmsd.conf and share log file for startup.Best regards,
Victor -
Hi, Filipp. I did that you mentioned in the your latest post reply. I did not find 2022.06.06 11:41:35.641 *I* [comm.listener ] SocketListener/Clients: listening on 0.0.0.0:4701
However I found in the same file the following lines:
2022.06.07 13:05:47.148 *I* [ ] Platform subagent "/usr/lib/x86_64-linux-gnu/netxms/linux.nsm" successfully loaded
2022.06.07 13:05:47.149 *I* [db.drv ] Database driver "mariadb.ddr" loaded and initialized successfully
2022.06.07 13:05:47.150 *I* [comm.listener ] SocketListener/LocalAdmin: listening on 127.0.0.1:21784
2022.06.07 13:05:47.150 *I* [comm.listener ] SocketListener/LocalAdmin: listening on [127.0.0.1]:21784
2022.06.07 13:06:12.175 *E* [db ] Unable to establish connection with database (Access denied for user 'netxms'@'localhost' (using password: NO))I hope these lines help.
My best
Jose -
Well, this line gives the answer:
2022.06.07 13:06:12.175 *E* [db ] Unable to establish connection with database (Access denied for user 'netxms'@'localhost' (using password: NO))
NetXMS was not able to connect to the database. Check your login and password and that the database accepts connection from that IP address. -
Hi, Filipp. I am agree with you. However, I can log to the database with the same root credentials. I attach a screenshot. It is weird for me. Meanwhile I was working in this database connection issue. I have the following idea:
Because, I moved the database file into a new computer server. Maybe, I need to use the same root password that I use in the production server. I am going to try it.
My best
Jose

-
Try connecting from the machine where your netxms server is running by giving the IP address of your database server:
mysql -u root -p -h 1.2.3.4
1.2.3.4 should be replaced by IP address of your database server.
-
-
How the IP of DB server is configured in netxmsd.conf? Is it like this:
DBServer=127.0.0.1If so, try
mysql -u root -p -h 127.0.0.1 -
-
2022.06.07 16:44:25.647 *E* [db ] Your database has format version 40.100, but server is compiled for version 41.17
This means that netxms managed to connect to the database, but netxms binaries are newer version then these that were used last time with this database. Please execute
nxdbmgr upgradeand once it complete try to start netxms again.
-
-
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

