• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Mailman 2 web interface suddenly gives 500 Internal Server Error, while Mailman still working

openairhoster2

Basic Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
Plesk Obsidian 18.0.66 Update 2
Hi,
I suddenly cannot reach the Mailman Web interface anymore. It give m,e an 500 Internal Server Error

/var/log/apache2/suexec.log says:
[2025-01-10 05:03:56]: uid: (10025/stura) gid: (1004/1004) cmd: admin
[2025-01-10 05:03:56]: command admin not in docroot (10025)
or
2025-01-10 02:04:48]: uid: (10025/stura) gid: (1004/1004) cmd: listinfo
[2025-01-10 02:04:48]: command listinfo not in docroot (10025)

or the like
I tried deinstalling and re-installing mailman, to no avail.
Mailman itself is running fine, delivering mails, and its command line also works

Greetings Michael
 
I have installed it through Plesk. I even de-installed it (through Plesk) and installed it again (again through Plesk). It didn't help.
 
Thank you. Could you please also double-check if there are any additional Apache/NGINX directives defined in Domains > mailmain-associated-domain.com > Hosting & DNS > Apache & Nginx?
 
Actually, there were. server alias lists. But I removed them, and it didn't help. Question: where is the docroot for https://lists.domain.tld set? What should it be? I noticed that in /etc/apache2/plesk.conf.d/server.conf, a few week ago, there was a section for lists.*
But this is missing now. Hower, putting it back in didn't help either. So where are the mailman apache2 settings to be found?
 
I am pretty desperate by now. Can't anyone tell me wehre the docroot and other settings https://lists.domain.tld is set? I don#t see any entry lists.* or so in the any plesk apache conf files anymore. Can anyone point me to where those settings are?
 
I believe that should indeed be in etc/apache2/plesk.conf.d/server.conf. Could you please confirm if there is any RLimitMEM value defined in your configuration:

grep "RLimitMEM" /etc/apache2/apache2.conf
 
I believe that should indeed be in etc/apache2/plesk.conf.d/server.conf. Could you please confirm if there is any RLimitMEM value defined in your configuration:
No, that is nowhere defined.
What I don't understand is that I find no entry lists.* in any of the apache conf files. Shouldn't it be there? Can anybody show me an example entry with lists* ?
 
it is in /etc/apache2/plesk.conf.d/server.conf

Code:
<VirtualHost IP_ADDRESSES_HERE:80>
        DocumentRoot "/var/www/vhosts/default/htdocs"
        ServerName lists
        ServerAlias lists.*
        UseCanonicalName Off

        Alias "/mailman3/favcion.ico" "/var/lib/mailman3/web/static/postorius/img/favicon.ico"
        Alias "/mailman3/static" "/var/lib/mailman3/web/static/"

        <IfModule mod_ssl.c>
                SSLEngine off
        </IfModule>

        <Directory /var/lib/mailman3/web/static/>

                Options FollowSymLinks
                Require all granted
        </Directory>

        <IfModule mod_proxy_uwsgi.c>
                ProxyPass /mailman3/favicon.ico !
                ProxyPass /mailman3/static !
                ProxyPass /mailman3 unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost/
        </IfModule>

</VirtualHost>

<IfModule mod_ssl.c>
        <VirtualHost IP_ADDRESSES_HERE:443>
                DocumentRoot "/var/www/vhosts/default/htdocs"
                ServerName lists
                ServerAlias lists.*
                UseCanonicalName Off

                Alias "/mailman3/favcion.ico" "/var/lib/mailman3/web/static/postorius/img/favicon.ico"
                Alias "/mailman3/static" "/var/lib/mailman3/web/static/"

                SSLEngine on
                SSLVerifyClient none
                SSLCertificateFile "/opt/psa/var/certificates/scfZWObrN"

                <Directory /var/lib/mailman3/web/static/>

                        Options FollowSymLinks
                        Require all granted
                </Directory>

                <IfModule mod_proxy_uwsgi.c>
                        ProxyPass /mailman3/favicon.ico !
                        ProxyPass /mailman3/static !
                        ProxyPass /mailman3 unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost/
                </IfModule>

        </VirtualHost>
</IfModule>
 
Back
Top