AH00534: httpd: Configuration error: No MPM loaded

[root@av ~]# apachectl -S
[root@av ~]# httpd -S
AH00534: httpd: Configuration error: No MPM loaded.

Here is apache service used by my software:

How about:
netstat -pant |grep -E '\:80|\:443|apache|http'

And this file:
image

1 Like
[root@av ~]# netstat -pant |grep -E '\:80|\:443|apache|http'
tcp6       0      0 :::443                  :::*                    LISTEN      19253/httpd

Problems:

  1. It's not listening on port 80.

Please show the config file.

1 Like

you mean that _httpd.conf file

image

1 Like

Here is the config file:
httpd config 22Dec2020.txt (15.5 KB)

Please show this included file:
Include /usr/local/active/common/web/conf/httpd/httpd_av_prefix.conf

So far:

  1. only set to listen on 443 - need to also listen on port 80:
    Listen 443
1 Like
AliasMatch ^/vault/archive/admin_img(.*) /usr/local/active/vault/web/webapps/htdocs/admin_img/$1
AliasMatch ^/vault/archive/(.*) /usr/local/active/vault/web/webapps/htdocs/archive/index.igm/$1

Alias /vault/ /usr/local/active/vault/web/webapps/htdocs/
<Directory "/usr/local/active/vault/web/webapps/htdocs/">
    Options +FollowSymLinks -Indexes
    <IfVersion < 2.4>
        Order allow,deny
        Allow from all
    </IfVersion>
    <IfVersion >= 2.4>
        Require all granted
    </IfVersion>
    Header set X-Robots-Tag "noindex,nofollow,noarchive"
</Directory>

You disabled including vhosts:

# Virtual hosts
#Include /usr/local/active/common/web/conf/httpd/extra/httpd-vhosts.conf

The config has not enough configured to serve anything on any port.

1 Like

So i just remove # before command?
Virtual hosts
Include /usr/local/active/common/web/conf/httpd/extra/httpd-vhosts.conf

And add port 80 in config file?

I can't tell you what to do.
I can only show you why it doesn't do anything.

It worked with the previous Apache.
You were able to get a cert with it.
Then you removed that Apache and replaced it with another Apache.
Now this one can't get a cert.
But it can't even serve any content at all.
You need to fix that - you must have a working config before asking for a cert.

1 Like

Hi rg305,

I already fixed this problem :slight_smile: Currently my website can access by SSL.

I found that Certbot does not support the custom Apache version.

So I temporary disable custom Apache and install standard Apache for renew SSL.

Finally it working :smiley:

1 Like

You should be able to use the other apache with --webroot option (not native --apache option).
Once you have switched back to using the new apache, you can then do a --webroot test renewal using --dry-run option.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.