Event Registry and OpenSolaris 11.2008
By user9148476 on Nov 03, 2008
Turns out, Apache isn't included in the base image of OpenSolaris (only so much stuff can fit on a single CD I suppose). "No problem," I thought. "I'll grab Apache from IPS."
% pfexec pkg install SUNWapch22Apache 2.2 loaded fine, works fine. But still no joy with 'erapache'. Digging around in the library modules of the event registry, tools/lib/ERapacheTool.pm, the problem became obvious:
30 # This utility is very Solaris-dependent because it expects apache 31 # to live where Solaris puts it ... 97 my $httpd = "/usr/apache/bin/httpd";As folks that use Apache know, Apache 2.2 installs in /usr/apache2/2.2. I first tried a symbolic link to point /usr/apache at /usr/apache2/2.2, but then hit problems with the default httpd.conf the 'erapache' utility constructs. So, reverted to applying the older Apache 1.x IPS package:
% pfexec pkg install SUNWapchThat worked swimmingly, and 'erapache' runs as expected.
So, useful workaround until tools/lib/ERapacheTool.pm is updated to work with a variety of Apache versions.