1820140 Members
3332 Online
109619 Solutions
New Discussion юеВ

rsync

 
keith demingware
Occasional Advisor

rsync

I get the following error when trying to execute rsync from my HP L2000 server running hpux 11i.

/usr/lib/dld.sl: Can't open shared library: /opt/gnome/lib/libiconv.sl.2
/usr/lib/dld.sl: No such file or directory

I have all of the libraries in /home/gnome/lib

(-rwxrwxrwx 1 bin bin 745472 Nov 27 2002 libiconv.sl.2)

I have also edited my SHLIB_PATH to look like this in the /etc directory
/usr/lib:/etc/opt/resmon/lib:/home/gnome/lib:/home/mozilla

Any help would be appreciated.f.org/licenses/gpl.html
just when you thought you had the answer
4 REPLIES 4
Luk Vandenbussche
Honored Contributor

Re: rsync

Hi,

Have you installed also the runtime dependencies?

These are available from
http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=/rsync
Geoff Wild
Honored Contributor

Re: rsync

Or try rdist (old but built into HP-UX).

I use it like so:

Cron:
# Copy prdadm across to the DR site.
05 01 * * * /app/admin/drp/update-binaries.sh


# cat /app/admin/drp/update-binaries.sh
#! /bin/sh

# Keep the DRP copy of the adm up-to-date.
# Currently the files are in:
#
# /home/prdadm/DR
#
# See the rdist(1M) distfile for a list of exclusions.

DRPDIR=/app/admin/drp
DRPHOST=svr031

HOST=`/usr/bin/uname -n`
PRD=`cmviewcl |grep prddbci |awk '{print $5}'`
if [ "$HOST" = "$PRD" ]
then
mount | grep /home > /dev/null 2>&1
if [ $? -eq 0 ]
then
for vg in `ls -d /dev/vg5* |awk -F/ '{print $3}'`
do
/usr/sbin/vgexport -p -s -v -m /home/prddm/DR/$vg.map /dev/$vg
done
cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl /home/prdadm/DR/
cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.full /home/prdadm/DR/
cp -p /etc/cmcluster/PRDDBCI/prddbci.cntl.mountonly /home/prdadm/DR/
( su - prdadm -c "rdist -f $DRPDIR/distfile prdadm"; ) 2>&1 |\
tee $DRPDIR/drp.log 2>&1 |\
mailx -s "prdadm DRP rdist output" gwild@mydomain.com
fi



# cat /app/admin/drp/distfile
PRDDR = ( svr031 )

#
# File systems to be copied over to the DR host.
# Don't use -R in install - so as not to remove files on destination host
PRDADM = /home/prdadm

prdadm: ( ${PRDADM} ) -> ( ${PRDDR} )
install -w ;



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
J Busch
Advisor

Re: rsync

Had same problem with the Rsync off HPUX porting web site. Ended up getting rsync from HP Depot. Sense then have not had a problem.

http://h20293.www2.hp.com

search for

HP-UX Internet Express for HP-UX 11i v1

Just pick the modules you want.

keith demingware
Occasional Advisor

Re: rsync

Thanks for everyones help in regards to my rsync questions. Your help is greatly appreciated.
just when you thought you had the answer