SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
"strict refs" and server crash...
Author Message
Post "strict refs" and server crash... 
Greetings...

I have gotten BackupPC to work on a machine on the intranet. It is both server and client. It took me a while to get the OpenSSH to work, but it is now backing up and restoring, etc. There has been a puzzling problem in that the "wakeup" seems to shut down the BackupPC server. There is always the "strict refs" error in the logs, and it seems to happen on the hour. I can restart the server just fine by running the init script.

Below is a snippet from the logs.

Does anyone have any idea what is going on here?

Regards... Tom

2003/3/26 07:50:57 Next wakeup is 2003/3/26 08:00:00
2003/3/26 07:53:13 User backuppc requested restore to 10.1.3.81 (10.1.3.81)
2003/3/26 07:53:15 10.1.3.81: started restore, tarPid=7362, xferPid=7361
2003/3/26 07:53:22 Finished restore on 10.1.3.81
Can't use string ("
Q") as a HASH ref while "strict refs" in use at /opt/local/BackupPC/bin/BackupPC line 1303.
2003/3/26 08:34:34 Reading hosts file
2003/3/26 08:34:34 BackupPC started, pid 5866

Post "strict refs" and server crash... 
I know it is considered bad form to answer your own post, but I seem to have solved this problem. I commented out the $Conf{DHCPAddressRanges} = line since I only had one IP there anyway. The server no longer stopping very hour...
----- Original Message -----
From: Thomas E. Haynes ([email]haynest < at > mchsi.com[/email])
To: backuppc-users < at > lists.sourceforge.net ([email]backuppc-users < at > lists.sourceforge.net[/email])
Sent: Wednesday, March 26, 2003 2:49 PM
Subject: [BackupPC-users] "strict refs" and server crash...


Greetings...

I have gotten BackupPC to work on a machine on the intranet. It is both server and client. It took me a while to get the OpenSSH to work, but it is now backing up and restoring, etc. There has been a puzzling problem in that the "wakeup" seems to shut down the BackupPC server. There is always the "strict refs" error in the logs, and it seems to happen on the hour. I can restart the server just fine by running the init script.

Below is a snippet from the logs.

Does anyone have any idea what is going on here?

Regards... Tom

2003/3/26 07:50:57 Next wakeup is 2003/3/26 08:00:00
2003/3/26 07:53:13 User backuppc requested restore to 10.1.3.81 (10.1.3.81)
2003/3/26 07:53:15 10.1.3.81: started restore, tarPid=7362, xferPid=7361
2003/3/26 07:53:22 Finished restore on 10.1.3.81
Can't use string ("
Q") as a HASH ref while "strict refs" in use at /opt/local/BackupPC/bin/BackupPC line 1303.
2003/3/26 08:34:34 Reading hosts file
2003/3/26 08:34:34 BackupPC started, pid 5866




Post "strict refs" and server crash... 
I know it is considered bad form to answer your own post, but I seem to
have solved this problem. I commented out the $Conf{DHCPAddressRanges}
= line since I only had one IP there anyway. The server no longer
stopping very hour.

It appears that the value of $Conf{DHCPAddressRanges} was syntactically
correct, but the value has the wrong type. It should be a list of
hashes, eg:

$Conf{DHCPAddressRanges} = [
{
ipAddrBase => '192.10.10',
first => 20,
last => 250,
},
];

What did you set it to?

Craig


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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