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.


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.

I thought it has something to do with mod_perl, it didnt appeared with
apache -l command.
so I installed it with apt-get install libapache-mod-perl, but it still
didnt show mod_perl  so I gave up on that.
also I putted in  httpd.conf the config like in the docs->

http://kent.dl.sourceforge.net/sourceforge/backuppc/BackupPC-3.0.0.html#step_9__cgi_interface


now what is really strange is that I have a lot of folders with special
characters with accents and other portuguese language symbols, but I
managed to put it working correcly in the last version, but now only the
folders tar appear right, in the files some are missing, those are
filenames with special characters.
here is what I'm talking about:
http://img57.imageshack.us/my.php?image=backuppcnamesyb0.png

the host is an NT4 server...


Sorry, this part I can't help you with. I was seeing language errors until I
switched the ownership of /etc/BackupPC to backuppc, then they disappeared.
Maybe you'll have the same result.


Peace,
Jim
-------------------------------------------------------------------------
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
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to