NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: installing on Centos 7  (Read 964 times)

ZacHow

  • Newbie
  • *
  • Posts: 16
    • View Profile
installing on Centos 7
« 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.

Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6584
    • View Profile
Re: installing on Centos 7
« Reply #1 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
Logged

ZacHow

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: installing on Centos 7
« Reply #2 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.
Logged

91jme

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: installing on Centos 7
« Reply #3 on: October 29, 2018, 05:39:57 pm »

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

ZacHow

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: installing on Centos 7
« Reply #4 on: October 30, 2018, 11:39:14 am »

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?
Logged

91jme

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: installing on Centos 7
« Reply #5 on: October 30, 2018, 04:21:34 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"?
Logged