•  
      request #11161 SYSTEM_CHECK warning after installing Redis
    Infos
    #11161
    Jean-Louis Schricke (mesulog)
    2018-02-21 14:10
    2018-02-18 11:01
    11498
    Details
    SYSTEM_CHECK warning after installing Redis
    I installed Redis as explained in Tuleap 9.17 installation guide.

    Now I get a warning at each SYSTEM_CHECK :
    [Tuleap\Tracker\Artifact\Changeset\Notification\AsynchronousSupervisor] There are 1 notifications pending, you should check '/usr/share/tuleap/src/utils/worker.php' and it's log file to ensure it's still running.

    The worker is running ok (I increased $sys_logger_level to chack it) and I get no entry in worker_log.

    What else can I do ?
    Other
    9.17
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Declined
    2018-02-21
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2018-02-21 14:10
    Perfect, I close then.

    • Status changed from Acknowledged to Declined
    • Close date set to 2018-02-21
    User avatar
    Thomas,

    I turned back the rights on worker.php to 755.
    It doesn't appear anymore in "rpm -V tuleap" command.

    I restarted my VM and now I get the application running when I try to run worker.php manually.

    Thanks,
    User avatar
    Thomas Gerbet (tgerbet)2018-02-21 13:24
    It seems the rights on /usr/share/tuleap/src/utils/worker.php have been modified.

    I'm not able to detect something like this anywhere in Tuleap so I'm going to guess the change is external to Tuleap.

    You should fix the rights on this file either by re-installing the tuleap package or, less advised, by fixing manualling the rights (755). Once you have done this you can try again.
    User avatar
    [root@Server2C ~]# rpm -V tuleap
    S.5....T. /usr/share/tuleap/src/common/backend/BackendSVN.class.php
    .M....... /usr/share/tuleap/src/utils/worker.php
    .M....... /var/tmp/tuleap_cache
    User avatar
    Thomas Gerbet (tgerbet)2018-02-21 11:51
    Hum that's not expected.

    Can you please check what the following command executed as root gives you:
    rpm -V tuleap
    User avatar
    By adding the execute permission, I get an error message :
    error Application already runnin with pid 29361

    May be it was only because worker.php must have execute permission, despite other php script in utils directory do not request it.
    User avatar
    [root@Server2C ~]# su codendiadm
    bash-4.1$ /usr/share/tuleap/src/utils/worker.php -v
    bash: /usr/share/tuleap/src/utils/worker.php: Permission non accordée

    bash-4.1$ ls -al /usr/share/tuleap/src/utils
    ...
    -rwxr-xr-x. 1 codendiadm codendiadm 238 31 janv. 13:33 tuleap
    -rw-r--r--. 1 codendiadm codendiadm 2651 31 janv. 13:33 tuleap.php
    -rw-r--r--. 1 codendiadm codendiadm 11996 31 janv. 13:33 tv3_to_test.php
    drwxr-xr-x. 2 codendiadm codendiadm 4096 11 févr. 11:44 underworld-root
    -rw-r--r--. 1 codendiadm codendiadm 4309 31 janv. 13:33 user.py
    -rw-r--r--. 2 codendiadm codendiadm 3597 31 janv. 13:43 user.pyc
    -rw-r--r--. 2 codendiadm codendiadm 3597 31 janv. 13:43 user.pyo
    -rw-r--r--. 1 codendiadm codendiadm 864 31 janv. 13:33 worker.php
    User avatar
    Thomas Gerbet (tgerbet)2018-02-21 10:45
    Hello,

    Can you please try again with the command is have previously given:
    /usr/share/tuleap/src/utils/worker.php -v

    If you want to execute in another way you can also do:
    /usr/share/tuleap/src/utils/php-launcher.sh /usr/share/tuleap/src/utils/worker.php -v

    Other commands will not help the debugging process.
    User avatar
    Hi Thomas,

    Please find the result of the command execution :

    bash-4.1$ php worker.php -v
    PHP Warning: require_once(pre.php): failed to open stream: No such file or directory in /usr/share/tuleap/src/utils/worker.php on line 23
    PHP Fatal error: require_once(): Failed opening required 'pre.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/tuleap/src/utils/worker.php on line 23
    Vous avez du nouveau courrier dans /var/spool/mail/root

    It seems that "pre.php" is not found or missing...
    User avatar
    Thomas Gerbet (tgerbet)2018-02-20 11:46
    Hello,

    What do you get when you launch manually the worker as codendiadm:

    /usr/share/tuleap/src/utils/worker.php -v

    • Summary
      -SYSTEM_CAHECK warning after installing Redis 
      +SYSTEM_CHECK warning after installing Redis 
    • Category set to Other
    • Status changed from New to Acknowledged
    • Reported in version set to 9.17