BackupPC-users

Re: [BackupPC-users] Had to reinstall

2012-04-17 09:05:22
Subject: Re: [BackupPC-users] Had to reinstall
From: David Williams <dwilliams AT dtw-consulting DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 17 Apr 2012 09:03:38 -0400
On 4/17/2012 1:39 AM, Les Mikesell wrote:
> On Mon, Apr 16, 2012 at 9:55 PM, David Williams
> <dwilliams AT dtw-consulting DOT com>  wrote:
>> I was able to mount my old hard drive that crashed and take a look at a few 
>> things.  I guess the first thing of note is that I am using the 
>> BackupPC_Admin.cgi script, so I believe that means a basic install.
>> I am not able to see the correct links down the left hand side but now I am 
>> getting the infamous message:
>>
>> Error: Wrong iuser: my userid is 485, instead of 482(backuppc).
>>
>> userid 485 is apache.  I've tried to understand what's happening but I can't 
>> figure it out.  The permissions of the BackupPC_Admin.cgi file is as follows:
>>
>> -rwsr-x--- backuppc apache
>>
>> As far as I can tell that is correct. Shouldn't that ensure that 
>> BackupPC_Admin.cgi gets run as the backuppc user?
> You may need to have perl-suid (or perl-suidperl, depending on your
> linux distro and packaging) installed.  Or maybe httpd-suexec for some
> versions...
>
> And you don't see much in the web interface until you can log in as
> and admin user - so apache has to be configured to request a login for
> the location and you need to have your login in $Conf{CgiAdminUsers}.
>
Ok, so that is where I am stuck, apache is not asking me for a login.  I 
have my config.pl file from my previous install (located in 
/etc/backuppc) and it does have an admin user define in 
$Conf{CgiAdminUsers}.  I also have a .htaccess file in my 
/var/www/backuppc directory so I am not sure what apache is not asking 
for a login.

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>