BackupPC-users

Re: [BackupPC-users] Syntax error at /usr/share/BackupPC/lib/BackupPC/CGI/HostInfo.pm

2012-05-14 04:54:52
Subject: Re: [BackupPC-users] Syntax error at /usr/share/BackupPC/lib/BackupPC/CGI/HostInfo.pm
From: "Sorin Srbu" <sorin.srbu AT orgfarm.uu DOT se>
To: "'General list for user discussion, questions and support'" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 14 May 2012 10:53:16 +0200
-----Original Message-----
From: Poul Nielsen [mailto:poul AT langhuse DOT dk] 
Sent: den 11 maj 2012 18:07
To: backuppc-users AT lists.sourceforge DOT net
Subject: Re: [BackupPC-users] Syntax error at
/usr/share/BackupPC/lib/BackupPC/CGI/HostInfo.pm

Den 2012-05-11 08:39, Sorin Srbu skrev:
> Hi all,
>
> Running BPC 3.2.1 on CentOS 6.2 x64 and have been getting the below error
> since a few days back.
>
> The backups seem to be running fine, but when I click Host Summary in the
> web-gui, and then click a host, I get the below. It is only when I click
the
> host-link I see this error. The BPC-logs say everything is fine.
>
> Could someone please help me in decoding this error? Ie, I see what the
errors
> are, but what do I do about them?
>
> "Explicit package name" smells of some kind of lib problem but which?
>
> Thanks in advance for any hints and help.
>
> "Software error:
>
> syntax error at /usr/share/BackupPC/lib/BackupPC/CGI/HostInfo.pm line 251,
> near "-        if"
> Global symbol "$user" requires explicit package name at
> /usr/share/BackupPC/lib/BackupPC/CGI/HostInfo.pm line 251.
> Global symbol "$host" requires explicit package name at
> /usr/share/BackupPC/lib/BackupPC/CGI/HostInfo.pm line 251.
> syntax error at /usr/share/BackupPC/lib/BackupPC/CGI/HostInfo.pm line 251,

click "Edit Hosts" in the web-gui, check the "user" and "moreUsers" strings.

No problem there. Thanks.


-- 
/Sorin

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/