URL: https://linuxfr.org/forums/linux-general/posts/echec-au-lancement-d-un-service Title: Echec au lancement d'un service Authors: Orwell Date: 2016年03月21日T20:36:34+01:00 License: CC By-SA Tags: debugging, administration_système, linux, noyau_linux et varnish Score: 0 Salut à tous, Sur une vm centos 6.7 en tant que root je n'arrive pas à lancer varnish via /etc/init.d/varnish start ou service varnish start. Pourtant comme vous pouvez le voir ci dessous lorsque je copie le fichier /etc/init.d/varnish dans /root et que je l’exécute depuis ce dossier (/root/varnish) le service s’exécute correctement. > [root@ws-web-qualif ~]# /etc/init.d/varnish start Starting Varnish Cache: Assert error in vju_make_vcldir(), mgt/mgt_jail_unix.c line 245: Condition((chown(dname, vju_uid, vju_gid)) == 0) not true. errno = 1 (Operation not permitted) /bin/bash: line 1: 2510 Abandon /usr/sbin/varnishd -a :6081 -f /etc/varnish/default.vcl -T 127.0.0.1:6082 -p thread_pool_min=50 -p thread_pool_max=1000 -S /etc/varnish/secret -s malloc,256M -P /var/run/varnish.pid [ÉCHOUÉ]> [root@ws-web-qualif ~]# service varnish start Starting Varnish Cache: Assert error in vju_make_vcldir(), mgt/mgt_jail_unix.c line 245: Condition((chown(dname, vju_uid, vju_gid)) == 0) not true. errno = 1 (Operation not permitted) /bin/bash: line 1: 2529 Abandon /usr/sbin/varnishd -a :6081 -f /etc/varnish/default.vcl -T 127.0.0.1:6082 -p thread_pool_min=50 -p thread_pool_max=1000 -S /etc/varnish/secret -s malloc,256M -P /var/run/varnish.pid [ÉCHOUÉ]> [root@ws-web-qualif ~]# cp /etc/init.d/varnish ~/varnish [root@ws-web-qualif ~]# ls -l varnish -rwxr-xr-x. 1 root root 3006 21 mars 17:54 varnish> [root@ws-web-qualif ~]# ./varnish start Starting Varnish Cache: [ OK ] [root@ws-web-qualif ~]# Pouvez vous m'aider à comprendre pourquoi j'ai ce comportement? Merci de votre aide