SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Problems with File-RsyncP-0.46 on Solaris
Author Message
Post Problems with File-RsyncP-0.46 on Solaris 
Setup is Solaris 9 machine using BackupPC-2.0.2 and Rsyncd to backup XP machine.
Using ActivePerl 5.8.3 and File-RsyncP-0.46.

It falls over everytime with this error:

2004/3/11 10:58:53 Started full backup on spook (pid=29498, share=dDrive)
2004/3/11 10:59:06 spook: Cannot compress negative numbers in pack at /home/backuppc/lib/BackupPC/Attrib.pm line 289.
2004/3/11 10:59:17 Backup failed on spook (Child exited prematurely)

File-RsyncP-0.44 works fine, though I am having other problems similar to
thread "backuppc runs for a while, then becomes a zombie".
Seems to only affect Solaris, as I have another BackupPC install on SuSE 9.0, which is
working OK with 0.46.
It isn't a problem with the version of Perl, as I have tried it with 3 different
versions.

Anyone got any ideas?

Michael

--
Michael Keightley <Michael.Keightley < at > quadstone.com> Tel: +44 131 240 3137
Systems Manager, Quadstone Limited, Fax: +44 131 220 4492
16 Chester Street, Edinburgh EH3 7RA, Scotland http://www.quadstone.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Problems with File-RsyncP-0.46 on Solaris 
Michael Keightley writes:

Setup is Solaris 9 machine using BackupPC-2.0.2 and Rsyncd to backup XP machine.
Using ActivePerl 5.8.3 and File-RsyncP-0.46.

It falls over everytime with this error:

2004/3/11 10:58:53 Started full backup on spook (pid=29498, share=dDrive)
2004/3/11 10:59:06 spook: Cannot compress negative numbers in pack at /home/backuppc/lib/BackupPC/Attrib.pm line 289.
2004/3/11 10:59:17 Backup failed on spook (Child exited prematurely)

File-RsyncP-0.44 works fine, though I am having other problems
similar to thread "backuppc runs for a while, then becomes a
zombie". Seems to only affect Solaris, as I have another BackupPC
install on SuSE 9.0, which is working OK with 0.46. It isn't a
problem with the version of Perl, as I have tried it with 3
different versions.

Ok, this was a change I made in 0.46 to support backward compatibility
to perl 5.005_03.

In File-RsyncP-0.46/FileList/FileList.xs around line 193, change these
lines:

hv_store(rh, "uid", 3, newSVnv((double)file->uid), 0);
hv_store(rh, "gid", 3, newSVnv((double)file->gid), 0);
hv_store(rh, "mode", 4, newSVnv((double)file->mode), 0);
hv_store(rh, "mtime", 5, newSVnv((double)file->modtime), 0);

to

hv_store(rh, "uid", 3, newSVnv((double)((unsigned)file->uid)), 0);
hv_store(rh, "gid", 3, newSVnv((double)((unsigned)file->gid)), 0);
hv_store(rh, "mode", 4, newSVnv((double)((unsigned)file->mode)), 0);
hv_store(rh, "mtime", 5, newSVnv((double)((unsigned)file->modtime)), 0);

Craig


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB