- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rdist deletes links and directories from root!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 07:15 PM
тАО10-04-2005 07:15 PM
I am running rdist (version 7.0.0). It has been running fine for a few years until today!
The destination server keeps on getting /bin (link to /usr/bin) removed. I have checked the source server and have nailed it down to one of three files containing the word bin in their paths. When I run the update manualy /bin is removed. When I create a test ditribution and create "fred" in the / file system (/fred) and then create a source direcoroty containing fred (/export/home/user1/fred) rdist creates the /export/home/user1/fred but also removes /fred.
Anyone have any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 07:48 PM
тАО10-04-2005 07:48 PM
Re: rdist deletes links and directories from root!
http://docs.hp.com/en/B3921-90010/rdist.1.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 07:54 PM
тАО10-04-2005 07:54 PM
Re: rdist deletes links and directories from root!
Are you using configuration file with rdist or without that using command line options? Plz post the details and verbose output (-v)
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:01 PM
тАО10-04-2005 08:01 PM
Re: rdist deletes links and directories from root!
I know this is a HP forum but this problem is on one of the few solaris 2.8 boxes I manage.
I am running the following from the command line
rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -o remove,younger -t 20 -l syslog=all -L syslog=all test99
the infile containing test99 declares;
test99: /export/home/mduffy/basics -> ${HOSTS}
I know that the issue is with the bin in the source file structure as I have numerous other dists running in cron and not of those sources contain dist. As I said ealier if I create fred in root and then in /export/home/mduffy/basics it duplicates but also removed /fred be it either a link or directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:07 PM
тАО10-04-2005 08:07 PM
Re: rdist deletes links and directories from root!
http://www.adminschoice.com/docs/Solaris_Error_Messages_T_Z.htm
http://www.sun.com/bigadmin/home/index.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:09 PM
тАО10-04-2005 08:09 PM
Re: rdist deletes links and directories from root!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:10 PM
тАО10-04-2005 08:10 PM
Solution# rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -o remove,younger -t 20 -l syslog=all -L syslog=all test99
Is there any error or warning message you got logged in local syslog or remote syslog.
I just referred,
http://www.magnicomp.com/rdist/7.0/doc/rdist.html
why you are using remove option. can you try as,
# rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -o younger -t 20 -l syslog=all -L syslog=all test99
update with your try and error messages.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:17 PM
тАО10-04-2005 08:17 PM
Re: rdist deletes links and directories from root!
Thanks for the info.
I have tried this and it does stop deleting the /fred from root but continues to update as required. The only problem is that if I delete a file on the source the delete is not reflected on the destination.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:27 PM
тАО10-04-2005 08:27 PM
Re: rdist deletes links and directories from root!
# rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -t 20 -l syslog=all -L syslog=all test99
May be bcas of younger setting too.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:32 PM
тАО10-04-2005 08:32 PM
Re: rdist deletes links and directories from root!
rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -t 20 -l syslog=all -L syslog=all test99
still removed the /bin link to /usr/bin/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:35 PM
тАО10-04-2005 08:35 PM
Re: rdist deletes links and directories from root!
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:37 PM
тАО10-04-2005 08:37 PM
Re: rdist deletes links and directories from root!
It seems to me that when it goes to do a remove it somehow does not use the fully qualified path to the file and so uses / as the start and so removes the wrong file.
It then does have the full path to put the file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:53 PM
тАО10-04-2005 08:53 PM
Re: rdist deletes links and directories from root!
# rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -t 20 -o whole -l syslog=all -L syslog=all test99
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 09:03 PM
тАО10-04-2005 09:03 PM
Re: rdist deletes links and directories from root!
Still deletes the /bin link!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 09:23 PM
тАО10-04-2005 09:23 PM
Re: rdist deletes links and directories from root!
# rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -t 20 -o whole,younger -l syslog=all -L syslog=all test99
Full path name problem will be solved with whole and deletion will be solved with younger.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 09:27 PM
тАО10-04-2005 09:27 PM
Re: rdist deletes links and directories from root!
This command;
rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -o whole,younger -t 20 -l syslog=all -L syslog=all test99
Still removes the /bin link and also does not pass file deletes from the source to the dest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 09:36 PM
тАО10-04-2005 09:36 PM
Re: rdist deletes links and directories from root!
what is that file permission of /bin and /usr/bin.
You can use ignlnks (ignore links) setting may be.
# rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -o ignlnks,whole,younger -t 20 -l syslog=all -L syslog=all test99
or
# rdist -f /opt/StEx/etc/Distfile.cm -p /opt/StEx/bin/rdistd -o ignlnks,younger -t 20 -l syslog=all -L syslog=all test99
Please do one thing before trying /bin as,
# source machine
# mkdir /fred/test
# ln -s /fred/test /fred/link
Now try with this remote machine.
hth.