Neustart Steg auf Ubuntu 12.04.4

Bin ich immer etwas sehr ungewöhnliches Verhalten.

Folgte ich diese Anweisungen für die Installation von jetty aber verwendet die neueste version statt (9.1.1v20140108)

Ich hatte Grund, starten Sie Jetty und fand ich immer diese Fehler (als root angemeldet)

Ab Steg: FEHLER mi Feb 5 12:35:59 EST 2014

So verbrachte ich 30 Minuten nach einer Antwort zu suchen, dann aus Gründen, die ich kann mich nicht erinnern, Tat ich Dienst Steg-check und es lief (hatte einen pid).

Also versuchte ich es wieder mit Jetty-service-stop:

root@erp:/var/log# service jetty stop
/etc/init.d/jetty: line 13: chkconfig:: command not found
/etc/init.d/jetty: line 14: description:: command not found
/etc/init.d/jetty: line 15: processname:: command not found
Stopping Jetty: start-stop-daemon: warning: failed to kill 7817: No such process
1 pids were not killed
No process in pidfile '/var/run/jetty.pid' found running; none killed.
OK

Keiner getötet? Ok. Lassen Sie uns prüfen, dass:

root@erp:/var/log# service jetty check
/etc/init.d/jetty: line 13: chkconfig:: command not found
/etc/init.d/jetty: line 14: description:: command not found
/etc/init.d/jetty: line 15: processname:: command not found
Checking arguments to Jetty:
START_INI      =  /srv/jetty/start.ini
JETTY_HOME     =  /srv/jetty
JETTY_BASE     =  /srv/jetty
JETTY_CONF     =  /srv/jetty/etc/jetty.conf
JETTY_PID      =  /var/run/jetty.pid
JETTY_START    =  /srv/jetty/start.jar
JETTY_LOGS     =  /srv/jetty/logs
CLASSPATH      =
JAVA           =  /usr/bin/java
JAVA_OPTIONS   =  -Dsolr.solr.home=/srv/solr  -Djetty.state=/srv/jetty/jetty.state -Djetty.logs=/srv/jetty/logs -Djetty.home=/srv/jetty -Djetty.base=/srv/jetty -Djava.io.tmpdir=/tmp
JETTY_ARGS     =  jetty.port=8085 jetty-logging.xml jetty-started.xml
RUN_CMD        =  /usr/bin/java -Dsolr.solr.home=/srv/solr -Djetty.state=/srv/jetty/jetty.state -Djetty.logs=/srv/jetty/logs -Djetty.home=/srv/jetty -Djetty.base=/srv/jetty -Djava.io.tmpdir=/tmp -jar /srv/jetty/start.jar jetty.port=8085 jetty-logging.xml jetty-started.xml

Keine PID? Lassen Sie uns prüfen, dass:

root@erp:/var/log# service jetty start
/etc/init.d/jetty: line 13: chkconfig:: command not found
/etc/init.d/jetty: line 14: description:: command not found
/etc/init.d/jetty: line 15: processname:: command not found
Starting Jetty: FAILED Wed Feb  5 12:39:43 EST 2014

Ok, gibt es eine PID?

root@erp:/var/log# service jetty check
/etc/init.d/jetty: line 13: chkconfig:: command not found
/etc/init.d/jetty: line 14: description:: command not found
/etc/init.d/jetty: line 15: processname:: command not found
Checking arguments to Jetty: 
[edit]

Jetty running pid=7993

Seltsam. Sicher genug, ein stoppen und überprüfen Sie geben die gleichen Ergebnisse.

Was ist Los mit dem jetty-Start-script? Und warum bin ich immer FEHLGESCHLAGEN-Fehler auf der Startseite, die falsch sind, und nicht zum entfernen der pid-Fehler auf Stopp, die sind auch falsch?

  • Es ist erwähnenswert, dass, ich habe den link in den Kommentaren auf der Seite, die zeigte, dass das entfernen --daemon aus der start-stop-daemon-Befehl funktionieren würde - es hat nicht.
  • Ich versuche, die genaue gleichen Sache, aber mit 9.1.4.v20140401... es ist nicht für mich arbeiten. Ich bekomme die gleiche Starting Jetty: FAILED Sat Apr 5 05:28:39 EDT 2014, aber ich bekomme nicht die java.io.IOException. irgendwelche Ideen?
  • Welche Fehlermeldung bekommen Sie? Wenn keine, haben Sie versucht, die Ausführung des Befehls von der Befehlszeile aus, um zu sehen, welcher Fehler wird geworfen?
InformationsquelleAutor datakid | 2014-02-05
Schreibe einen Kommentar