[OmniOS-discuss] How do I start apache when installed from ms.omniti.com repo

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Wed Jul 6 13:37:35 UTC 2016


On Wed, 6 Jul 2016, Volker A. Brandt wrote:

>> I can see there is a pkg omniti/server/apache22/
>> mod_log_rotate at 2-0.151014:20150611T161005Z
>
> Yes, that is what you need.
>
>> Is there a way to install all the dependent packages?
>
> The dependent packages that are marked as such in the apache22 package
> are installed automatically.  For some reason, the OmniOS people have
> decided that mod_log_rotate is optional and there is no dependency.
>
> Fortunately, this is the only such package you need to install. :-)

I am using the Solaris log rotation program (via /etc/logadm.conf) to 
perform Apache log rotation.  The rule is similar to

apache -C 24 -a '/usr/local/apache22/bin/i386/apachectl graceful' \
   -p 1m -t '/logs/old/$basename.%Y-%m' '/logs/*{access,error}_log'

YMMV.

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


More information about the OmniOS-discuss mailing list