|
From: Alberto L. <la...@ro...> - 2003-05-12 19:35:07
|
Hello,
I am having problems with installation.
I am getting the
Error: Only privileged users can view information about host fiji
when trying to access. I have tried for a while to get it to work with
no luck. The system seems to backup correctly, and the first page of the
BackupPC_Admin looks correct, however I have no luck with the individual
pages of the different machines
Here are some details:
I created a user called backuppc.
I edited the config.pl to read
$Conf{CgiAdminUserGroup} = '';
$Conf{CgiAdminUsers} = 'backuppc';
I added the following to my httpd.conf
**********************************************************************
User backuppc
Group backuppc
<IfModule mod_perl.c>
PerlModule Apache::Registry
<Location /var/www/cgi-bin/BackupPC/BackupPC_Admin>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
</Location>
</IfModule>
<Location /var/www/cgi-bin/BackupPC_Admin>
Setenv REMOTE_USER backuppc
</Location>
**********************************************************************
the permissions on /var/httpd/cgi-bin are
-rwx--x--- 1 backuppc backuppc 65858 May 8 15:58 BackupPC_Admin
-rw-r--r-- 1 root root 213 May 12 15:12 .htaccess
the permissions on the backup directory are:
drwxrwxrwx 9 backuppc backuppc 4096 May 8 15:58 .
drwxr-xr-x 8 root root 4096 May 12 14:35 ..
drwxrwxrwx 2 backuppc backuppc 4096 May 9 13:45 conf
drwxrwx-w- 2 backuppc backuppc 4096 May 8 15:58 cpool
drwxrwx-w- 2 backuppc backuppc 4096 May 12 14:44 log
drwx-w--w- 2 root root 16384 May 8 15:49 lost+found
drwxrwx-w- 3 backuppc backuppc 4096 May 8 17:00 pc
drwxrwx-w- 18 backuppc backuppc 4096 May 8 19:13 pool
drwxrwx-w- 2 backuppc backuppc 4096 May 9 23:04 trash
the processes look as follows (ps -elf | grep back):
1 S backuppc 6084 1 0 75 0 - 2207 schedu 14:44 pts/0
00:00:00 /usr/bin/perl -T /home/backuppc/bin/BackupPC -d
0 S backuppc 6087 6084 0 75 0 - 1767 schedu 14:44 pts/0
00:00:00 /usr/bin/perl -T /home/backuppc/bin/BackupPC_trashClean
5 S backuppc 6359 6356 0 75 0 - 5244 semop 15:13 ?
00:00:00 [httpd]
5 S backuppc 6360 6356 0 75 0 - 5232 schedu 15:13 ?
00:00:00 [httpd]
5 S backuppc 6361 6356 0 85 0 - 5232 semop 15:13 ?
00:00:00 [httpd]
5 S backuppc 6362 6356 0 85 0 - 5232 semop 15:13 ?
00:00:00 [httpd]
5 S backuppc 6363 6356 0 85 0 - 5232 semop 15:13 ?
00:00:00 [httpd]
5 S backuppc 6364 6356 0 85 0 - 5232 semop 15:13 ?
00:00:00 [httpd]
5 S backuppc 6365 6356 0 85 0 - 5232 semop 15:13 ?
00:00:00 [httpd]
5 S backuppc 6366 6356 0 85 0 - 5232 semop 15:13 ?
00:00:00 [httpd]
.htaccess on the /var/www/cgi-bin directory
**********************************************************************
AuthUserFile /etc/httpd/conf/passwd # <--- change path as needed
AuthGroupFile /dev/null
AuthType basic
AuthName "access"
require valid-user
**********************************************************************
the /etc/httpd/conf/passwd file has been set.
the hosts file has:
fiji 0 user
where fiji is a test machine and user is a user account
I am running redhat9 kernel 2.4.20-9smp
I tried running from the host machine as well as from the other
machines; I tried to run as a regular user, even as root, as with the
same results
Any help would be greatly appreciated. I am out of ideas.
Alberto
|