I'm trying to configure BackupPc :

I follow all the instruction in the documentation.
When i try to execute the main Perl script (BackupPC_Admin) the Apach server
respond :
 " Error: Unable to read config.pl "
And error_log say :
  " Couldn't open /var/BackupPc/conf/config.pl: Permission denied "
  " Directory index forbidden by rule: /var/www/html/, referer:
http://localhost/bpc/BackupPC_Admin.pl "

In my case i run The apache whith User=u1 and Groupe=apache
user u1 can acces in read and execute to config.pl and all the directories above

I solve this probleme by changing the contexte file of data directory ( chcon -v
/directory ) this is a SELinux Limitation.

So i run succefully the script but have this message :
" Error: Unable to connect to BackupPC server "

The /var/log/messages indicate :
audit(1128206706.763:0): avc:  denied  { write } for  pid=14094
exe=/usr/sbin/httpd name=BackupPC.sock dev=hda3 ino=584081
scontext=root:system_r:httpd_t tcontext=root:object_r:httpd_sys_content_t
tclass=sock_file

My config is:
kernel : 2.6.9-5.EL
Linux: RedHat Enterprise Advanced Server
Apache : 2.0.52
MOD_PERL="mod_perl/1.99_16"
Php : 4.3.9

So what' wrong ?
Thank you for your Help
Best regards.




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to