Unable to start PID - for source
-
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Unable to start PID - for source
we use Nagios NA 2.3.0
we added 2nd source and it was not Running automatically and not showing any PID. please find the screenshot attached with this.
Got below error @ /usr/local/nagiosna/var/backend.log
Could not access /usr/local/nagiosna/var/FW01/9997.pid for killing: [Errno 2] No such file or directory: '/usr/local/nagiosna/var/FW01/9997.pid'
Could not access /usr/local/nagiosna/var/FW01/9997.pid for killing: [Errno 2] No such file or directory: '/usr/local/nagiosna/var/FW01/9997.pid'
Could not access /usr/local/nagiosna/var/FW01/9997.pid for killing: [Errno 2] No such file or directory: '/usr/local/nagiosna/var/FW01/9997.pid'
Once we restart nagiosna service, 2nd source device started showing netflow data.
Please advice every time we add new source , need to restart the service ? or any fix for this.
we added 2nd source and it was not Running automatically and not showing any PID. please find the screenshot attached with this.
Got below error @ /usr/local/nagiosna/var/backend.log
Could not access /usr/local/nagiosna/var/FW01/9997.pid for killing: [Errno 2] No such file or directory: '/usr/local/nagiosna/var/FW01/9997.pid'
Could not access /usr/local/nagiosna/var/FW01/9997.pid for killing: [Errno 2] No such file or directory: '/usr/local/nagiosna/var/FW01/9997.pid'
Could not access /usr/local/nagiosna/var/FW01/9997.pid for killing: [Errno 2] No such file or directory: '/usr/local/nagiosna/var/FW01/9997.pid'
Once we restart nagiosna service, 2nd source device started showing netflow data.
Please advice every time we add new source , need to restart the service ? or any fix for this.
You do not have the required permissions to view the files attached to this post.
Re: Unable to start PID - for source
Without seeing your source definition, did you specify a unique port for the second source? It cannot be the same as any other source.
Re: Unable to start PID - for source
Thanks @eloyd.
@inas.labib did you confirm what @eloyd asked?
Also time you add a source you need to save and apply configurations this would restart NNA in the process.
Please confirm what @eloyd mentioned.
@inas.labib did you confirm what @eloyd asked?
Also time you add a source you need to save and apply configurations this would restart NNA in the process.
Please confirm what @eloyd mentioned.
-
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Unable to start PID - for source
We specified unique port for second resource.
we could see only "Create source" button while adding new source. may i know where is the "Apply configuration"
we could see only "Create source" button while adding new source. may i know where is the "Apply configuration"
Re: Unable to start PID - for source
After creating new source,you can simply use start button in the UI but if it doesn't work, you just restart the back-end and it should apply the configurations.
This is how you restart it from terminal:
This is how you restart it from terminal:
Code: Select all
/usr/local/nagiosna/bin/nagiosna start
Re: Unable to start PID - for source
Presumably, that should be:dwasswa wrote:This is how you restart it from terminal:Code: Select all
/usr/local/agiosna/bin/nagiosna start
Code: Select all
/usr/local/nagiosna/bin/nagiosna start
-
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Unable to start PID - for source
After adding new source, start button in the UI is not working.
so we need to restart the back-end to apply the configurations every time ? or is there any solution to avoid manual restart. please confirm
so we need to restart the back-end to apply the configurations every time ? or is there any solution to avoid manual restart. please confirm
Re: Unable to start PID - for source
Have you tried changing the port? --> Source page --> Edit --> change port --> Save
Can you show us some of your system message logs?
Also your permissions on this directory
Can you show us some of your system message logs?
Code: Select all
tail -100 /var/log/messages
Code: Select all
ll /usr/local/nagiosna/var/