Hi Thorsten
My Bugzilla server has been functioning broadly OK (apart from the shutdown
problem we discussed before) for a couple of years, but I was looking to
check security and so ran
testserver.pl for the first time.
I got "TEST-WARNING Failed to find the GID for the 'httpd' process, unable
to validate webservergroup."
I also got another error "TEST-WARNING Failed to run gdlib-config; can't
compare GD versions." But I assume they are unrelated so will deal with that
in a different trace if you like.
My localconfig file has $webservergroup = 'www-data';
To check this I did:
[code]
root@ubuntu:/etc/apache2# egrep -iw --color=auto 'user|group'
/etc/apache2/apache2.conf
[/code]
And got
[code]
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
# Include all the user configurations:
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\"
\"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%{User-agent}i" agent
[/code]
Then I did:
sudo gedit /etc/apache2/envvars
And confirmed that ${APACHE_RUN_GROUP}='www-data'
So all seems well - and I am not sure why I am getting this error.
I thought maybe that it might be that
testserver.pl was looking in
httpd.conf, which does not contain the server group setting? But this line
seems like it should find Apache2.conf
[code]
if ($line =~ /^(?:\S*\/)?(?:httpd|apache)2?\s+(\d+)$/)
[/code]
I think I'm not understanding something..
Kind regards and many thanks in anticipation
Mike