|
#1
|
|||
|
|||
|
Hallo,
habe gerade gesehen, dass ein Update fehlgeschlagen ist, weil Jailkit irgendwie nicht funktioniert: Code:
insserv: Script jailkit is broken: missing end of LSB comment. insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing clamav-daemon (--configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: clamav-daemon E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype insserv: Script jailkit is broken: missing end of LSB comment. insserv: exiting now! Danke! |
|
#2
|
|||
|
|||
|
Moinsen,
kann es sein, dass du unstable oder testing einsetzt? Grüße nwb
__________________
Der frühe Wurm vögelt den Fang! |
|
#3
|
|||
|
|||
|
Moin, Moin!
Ich werde mich hüten irgendwas nicht-finales auf ein Produktivsystem zu spielen... ![]() Der Fehler ist auch ur-plötzlich aufgetaucht. Beim Aufsetzen des Servers vor einer Woche war alles in Ordnung. Deshalb wundert mich das ja auch.... Hast Du einen Tip? Gruß! |
|
#4
|
|||
|
|||
|
Moinsen,
es klingt ja stark danach als wenn da ein Fehler im Paket ist, bei dem ein Teil des Inhalts im Infobereich aufgetreten ist. Ich weiß nicht, ob ich dir wirklich dabei helfen kann... Evtl. kannst du das Paket entfernen, das heruntergeladene Paket löschen und neu herunterladen und installieren. Alternativ hilft vielleicht auch schon ein apt-get install --fix-missing Interessant wäre noch, woher du jailkit hast, denn laut Jailkit - chroot jail utilities gab es längere Zeit keine Updates. Vielleicht solltest du da mal deine Quellen prüfen. Ist aber alles nur ein Schuss ins Blaue... Grüße nwb
__________________
Der frühe Wurm vögelt den Fang! |
|
#5
|
|||
|
|||
|
Bitte poste mal dein /etc/init.d/jailkit Skript.
Geändert von iddQQp (30.10.2011 um 00:10 Uhr). |
|
#6
|
|||
|
|||
|
Code:
#!/bin/sh
#
# start/stop jailkit logging daemon.
#
# chkconfig: 2345 60 40
# description: chroot() jail wrapping utilities
### BEGIN INIT INFO
# Provides: Jailkit
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: jailkit init
# Description:
#
###END INIT INFO
JK_SOCKETD=/usr/sbin/jk_socketd
test -x ${JK_SOCKETD} || exit 0
case "$1" in
start)
echo -n "Starting jailkit:"
echo -n " jk_socketd"
${JK_SOCKETD}
echo " done."
;;
stop)
echo -n "Stopping jailkit:"
echo -n " jk_socketd"
killall ${JK_SOCKETD}
echo " done."
;;
restart)
$0 stop
$0 start
;;
force-reload)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0
|
|
#7
|
|||
|
|||
|
Ich vermute mal da fehlt ein Lerzeichen. Versuch mal bitte die Zeile:
Code:
###END INIT INFO Code:
### END INIT INFO |
|
#8
|
|||
|
|||
|
Habe die Leerstelle eingefügt, apt-get update > apt-get upgrade:
Code:
Setting up clamav-daemon (0.97.3+dfsg-1~squeeze1) ...
insserv: Script jailkit.save.1 is broken: missing end of LSB comment.
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing clamav-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
clamav-daemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
![]() |
|
#9
|
|||
|
|||
|
Hi,
hier die richtige Syntax: Code:
### BEGIN INIT INFO # Provides: jailkit # Required-Start: $syslog # Required-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: jailkit init # Description: ### END INIT INFO Code:
#!/bin/sh
#
# start/stop jailkit logging daemon.
#
# chkconfig: 2345 60 40
# description: chroot() jail wrapping utilities
JK_SOCKETD=/usr/sbin/jk_socketd
test -x ${JK_SOCKETD} || exit 0
case "$1" in
start)
echo -n "Starting jailkit:"
echo -n " jk_socketd"
${JK_SOCKETD}
echo " done."
;;
stop)
echo -n "Stopping jailkit:"
echo -n " jk_socketd"
killall ${JK_SOCKETD}
echo " done."
;;
restart)
$0 stop
$0 start
;;
force-reload)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0
|
|
#10
|
|||
|
|||
|
Hallo iddQpp,
ersma vielen Dank für Deine Antwort! Habe mal gleich den Info-Block rausgenommen und erhalte nach Aufruf von apt-upgrade trotzdem noch: Code:
Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up clamav-daemon (0.97.3+dfsg-1~squeeze1) ... insserv: warning: script 'K01jailkit' missing LSB tags and overrides insserv: warning: script 'jailkit' missing LSB tags and overrides insserv: Script jailkit.save.1 is broken: missing end of LSB comment. insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing clamav-daemon (--configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: clamav-daemon E: Sub-process /usr/bin/dpkg returned an error code (1) |
![]() |
| Themen-Optionen | |
| Ansicht | |
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 14:48 Uhr.











Linear-Darstellung
