Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-08 Thread Nils Breunese (Lemonbit Internet)
Les Mikesell wrote: Does the running httpd retain the apache group? Maybe you need to change the group to psaserv. If you aren't in the right group you can't execute this. I added user backuppc to the psaserv group: $ groups backuppc backuppc : backuppc psaserv I chowned BackupPC_Admin to

Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-08 Thread Les Mikesell
On Thu, 2006-06-08 at 08:35, Nils Breunese (Lemonbit Internet) wrote: Does the running httpd retain the apache group? Maybe you need to change the group to psaserv. If you aren't in the right group you can't execute this. I added user backuppc to the psaserv group: $ groups backuppc

Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-08 Thread Nils Breunese (Lemonbit Internet)
Les Mikesell wrote: -r-sr-x--- 1 backuppc psaserv 3912 Jun 7 11:48 BackupPC_Admin I can execute this as user backuppc, apache and root, but still it's not working when I access it through a browser. I'm slowly starting to go nuts from this... Is there a more informative error in the

Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-08 Thread Les Mikesell
On Thu, 2006-06-08 at 16:04 +0200, Nils Breunese (Lemonbit Internet) wrote: I didn't find anything this way. I only keep hitting traces of the 404 error served for the favicon.ico. However, I thought of one more thing. I believe Plesk uses suexec for perl scripts. In the httpd.include

[BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Nils Breunese (Lemonbit Internet)
Hello all, I have spent all day trying to get BackupPC's web interface to work, but have not succeeded. I have completed all of the installation instructions and I have installed BackupPC 2.1.2pl1 on a CentOS 4.3 machine. However this machine is also running the Plesk 8 control panel.

Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Etaoin Shrdlu
On Wednesday 7 June 2006 17:07, Nils Breunese (Lemonbit Internet) wrote: I have set up a vhost backup.lemonbit.nl through Plesk and this automatically creates a /var/www/vhosts/backup.lemonbit.nl/cgi-bin/ directory as this domain's cgi-bin directory. This is also the location I entered when

Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Etaoin Shrdlu
On Wednesday 7 June 2006 17:44, Etaoin Shrdlu wrote: Mine are (as stated in the docs): -rwsr-x--- 2 backuppc apache 3894 Apr 20 15:29 BackupPC_Admin By the way, the docs list the permissions as -swxr-x---1 __BACKUPPCUSER__ web 82406 Jun 17 22:58 __CGIDIR__/BackupPC_Admin I

Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Nils Breunese (Lemonbit Internet)
Etaoin Shrdlu wrote: Mine are (as stated in the docs): -rwsr-x--- 2 backuppc apache 3894 Apr 20 15:29 BackupPC_Admin By the way, the docs list the permissions as -swxr-x---1 __BACKUPPCUSER__ web 82406 Jun 17 22:58 __CGIDIR__/BackupPC_Admin I think that should be -rwsr-x---

Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Les Mikesell
On Wed, 2006-06-07 at 17:07 +0200, Nils Breunese (Lemonbit Internet) wrote: However this machine is also running the Plesk 8 control panel. When it came to installing the CGI interface (a single file!) this is were I got stuck. As I understand, I can either run the CGI interface setuid

Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Les Mikesell
On Wed, 2006-06-07 at 19:44 +0200, Nils Breunese (Lemonbit Internet) wrote: I don't know enough about plesk to help much. Does it run a separate httpd instance with a different uid for each virtual server? No, all httpd processes run as user apache. I think you'd get a permission