I fixed it with an ugly hack but it works. I edited the clientupdate.c on line 200 to include the path of the GNU tar ( /opt/freeware/bin/tar on AIX ) for the tar command and remade the client.
The AIX client is now updating properly.
Galen Johnson wrote:
Sounds like it's trying to untar a compressed (gz) file which standard tar can't handle...might be better if a TGZ command could be defined that defaults to tar -zxf...otherwise use 'gzip -dc FILE | tar xf -'
Of course, this is presuming my supposition is correct.
=G=
-----Original Message-----
From: Jay Brislin [mailto:user-745a59abae2f@xymon.invalid] Sent: Wednesday, April 25, 2007 4:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] some progress on AIX clientupdate problem
I replaced the AIX tar executable with a version of GNU tar and the clientupdate was successful.
Since I can't really do that on our other AIX systems I just added the PATH to the GNU tar first in the hobbit .profile but unfortunately that doesn't work.
If we could redefine where clientupdate gets the "tar" executable from I think this problem would be solved.
--
Jay
--
Jay