- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rsync problems
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
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
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
06-28-2002 04:32 AM
06-28-2002 04:32 AM
rsync problems
so my server has the following /etc/rsyncd.conf
syslog facility = local5
secrets file = /etc/rsync.secrets
[fulfordt]
path = /export/home/fulfordt
comment = Tims Home dir
uid = root
gid = sys
my inetd.conf file contains
rsync stream tcp nowait root /opt/rsync/bin/rsync rsyncd --daemon
the rsync port is in the /etc/services & is 873/tcp.
I know there MUST be some comms as when I do
rsync
BOTH the server & client return the module name [fulfordt]
I've fiddled it quite a bit so this is just a potted history
HELLLP
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2002 05:19 AM
06-28-2002 05:19 AM
Re: rsync problems
rsync: connection unexpectedly closed (24 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(151)
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2002 05:31 AM
06-28-2002 05:31 AM
Re: rsync problems
rsync --port=11678 -avz domain-hp.com::HPUX-depots/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2002 06:27 AM
06-28-2002 06:27 AM
Re: rsync problems
I changed the port to 11678 on both the client & server machines. No there seems to be an authentication problem when running from the client
rsync: failed to connect to a180tst3: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(89)
The same problem when running from the server.!!!
Any more
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2002 07:27 PM
06-28-2002 07:27 PM
Re: rsync problems
please go throgh the sample rsyncd.conf in client side
[DEFAULT_IN]
path = /home/username/recv
comment = Directory that you want to recieve files into
hosts allow = 110.112.17.0/255.255.0.0
read only = false
exclude = .protect
list = true
you need to specify the IP address on both side
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2002 07:01 AM
06-29-2002 07:01 AM
Re: rsync problems
AHGH.... Does this mean I also need to have a deamon process running on the client side?
I will try Monday... & assign points appropriately
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 01:51 AM
07-01-2002 01:51 AM
Re: rsync problems
Couldn't get it to go!!!!
SERVER: (a180tst3)
/etc/rsyncd.conf (rw-r--r-- root sys)
syslog facility = local5
secrets file = /etc/rsync.secrets
[fulfordt]
path = /export/home/fulfordt
comment = Tims Home dir
hosts allow = 193.164.192.208,193.164.192.202,127.0.0.1
read only = false
exclude .protect
list = true
uid = root
gid = sys
/etc/rsync.secrets (r-------- root sys)
root:
/etc/inetd.conf (r--r--r-- root sys)
:
rsync stream tcp nowait root /opt/rsync/bin/rsync rsyncd --daemon
/etc/services (r--r--r-- root sys)
rsync 873/tcp
[ & I've also tried 11678]
CLIENT:
/etc/rsyncd.conf (rw-r--r-- root sys)
syslog facility = local5
secrets file = /etc/rsync.secrets
[fulfordt]
path = /export/home/fulfordt
comment = Replica of Tims dir
hosts allow = 193.164.192.202,193.164.192.208,127.0.0.1
read only = false
exclude = .protect
list = true
uid = root
gid = sys
/etc/rsync.secrets (r-------- root sys)
root:
When I do
# rsync -avz --delete [--port=11678] a180tst3::fulfordt .
Either port 873 or 11678 I get the error message
rsync: connection unexpectedly closed (24 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(151)
IF I get the wrong port I get
rsync: failed to connect to a180tst3: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(89)
Even if I try to do server-server I get same error messages.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 05:05 AM
07-01-2002 05:05 AM
Re: rsync problems
example like
gid = bin
uid = bin
use chroot = yes
[test]
path = /
comment = directory that you want to send files from
read only = true
hosts allow = 193.164.192.0/255.255.255.0 127.0.0.1/31 logfile=var/log/rsync_log.log
log format="%o %h [%a] %m (%u) %f %l"
list=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 07:34 AM
07-01-2002 07:34 AM
Re: rsync problems
same error code, no joy...
rsync: connection unexpectedly closed (24 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(151)
I have just noticed that it generates a core file in the source/server directory
what core
core:
$ PATHCH/11.00:PHCO_16039 Jul 28 1998 16:05:28 $
$ PATCH/11.00:PHCO_19491 Aug 9 1999 09:53:07 $
SMART_BIND
92453-07 dld dld dld.sl B.11.13 990903
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 06:59 PM
07-01-2002 06:59 PM
Re: rsync problems
tusc -f -l -p -E -o /tmp/tusc.out command line
best of luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 02:47 PM
07-02-2002 02:47 PM
Re: rsync problems
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 02:43 PM
02-26-2003 02:43 PM
Re: rsync problems
Were you able to arrive at a resolution to this problem?
We are encountering the same error:
rsync: connection unexpectedly closed (12 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
thanks
Joel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 02:48 PM
02-26-2003 02:48 PM
Re: rsync problems
Many thanks for your interest though.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 02:19 PM
02-27-2003 02:19 PM
Re: rsync problems
Thanks for the reply. I was able to get it working. Here's what I did just in case anyone else runs into similar problems. I had three problems in my rsyncd.conf file -
1 - incorrect gid
2 - invalid log file location (directory didn't exist)
2 - need to add the parameter read only = false
see the following link:
http://rsync.samba.org/fom-serve/cache/191.html
getting lazy in my age ;)
Joel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 04:18 AM
03-06-2003 04:18 AM
Re: rsync problems
Thanks again for the interest. I've tried putting in
read only = false
AND
read only = no
Both to no effect. I know something must be happening as when I use
rsync -avz --delete host:/export/home/fulfordt .
This works, but using the "modules" fails!! I have to say I'm really not too sure how the modules work!
Tim