Cherokee won't start

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Cherokee won't start

Postby Annubis » Dec 13th, '11, 13:33

I've installed Cherokee web server to handle ruTorrent.
If I start cherokee with:
Code: Select all
service cherokee start

It always fail. But if I launch cherokee-admin and I start cherokee from this, it works perfectly.
What's happening?
User avatar
Annubis
 
Posts: 10
Joined: Dec 5th, '11, 11:01

Re: Cherokee won't start

Postby Annubis » Dec 21st, '11, 19:51

Nobody knows?
User avatar
Annubis
 
Posts: 10
Joined: Dec 5th, '11, 11:01

Re: Cherokee won't start

Postby doktor5000 » Dec 21st, '11, 21:52

You should at least post the output of
Code: Select all
service cherokee start
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18061
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Cherokee won't start

Postby Annubis » Dec 21st, '11, 22:28

Code: Select all
# service cherokee start
Iniciando servicio Cherokee:                                                                                                                                                                         [FALLÓ ]


Code: Select all
# service --debug cherokee start
+ debug='/bin/bash -x'
+ [[ cherokee = --* ]]
+ [[ cherokee = -* ]]
+ service=cherokee
+ shift
+ options=start
+ :
+ [[ -z cherokee ]]
+ [[ -z cherokee ]]
+ [[ -n cherokee ]]
+ [[ -n '' ]]
+ [[ -n cherokee ]]
+ [[ -n '' ]]
+ [[ -z cherokee ]]
+ [[ -n cherokee ]]
+ break
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -z start ]]
+ check_if_inetd cherokee
+ local serv=cherokee
+ [[ ! -f /etc/init.d/cherokee ]]
+ return
+ [[ -z cherokee ]]
+ is_ignored_file cherokee
+ case "$1" in
+ return 1
+ [[ -f /etc/init.d/cherokee ]]
+ /bin/bash -x /etc/init.d/cherokee start
+ . /etc/rc.d/init.d/functions
++ TEXTDOMAIN=initscripts
++ TEXTDOMAINDIR=/etc/locale
++ LOCPATH=/etc/locale
++ export TEXTDOMAINDIR LOCPATH
++ TMP=/tmp
++ TMPDIR=/tmp
++ export TMP TMPDIR
++ umask 022
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin
++ export PATH
++ '[' 3702 -ne 1 -a -z '' ']'
++ /bin/mountpoint -q /cgroup/systemd
++ /bin/mountpoint -q /sys/fs/cgroup/systemd
++ '[' -z '' ']'
+++ /sbin/consoletype
++ CONSOLETYPE=pty
++ '[' -z '' ']'
+++ stty -a
+++ sed -n 's/.*columns \([0-9]*\);.*/\1/p'
++ COLUMNS=213
++ '[' -z 213 ']'
++ load_i18_settings
++ '[' -f /etc/sysconfig/i18n -a -z '' ']'
++ . /etc/sysconfig/i18n
+++ LC_TELEPHONE=es_ES.UTF-8
+++ LC_CTYPE=es_ES.UTF-8
+++ LANGUAGE=es_ES.UTF-8:es
+++ LC_MONETARY=es_ES.UTF-8
+++ LC_ADDRESS=es_ES.UTF-8
+++ LC_COLLATE=es_ES.UTF-8
+++ LC_PAPER=es_ES.UTF-8
+++ LC_NAME=es_ES.UTF-8
+++ LC_NUMERIC=es_ES.UTF-8
+++ SYSFONT=lat0-16
+++ LC_MEASUREMENT=es_ES.UTF-8
+++ LC_TIME=es_ES.UTF-8
+++ LANG=es_ES.UTF-8
+++ LC_IDENTIFICATION=es_ES.UTF-8
+++ LC_MESSAGES=es_ES.UTF-8
++ '[' pty '!=' pty ']'
++ '[' -z '' ']'
++ '[' -n es_ES.UTF-8 ']'
++ GP_LANG=es_ES.UTF-8
++ '[' -z '' ']'
++ '[' -n es_ES.UTF-8:es ']'
++ GP_LANGUAGE=es_ES.UTF-8:es
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=198
+++ MOVE_TO_COL='echo -en \033[198G'
+++ SETCOLOR_SUCCESS='echo -en \033[1;32m'
+++ SETCOLOR_FAILURE='echo -en \033[1;31m'
+++ SETCOLOR_WARNING='echo -en \033[1;33m'
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'
+++ LOGLEVEL=3
+++ PROMPT=yes
+++ AUTOSWAP=no
+++ ACTIVE_CONSOLES='/dev/tty[1-6]'
+++ SINGLE=/sbin/sushell
++ '[' pty = serial ']'
++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d'
++ '[' '' = 1 ']'
+ NAME=cherokee
+ BASE=/usr/sbin/cherokee
+ DAEMON=-d
+ CONF=/etc/cherokee/cherokee.conf
+ PIDFILE=/var/run/cherokee.pid
+ '[' -f /usr/sbin/cherokee ']'
+ . /etc/sysconfig/network
++ HOSTNAME=HTPC
++ NETWORKING=yes
++ CRDA_DOMAIN=ES
+ '[' yes = no ']'
+ RETVAL=0
+ case "$1" in
++ /sbin/pidof cherokee
+ '[' -n '' ']'
+ gprintf 'Starting %s service: ' Cherokee
+ '[' -x /bin/gettext -a -n 'Starting %s service: ' ']'
+ '[' -n es_ES.UTF-8 ']'
++ LC_ALL=es_ES.UTF-8
++ LANGUAGE=es_ES.UTF-8:es
++ gettext -e --domain=initscripts -- 'Starting %s service: '
+ local 'TEXT=Iniciando servicio %s: '
+ '[' 'Starting %s service: ' ']'
+ shift
+ printf -- 'Iniciando servicio %s: ' Cherokee
Iniciando servicio Cherokee: + /usr/sbin/cherokee --config=/etc/cherokee/cherokee.conf -d pidfile /var/run/cherokee.pid
+ /sbin/pidof cherokee
+ failure
+ local rc=1
+ gprintf_msg_rest
+ case "$1" in
++ gprintf ''
++ '[' -x /bin/gettext -a -n '' ']'
++ local TEXT=
++ '[' '' ']'
++ TEXT='\n'
++ shift
++ printf -- '\n'
+ GPRINTF_MSG=
+ shift
+ GPRINTF_REST=
+ '[' color '!=' verbose -a -z '' ']'
+ echo_failure
+ '[' color = color ']'
+ echo -en '\033[198G'
                                                                                                                                                                                                     + echo -n '['
[+ '[' color = color ']'
+ echo -en '\033[1;31m'
+ gprintf FAILED
+ '[' -x /bin/gettext -a -n FAILED ']'                                                                                                                                                                               
+ '[' -n es_ES.UTF-8 ']'                                                                                                                                                                                             
++ LC_ALL=es_ES.UTF-8                                                                                                                                                                                               
++ LANGUAGE=es_ES.UTF-8:es                                                                                                                                                                                           
++ gettext -e --domain=initscripts -- FAILED                                                                                                                                                                         
+ local 'TEXT=FALLÓ '                                                                                                                                                                                               
+ '[' FAILED ']'                                                                                                                                                                                                     
+ shift                                                                                                                                                                                                             
+ printf -- 'FALLÓ '                                                                                                                                                                                                 
FALLÓ + '[' color = color ']'                                                                                                                                                                                       
+ echo -en '\033[0;39m'                                                                                                                                                                                             
+ echo -n ']'                                                                                                                                                                                                       
]+ echo -ne '\r'
+ return 1
+ return 1
+ RETVAL=1
+ echo

+ '[' 1 -eq 0 ']'
+ exit 1
+ exit 1
User avatar
Annubis
 
Posts: 10
Joined: Dec 5th, '11, 11:01

Re: Cherokee won't start

Postby doktor5000 » Dec 23rd, '11, 13:12

Well, it's strange, also /usr/sbin/cherokee -d as root starts cherokee successfully. I'll have a look into it ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18061
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Cherokee won't start

Postby Annubis » Dec 28th, '11, 00:05

Yes, starting it with /usr/sbin/cherokee -d as root start web server without problems. Thank you, at least this method allows me to start cherokee at boot.
User avatar
Annubis
 
Posts: 10
Joined: Dec 5th, '11, 11:01


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest