Hi, recently I upgraded samba from 3.67 to 4.00, I am not sure why it doesn't start as it usually does in the past. Here is the syslog on startup:
Code:
Feb 17 11:38:40 server kernel: [ 4.814794] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Feb 17 11:38:40 server kernel: [ 8.602683] i2c-core: driver [msp3400] using legacy suspend method
Feb 17 11:38:40 server kernel: [ 8.602689] i2c-core: driver [msp3400] using legacy resume method
Feb 17 11:38:40 server kernel: [ 8.694856] bttv0: audio absent, no audio device found!
Feb 17 11:38:40 server kernel: [ 8.705530] i2c-core: driver [tuner] using legacy suspend method
Feb 17 11:38:40 server kernel: [ 8.705537] i2c-core: driver [tuner] using legacy resume method
Feb 17 11:38:45 server smbd[1967]: [2013/02/17 11:38:45.961509, 0] param/loadparm.c:3154(lp_do_parameter)
Feb 17 11:38:45 server smbd[1967]: Global parameter guest account found in service section!
Feb 17 11:38:47 server smbd[1988]: [2013/02/17 11:38:47.429649, 0] printing/print_cups.c:151(cups_connect)
Feb 17 11:38:47 server smbd[1988]: Unable to connect to CUPS server localhost:631 - Network is unreachable
Feb 17 11:38:47 server smbd[1987]: [2013/02/17 11:38:47.430262, 0] printing/print_cups.c:528(cups_async_callback)
Feb 17 11:38:47 server smbd[1987]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Feb 17 11:38:48 server avahi-daemon[2103]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Feb 17 11:38:52 server rpc.mountd[2186]: Kernel does not have pseudo root support.
Feb 17 11:38:52 server rpc.mountd[2186]: NFS v4 mounts will be disabled unless fsid=0
Feb 17 11:38:52 server rpc.mountd[2186]: is specfied in /etc/exports file.
Feb 17 11:38:52 server kernel: [ 26.769467] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Feb 17 11:38:52 server kernel: [ 26.769508] NFSD: unable to find recovery directory /var/lib/nfs/v4recovery
I believe this is the directory for initiation procedures, my rc3.d looks exactly the same anyways. The original order for samba for S was 52, I delayed it as far as possible:
Code:
ted:$ ls /etc/rc.d/rc4.d
K40cron@ K69portmap@ S30portmap@ S91gpm@
K45samba@ K6transmission-daemon@ S39cups@ S92samba@
K48sshd@ K76firewall@ S50inetd@ S93transmission-daemon@
K49inetd@ K8gpm@ S51sshd@
K60cups@ S23firewall@ S70cron@
my samba script has stayed the same:
Code:
ted:$ cat /etc/init.d/samba
#!/bin/sh
# description: SAMBA daemon
#
# GNU GPL (c) Eko M. Budi, 2004
# (c) Vector Linux. 2004
# Include the functions declared in the /etc/rc.d/functions file
source /etc/rc.d/functions
#server name & description
SMBSERVER="SAMBA Network File/Printer sharing server"
NMBSERVER="SAMBA Netbios name server"
SMBD=/usr/sbin/smbd
NMBD=/usr/sbin/nmbd
case "$1" in
start)
echon "Starting $SMBSERVER....."
loadproc $SMBD -D
echon "Starting $NMBSERVER....."
loadproc $NMBD -D
;;
stop)
echon "Stopping $NMBSERVER....."
killproc $NMBD
echon "Stopping $SMBSERVER....."
killproc $SMBD
;;
reload)
echon "Reloading $SMBSERVER....."
reloadproc $SMBD
echon "Reloading $NMBSERVER....."
reloadproc $NMBD
;;
restart)
$0 stop
/bin/sleep 2
$0 start
;;
*)
echo "Usage: $0 {start|stop|reload|restart}"
exit 1
;;
esac
server:/~
Here is my smb.conf:
Code:
ted:$ testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[main]"
Processing section "[linux]"
Processing section "[removeable]"
Processing section "[printers]"
Global parameter guest account found in service section!
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = SERVER
interfaces = eth0, 192.168.1.12/24
bind interfaces only = Yes
map to guest = Bad User
guest account = ted
log file = /var/log/samba/sambaserver.log
max log size = 50
name resolve order = wins, hosts, lmhosts
printcap name = cups
dns proxy = No
wins proxy = Yes
wins support = Yes
idmap config * : backend = tdb
force user = ted
force group = ted
guest only = Yes
guest ok = Yes
hosts allow = 192.168.
[main]
comment = main
path = /mnt/main
read only = No
[linux]
comment = tmp
path = /mnt/linux
read only = No
[removeable]
comment = removeable
path = /misc
read only = No
[printers]
comment = All Printers
path = /var/spool/samba
read only = No
create mask = 0700
printable = Yes
print ok = Yes
use client driver = Yes
browseable = No
Samba would appear as if it was started, but when I access it from another machine, the shared directories arent available.
Thanks,
Ted