On Wed, Feb 21, 2024 at 12:25 PM Tim Evans <tkev...@tkevans.com> wrote:
> However, I still get the above error when trying to access the server's > web admin pages. Further investigation shows the following error in the > httpd (Apache) web server error_log: > > [Tue Feb 20 06:36:00.553934 2024] [cgid:error] [pid 2519:tid 2670] > (13)Permission denied: [client ::1:43404] AH01257: stderr from > /usr/libexec/BackupPC/BackupPC_Admin: unable to connect to cgi > daemon after multiple tries > > Googling "unable to connect to cgi daemon" turns up a lot of references > to the httpd 'mpm' module. Hoping that folks who are familiar with > Apache module innards might have some advice here. > How old of a system did the original install come from? The reason I mention is the thing I completely forgot about when upgrading my BackupPC from Centos 8 Stream to Fedora Server 39 is the apache configuration: # cat BackupPC.conf <DirectoryMatch /usr/(share|libexec)/BackupPC/> # BackupPC requires valid authentication in order for the web interface to # function properly. One can view the web interface without authentication # though all functionality is disabled. # # htpasswd -c /etc/BackupPC/apache.users yourusername # AuthType Basic AuthUserFile /etc/BackupPC/apache.users AuthName "BackupPC" <IfModule mod_authz_core.c> # Apache 2.4 <RequireAll> Require valid-user <RequireAny> Require ip 192.168.1.0/255.255.255.0 </RequireAny> </RequireAll> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 order deny,allow deny from all allow from 127.0.0.1 allow from ::1 require valid-user </IfModule> </DirectoryMatch> Alias /BackupPC/images /usr/share/BackupPC/html/ ScriptAlias /BackupPC /usr/libexec/BackupPC/BackupPC_Admin ScriptAlias /backuppc /usr/libexec/BackupPC/BackupPC_Admin The key is I had to add Require ip xx.xxx.xxx.xxx/255.255.255.0 because by default it only allows connections from the host. Thanks, Richard
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/