Mach doch mal:
...und schicke den output...
Code:
sh -x /etc/init.d/linknx start
):+ PATH=/sbin:/usr/sbin:/bin:/usr/bin + DESC=LinKNX backend + NAME=linknx + DAEMON=/usr/bin/linknx + LOGDIR=/var/log/knx/ + DAEMONUSER=root + DAEMON_ARGS=--daemon=/var/log/knx//linknx.log --pid-file=/var/run/knx/linknx.pid + PIDFILE=/var/run/knx/linknx.pid + SCRIPTNAME=/etc/init.d/linknx + [ -x /usr/bin/linknx ] + exit 0
# Exit if the package is not installed [ -x "$DAEMON" ] || exit 0
root@debian:/usr/bin# ls lin* line link linux32 linux64 root@debian:/usr/bin#
DAEMON=/usr/local/bin/linknx
root@debian:/usr/local/bin# sh -x /etc/init.d/linknx start + PATH=/sbin:/usr/sbin:/bin:/usr/bin + DESC=LinKNX backend + NAME=linknx + DAEMON=/usr/local/bin/linknx + LOGDIR=/var/log/knx/ + DAEMONUSER=root + DAEMON_ARGS=--daemon=/var/log/knx//linknx.log --pid-file=/var/run/knx/linknx.pid + PIDFILE=/var/run/knx/linknx.pid + SCRIPTNAME=/etc/init.d/linknx + [ -x /usr/local/bin/linknx ] + [ -r /etc/default/linknx ] + . /etc/default/linknx + START_LINKNX=YES + REMOTE_ARGS=--config=/etc/linknx/house.xml + . /lib/init/vars.sh + [ -f /etc/default/rcS ] + . /etc/default/rcS + TMPTIME=0 + SULOGIN=no + DELAYLOGIN=no + UTC=yes + VERBOSE=no + FSCKFIX=no + RAMRUN=no + RAMLOCK=no + HWCLOCKACCESS=no + CONCURRENCY=shell + [ -r /proc/cmdline ] + cat /proc/cmdline + [ ] + . /lib/lsb/init-functions + FANCYTTY= + [ -e /etc/lsb-base-logging.sh ] + true + [ -n /var/log/knx/ ] + [ -n root ] + [ ! -e /var/log/knx/ ] + [ ! -d /var/log/knx/ ] + stat -c %U /var/log/knx/ + real_log_user=root + [ root != root ] + return 0

# check_log_dir() {
# Does the logging directory belong to knx?
# If we cannot determine the logdir return without error
# (we will not check it)
[ -n "$LOGDIR" ] || return 0
[ -n "$DAEMONUSER" ] || return 0
if [ ! -e "$LOGDIR" ] ; then
log_failure_msg "ERR: logging directory $LOGDIR does not exist"
return 1
elif [ ! -d "$LOGDIR" ] ; then
log_failure_msg "ERR: logging directory $LOGDIR does not exist"
return 1
else
real_log_user=`stat -c %U $LOGDIR`
# An alternative way is to check if the knx user can create
# a file there...
if [ "$real_log_user" != "$DAEMONUSER" ] ; then
log_failure_msg "ERR: logging directory $LOGDIR does not belong to the knx user $DAEMONUSER"
return 1
fi
fi
return 0
#}

root@debian:/var/log# ps -A | grep linknx 740 ? 00:00:00 linknx root@debian:/var/log#
(OK - zugegeben, das war jetzt keine Kunst mehr).

./configure --with-lua --enable-smtp --with-mysql
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.


Kommentar