NetXMS Support Forum

English Support => General Support => Topic started by: ZacHow on October 24, 2018, 05:21:58 PM

Title: installing on Centos 7
Post by: ZacHow on October 24, 2018, 05:21:58 PM
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.

Title: Re: installing on Centos 7
Post by: Victor Kirhenshtein on October 24, 2018, 11:12:53 PM
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
Title: Re: installing on Centos 7
Post by: ZacHow on October 26, 2018, 01:37:34 PM
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.
Title: Re: installing on Centos 7
Post by: 91jme on October 29, 2018, 05:39:57 PM
You may find the directory is actually "/usr/local/lib/netxms/".
Title: Re: installing on Centos 7
Post by: 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?
Title: Re: installing on Centos 7
Post by: 91jme on October 30, 2018, 04:21:34 PM
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"?