:)

Ehm, it will be difficult to do it each time server is rebooted...

The problem is that I can't find any rc script for Fedora in google....
And also I am not using version from yum (apt-get analog), because
distributed version of cherokee is outdated there.


Really need rc script example

Thanks
Oleg

On Mon, Aug 24, 2009 at 8:12 PM, Pablo Hernan Saro <[email protected]>wrote:

> Well, if you want to start cherokee without a rc script, my suggestion is
> to execute cherokee-admin as root, then login to cherokee-admin web
> interface and start/stop/restart cherokee web server from there. You can
> exit cherokee-admin and cherokee will still running.
> Cheers
>
> Pablo
>
>
> On Mon, Aug 24, 2009 at 1:56 PM, Oleg Oltar <[email protected]> wrote:
>
>> Thanks for your answer!
>>
>> Can you suggest a command to run the server from console (just what lunch
>> from cherokee admin calls)?
>>
>>
>> On Mon, Aug 24, 2009 at 4:18 PM, Pablo Hernan Saro 
>> <[email protected]>wrote:
>>
>>> cherokee-admin was intended to be run as root every time you want/need to
>>> use the admin interface. So, just become root, run cherokee-admin and when
>>> you finish configuring your server just hit ctrl + c.
>>>
>>> As far as I can see, the cherokee rc script (start/stop script) included
>>> in the cherokee tarball is for Debian like GNU/Linux distributions. Ask
>>> Google for a Red Hat like one or write your own script. Or why not
>>> downloading a binary package (RPM) of cherokee, extracting it and getting
>>> the rc script? :-)
>>>
>>> Cheers,
>>>
>>> Pablo
>>>
>>> On Mon, Aug 24, 2009 at 6:08 AM, Oleg Oltar <[email protected]>wrote:
>>>
>>>> Hi!
>>>>
>>>>
>>>> I am trying to add cherokee to a start-up list on my Fedora server.
>>>> I have few problems...
>>>>
>>>> 1) I can start cherokee admin only if I am root. Not sure if that is
>>>> correct. Actually it requires me to be root in order to kill any process.
>>>> Any ideas?
>>>> 2) I tried to add the cherokee start-up file, to the init.d folder:
>>>>
>>>> # cp /var/www/oleg/data/soft/cherokee/contrib/cherokee /etc/init.d/
>>>> # chmod 755 /etc/init.d/cherokee
>>>>
>>>> Now after restarting the server (rebooting my operation system), I don't
>>>> see cherokee among the process list
>>>>
>>>> I also tried:
>>>>
>>>> [r...@oplot ~]# /etc/init.d/cherokee
>>>> Usage: /etc/init.d/cherokee
>>>> {start|stop|reload|rotate-logs|restart|force-restart}
>>>> [r...@oplot ~]# /etc/init.d/cherokee start
>>>> Starting cherokee web server: cherokee/etc/init.d/cherokee: line 24:
>>>> start-stop-daemon: command not found
>>>> failed
>>>> [r...@oplot ~]# /etc/init.d/cherokee start
>>>> Starting cherokee web server: cherokee/etc/init.d/cherokee: line 24:
>>>> start-stop-daemon: command not found
>>>> failed
>>>> [r...@oplot ~]# cherokee start
>>>> (warning) Couldn't initialize spawn mechanism.
>>>> Cherokee Web Server 0.99.22 (Aug  6 2009): Listening on port ALL:81, TLS
>>>> disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041
>>>> connections, single thread
>>>>
>>>>
>>>> Please help me to understand how to add it more correctly to the
>>>> autostart list.
>>>>
>>>> _______________________________________________
>>>> Cherokee mailing list
>>>> [email protected]
>>>> http://lists.octality.com/listinfo/cherokee
>>>>
>>>>
>>>
>>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to