Bug#316879: backuppc: problem with status.pl and perl

2005-09-28 Thread Eric Wijngaards
Package: backuppc
Version: 2.1.1-2
Followup-For: Bug #316879

 I've made some tests with perl 5.8.7-4 and I could not reproduce your bug.
 I've also written some scripts which use Data::Dumper, and I had no traces
 of 'bless' keywords in the dumps.

 Could you check with a newer perl so that I can close that bug ?

I've just upgraded perl on our server to version 5.8.7-4, and after that the 
problem appeared again. The status is no longer available using the 
webinterface:

- The servers PID is , on host uttnarag, version , started at 9/2 13:07
- This status was generated at 9/2 13:07.
- The configuration was last loaded at 9/2 13:07.
- PCs will be next queued at 9/2 13:07.
- Other info:
  - pending backup requests from last scheduled wakeup,
  - pending user backup requests,
  - pending command requests,

Also a backup which I started just after the upgrade wasn't visable, neither 
using the status-page, nor using the 'host summary'-page. When I restarted 
backuppc after I'd done an incremental backup, it wouldn't start again 
saying:
[EMAIL PROTECTED]:] ~$ sudo /etc/init.d/backuppc restart
Restarting backuppc: couldn't parse /var/lib/backuppc/log/status.pl: Can't 
bless non-reference value at /var/lib/backuppc/log/status.pl line 1.

So after I remove status.pl, the first line looks like this after the first 
time opening backuppc:
- The servers PID is 15941, on host uttnarag, version 2.1.1, started at 9/2 
13:09

And after a refresh of the page, it looks like this:
- The servers PID is , on host uttnarag, version , started at 9/2 13:07.

We have installed most of our programs using debian packages, and this also 
counts for backuppc, perl and apache2. Don't know if we made some mistake in 
some configuration file, but then there should have been changed something 
between perl 5.8.4 and 5.8.7...

Maybe you have some idea what to do next? If you need any more information, 
please ask...

Eric Wijngaards
System manager S.V. Arago - University of Twente - The Netherlands 





-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-7-p4-jean.1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages backuppc depends on:
ii  adduser   3.63   Add and remove users and groups
ii  apache2   2.0.54-5   next generation, scalable, extenda
ii  apache2-mpm-prefork [apache2] 2.0.54-5   traditional model for Apache2
ii  debconf   1.4.58 Debian configuration management sy
ii  dpkg  1.10.28Package maintenance system for Deb
ii  libarchive-zip-perl   1.14-1 Module for manipulation of ZIP arc
ii  libcompress-zlib-perl 1.34-1 Perl module for creation and manip
hi  perl [libdigest-md5-perl] 5.8.4-8Larry Wall's Practical Extraction 
hi  perl-suid 5.8.4-8Runs setuid Perl scripts
ii  samba-common  3.0.14a-3  Samba common files used by both th
ii  smbclient 3.0.14a-3  a LanManager-like simple client fo
ii  tar   1.14-2 GNU tar
ii  wwwconfig-common  0.0.43 Debian web auto configuration

-- debconf information:
* backuppc/configuration-note:
* backuppc/add-lines: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#316879: backuppc: problem with status.pl and perl

2005-07-04 Thread Eric Wijngaards
Package: backuppc
Version: 2.1.1-2
Severity: important

When using the latest version of perl in debian-testing (5.8.7-3),
backuppc doesn't show the status anymore ('currently running backups' and the 
'host summery' page). Also, when we restart backuppc, it sometimes doesn't 
start giving the following error:

Starting backuppc: couldn't parse /var/lib/backuppc/log/status.pl: Can't
bless non-reference value at /var/lib/backuppc/log/status.pl line 1

The associated status.pl file:
%Info = bless( (
  ConfigLTime = 1120221035,
  nextWakeup = 1120262400,
  Version = 2.1.1,
  ConfigModTime = 1115722579,
  HostsModTime = 1120207158,
  startTime = 1120220706
), 'HASH' );
%Status = bless( (
  localhost = bless( {
lastGoodBackupTime = 1120221018,
deadCnt = 0,
reason = Reason_backup_done,
activeJob = 1,
state = Status_link_running,
aliveCnt = 2,
endTime = 1120221018,
needLink = 0,
startTime = 1120221017,
type = incr,
userReq = 1
  }, 'HASH' )
), 'HASH' );

Just after removing status.pl and starting backuppc, the new status.pl file 
looks like this:

%Info = (
  'nextWakeup' = '1120521600',
  'ConfigLTime' = 1120485866,
  'Version' = '2.1.1',
  'pid' = 27233,
  'ConfigModTime' = 1120427028,
  'startTime' = 1120485866,
  'HostsModTime' = 1120207158
);
%Status = (
  'localhost' = {
'lastGoodBackupTime' = '1120465496',
'deadCnt' = 0,
'reason' = 'Reason_backup_done',
'activeJob' = 0,
'state' = 'Status_idle',
'aliveCnt' = 2,
'endTime' = '1120466048',
'needLink' = 0,
'startTime' = '1120465496',
'type' = 'incr',
'userReq' = 1
  }
);



Going back to the version of perl they use in debian-stable(5.8.4-8)
fixed the problem, so I think something changed within perl that breaks 
backuppc...



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-7-p4-jean.1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages backuppc depends on:
ii  adduser   3.63   Add and remove users and groups
ii  apache2   2.0.54-4   next generation, scalable, extenda
ii  apache2-mpm-prefork [apache2] 2.0.54-4   traditional model for Apache2
ii  debconf   1.4.51 Debian configuration management sy
ii  dpkg  1.10.28Package maintenance system for Deb
ii  libarchive-zip-perl   1.14-1 Module for manipulation of ZIP arc
ii  libcompress-zlib-perl 1.34-1 Perl module for creation and manip
ii  perl [libdigest-md5-perl] 5.8.4-8Larry Wall's Practical Extraction 
ii  perl-suid 5.8.4-8Runs setuid Perl scripts
ii  samba-common  3.0.14a-3  Samba common files used by both th
ii  smbclient 3.0.14a-3  a LanManager-like simple client fo
ii  tar   1.14-2 GNU tar
ii  wwwconfig-common  0.0.43 Debian web auto configuration

-- debconf information:
* backuppc/configuration-note:
* backuppc/add-lines: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]