Hi,
Running nsscache -c /etc/nsscache/nsscache.conf update -f --force-lock gave the following error, there is another nsscache job that that runs often with update option only.
I wonder if the pid written is not properly parsed?? Oddly, i cant seem to reproduce using -d -v hence no debug log so far..
Traceback (most recent call last):
File "/usr/local/booking-python/2.7.2/bin/nsscache", line 33, in <module>
return_value = nsscache_app.Run(sys.argv[1:], os.environ)
File "/usr/local/booking-python/2.7.2/lib/python2.7/site-packages/nss_cache/app.py", line 242, in Run
retval = command_callable().Run(conf=conf, args=args)
File "/usr/local/booking-python/2.7.2/lib/python2.7/site-packages/nss_cache/command.py", line 235, in Run
force_lock=options.force_lock)
File "/usr/local/booking-python/2.7.2/lib/python2.7/site-packages/nss_cache/command.py", line 253, in UpdateMaps
if not self._Lock(path=conf.lockfile, force=force_lock):
File "/usr/local/booking-python/2.7.2/lib/python2.7/site-packages/nss_cache/command.py", line 144, in _Lock
return self.lock.Lock(force=force)
File "/usr/local/booking-python/2.7.2/lib/python2.7/site-packages/nss_cache/lock.py", line 153, in Lock
self.SendTerm()
File "/usr/local/booking-python/2.7.2/lib/python2.7/site-packages/nss_cache/lock.py", line 177, in SendTerm
pid = int(pid)
ValueError: invalid literal for int() with base 10: ''