On Tue, Apr 26, 2011 at 14:35, Greg Swift <gregswift(a)gmail.com> wrote:
I've got anamon enabled on my systems and I noticed that when I
reload
the system, if I'm watching the console, immediately after it boots
for the first time and comes to the login prompt it gets a traceback
to the console. Here is the traceback:
Traceback (most recent call last):
File "/usr/local/sbin/anamon", line 275, in ?
anamon_loop()
File "/usr/local/sbin/anamon", line 224, in anamon_loop
wf.update()
File "/usr/local/sbin/anamon", line 121, in update
self.uploadWrapper()
File "/usr/local/sbin/anamon", line 106, in uploadWrapper
if session.upload_log_data(name, self.alias, sz, offset, data):
File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
return u.close()
File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "exceptions.OSError:[Errno 2] No such file
or directory: '/var/log/cobbler/anamon/systemname'">
And its right... there is no /var/log/cobbler/anamon/systemname...
but there isn't even a /var/log/cobbler.
I do have both {pre,post}_anamon in my kickstart template.
tried googling a bit, didn't find anything useful, but could have just
had the wrong search phases. any suggestions?
-greg
ps. shouldn't matter, but I did go to 2.0.11 last week, but I can't
say for certain this was not happening before last week. I don't
normally watch the console.. and haven't really needed to look at the
anamon output in a while.
I just noticed that I get the exact same loop during the installation
pre scripts.
-greg