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

2016-07-05 Thread Geoff Nordli



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@2-0.151014:20150611T161005Z
 



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



___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


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

2016-07-05 Thread Bob Friesenhahn

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@2-0.151014:20150611T161005Z


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
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


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

2016-07-05 Thread Richard Skelton
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@2-0.151014:20150611T161005Z


Is there a way to install all the dependent packages?


Volker A. Brandt wrote:
>> I have installed the apache pkg from ms.omniti.com
>> pkg set-publisher -g http://pkg.omniti.com/omniti-ms/ ms.omniti.com
>> pkg install apache22
>> pkg install php-54
>> pkg install mysql-55
>>
>> Are there any SMF manifest?
>> 
>
> The SMF manifest for the ms.omniti.com version of the Apache 2.2 package
> is included; check the file "/opt/apache22/conf/http-apache.xml".
>
>
> Regards -- Volker
>   
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


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

2016-07-05 Thread Volker A. Brandt
> I have installed the apache pkg from ms.omniti.com
> pkg set-publisher -g http://pkg.omniti.com/omniti-ms/ ms.omniti.com
> pkg install apache22
> pkg install php-54
> pkg install mysql-55
> 
> Are there any SMF manifest?

The SMF manifest for the ms.omniti.com version of the Apache 2.2 package
is included; check the file "/opt/apache22/conf/http-apache.xml".


Regards -- Volker
-- 

Volker A. Brandt   Consulting and Support for Oracle Solaris
Brandt & Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


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

2016-07-05 Thread Richard Skelton
Hi
I have installed the apache pkg from ms.omniti.com
pkg set-publisher -g http://pkg.omniti.com/omniti-ms/ ms.omniti.com
pkg install apache22
pkg install php-54
pkg install mysql-55

Are there any SMF manifest?

I  also need to config php 5.4 and start mysql 55

Any help much appreciated

Cheer
Richard.
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss