rsync - remote connection error


 
Thread Tools Search this Thread
Operating Systems Solaris rsync - remote connection error
# 1  
Old 11-24-2011
rsync - remote connection error

Hi ,

We have installed rsync in two Solaris boxes, when we try to sync files from one machine to another.. it is giving the following error.

Code:
ld.so.1: rsync: fatal: libiconv.so.2: open failed: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]

rsync is working locally.. but not with the remote client.

Any idea?

Last edited by pludi; 11-25-2011 at 11:40 AM..
# 2  
Old 11-24-2011
As far as I know libiconv is responsible for converting character encodings to/from unicode. Can you tell us how you have installed rsync on the systems? Did you compile from sources code or do a package installation?

The solution to this problem would be to add the specific package which provides this specific version of the shared library file if it's not already present in the system.

You can find out if the rsync program correctly loads the .so file by using this command:
Code:
ldd `which rsync`

Find if your system already has the .so file with the find command:
Code:
find / -xdev -type f -name "libiconv.so.2"

If it shows result, then you need to make sure if the path to that file is in LD_LIBRARY_PATH environment variable. If not, add the path and export the variable:
Code:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rsync Error: rsync: link_stat failed: No such file or directory (2)

I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies

2. Shell Programming and Scripting

Using rsync --link-dest pointing to a remote server

Ok, I'm trying to figure out how to reference a remote file using the rsync --link-dest parameter. Here is the code I have so far: # # FILESERVER INCREMENTAL BACKUP SCRIPT # # Remove previous log file rm /usr/local/bin/rsync-incremental.log # Set daily variables DAY0=`date -I`... (6 Replies)
Discussion started by: Orionizer
6 Replies

3. Shell Programming and Scripting

Rsync through java program - issues with remote connection failure

Hi Everybody, I am running rsync through my java application. The Java application will sync the files with remote machine. During our connection failure testing we noticed an issue running rsync through java program. The java application which is running at source side is not receiving any... (2 Replies)
Discussion started by: MVEERA
2 Replies

4. UNIX for Advanced & Expert Users

Using remote rsync, but copy locally?

I'm looking to use rsync to compare remote files and to copy the diff to a local directory, rather than transfer over the net. The net connection is not fast enough to transfer these files (~1.8TB) and I'd like to sneakernet them instead. Possible? (4 Replies)
Discussion started by: dfbills
4 Replies

5. Shell Programming and Scripting

Rsync remote to remote

Hi there. Google and forum search are silent for any requests. So the question is: how to rsync remote host to remote host over rsyncd? The source and target have differs in rsyncd user, host, module name, and the main - password. I realize that command should look like rsync $opts_here... (0 Replies)
Discussion started by: strider_scripts
0 Replies

6. UNIX for Advanced & Expert Users

Problem with rsync - connection unexpectedly closed

Hi i am running a rsync between two remote servers but it errors. The rsync command is a follows rsync -aWv -e rsh --stats progress --delete --ignore-errors --exclude .DS_Store --exclude .HSancillary --exclude .HSxmap --exclude .HSResource /raid1/PRODUCTION/ ... (0 Replies)
Discussion started by: treds
0 Replies

7. Shell Programming and Scripting

How to write a shell script for rsync to remote server?

Hello, Can you help me to write a shell script for rsync a folder from my server to remote server ? i do this in ssh by this command : rsync -avz -e ssh /copy/me/ login@serverip:/where/to i want have a shell script that do this command. and you know that this command ask remote... (0 Replies)
Discussion started by: Desperados
0 Replies

8. Shell Programming and Scripting

rsync multiple remote directories one connection

Hi, I want to specify multiple remote directories but want to transfer them in a single command with one connection with remote server. e.g. rsync -vrt --size-only --delete user@host:/home/user1/dir1 user@host:/home/user1/dir2 user@host:/home/user1/dir3 .... local_dir/ I want to... (0 Replies)
Discussion started by: sardare
0 Replies

9. UNIX for Dummies Questions & Answers

ssh_exchange_identification: Connection closed by remote host Connection closed

Hi Everyone, Good day. Scenario: 2 unix servers -- A (SunOS) and B (AIX) I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time. Some of these sftp's fail with the following error: ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies

10. Shell Programming and Scripting

remote sybase connection and php error.

Hi all, I am trying to connect to a remote sybase database server (sitting on windows) from my freebsd apache webserver. My Webserver has installed; Apache2.0 PHP 4.3.8 Freetds with ODBC enables ( tsql works but isql doesnt ) unixODBC syabse-ocsd When i connect with tsql from... (4 Replies)
Discussion started by: lealyz
4 Replies
Login or Register to Ask a Question