Another thing I had forgotten to mention was that I ended up with two
BackupPC_Admin scripts, one from the .deb package, and another from the
3.0.0 tarball. The permissions you have one the one below seem a little
strange to me, because everyone can execute it, and be stickied as backuppc.
That may be something you elected to do, but if it wasn't, then maybe you're
working with the wrong script?
And you're entirely correct about the ownership of the /etc/BackupPC files.
Mine looks like this:
mailbox:/home/jim# ls -al /etc/BackupPC/
total 108
drwxr-x--- 3 backuppc www-data 4096 2007-02-20 11:23 .
drwxr-xr-x 67 root root 4096 2007-02-19 12:00 ..
-rw-r----- 1 backuppc www-data 556 2007-02-14 19:02 apache.conf
-rw-r----- 1 backuppc www-data 77434 2007-02-17 17:11 config.pl
-rw-r----- 1 backuppc www-data 2292 2007-02-13 23:21 hosts
-rw-r----- 1 root www-data 23 2007-02-20 11:23 htpasswd
-rw-r----- 1 root www-data 43 2007-02-20 11:19 htpasswd.normal
drwxr-xr-x 2 backuppc www-data 4096 2007-02-20 10:52 pc
Obviously if you can select a different location for your password file.
You're very welcome for the limited help I'm able to provide!
Jim
On 2/21/07, Filipe < [EMAIL PROTECTED]> wrote:
Jim McNamara wrote:
On 2/21/07, Filipe <[EMAIL PROTECTED] > wrote:
>
>
> I've upgraded from 2.1.1 to 3.0.0 in a debian sarge, and some problems
> arise..
> First it was the error about the language, and resolved it by renaming
> /etc/backuppc and reinstalling the 3.0.0 version.
I saw the same problem in the same situation. In the Debian package, it
looks for the configs in /etc/backuppc, but the 2.0.0 tarball looks to
/etc/BackupPC. I symlinked them together.
Then some errors appeared when backing up hosts, and the web interface
> edit configuration does not work,
That is a permissions issue, and it is tied into the next problem as well.
The user backuppc needs to be able to write in the /etc/BackupPC directory,
and create subdirectories. In debian, the /etc/backuppc was installed as
root:root, and to edit I switched the ownership to backuppc:www-data. Once
backuppc is the owner of /etc/BackupPC, it will be able to write to the
config files, and create/modify the individual pc configs in the
subdirectory /etc/BackupPC/pc, which will be created the first time you
modify a host's config.
yeah it was sort of that... but I have also to put chmod 770 to
everything in /etc/BackupPC
The colours in webinterface changed, and names of files in recent backups
are shown correctly. old ones are still with the same problem..
http://img341.imageshack.us/my.php?image=backp3tl4.png
either manual incr/full backup button!
> When I press them I get back to home page.
I saw the exact same thing. The problem was that the sticky bit on the
BackupPC_Admin script in the cgi-bin had been altered. This page on the FAQ
helped me sole it - http://backuppc.sourceforge.net/faq/debugCGI.html ,
specifically the section with the script. For Debian, perl usually isn't in
/bin/perl, but rather /usr/bin/perl.
The BackupPC_Admin file needs to have these permissions on Debian, or it
generally won't work, and cause exactly the problems you were seeing:
-r-sr-x--- 1 backuppc www-data 3993 2007-02-12 15:57 BackupPC_Admin
The sticky must be set on execute as owner, backuppc or the failures will
occur. Setting those permissions is covered both in the man page and on the
FAQ I cited above.
done that but it still remains the same...
-rwsr-x--x 1 backuppc www-data 3993 2007-02-14 20:00 BackupPC_Admin
when I go to the url http://backuppcserver/backuppc/BackupPC_Admin I got
the download window from that file... it seems that I can read it ...
Thanks a lot for the answers.
regards.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/