Hi all,

after having configuring a BaseX hub (|cluster|farm|...?), I have a last problem (I hope 🤞😅). When I want to stop a BaseX instance with basexhttpstop (or basexhttp stop), I have different results, but none stop the instance.

The context:

The result of the stop commands:

  1. > su - -s /bin/bash basexusr1 -c "/basex-ferme/sites/basex1/basex/bin/basexhttpstop -h11204 -p11205 -s11206"
    BaseX 10.7 [HTTP Server]
    [main] INFO org.eclipse.jetty.util.log - Logging initialized @1523ms to org.eclipse.jetty.util.log.Slf4jLog
    HTTP Server was stopped (port: 11204).
    Server was stopped (port: 11205).

  2. > su - -s /bin/bash basexusr1 -c "/basex-ferme/sites/basex1/basex/bin/basexhttp stop -h11204 -p11205 -s11206"
    BaseX 10.7 [HTTP Server]
    [main] INFO org.eclipse.jetty.util.log - Logging initialized @1441ms to org.eclipse.jetty.util.log.Slf4jLog
    HTTP Server was stopped (port: 11204).
    Server was stopped (port: 11205).

  3. > su - -s /bin/bash basexusr1 -c "/basex-ferme/sites/basex1/basex/bin/basexhttp stop -s11206"
    BaseX 10.7 [HTTP Server]: 11205).
    [main] INFO org.eclipse.jetty.util.log - Logging initialized @1819ms to org.eclipse.jetty.util.log.Slf4jLog
    HTTP Server was stopped (port: 8080).
    Server was stopped (port: 1984).

  4. > su - -s /bin/bash basexusr1 -c "/basex-ferme/sites/basex1/basex/bin/basexhttp stop -h11204 -s11206"
    BaseX 10.7 [HTTP Server]
    [main] INFO org.eclipse.jetty.util.log - Logging initialized @1366ms to org.eclipse.jetty.util.log.Slf4jLog
    HTTP Server was stopped (port: 11204).
    Server was stopped (port: 1984).

  5. > su - -s /bin/bash basexusr1 -c "/basex-ferme/sites/basex1/basex/bin/basexhttp stop -p11205 -s11206"
    BaseX 10.7 [HTTP Server]
    [main] INFO org.eclipse.jetty.util.log - Logging initialized @1006ms to org.eclipse.jetty.util.log.Slf4jLog
    HTTP Server was stopped (port: 8080).
    Server was stopped (port: 11205).

... and there is no track of the stop request in the log file (but there are the tracks of the admin access). The only solution I have found is to kill the process. That's my plan B, but I hope there is another cleaner solution 🤞😎

Has anyone a suggestion to resolve my problem?... and sorry for the complexity of the context 😓

Greetings
Pierre-Yves


Pierre-Yves Jallud
Pôle Humanité Numériques / Ingénieur en ingénierie logicielle


IHRIM - UMR 5317
CNRS
ENS de Lyon
15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07
+33 (0)4 37 37 63 83 - pierre-yves.jallud@ens-lyon.fr