BackupPC-users

[BackupPC-users] Backup, Lighttp and my mess

2009-11-04 13:14:15
Subject: [BackupPC-users] Backup, Lighttp and my mess
From: Laura_marpplet <backuppc-forum AT backupcentral DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 04 Nov 2009 13:08:37 -0500
Thanks for all your support!

I was finally able to see the interface!!
Only the options: Status, Host, Summary, Documentation, Wiki and SourceForge 
are shown, though. I guess it's because I have to configure the "host" file, 
and then I will see all the options.

Thank you very much again!



Les Mikesell wrote:
> Laura_marpplet wrote:
> 
> > Thank you all for your answers. I'm still trying to get it work...
> > 
> > 
> > Regarding to the questions you made:
> > 
> > - OS: RedHat ES4   (SELinux disabled)
> > 
> > - Backtrack version: BackupPC-3.2.0beta0.tar.gz
> > 
> > - # md5sum BackupPC_Admin.pl
> > 09a57b60d416191c6239a6e7ea08ddc2  BackupPC_Admin.pl
> > 
> > - # perl -c BackupPC_Admin.pl
> > Args must match #! line at BackupPC_Admin.pl line 1.
> > 
> > - head -1 BackupPC_Admin.pl:  the PERL path is correct.
> > 
> > 
> > Lighttpd is executing as "lighttpd" user and group. I tried to change it to 
> > "backuppc" but then I can not run lighttpd (it says FAILED if I try to 
> > start it). It doesn't run with root user.
> > 
> > 
> > drwxr-xr-x  2 root     root     4096 Oct  5 18:30 .
> > drwxr-xr-x  4 root     root     4096 Oct  5 17:54 ..
> > -r-sr-xr--  1 backuppc backuppc 3995 Oct  5 17:54 BackupPC_Admin.pl
> > -r-sr-xr--  1 root     root     3995 Oct  10 18:29 b.pl
> > -rwsr-xr--  1 root     root     3993 Oct  2 14:10 sample2.pl
> > -rw-r--r--  1 root     root      116 Oct  2 14:09 sample.pl
> > 
> > Eventually I changed the file owner to backuppc but it didn't work either. 
> > And don't fully understand why I can run sample.pl but not 
> > BackupPC_Admin.pl. Lack of knowledge, I guess.
> > 
> > 
> 
> Is there some point to this exercise?  Why not run apache and put it on 
> a different port if you've given 80 to lighttpd?  Anyway, to debug it, 
> su to the user the web server is running as (you may need to su -s 
> /bin/bash lighttpd if it doesn't have a shell) and try to execute 
> BackupPC_Admin.pl.
> -r-sr-xr--  1 backuppc backuppc 3995 Oct  5 17:54 BackupPC_Admin.pl
> would only be executable if you've added lighttpd to the backuppc group 
> - you probably really want it to be group lighttpd.  Also, you'll 
> probably need the perl-suidperl package installed.  The idea is that it 
> must be executable by (and normally only by) the web user and able to 
> change its effective id to backuppc.
> 
> -- 
> Les Mikesell
> lesmikesell < at > gmail.com
> 
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users < at > lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/


+----------------------------------------------------------------------
|This was sent by cuentatemporal AT wanadoo DOT es via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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>