Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism.

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Oct 21, 2009, 8:14 AM

Post #1 of 14 (1596 views)
Permalink
Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism.

Status: New
Owner: ----

New issue 617 by rjpereyra: Freebsd 8RC1 port error- Couldn't initialize
spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

What steps will reproduce the problem?
1. FreeBSD 8.0-RC1
2. Cherokee Web Server 0.99.24 FreeBSD port
3. When I start the web server I have this error output:

erver1# /usr/local/etc/rc.d/cherokee restart
Stopping cherokee.
Server is exiting..
Waiting for PIDS: 1912PID 1913: exited re=0
.
Starting cherokee.
(warning) Couldn't initialize spawn mechanism.
server1# [21/09/2009 13:04:13.753] (error) spawner.c:86 - Could initialize
SHM '/cherokee-spawner-1935': Function not implemented
Cherokee Web Server 0.99.24 (Oct 21 2009): Listening on port ALL:80, TLS
disabled, IPv6 enabled, using poll, 4096 fds system limit, max. 2041
connections, caching I/O, 10 threads, 204 connections per thread, standard
scheduling policy

I send a screenshot with the admin interface error.

roberto


Attachments:
cherokee_error.png 128 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Oct 21, 2009, 8:22 AM

Post #2 of 14 (1557 views)
Permalink
Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #1 on issue 617 by rjpereyra: Freebsd 8RC1 port error- Couldn't
initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617


starting the server not create any pid file:

Information
Version: 0.99.24
Prefix: /usr/local
WWW Root: /usr/local/www/cherokee
PID file: Not running
Configuration File: /usr/local/etc/cherokee/cherokee.conf
Modified: Wed Oct 21 12:57:20 2009

roberto

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Oct 21, 2009, 8:28 AM

Post #3 of 14 (1563 views)
Permalink
Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #2 on issue 617 by rjpereyra: Freebsd 8RC1 port error- Couldn't
initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

When I start the server with the admin interface have this error:

Could not launch the server

Something happened while launching the server. The error reported by the
server follows:

Could not access file descriptors: [3, 5]


roberto

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Nov 7, 2009, 3:07 AM

Post #4 of 14 (1528 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #3 on issue 617 by Wonslung: Freebsd 8RC1 port error- Couldn't
initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

has there been any movement on this issue?

I've ALWAYS gotten this message when starting cherokee on FreeBSD
(warning) Couldn't initialize spawn mechanism.
[07/11/2009 10:56:47.505] (error) spawner.c:86 - Couldn't initialize SHM
'/cherokee-spawner-95478': Function not implemented


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Nov 29, 2009, 7:30 AM

Post #5 of 14 (1478 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Updates:
Owner: alobbs
Labels: Type-Enhancement Priority-High OpSys-BSD

Comment #4 on issue 617 by alobbs: Freebsd 8RC1 port error- Couldn't
initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

I'm thinking about rewrite the SHM support of Cherokee. It currently uses a
very
small shared memory area. It could be implemented in a temporary file in
order to
avoid all these compatibility issues.

At the end of the day, there are even systems - like Solaris, that create
files in
/tmp when a shm_*() function is invoked. Besides, speaking of performance,
it'd make
such a big difference.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

Apr 11, 2010, 4:31 PM

Post #6 of 14 (1253 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #5 on issue 617 by fallibledragon: Freebsd 8RC1 port error-
Couldn't initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

I get this problem on Linux too, which as far as I know has no unusual
limits on SHM
size. This is making cherokee unusable for me (and others whom I've seen
reporting
the same issue). I see it's been around half a year since this was
reported. If
someone could identify the problem clearly, it might be easier for others
to chip in ;)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

May 12, 2010, 8:37 PM

Post #7 of 14 (1184 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #6 on issue 617 by sandino.araico: Freebsd 8RC1 port error-
Couldn't initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

It happens to me on Linux, Cherokee 1.0.0

532 [root [at] lawam ~] /usr/sbin/cherokee
(warning) Couldn't initialize spawn mechanism.
[12/05/2010 22:35:54.019] (error) spawner.c:87 - Could not initialize SHM
'/cherokee-spawner-16631': Function not implemented
Cherokee Web Server 1.0.0 (May 12 2010): Listening on port ALL:80, TLS
disabled,
IPv6 disabled, using epoll, 4096 fds system limit, max. 2041 connections,
caching I/O, 15 threads, 136 connections per thread, standard scheduling
policy


_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

May 12, 2010, 8:48 PM

Post #8 of 14 (1187 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #7 on issue 617 by ste...@konink.de: Freebsd 8RC1 port error-
Couldn't initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

Your SHM is most likely not mounted. But even then, what is the problem ;)
Your server
runs :)

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

May 12, 2010, 9:04 PM

Post #9 of 14 (1189 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Updates:
Status: Duplicate
Mergedinto: 537

Comment #8 on issue 617 by ste...@konink.de: Freebsd 8RC1 port error-
Couldn't initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

If the SHM system gets replaced, why not just merge the bugs.

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

Jul 24, 2010, 9:40 PM

Post #10 of 14 (1042 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #9 on issue 617 by rrb...@speakeasy.net: Freebsd 8RC1 port error-
Couldn't initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

Since people have mentioned this error and FreeBSD I can almost guarantee
you this has to do with running Cherokee in jails. Shared memory is
disabled in jails.

This can be changed by:

sysctl security.jail.sysvipc_allowed=1

But per the FreeBSD handbook
(http://www.freebsd.org/doc/en/books/arch-handbook/jail-restrictions.html)
it defeats the purpose of having a jail because privileged users from the
jail would be able to affect processes outside the jailed environment with
this enabled. So enable at your own risk.



_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

Aug 30, 2010, 8:53 AM

Post #11 of 14 (903 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #10 on issue 617 by ste...@sofa-rockers.org: Freebsd 8RC1 port
error- Couldn't initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

I have the same problem on a virtual Ubuntu 10.04 Lucid machine.

“Linux-VServer <http://linux-vserver.org/>” with a Vanilla Kernel and just
the LV patchset is used for the virtualization. The kernel version is
2.6.33.2-vs2.3.0.36.30.4-netcup.

The problem occurs with Ubuntu’s default Cherokee 0.99.39 and with the 1.x
versions from the Lauchnpad PPA as well.

I’ve also tested it in a VirtualBox VM with Lucid – everything works fine
there.

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

Aug 30, 2010, 9:03 AM

Post #12 of 14 (900 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #11 on issue 617 by ste...@konink.de: Freebsd 8RC1 port error-
Couldn't initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

Checked if shm is mounted?

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

Sep 12, 2010, 11:44 AM

Post #13 of 14 (862 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #12 on issue 617 by ste...@sofa-rockers.org: Freebsd 8RC1 port
error- Couldn't initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

Yes, was not mounted. Had to ask my hosting provider to enable it. Now it
works. :)

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


cherokee at googlecode

Nov 21, 2010, 8:25 PM

Post #14 of 14 (643 views)
Permalink
Re: Issue 617 in cherokee: Freebsd 8RC1 port error- Couldn't initialize spawn mechanism. [In reply to]

Comment #13 on issue 617 by macropin: Freebsd 8RC1 port error- Couldn't
initialize spawn mechanism.
http://code.google.com/p/cherokee/issues/detail?id=617

I just experienced this issue with a Centos 5.6 template running on OpenVZ.
The OS template did not include /dev/shm. Fixed with # mkdir -m 1777
/dev/shm.

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.