samba startet nicht
Freetz 1.0.3
FB: 7170
Code:
sh /etc/init.d/rc.samba start
Starting samba...Looking for user 'ftpuser' ... found
sh: yes: unknown operand
done.
Code:
ps | grep smbd
1593 root 1160 S grep smbd
Code:
sh -x /etc/init.d/rc.samba
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ BDIR=/sbin
+ DAEMON=samba
+ SMBD=smbd
+ NMBD=nmbd
+ MODPATH=/mod/etc
+ CONF=/mod/etc/smb.conf
+ . /etc/init.d/modlibrc
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ [ -n samba ]
+ [ ! -r /mod/etc/conf/samba.cfg ]
+ . /mod/etc/conf/samba.cfg
+ export SAMBA_ENABLED=yes
+ export SAMBA_INTERFACES=192.168.178.1/255.255.255.0
+ export SAMBA_MASTER=yes
+ export SAMBA_NETBIOS_NAME=FRITZ.BOX
+ export SAMBA_OS_LEVEL=100
+ export SAMBA_SERVER_STRING=%h (Samba %v)
+ export SAMBA_WORKGROUP=Arbeitsgruppe
+ [ -d /tmp/flash/samba ]
+ modreg cgi samba Samba
+ deffile=/mod/etc/default.samba/shares.def
+ [ -r /tmp/flash/samba/shares.def ]
+ modreg file shares Samba: Freigaben 1 /mod/etc/default.samba/shares.def
+ deffile=/mod/etc/default.samba/sharesx.def
+ [ -r /tmp/flash/samba/sharesx.def ]
+ modreg file sharesx Samba: Erweitert 1 /mod/etc/default.samba/sharesx.def
+ [ yes != yes ]
+ start
+ echo -n Starting samba...
Starting samba...+ config
+ mkdir -p /var/locks
+ mkdir -p /var/samba/lib
+ mkdir -p /var/samba/private
+ modlib_adduser ftpuser -G users -D -S -h /var/media/ftp -g ftp user
+ local user=ftpuser
+ shift
+ echo -n Looking for user 'ftpuser' ...
Looking for user 'ftpuser' ... + grep -q ^ftpuser: /etc/passwd
+ echo found
found
+ return 0
+ /mod/etc/default.samba/samba_conf
sh: yes: unknown operand
+ [ -r /var/tmp/smbpasswd.cleartext ]
+ pidof smbd
+ smbd -D -s /mod/etc/smb.conf
+ exitvals=0
+ NST=1
+ [ 0 -ge 1 ]
+ exitvaln=0
+ [ -x /sbin/nmbd -a 1 -eq 1 ]
+ nmbd -D -s /mod/etc/smb.conf
+ exitvaln=0
+ [ 0 -eq 0 -a 0 -eq 0 ]
+ echo done.
done.
+ exit 0
Freetz 1.0.3
FB: 7170