On 2/21/24 15:48, Richard Shaw wrote:
On Wed, Feb 21, 2024 at 12:25 PM Tim Evans <tkev...@tkevans.com <mailto: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:

Just figured this out a little while ago. It is Apache's module config. In /etc/httpd/conf.modules.d, uncomment the line:

LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

Comment out the line:

#LoadModule mpm_event_module modules/mod_mpm_event.so

Restart httpd and we're good, though httpd complains:

[Wed Feb 21 14:35:45.935781 2024] [http2:warn] [pid 22031:tid 22031] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.

Since the only purpose of this Apache server is BackupPC, I think I can ignore this.

Thanks to all.


_______________________________________________
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/

Reply via email to