Menu

#218 Service Joc Cockipt failed to start - V2.6.3

1.11
closed-fixed
None
5
2023-11-14
2023-11-14
No

Hi,

After upgrading to 2.6.3, the joc service doesn't start :
nov. 14 08:23:08 js7 jetty.sh[2414051]: Starting Jetty:
nov. 14 08:23:08 js7 jetty.sh[2414155]: start-stop-daemon: invalid option -- 'D'
nov. 14 08:23:08 js7 jetty.sh[2414155]: Try 'start-stop-daemon --help' for more information.
nov. 14 08:23:08 js7 jetty.sh[2414156]: /opt/js7/joc/jetty/bin/jetty.sh: ligne 588: --make-pidfile : commande introuvable

The script jetty/bin/jetty.sh is in fault :
add a \ ad the end of line 586

change

   echo ${RUN_ARGS[@]} --start-log-file="$JETTY_START_LOG" | xargs start-stop-daemon \
       --start $CH_USER \
       --pidfile "$JETTY_PID" \
       --chdir "$JETTY_BASE" \
       --background \
       --output "${JETTY_RUN}/start-stop.log"  
       --make-pidfile \
       --startas "$JAVA" \

to

   echo ${RUN_ARGS[@]} --start-log-file="$JETTY_START_LOG" | xargs start-stop-daemon \
       --start $CH_USER \
       --pidfile "$JETTY_PID" \
       --chdir "$JETTY_BASE" \
       --background \
       --output "${JETTY_RUN}/start-stop.log"  **\**
       --make-pidfile \
       --startas "$JAVA" \

Discussion

  • Sebastien DURIS

    Sebastien DURIS - 2023-11-14

    (can't edit) without the ** of course so

       echo ${RUN_ARGS[@]} --start-log-file="$JETTY_START_LOG" | xargs start-stop-daemon \
           --start $CH_USER \
           --pidfile "$JETTY_PID" \
           --chdir "$JETTY_BASE" \
           --background \
           --output "${JETTY_RUN}/start-stop.log"  \
           --make-pidfile \
           --startas "$JAVA" \
    
     
  • Oliver Haufe

    Oliver Haufe - 2023-11-14
    • status: open --> closed-fixed
    • assigned_to: Oliver Haufe
     

Log in to post a comment.

MongoDB Logo MongoDB