root@sl3:/home/fabio# ps aux | grep cupsthe /post_install() script of the package launches the daemon itself and /etc/init.d/cupsd script does not check if cups is already running (e.g. if /var/run/cups/cups.sock is there or not) so it launches another session of cups and as a result you can't login ...
1779 root /usr/sbin/cupsd -C /etc/cups/cupsd.conf
1976 root /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root@sl3:/home/fabio#
/etc/init.d/cupsd startand try to login again. if you can't login put solved in the topic title,put the solution (or the error to avoid :-) ) in the first post, and i will fill a bug (or a dumbproof feature request) in slitaz labs
#!/bin/sh
# /etc/init.d/cups: Start, stop and restart Cups deamon on SliTaz, at boot
# time or with the command line.
#
# To start daemon at boot time, just put the right name in the $RUN_DAEMONS
# variable of /etc/rcS.conf and configure options with /etc/daemons.conf.
#
. /etc/init.d/rc.functions
. /etc/daemons.conf
NAME=Cupsd
DESC="cups deamon"
DAEMON=/usr/sbin/cupsd
OPTIONS=$CUPSD_OPTIONS
PIDFILE=/var/run/cups/cups.sock
case "$1" in
stop)
echo -n "Stopping $DESC: $NAME... "
killall -q cupsd
rm -f $PIDFILE
status
;;
start)
if [ ! -e $PIDFILE ] ; then
echo -n "Starting $DESC: $NAME... "
$DAEMON $OPTIONS
status
else
echo -n "Not starting $DESC: $DESC is already running"
false
status
fi
;;
*)
echo ""
echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop]"
echo ""
exit 1
;;
esac
exit 0
It looks like you're new here. If you want to get involved, click one of these buttons!