It works!!!!!!!
You're correct, the issue was because of SELinux.
When I had setup this backup server, I had disabled SELinux by doing
"setenforce permissive", but I had forgot to edit /etc/selinux/config and
set it to "disabled" there. So when I rebooted the server for the first time
this week, SELinux was back on enforcing mode.
Now that I've disabled SELinux, I get no errors on the backupPC web
interface. :)
Thank you very much for the help!
Kind regards,
--Bruno
On Fri, Sep 18, 2009 at 9:29 PM, Holger Parplies <[email protected]> wrote:
> Hi,
>
> Bruno Faria wrote on 2009-09-18 21:06:46 -0500 [Re: [BackupPC-users] Error:
> Unable to connect to BackupPC server]:
> > [...]
> > __________
> >
> > Error: Unable to connect to BackupPC server
> > Socket: /var/log/BackupPC/BackupPC.sock
> > Error was: unix connect: Permission denied
> > __________
> >
> > Now, I still find this weird as the permission on BackupPC.sock seems
> fine
> > to me:
> >
> > [r...@backup3 CGI]# ls -la /var/log/BackupPC/ | grep BackupPC.sock
> > srwxr-x--- 1 backuppc backuppc 0 Sep 17 04:01 BackupPC.sock
>
> well, you would basically need to check the containing directories, too,
>
> ls -ld /{,var{,/log{,/BackupPC}}}
>
> but I really suspect an SELinux issue, because BackupPC_serverMesg can
> access
> the socket with UID backuppc, but Apache can't (also with UID backuppc).
> You
> might have the same problems accessing the pool files with Apache. I'm with
> Les on SELinux ("I'll switch it off, until I find some time to play with
> it,
> which will probably be never"), but maybe the pointer is enough, or others
> might step in ...
>
> Regards,
> Holger
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/