David writes:
> Using backuppc-2.1.2pl2, x86, Gentoo and starting an incremental
> backup via the web interface, nothing appeared to happen. So I
> checked the log and found:
>
> .. User backuppc requested backup of host_xyz (host_xyz)
> ... Started incr backup on host_xyz (pid=15779, share=/)
> ... host_xyz: Can't use string ("Xfer PIDs are now 15782
> ... host_xyz: ") as a SCALAR ref while "strict refs" in use
> at /usr/lib/BackupPC/FileZIO.pm line 281.
>
> Any ideas as to what's b0rked?
I can't see how this could happen. Here are the three places
that function is called with that argument:
host% egrep "Xfer PIDs are now" bin/* lib/BackupPC/Xfer/*
bin/BackupPC_archive: $ArchiveLOG->write(\"Xfer PIDs are now $str\n") if
( defined($ArchiveLOG) );
bin/BackupPC_dump: $XferLOG->write(\"Xfer PIDs are now $str\n") if (
defined($XferLOG) );
bin/BackupPC_restore: $RestoreLOG->write(\"Xfer PIDs are now $str\n") if
( defined($RestoreLOG)
Every one starts with a "\", so a string reference is passed,
which is what that function expects. Is there any chance your
code got mangled somehow? Did perl get upgraded recently?
Craig
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/