[OmniOS-discuss] How do I start apache when installed from ms.omniti.com repo
Geoff Nordli
geoffn at gnaa.net
Tue Jul 5 22:47:50 UTC 2016
On 2016-07-05 03:34 PM, Bob Friesenhahn wrote:
> On Tue, 5 Jul 2016, Richard Skelton wrote:
>
>> Hi Volker,
>> Thanks for that :-)
>> I ran :-
>> svccfg import /opt/apache22/conf/http-apache.xml
>> then mkdir /www
>> svcadm enable svc:/network/http:apache22
>> but it fails :-
>> httpd: Syntax error on line 116 of /opt/apache22/conf/httpd.conf: Cannot
>> load /opt/apache22/libexec/amd64/mod_log_rotate.so into server: ld.so.1:
>> httpd: fatal: /opt/apache22/libexec/amd64/mod_log_rotate.so: open
>> failed: No such file or directory
>>
>> I can see there is a pkg
>> omniti/server/apache22/mod_log_rotate at 2-0.151014:20150611T161005Z
>> <http://pkg.omniti.com/omniti-ms/info/0/omniti%2Fserver%2Fapache22%2Fmod_log_rotate%402%2C5.11-0.151014%3A20150611T161005Z>
>>
>>
>> Is there a way to install all the dependent packages?
>
> This is "unsupported" software. You could choose to comment out line
> 116 of /opt/apache22/conf/httpd.conf if you don't plan to use its
> log-rotate functionality. My recollection is that OmniTI's httpd.conf
> is compact and written from scratch. It is possible to restore the
> default Apache "It works!" configuration.
>
> After seeing the "unsupported" nature of the OmniTI packages and that
> many of them are for rather old OmniOS, I decided to create my own
> Apache package.
>
> Bob
There is also pkgsrc: https://pkgsrc.joyent.com/install-on-illumos/ if
you want the amp stack.
Geoff
More information about the OmniOS-discuss
mailing list