LinuxMint 20.04 Installation issues
-
Hi, Trying to install on LM20.04 but am hitting issues.
I have both PostgreSQL and MySQL installed - have installed the driver for PostgreSQL as when I try and install the driver for MySQL it says
sudo apt-get install netxms-dbdrv-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package netxms-dbdrv-mysqlI then try "/usr/local/bin/nxdbmgr init" but get
/user/local/bin/nxdbmgr init
bash: /user/local/bin/nxdbmgr: No such file or directoryAlso I dont see anywhere where it says how to launch the webgui ?
-
MySQL driver is not available on Ubuntu / Mint 20. You can use mariadb driver instead, it's compatible.
If you installed server from packages, nxdbmgr should be in /use/bin (and it's in default path)
Web UI - install jetty or tomcat, then deploy nxmc.war from the web site.
-
Hi , Thanks for the quick response - unfortunately it still doesn't work - Ive done a fresh install of 20.04 and a fresh install of Netxms. The provided instructions are both wrong and confusing .
I now get the following errors
sudo /usr/bin/nxdbmgr init
NetXMS Database Manager Version 3.4.232 Build 3.4-232-g55c414782e (UNICODE)Unable to load and initialize database driver ""
and
sudo systemctl start netxms-server
Failed to start netxms-server.service: Unit netxms-server.service not found.Postgresql is running and listening on port 5432
-
What's in /etc/netxmsd.conf?
When installed, netxms-server package show following message:NetXMS server is installed but currently stopped. Additional steps required: 1. Edit default configuration file (/etc/netxmsd.conf) 2. Load database schema nxdbmgr init 3. Start daemon with command: systemctl start netxms-serverI've updated installation guide a bit, it should be pushed to to web soon.
-
Hi, Again thanks for the reply.
I did somehow get it working briefly last night , but then today LM 20.04 had some updates that required a reboot and now it doesn't work again.
The daemon I think is running.
sudo systemctl status netxmsd
● netxmsd.service - NetXMS Server
Loaded: loaded (/lib/systemd/system/netxmsd.service; disabled; vendor pres>
Active: active (running) since Thu 2020-07-30 15:44:22 BST; 1h 29min ago
Process: 5220 ExecStart=/usr/bin/netxmsd -d (code=exited, status=0/SUCCESS)
Main PID: 5233 (netxmsd)
Tasks: 94 (limit: 9304)
Memory: 32.2M
CGroup: /system.slice/netxmsd.service
└─5233 /usr/bin/netxmsd -dJul 30 15:44:22 Hampton-Downs systemd[1]: Starting NetXMS Server...
Jul 30 15:44:22 Hampton-Downs systemd[1]: Started NetXMS Server.But when I try to login via ncmc I get
Connection Error - Access denied.
I have followed the instructions to reset the password (which seemed to be successful)
-
"nxdbmgr reset-system-account" unlock account "system", not "admin".
Login as system/netxms, then change password for user admin in user manager and re-lock user "system" -
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