Hallo, ich bin Linux Newbie und breche mir gerade einen ab. Wäre schön wenn ihr mir helfen könntet.
mein System:
RPI B 512MB + 8GB Karte + Whezzy 2013-02-09 (system läuft, alles OK)
Nun möchte ich darauf den "Agfeo TKSuite Professional Server" (ftp://ftp.agfeo.de/pub/software/t…7_linux-x86.tgz) installieren. Und das bekomme ich einfach nicht hin.
Gestartet wird die Installation per install.sh
Ich bekomme dann immer folgende Fehlermeldungen:
insserv: warning: script 'K01tksuitectl' missing LSB tags and overrides
insserv: warning: script 'tksuitectl' missing LSB tags and overrides
Ich komme nicht dahinter wie ich das korrigieren kann.
Hier der ganze verlauf:
root@raspberrypi:/home/pi/tksuite# ./install.sh
Installation TK-Suite Server...
Stopping a running TK-Suite server
/etc/init.d/tksuitectl stop: tksock (no pid file) not running
Installing TK-Suite Server to /usr/local/tksuite_server...
Creating /var/tksuite_server hierarchie...
skipping tksuite_server
skipping tksuite_server/dbf
skipping tksuite_server/files
skipping tksuite_server/images
skipping tksuite_server/updates
skipping tksuite_server/tksock.ini
Done! Got any errors? -> Please check root permissions
installing init script...
`scripts/resources/tksuitectl' -> `/etc/init.d/tksuitectl'
creating init.d links... doing a debian installation:
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K01tksuitectl' missing LSB tags and overrides
insserv: warning: script 'tksuitectl' missing LSB tags and overrides
Done! Got any errors? -> Please check root permissions
Starting TK-Suite Server
/etc/init.d/tksuitectl start: starting tksock...
/etc/init.d/tksuitectl start: tksock could not be started
done
Der TK-Suite Server kann mit /etc/init.d/tksuitectl start/stop gestartet/gestoppt werden.
In den Runlevels 2, 3 und 5 ist der automatische Start aktiviert
root@raspberrypi:/home/pi/tksuite# ./install.sh
Installation TK-Suite Server...
Stopping a running TK-Suite server
/etc/init.d/tksuitectl stop: tksock (no pid file) not running
Installing TK-Suite Server to /usr/local/tksuite_server...
Creating /var/tksuite_server hierarchie...
skipping tksuite_server
skipping tksuite_server/dbf
skipping tksuite_server/files
skipping tksuite_server/images
skipping tksuite_server/updates
skipping tksuite_server/tksock.ini
Done! Got any errors? -> Please check root permissions
installing init script...
`scripts/resources/tksuitectl' -> `/etc/init.d/tksuitectl'
creating init.d links... doing a debian installation:
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K01tksuitectl' missing LSB tags and overrides
insserv: warning: script 'tksuitectl' missing LSB tags and overrides
Done! Got any errors? -> Please check root permissions
Starting TK-Suite Server
/etc/init.d/tksuitectl start: starting tksock...
/etc/init.d/tksuitectl start: tksock could not be started
done
Der TK-Suite Server kann mit /etc/init.d/tksuitectl start/stop gestartet/gestoppt werden.
In den Runlevels 2, 3 und 5 ist der automatische Start aktiviert
Hier noch die Scripte:
tksuitectl:
#!/bin/bash
#
# TK-Suite Server control script, copied from the Apache control script
# #####################################################################
#
# Apache control script designed to allow an easy command line interface
# to controlling Apache. Written by Marc Slemko, 1997/08/23
#
# The exit codes returned are:
# 0 - operation completed successfully
# 1 -
# 2 - usage error
# 3 - httpd could not be started
# 4 - httpd could not be stopped
# 5 - httpd could not be started during a restart
# 6 - httpd could not be restarted during a restart
# 7 - httpd could not be restarted during a graceful restart
# 8 - configuration syntax error
#
# When multiple arguments are given, only the error from the _last_
# one is reported. Run "apachectl help" for usage info
#
#
# |||||||||||||||||||| START CONFIGURATION SECTION ||||||||||||||||||||
# -------------------- --------------------
#
# the path to your PID file
PIDFILE=/var/run/tksock.pid
#
# the path to your httpd binary, including options if necessary
HTTPD_PATH=/usr/local/tksuite_server
HTTPD=$HTTPD_PATH/tksock
#
# -------------------- --------------------
# |||||||||||||||||||| END CONFIGURATION SECTION ||||||||||||||||||||
ERROR=0
ARGV="$@"
if [ "x$ARGV" = "x" ] ; then
ARGS="help"
fi
for ARG in $@ $ARGS
do
# check for pidfile
if [ -f $PIDFILE ] ; then
PID=`cat $PIDFILE`
if [ "x$PID" != "x" ] && kill -0 $PID 2>/dev/null ; then
STATUS="tksock (pid $PID) running"
RUNNING=1
else
STATUS="tksock (pid $PID?) not running"
RUNNING=0
fi
else
STATUS="tksock (no pid file) not running"
RUNNING=0
fi
case $ARG in
start)
if [ $RUNNING -eq 1 ]; then
echo "$0 $ARG: tksock (pid $PID) already running"
continue
fi
echo "$0 $ARG: starting tksock..."
cd $HTTPD_PATH
# see http://www.snailbook.com/faq/background-jobs.auto.html for explanation
if $HTTPD -s < /dev/null >& /dev/null ; then
sleep 2
echo "$0 $ARG: tksock started"
# if we don't sleep, tkmedia gets killed (why?)
else
echo "$0 $ARG: tksock could not be started"
ERROR=3
fi
;;
stop)
if [ $RUNNING -eq 0 ]; then
echo "$0 $ARG: $STATUS"
continue
fi
echo "$0 $ARG: stopping tksock..."
if kill $PID ; then
while [ -e "/proc/$PID" ]
do
sleep 1
done
echo "$0 $ARG: tksock stopped"
else
echo "$0 $ARG: tksock could not be stopped"
ERROR=4
fi
;;
configtest)
if $HTTPD -t; then
:
else
ERROR=8
fi
;;
*)
echo "usage: $0 (start|stop|configtest|help)"
cat <<EOF
start - start tksock
stop - stop tksock
configtest - do a configuration syntax test
help - this screen
EOF
ERROR=2
;;
esac
done
exit $ERROR
----------------------------------------------------------------------------------
Und hier das Script K01tksuitectl:
#!/bin/bash
#
# TK-Suite Server control script, copied from the Apache control script
# #####################################################################
#
# Apache control script designed to allow an easy command line interface
# to controlling Apache. Written by Marc Slemko, 1997/08/23
#
# The exit codes returned are:
# 0 - operation completed successfully
# 1 -
# 2 - usage error
# 3 - httpd could not be started
# 4 - httpd could not be stopped
# 5 - httpd could not be started during a restart
# 6 - httpd could not be restarted during a restart
# 7 - httpd could not be restarted during a graceful restart
# 8 - configuration syntax error
#
# When multiple arguments are given, only the error from the _last_
# one is reported. Run "apachectl help" for usage info
#
#
# |||||||||||||||||||| START CONFIGURATION SECTION ||||||||||||||||||||
# -------------------- --------------------
#
# the path to your PID file
PIDFILE=/var/run/tksock.pid
#
# the path to your httpd binary, including options if necessary
HTTPD_PATH=/usr/local/tksuite_server
HTTPD=$HTTPD_PATH/tksock
#
# -------------------- --------------------
# |||||||||||||||||||| END CONFIGURATION SECTION ||||||||||||||||||||
ERROR=0
ARGV="$@"
if [ "x$ARGV" = "x" ] ; then
ARGS="help"
fi
for ARG in $@ $ARGS
do
# check for pidfile
if [ -f $PIDFILE ] ; then
PID=`cat $PIDFILE`
if [ "x$PID" != "x" ] && kill -0 $PID 2>/dev/null ; then
STATUS="tksock (pid $PID) running"
RUNNING=1
else
STATUS="tksock (pid $PID?) not running"
RUNNING=0
fi
else
STATUS="tksock (no pid file) not running"
RUNNING=0
fi
case $ARG in
start)
if [ $RUNNING -eq 1 ]; then
echo "$0 $ARG: tksock (pid $PID) already running"
continue
fi
echo "$0 $ARG: starting tksock..."
cd $HTTPD_PATH
# see http://www.snailbook.com/faq/background-jobs.auto.html for explanation
if $HTTPD -s < /dev/null >& /dev/null ; then
sleep 2
echo "$0 $ARG: tksock started"
# if we don't sleep, tkmedia gets killed (why?)
else
echo "$0 $ARG: tksock could not be started"
ERROR=3
fi
;;
stop)
if [ $RUNNING -eq 0 ]; then
echo "$0 $ARG: $STATUS"
continue
fi
echo "$0 $ARG: stopping tksock..."
if kill $PID ; then
while [ -e "/proc/$PID" ]
do
sleep 1
done
echo "$0 $ARG: tksock stopped"
else
echo "$0 $ARG: tksock could not be stopped"
ERROR=4
fi
;;
configtest)
if $HTTPD -t; then
:
else
ERROR=8
fi
;;
*)
echo "usage: $0 (start|stop|configtest|help)"
cat <<EOF
start - start tksock
stop - stop tksock
configtest - do a configuration syntax test
help - this screen
EOF
ERROR=2
;;
esac
done
exit $ERROR