Jim McNamara wrote:
On 2/21/07, *Filipe* <[EMAIL PROTECTED] <mailto:[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/