Hmmmm, the debian install must be A LOT different because I have nothing in
/usr/share for backuppc, not even a directory. I also have not found an
index.cgi.


-----Original Message-----
From: Stephen Joyce [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 21, 2007 9:39 AM
To: Curtis Taylor
Cc: 'Snider, Tim'; [email protected]
Subject: Re: [BackupPC-users] Problems with CGI setup for backuppc on

There's probably an easier way, but here:

> aptitude install -d backuppc
> cd /var
> find . -name \*backuppc\*
./cache/apt/archives/backuppc_2.1.2-6_all.deb
> mkdir /tmp/foo
> dpkg -x ./cache/apt/archives/backuppc_2.1.2-6_all.deb /tmp/foo
> cd /tmp/foo

> find . -name \*dmin\*
./usr/share/backuppc/lib/BackupPC/CGI/AdminOptions.pm

(so now we know that there's no "BackupPC_Admin" in the deb.)

> find . -name \*cgi\*
./usr/share/backuppc/cgi-bin
./usr/share/backuppc/cgi-bin/index.cgi

(Aha! That looks promising.)

> head -5 ./usr/share/backuppc/cgi-bin/index.cgi
#!/usr/bin/perl
#============================================================= -*-perl-*-w
#
# BackupPC_Admin: Apache/CGI interface for BackupPC.
#


So it looks like the debian package maintainer renamed BackupPC_Admin to 
index.cgi and it installs in /usr/share/backuppc/cgi-bin/index.cgi. You 
should configure your apache to look for it there or you should move it to 
where your apache expects to find cgi-bins.

Hope this helps.

Cheers, Stephen
--
Stephen Joyce
Systems Administrator                                            P A N I C
Physics & Astronomy Department                         Physics & Astronomy
University of North Carolina at Chapel Hill         Network Infrastructure
voice: (919) 962-7214                                        and Computing
fax: (919) 962-0480                               http://www.panic.unc.edu

  Some people make the world turn and others just watch it spin.
    -- Jimmy Buffet

On Fri, 21 Sep 2007, Curtis Taylor wrote:

> I cannot answer your question regarding debian. I am not using debian am
> using CentOS 5 and initially the BackupPC_Admin was installed in
> /usr/local/BackupPC/cgi/ I think. But I cannot get the web interface to
work
> at all. I have apache 2 running, I have modified the httpd.conf file,
> restarted httpd but now I just get an error saying I do not have rights to
> access that file or directory.
>
> I guess I am just being lazy or I am too busy with other things. Was
hoping
> that someone else had this configured for Centos, had it up and running
and
> could provide any steps that had to be done.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Snider,
> Tim
> Sent: Friday, September 21, 2007 9:17 AM
> To: [email protected]
> Subject: Re: [BackupPC-users] Problems with CGI setup for backuppc on
>
> Ok - the document is in the source.
> However BackupPC_Admin does not appear anywhere on my system.
> backuppc version 2.1.2-6 was installed using apt-get.
>
> install:
>       tsDeb:/usr/share/backuppc/cgi-bin# find / -name "backup*.deb"
>       /var/cache/apt/archives/backuppc_2.1.2-6_all.deb
>
> Evidence and attempts to find the file on Debian have been
> unsuccessfull.
>
> 1.Use find command:
>       tsDeb:/usr/share/backuppc/cgi-bin# find / -name "BackupPC_Admin"
>       tsDeb:/usr/share/backuppc/cgi-bin#
> 2. Look for content in any file:
>       tsDeb:/usr/share/backuppc/cgi-bin# find / -name
> "BackupPC*"|xargs grep "web interface"
>       tsDeb:/usr/share/backuppc/cgi-bin#
>       tsDeb:/usr/share/backuppc/cgi-bin# find / -name
> "BackupPC*"|xargs grep -l "Apache"
>       grep: /var/lib/backuppc/log/BackupPC.sock: No such device or
> address
>       /usr/share/doc/backuppc/BackupPC.html
>       tsDeb:/usr/share/backuppc/cgi-bin# find / -name "backup*"|xargs
> grep -l "Apache"
>       /var/lib/dpkg/info/backuppc.templates
>       tsDeb:/usr/share/backuppc/cgi-bin# find / -name
> "BackupPC*"|xargs grep -l "CGI"
>       grep: /var/lib/backuppc/log/BackupPC.sock: No such device or
> address
>       /usr/share/backuppc/bin/BackupPC
>       /usr/share/doc/backuppc/BackupPC.html
>       tsDeb:/usr/share/backuppc/cgi-bin# find / -name
> "backuppc*"|xargs grep -l "CGI"
>       /var/lib/dpkg/info/backuppc.md5sums
>       /var/lib/dpkg/info/backuppc.list
>       tsDeb:/usr/share/backuppc/cgi-bin#
> 3. /usr/share/backuppc/bin/BackupPC is not the CGI file:
>       tsDeb:/usr/share/backuppc/cgi-bin# head
> /usr/share/backuppc/bin/BackupPC
>       #!/usr/bin/perl
>       #=============================================================
> -*-perl-*-
>       #
>       # BackupPC: Main program for PC backups.
>       #
>       # DESCRIPTION
>       #
>       #   BackupPC reads the configuration and status information from
>       #   $TopDir/conf.  It then runs and manages all the backup
> activity.
>       #
>       tsDeb:/usr/share/backuppc/cgi-bin#
>
> apt-get used the mirror: deb
> http://debian.mirror.frontiernet.net/debian/ etch main.
>
> Should I try another mirror?
> Is backuppc broken for Debian Etch?
> Should this be posted to the Debian lists?
> Thx,
> Tim
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Curtis Taylor
> Sent: Friday, September 21, 2007 6:20 AM
> To: 'Carl Wilhelm Soderstrom'; [email protected]
> Subject: Re: [BackupPC-users] Problems with CGI setup for backuppc on
>
> The documents were included in the archive that I pulled done. When I
> extracted the files, in /usr/src/Backup-3.0.0/doc is BackupPC.html.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Carl
> Wilhelm Soderstrom
> Sent: Thursday, September 20, 2007 4:38 PM
> To: [email protected]
> Subject: Re: [BackupPC-users] Problems with CGI setup for backuppc on
>
> On 09/20 03:13 , Snider, Tim wrote:
>>      [TS >>] Since that file is missing trying to access using a
> brower
>> also fails with "page not found"
>
> It should be noted that I don't have a file called BackupPC_Admin on the
> example system I looked at, either. So there's likely a problem with the
> documentation.
>
> I've never needed to know of the existence of such a file; so that's why
> I was trying to suggest that the documentation you're looking at may not
> be appropriate for what you're trying to do. Where did you find the
> document you're consulting?
>
> My apologies for not being very clear in my response.
>
> --
> Carl Soderstrom
> Systems Administrator
> Real-Time Enterprises
> www.real-time.com
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Microsoft Defy all challenges.
> Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Microsoft Defy all challenges.
> Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
>
> -- 
>
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to