hello everyone,
im using slack11 and this afternoon for no apparent reason i started having problems with samba after reboot.
when rc.samba script gets executed during the boot (init level 3), smbd never completes loading ... so it stays there.... stuck and i don't get to the login...
adding debug level 10 to the smbd from within the script i get the following /var/log/samba/log.smbd:
[2009/04/04 04:55:03, 10] param/loadparm.c:set_server_role(4221)
set_server_role: role = ROLE_STANDALONE
[2009/04/04 04:55:03, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'ANSI_X3.4-1968' for LOCALE
.
.(omitting the same msg a few times)
.
[2009/04/04 04:55:03, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2009/04/04 04:55:03, 7] param/loadparm.c:lp_servicenumber(5112)
lp_servicenumber: couldn't find printers
[2009/04/04 04:55:03, 3] printing/pcap.c
cap_cache_reload(117)
reloading printcap cache
[2009/04/04 04:55:03, 5] printing/print_cups.c:cups_cache_reload(71)
reloading cups printcap cache
[2009/04/04 04:55:03, 10] printing/print_cups.c:cups_server(51)
cups server left to default localhost
[2009/04/04 04:55:03, 3] printing/pcap.c
cap_cache_reload(223)
reload status: ok
[2009/04/04 04:55:03, 7] param/loadparm.c:lp_servicenumber(5112)
lp_servicenumber: couldn't find printers
[2009/04/04 04:55:03, 7] param/loadparm.c:lp_servicenumber(5112)
lp_servicenumber: couldn't find printers
it can't be that the printers are the problem here because i haven't enabled any print services ...
if i ssh to this machine from another... and i check ps... it will tell me that smbd is running, but nmbd does not... this means the script has never completed executing... additionally trying to access the shares from a winXP pc doesnt work...
(removed the quote due to limitations)
if (from the shh session - its the only login window i can get) i 'kill -9' the running smbd .. (and then i also kill the nmbd that will just start up, as the rc.samba script will get going again and continue loading nmbd -D)... and i re-run as root the whole rc.samba script... the whole script will be run smoothly.... just as it would this morning
and log.smbd will then show
Quote:
2009/04/04 05:11:31, 5 lib/debug.c:debug_dump_status(391)
INFO: Current debug levels:
all: True/10
2009/04/04 05:11:31, 3 lib/fault.c:dump_core_setup(134)
Maximum core file size limits now 16777216(soft) -1(hard)
2009/04/04 05:11:31, 3 smbd/sec_ctx.c:get_current_groups(168)
get_current_groups: user is in 8 groups: 0, 1, 2, 3, 4, 6, 10, 11
[2009/04/04 05:11:31, 0] smbd/server.c:main(847)
smbd version 3.0.23c started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
.
.
.
[2009/04/04 05:11:31, 7] param/loadparm.c:lp_servicenumber(5112)
lp_servicenumber: couldn't find printers
[2009/04/04 05:11:31, 3] printing/pcap.ccap_cache_reload(117)
reloading printcap cache
[2009/04/04 05:11:31, 5] printing/print_cups.c:cups_cache_reload(71)
reloading cups printcap cache
[2009/04/04 05:11:31, 10] printing/print_cups.c:cups_server(51)
cups server left to default localhost
[2009/04/04 05:11:31, 3] printing/pcap.ccap_cache_reload(223)
reload status: ok
[2009/04/04 05:11:31, 7] param/loadparm.c:lp_servicenumber(5112)
lp_servicenumber: couldn't find printers
[2009/04/04 05:11:31, 7] param/loadparm.c:lp_servicenumber(5112)
lp_servicenumber: couldn't find printers
|
my smb.conf is the following
Quote:
netbios name = stargaze
netbios aliases = starpool
workgroup = SETIHOME
server string = Starpool of Goodies
hosts allow = 192.168.0. 192.168.144. 192.168.145. 127.
log file = /var/log/samba/samba.%m
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.0.0/24 192.168.144.0/24 192.168.145.0/24 eth0 tun*
smb ports = 139
preferred master = yes
wins support = yes
name resolve order = wins lmhosts hosts bcast
wins proxy = yes
dns proxy = no
include = /etc/samba/smb.conf.%L
|
then there is smb.conf.stargaze and smb.conf.starpool
one set as security use and the other with security share
any ideas why is this happening?