Xymon Mailing List Archive search

some progress on AIX clientupdate problem

3 messages in this thread

list Jay Brislin · Wed, 25 Apr 2007 16:45:39 -0400 ·
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
list Galen Johnson · Wed, 25 Apr 2007 17:02:08 -0400 ·
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= 
quoted from Jay Brislin

-----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
list Jay Brislin · Thu, 26 Apr 2007 11:42:52 -0400 ·
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.
quoted from Galen Johnson


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