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

Mailing List Archive: Cherokee: users

Bug - running cherokee-worker

 

 

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


rarvind at users

Sep 27, 2009, 9:30 AM

Post #1 of 3 (700 views)
Permalink
Bug - running cherokee-worker

Hello,
I tried running cherokee-worker on a freebsd box
uname -a
FreeBSD shiva 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24
00:57:44 UTC 2009
root [at] i386-builder:/usr/obj/usr/src/sys/GENERIC i386


and on my archlinux box
uname -a
Linux brahma 2.6.30-ARCH #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009 i686
Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux


both cases when i tried to run and bind it to a different port i got the
following error

$ cherokee-worker -p 8080
[27/08/2009 10:23:54.846] (warning) server.c:750 - Unable to raise file
descriptor limit to 4096
[27/08/2009 10:23:54.846] (critical) bind.c:284 - Could not bind()
port=80 (UID=1000, GID=1000)



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


alvaro at octality

Oct 14, 2009, 9:29 AM

Post #2 of 3 (646 views)
Permalink
Re: Bug - running cherokee-worker [In reply to]

On 27/09/2009, at 18:30, Arvind Rangan wrote:

> $ cherokee-worker -p 8080
> [27/08/2009 10:23:54.846] (warning) server.c:750 - Unable to raise
> file
> descriptor limit to 4096
> [27/08/2009 10:23:54.846] (critical) bind.c:284 - Could not bind()
> port=80 (UID=1000, GID=1000)

The -p parameter is meant to be used in conjunction with -r. If you
wanted to change the port of the server, you'd have to modify it in
cherokee-admin. In case it were quick a test, you could do something
like this:

$ cp /etc/cherokee/cherokee.conf /tmp/cherokee-test.conf
$ cherokee-admin -C /tmp/cherokee-test.conf
[ Modify the port and save the file ]
$ cherokee -C /tmp/cherokee-test.conf

--
Octality
http://www.octality.com/

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


rarvind at users

Oct 14, 2009, 9:52 AM

Post #3 of 3 (631 views)
Permalink
Re: Bug - running cherokee-worker [In reply to]

Hello,

This issue came up basically, when, I would want the worked process to run as a non root use. And at that time, it would not fire up properly.
Sometimes, if it did fire up, then, it would just die if a fcgi request were made.

Due that, sole reason, i run cherokee and the worker process both as owned by root.

thanks
Arvind



----- Original Message ----
> From: Alvaro Lopez Ortega <alvaro [at] octality>
> To: Arvind Rangan <rarvind [at] users>
> Cc: cherokee [at] lists
> Sent: Wed, 14 October, 2009 10:29:18 AM
> Subject: Re: [Cherokee] Bug - running cherokee-worker
>
> On 27/09/2009, at 18:30, Arvind Rangan wrote:
>
> > $ cherokee-worker -p 8080
> > [27/08/2009 10:23:54.846] (warning) server.c:750 - Unable to raise file
> > descriptor limit to 4096
> > [27/08/2009 10:23:54.846] (critical) bind.c:284 - Could not bind()
> > port=80 (UID=1000, GID=1000)
>
> The -p parameter is meant to be used in conjunction with -r. If you wanted to
> change the port of the server, you'd have to modify it in cherokee-admin. In
> case it were quick a test, you could do something like this:
>
> $ cp /etc/cherokee/cherokee.conf /tmp/cherokee-test.conf
> $ cherokee-admin -C /tmp/cherokee-test.conf
> [ Modify the port and save the file ]
> $ cherokee -C /tmp/cherokee-test.conf
>
> --
> Octality
> http://www.octality.com/



Now, send attachments up to 25MB with Yahoo! India Mail. Learn how. http://in.overview.mail.yahoo.com/photos
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users 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.