Trouble wit Permission denied on /var/lib/mailman/logs/error

I am using ubuntu 18.4 LTS, apache 2.4.29, mailman 2.1.26
I have the problem that my mailman dies with
"Bug in Mailman version 2.1.26 "
The apache log says
IOError: [Errno 13] Permission denied: '/var/lib/mailman/logs/error': /srv/www/vhosts/lists.mydomain.com/cgi-bin/mailman/admin
Obviously i moved the scripts admin, listinfo, etc. to /srv/www/vhosts/lists.mydomain.com/cgi-bin/mailman/admin because i didn't manage to make them work with apache 2.4 in the /usr/lib/cgi-bin/mailman directory. The files there were served instead of executed. I have all this "Options ExecCGI" and "SetHandler cgi-script" in my .conf.
Mailman is running as user list, group list.
The symbolic link "logs" in/var/lib/mailman is owned by root:list, has lrwxrwxrwx permissions and points to /var/log/mailman
/var/log/mailman is owned by root:list with permissions drwxrwsr-x
The files in /var/log/mailman (i.e. error) are all owned by root:list and have permissions rw-rw-r--
What is wrong ?

On 11/16/18 3:12 AM, Christian Zimmer wrote:
Did your Apache conf have
ScriptAlias /mailman/ /usr/lib/cgi-bin/
Is the file /srv/www/vhosts/lists.mydomain.com/cgi-bin/mailman/admin and the other wrappers there too group 'list' and SETGID?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 11/16/18 3:12 AM, Christian Zimmer wrote:
Did your Apache conf have
ScriptAlias /mailman/ /usr/lib/cgi-bin/
Is the file /srv/www/vhosts/lists.mydomain.com/cgi-bin/mailman/admin and the other wrappers there too group 'list' and SETGID?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Christian Zimmer
-
Mark Sapiro