Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-11 Thread Chad Leigh Shire.Net LLC

On Aug 9, 2012, at 9:41 AM, Fbsd8 wrote:

 Chad Leigh Shire.Net LLC wrote:
 On Aug 7, 2012, at 10:31 AM, Mark Felder wrote:
 jail_sysvipc_allow=YES in rc.conf should do it.
 Hmm
 I added that and rebooted the jail host system. However, the setting in 
 sysctl security.jail.sysvipc_allowed  is still 0 after the reboot
 # sysctl -a | grep sysvipc
 security.jail.param.allow.sysvipc: 0
 security.jail.sysvipc_allowed: 0
 #
 I can set security.jail.sysvipc_allowed to 1 manually.  However, even after 
 doing that, the original fcgi problem happens when starting apache2.2 with 
 mod_fcgid in the configuration and being loaded
 [Tue Aug 07 13:09:12 2012] [emerg] (78)Function not implemented: mod_fcgid: 
 Can't create shared memory for size 1192488 bytes
 Thanks!
 Chad
 Since you manually installed apache22 and mod_fcgid from up-stream sources 
 maybe you missed something. As a test create another jail and install the 
 package versions of apache22 and mod_fcgid and see if that will start ok. If 
 it does them you know you missed something in your hand job version.
 


Hi

Thanks for the suggestion.  I don't think, however, that anything is missing 
with my from-source compilations. I have been running self-compiled apaches for 
15 years and have also done mod_fcgid in the past as well without issue (but 
not inside a jail).  I don't think it is a matter of sw missing, but of system 
parameters or similar.'

Thanks
Chad



Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-09 Thread Fbsd8

Chad Leigh Shire.Net LLC wrote:

On Aug 7, 2012, at 10:31 AM, Mark Felder wrote:


jail_sysvipc_allow=YES in rc.conf should do it.


Hmm

I added that and rebooted the jail host system. However, the setting in sysctl 


security.jail.sysvipc_allowed  is still 0 after the reboot

# sysctl -a | grep sysvipc
security.jail.param.allow.sysvipc: 0
security.jail.sysvipc_allowed: 0
#

I can set security.jail.sysvipc_allowed to 1 manually.  However, even after 
doing that, the original fcgi problem happens when starting apache2.2 with 
mod_fcgid in the configuration and being loaded

[Tue Aug 07 13:09:12 2012] [emerg] (78)Function not implemented: mod_fcgid: 
Can't create shared memory for size 1192488 bytes


Thanks!
Chad


Since you manually installed apache22 and mod_fcgid from up-stream 
sources maybe you missed something. As a test create another jail and 
install the package versions of apache22 and mod_fcgid and see if that 
will start ok. If it does them you know you missed something in your 
hand job version.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-07 Thread Chad Leigh Shire . Net LLC
Hi.  I'll try this again.

I run systems using FreeBSD 9.0

FreeBSD utah.XXXcom 9.0-STABLE FreeBSD 9.0-STABLE #1: Wed Mar 21 15:22:14 
MDT 2012 chad@underhill:/usr/obj/usr/src/sys/UNDERHILL-XEN  amd64

and on those systems run a bunch of jails.  I have Apache 2.2 built and running 
in the jail in question, and recently had need to add mod_fcgid to it.  NOTE 
that the Apache and mod_fcgid were not installed through ports or packages.  I 
download the source and build myself (for various reasons).  

Apache inside the Jail, with mod_fcgid enabled will not start:

[Mon Jul 23 10:59:35 2012] [emerg] (78)Function not implemented: mod_fcgid: 
Can't create shared memory for size 1192488 bytes


I did a search on this and found that I would probably need a system kernel 
parameter changed from 0 - 1

security.jail.sysvipc_allowed

So I did that.  (And restarted the jail).  However, I still get the same error 
when trying to start apache.

I noticed a similar parameter  security.jail.param.allow.sysvipc  but cannot 
change this at run time and did not find anything useful about what this 
parameter is for using a search engine.

(As an aside, how would I change security.jail.sysvipc_allowed   and also 
security.jail.param.allow.sysvipc at boot time?  I added them both to 
/boot/loader.conf but they did not get changed at boot and I had to do the 
security.jail.sysvipc_allowed one again on the command line -- I have some vfs 
type kernel state variables set there and they stick)

I would appreciate some help with getting things set up so that I can run 
apache with mod_fcgid under my Jails on FBSD 9.

Thanks!
Chad



Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-07 Thread Mark Felder

jail_sysvipc_allow=YES in rc.conf should do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-08-07 Thread Chad Leigh Shire.Net LLC

On Aug 7, 2012, at 10:31 AM, Mark Felder wrote:

 jail_sysvipc_allow=YES in rc.conf should do it.

Hmm

I added that and rebooted the jail host system. However, the setting in sysctl 

security.jail.sysvipc_allowed  is still 0 after the reboot

# sysctl -a | grep sysvipc
security.jail.param.allow.sysvipc: 0
security.jail.sysvipc_allowed: 0
#

I can set security.jail.sysvipc_allowed to 1 manually.  However, even after 
doing that, the original fcgi problem happens when starting apache2.2 with 
mod_fcgid in the configuration and being loaded

[Tue Aug 07 13:09:12 2012] [emerg] (78)Function not implemented: mod_fcgid: 
Can't create shared memory for size 1192488 bytes


Thanks!
Chad




Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error

2012-07-27 Thread Chad Leigh Shire . Net LLC
Hi

I run systems using FreeBSD 9.0

FreeBSD utah.XXXcom 9.0-STABLE FreeBSD 9.0-STABLE #1: Wed Mar 21 15:22:14 
MDT 2012 chad@underhill:/usr/obj/usr/src/sys/UNDERHILL-XEN  amd64

and on those systems run a bunch of jails.  I have Apache 2.2 built and running 
in the jail in question, and recently had need to add mod_fcgid to it.  NOTE 
that the Apache and mod_fcgid were not installed through ports or packages.  I 
download the source and build myself (for various reasons).  

Apache inside the Jail, with mod_fcgid enabled will not start:

[Mon Jul 23 10:59:35 2012] [emerg] (78)Function not implemented: mod_fcgid: 
Can't create shared memory for size 1192488 bytes


I did a search on this and found that I would probably need a system kernel 
parameter changed from 0 - 1

security.jail.sysvipc_allowed

So I did that.  (And restarted the jail).  However, I still get the same error 
when trying to start apache.

I noticed a similar parameter  security.jail.param.allow.sysvipc  but cannot 
change this at run time and did not find anything useful about what this 
parameter is for using a search engine.

(As an aside, how would I change security.jail.sysvipc_allowed   and also 
security.jail.param.allow.sysvipc at boot time?  I added them both to 
/boot/loader.conf but they did not get changed at boot and I had to do the 
security.jail.sysvipc_allowed one again on the command line -- I have some vfs 
type kernel state variables set there and they stick)

I would appreciate some help with getting things set up so that I can run 
apache with mod_fcgid under my Jails on FBSD 9.

Thanks!
Chad


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org