Re: [BackupPC-users] Guide to set up Apache on OS X (to use mod_perl)
On Sat, Apr 11, 2009 at 9:25 AM, Thomas von Eyben wrote: > On Sat, Apr 11, 2009 at 2:01 AM, Les Mikesell wrote: >> Thomas von Eyben wrote: >>> Hi list, >>> >>> Does anyone have a nice guide describing how to set up a Mac OS X's >>> Apache (Server or Client) to host BackupPC? >>> >>> I am now facing the problem: >>> >>> "Error: Wrong user: my userid is 70, instead of 502(backuppc)" when >>> communicating with the CGI. >>> >>> As I understand it I need (for performance) a seperate instance of >>> Apache running as user "backuppc" in order to be able to use the >>> "mod_perl" method (that also gives me the highest performance), as >>> opposed to (much slower) setuid method… >>> >>> I have searched the archives and google, but not found adequate help. >> >> First note that the performance difference only affect using the web >> browser to view/restore backups, something you probably don't do that >> often, not the performance of the backups operations which happen >> separately. > > Ah - good point. > I'll go down the no-mod_perl route first. > My perl installation is from FINK (to not mess up the Apple provided > perl!) but apparently the FINK'ed version does not support "setuid > emulation". This is the next problem i need to solve (will now start > some searching) > > BR TvE > Is anyone on the list actually running BackupPC on OS X? :-) TvE -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Guide to set up Apache on OS X (to use mod_perl)
On Sat, Apr 11, 2009 at 2:01 AM, Les Mikesell wrote: > Thomas von Eyben wrote: >> Hi list, >> >> Does anyone have a nice guide describing how to set up a Mac OS X's >> Apache (Server or Client) to host BackupPC? >> >> I am now facing the problem: >> >> "Error: Wrong user: my userid is 70, instead of 502(backuppc)" when >> communicating with the CGI. >> >> As I understand it I need (for performance) a seperate instance of >> Apache running as user "backuppc" in order to be able to use the >> "mod_perl" method (that also gives me the highest performance), as >> opposed to (much slower) setuid method… >> >> I have searched the archives and google, but not found adequate help. > > First note that the performance difference only affect using the web > browser to view/restore backups, something you probably don't do that > often, not the performance of the backups operations which happen > separately. Ah - good point. I'll go down the no-mod_perl route first. My perl installation is from FINK (to not mess up the Apple provided perl!) but apparently the FINK'ed version does not support "setuid emulation". This is the next problem i need to solve (will now start some searching) BR TvE -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Guide to set up Apache on OS X (to use mod_perl)
Les Mikesell wrote: > Thomas von Eyben wrote: >> Hi list, >> >> Does anyone have a nice guide describing how to set up a Mac OS X's >> Apache (Server or Client) to host BackupPC? >> >> I am now facing the problem: >> >> "Error: Wrong user: my userid is 70, instead of 502(backuppc)" when >> communicating with the CGI. >> >> As I understand it I need (for performance) a seperate instance of >> Apache running as user "backuppc" in order to be able to use the >> "mod_perl" method (that also gives me the highest performance), as >> opposed to (much slower) setuid method… >> >> I have searched the archives and google, but not found adequate help. > > First note that the performance difference only affect using the web > browser to view/restore backups, something you probably don't do that > often, not the performance of the backups operations which happen > separately. Also, if you don't have any other web sites on the same > server, you could simply set up backuppc to run with the same id as > the > web server. I can't help with setting up another apache instance but > usually it involves duplicating whatever the stock configuration does > but using a different port number to avoid conflicts. I'd first try the simple CGI setup and see how performance is. I've never felt the need to change the setup into a more complicated mod_perl setup to speed up the web interface, as performance is just fine for us using the plain CGI version. It doesn't feel slow at all. Sure, if I'd go and measure performance, mod_perl will probably be better, but backups won't complete any faster. As Les said: it's just the web interface. Nils Breunese. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Guide to set up Apache on OS X (to use mod_perl)
Thomas von Eyben wrote: > Hi list, > > Does anyone have a nice guide describing how to set up a Mac OS X's > Apache (Server or Client) to host BackupPC? > > I am now facing the problem: > > "Error: Wrong user: my userid is 70, instead of 502(backuppc)" when > communicating with the CGI. > > As I understand it I need (for performance) a seperate instance of > Apache running as user "backuppc" in order to be able to use the > "mod_perl" method (that also gives me the highest performance), as > opposed to (much slower) setuid method… > > I have searched the archives and google, but not found adequate help. First note that the performance difference only affect using the web browser to view/restore backups, something you probably don't do that often, not the performance of the backups operations which happen separately. Also, if you don't have any other web sites on the same server, you could simply set up backuppc to run with the same id as the web server. I can't help with setting up another apache instance but usually it involves duplicating whatever the stock configuration does but using a different port number to avoid conflicts. -- Les Mikesell lesmikes...@gmail.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Guide to set up Apache on OS X (to use mod_perl)
Hi list, Does anyone have a nice guide describing how to set up a Mac OS X's Apache (Server or Client) to host BackupPC? I am now facing the problem: "Error: Wrong user: my userid is 70, instead of 502(backuppc)" when communicating with the CGI. As I understand it I need (for performance) a seperate instance of Apache running as user "backuppc" in order to be able to use the "mod_perl" method (that also gives me the highest performance), as opposed to (much slower) setuid method… I have searched the archives and google, but not found adequate help. BR TvE -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/