installing on Centos 7

Started by ZacHow, October 24, 2018, 05:21:58 PM

Previous topic - Next topic

ZacHow

Hi,

After installing the agent on Centos 7 and starting the service, I add the server to the management console and I keep getting the attached alarms in alarm browser.

Any ideas? I've specified the log file location in the .config file, the path exists. The install is only the agent, not server, so it shouldnt require a database?

Thanks,

zac.


Victor Kirhenshtein

Hi,

most likely that means that agent process does not have write access to it's data directory. Agent uses SQLite database to keep some persistent information. Most important use of this database it to keep data collection configuration and collected data if agent cache mode is on and agent collects information with server being disconnected. Default location for database file is $prefix/var/lib/netxms

Best regards,
Victor

ZacHow

Hi Victor,

I havent installed SQLite, does it install it as part of the setup process?

There is no file in the location which you pointed me to unfortunately.

Any ideas?

Thanks,

zac.

91jme

You may find the directory is actually "/usr/local/lib/netxms/".

ZacHow

Quote from: 91jme on October 29, 2018, 05:39:57 PM
You may find the directory is actually "/usr/local/lib/netxms/".

Thanks for the suggestion. I took a look, and there is a .ddr file, but this doesnt seem to be the DB file. (I have attached screenshot)

I havent changed any settings regarding the DB.

Any other suggestions?

91jme

Quote from: ZacHow on October 30, 2018, 11:39:14 AM
Quote from: 91jme on October 29, 2018, 05:39:57 PM
You may find the directory is actually "/usr/local/lib/netxms/".

Thanks for the suggestion. I took a look, and there is a .ddr file, but this doesnt seem to be the DB file. (I have attached screenshot)

I havent changed any settings regarding the DB.

Any other suggestions?

Have you already tried starting the daemon as root? "sudo /usr/local/bin/nxagentd -d"?