#760176 libapache2-mod-perl2: SNMP process name for apache is wrong when modperl is enabled

Package:
libapache2-mod-perl2
Source:
libapache2-mod-perl2
Description:
Integration of perl with the Apache2 web server
Submitter:
Cyril Lavier
Date:
2015-01-07 16:51:10 UTC
Severity:
minor
#760176#5
Date:
2014-09-01 16:09:53 UTC
From:
To:
Dear Maintainer,

I was trying to monitor apache2 process status using the hrSWRunTable on a server with modperl enabled.

I installed apache2 and libapache2-mod-perl2 packages, then I enabled the perl module.

The only way to "resolve" this issue was disabling perl module with "a2dismod perl", but now, my application which needs modperl doesn't work, so for now, I can't monitor apache2 through SNMP.

When the perl module is enabled, apache2 process name in SNMP (and in /proc/*/status) is "/usr/sbin/apach" ("/usr/sbin/apache2" trimmed to 15 characters), when perl module is disabled, apache2 process name in SNMP (and in /proc/*/status) is "apache2", which is the correct one.

I found a bug openned on Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=782369) which explains the whole issue and gives a patch to resolve this issue.

I tried the patch on the source package for stable and testing, and it seems to "patch" well. I didn't test the build and running apache2 with this patched module. I will try it tomorrow.

I took a quick look at the source packages for stable, testing and experimental, and they all seems to have the issue.

I hope I was clear enough, don't hesitate to contact me if you need further information.

Thanks.

#760176#10
Date:
2014-09-01 16:30:20 UTC
From:
To:
Hello.

Apparement, this issue was already declared in the bug #754702.

Sorry for the noise caused by this bug openning.

Thanks.