NNA Won't start!

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
User avatar
BanditBBS
Posts: 2454
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

NNA Won't start!

Post by BanditBBS »

So I ran yum update on both my NNA servers and now neither of them will work. To be fair, we aren't really using them, so not sure if they were fully before I ran the yum update. This is what I get when trying to start the service:

Code: Select all

● nagiosna.service - NagiosNA Daemon
   Loaded: loaded (/usr/lib/systemd/system/nagiosna.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2021-11-02 11:57:29 PDT; 1min 7s ago
  Process: 1613 ExecStart=/etc/rc.d/init.d/nagiosna start (code=exited, status=127)

Nov 02 11:57:29 cms-365-nna01.itciss.com systemd[1]: Starting NagiosNA Daemon...
Nov 02 11:57:29 cms-365-nna01.itciss.com nagiosna[1613]: /usr/bin/env: ‘python’: No such file or directory
Nov 02 11:57:29 cms-365-nna01.itciss.com systemd[1]: nagiosna.service: Control process exited, code=exited status=127
Nov 02 11:57:29 cms-365-nna01.itciss.com systemd[1]: nagiosna.service: Failed with result 'exit-code'.
Nov 02 11:57:29 cms-365-nna01.itciss.com systemd[1]: Failed to start NagiosNA Daemon.
I also applied the latest verions of NNA(was 1 behind) yesterday on both servers.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: NNA Won't start!

Post by gsmith »

Hey there,

Please run the following and send me the output:

Code: Select all

whereis python

ls -l /usr/bin
Thanks
User avatar
BanditBBS
Posts: 2454
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NNA Won't start!

Post by BanditBBS »

Code: Select all

[root@cms-365-nna01 ~]# whereis python
python: /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python3.6-config /usr/bin/python3.6m-config /usr/bin/python3.6m-x86_64-config /usr/lib/python3.6 /usr/lib64/python3.6 /usr/include/python3.6m /usr/share/man/man1/python.1.gz
The LS is way too long to post here, anything particular you are looking for there?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: NNA Won't start!

Post by gsmith »

Hi,

No, that's ok.

Please run the following on the command line:

Code: Select all

sudo ln -s /usr/bin/python3.6 /usr/bin/python
Then try to fire up NNA.

Let me know how things go please.

Thanks
User avatar
BanditBBS
Posts: 2454
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NNA Won't start!

Post by BanditBBS »

That fixed it. Thanks
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: NNA Won't start!

Post by gsmith »

Fantastic!

Have a good night.
Locked