Hello,
Today I did NAV installation using this excellent howto:
http://metanav.ntnu.no/moin.cgi/InstallingOnRHEL4
After adding some devices I have problem with using nav start/stop script:
[root@nav ~]# /usr/local/nav/bin/nav start
"-":8: bad minute
errors in crontab file, can't install.
Starting networkDiscovery: Failed
Traceback (most recent call last):
File "/usr/local/nav/bin/nav", line 181, in ?
main(sys.argv[1:])
File "/usr/local/nav/bin/nav", line 101, in main
commandFunc(queryList)
File "/usr/local/nav/bin/nav", line 136, in c_start
serviceIterator(queryList, helper)
File "/usr/local/nav/bin/nav", line 113, in serviceIterator
func(services[service])
File "/usr/local/nav/bin/nav", line 132, in helper
service.start()
File "/usr/local/nav/lib/python/nav/startstop.py", line 166, in start
raise e
nav.startstop.CrontabError: 256
I looked at navcron files and didn't find any errors, can anybody help? Where
I should look for an errors?
thanks.
--
Woj
>From woj at tstd.pl Tue Dec 27 19:49:35 2005
From: woj at tstd.pl (Wojciech Kozicki)
Date: Tue Dec 27 19:50:00 2005
Subject: [Nav-users] weird problem
In-Reply-To:
200512271921.22867.woj@tstd.pl
References:
200512271921.22867.woj@tstd.pl
Message-ID:
200512271949.35618.woj@tstd.pl
On Tuesday 27 December 2005 19:21, Wojciech Kozicki wrote:
> Hello,
>
> Today I did NAV installation using this excellent howto:
>
http://metanav.ntnu.no/moin.cgi/InstallingOnRHEL4
>
> After adding some devices I have problem with using nav start/stop script:
>
> [root@nav ~]# /usr/local/nav/bin/nav start
> "-":8: bad minute
> errors in crontab file, can't install.
> Starting networkDiscovery: Failed
> Traceback (most recent call last):
> File "/usr/local/nav/bin/nav", line 181, in ?
> main(sys.argv[1:])
> File "/usr/local/nav/bin/nav", line 101, in main
> commandFunc(queryList)
> File "/usr/local/nav/bin/nav", line 136, in c_start
> serviceIterator(queryList, helper)
> File "/usr/local/nav/bin/nav", line 113, in serviceIterator
> func(services[service])
> File "/usr/local/nav/bin/nav", line 132, in helper
> service.start()
> File "/usr/local/nav/lib/python/nav/startstop.py", line 166, in start
> raise e
> nav.startstop.CrontabError: 256
and one more:
[root@nav /]# /usr/local/nav/bin/nav status
networkDiscovery: Up
NOTICE: Current crontab does not match the content of networkDiscovery
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cricket: Up
eventEngine does not seem to be running...
logengine: Up
backup: Up
servicemon.py does not seem to be running...
smsd.pl does not seem to be running...
thresholdMon: Up
mactrace: Up
iptrace: Up
safe_smsd: Up
Alertengine is not running.
> I looked at navcron files and didn't find any errors, can anybody help?
> Where I should look for an errors?
>
> thanks.
--
Woj