Operating System - HP-UX
1834144 Members
2149 Online
110064 Solutions
New Discussion

problem with rdist and chmod call

 
SOLVED
Go to solution
bit_bucket
Occasional Contributor

problem with rdist and chmod call

I have an 11.23 server that I am attempting to rdist data to. The boxes which I am rdisting from are 11.00 and 11.11. Whenever it rdists anything over, I get an error message towards the end like the following:
Note: : chown failed (f_chmog): file : Invalid argument. On another server with the same setup and identical binaries, I am not having any troubles like this. Anyone have any idea what could be causing this?
There are 10 types of people in this world, those who understand binary and those who dont
6 REPLIES 6
KFU$KER
Frequent Advisor

Re: problem with rdist and chmod call



This would require a request. Send it to the place for the other ones to apply a constraint.


dhh dhhfy djjdj dkkfjdhs kdkdjf to 1001 2883 477464 5 w r w www w rrr www rrr r r r

yes no
Michael Steele_2
Honored Contributor

Re: problem with rdist and chmod call

rdist won't work unless the same versions exist on each machine.
Support Fatherhood - Stop Family Law
bit_bucket
Occasional Contributor

Re: problem with rdist and chmod call

I thought that this may be the issue, however I have the same setup at another location with the different versions of rdist and it works without error, so there may be more to this than that.
There are 10 types of people in this world, those who understand binary and those who dont
spex
Honored Contributor

Re: problem with rdist and chmod call

bit_bucket,

Just because the command worked on one group of systems does not mean that it will work on all similar configurations. You are are using rdist in an unsupported manner, so it is no surprise that it fails.

Having said that, you could do a little investigation. Compare ownership & permissions of the file that errored to the original. How do they differ? Are the distfiles exactly the same? How about the users running rdist? Are they the same? Does rdist always fail, or does it work under some circumstances (for certain users, certain files, etc.)?

Also, I wasn't clear as to which server(s) (11.00 or 11.11) you got the error on.

PCS
James R. Ferguson
Acclaimed Contributor
Solution

Re: problem with rdist and chmod call

Hi:

Perchance are the failures for paths that are symbolic links?

You might try applying the "r-commands cumulative mega-patch" for 11.0, 11.11. and 11.23. See the ITRC Patch database and search for 'rdist'.

Regards!

...JRF...

bit_bucket
Occasional Contributor

Re: problem with rdist and chmod call

JRF, I believe you are on to somthing. This seems to be with sym links items. I will patch these and give them a try. Thanks for you response.
There are 10 types of people in this world, those who understand binary and those who dont