[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kdm wont start once again



> hi...
> i posted a message a few days ago about kdm not starting automaticly...
> one told me to put a "set -x" at the beginning of the kdm-script in 
> /etc/init.d
> and post the output here...
> 
> so here it is...
> 
> + PATH=/bin:/usr/bin:/sbin:/usr/sbin
> + DAEMON=/usr/bin/kdm
> + PIDFILE=/var/run/kdm.pid
> + UPGRADEFILE=/var/run/kdm.upgrade
> + test -x /usr/bin/kdm
> + test '' = 4
> + ARG=-noautolog
> + echo -n 'Starting K display manager: '
> Starting K display manager: + getpid
> + '[' -f /var/run/kdm.pid ']'
> + false
> + start-stop-daemon --start --quiet --pidfile /var/run/kdm.pid --exec 
> /usr/bin/kdm -- -noautolog
> /etc/init.d/kdm: /bin/start-stop-daemon: cannot execute binary file
> + exit 0
> 
> can anyone figure out what went wrong ??

yes... /bin/start-stop-daemon  is that actually where your start-stop-daemon
resides?  It should be in /sbin ...at least in unstable it is...

it's trying to run /bin/start-stop-daemon and not /sbin/start-stop-daemon...
a quick fix would be to change the PATH statement to have /sbin first, but
something else is tweaked..

Ivan

-- 
----------------
Ivan E. Moore II
rkrusty@tdyc.com
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD



Reply to: