Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: funkfish on October 30, 2009, 03:44:09 PM

Title: smbd is stopped
Post by: funkfish on October 30, 2009, 03:44:09 PM
Hi there,

For some reason my samba just stopped working.
any help would be appreciated...running 7.4 with all yum updates.

/etc/init.d/smb

smbd is stopped
nmbd (pid 5847) is running...

/etc/init.d/smbd status
down: /service/smbd: 1s, want up; run: log: (pid 2905) 523s

This is my smb.conf

#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------




[global]



add machine script = /sbin/e-smith/signal-event machine-account-create '%u'

bind interfaces only = no

case sensitive = no
deadtime = 10080

display charset = ISO8859-1

dns proxy = no

domain logons = no
domain master = no
dos charset = 850

encrypt passwords = yes

guest account = public

guest ok = no
hosts allow = 127.0.0.1 10.1.1.0/255.255.255.0


interfaces = 127.0.0.1 10.1.1.3/255.255.255.0

log file = /var/log/samba/log.%m
logon drive = Z:

map to guest = never

max log size = 50

name resolve order = wins lmhosts bcast

netbios name = penguin2
oplocks = true
kernel oplocks = true
level2 oplocks = true

os level = 35

passdb backend = smbpasswd:/etc/samba/smbpasswd


pid directory = /var/run
preferred master = auto

preserve case = yes



security = user
server string = SME Server
short preserve case = yes
smb passwd file = /etc/samba/smbpasswd
smb ports = 139

socket options = TCP_NODELAY

strict locking = no
unix charset = UTF8

unix password sync = Yes
pam password change = Yes

passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
check password script = /sbin/e-smith/samba_check_password
unix extensions = no
Title: Re: smbd is stopped
Post by: Stefano on October 30, 2009, 03:48:09 PM
Hi, welcome here

first of all.. you (should not /don't need to) post here your config files..

then..
try to restart the service with
Code: [Select]
service smbd restart

and check your logs (/var/log/messages) for errors..

if it doesn't work, please go to bugzilla and raise  a bug 
Title: Re: smbd is stopped
Post by: funkfish on October 30, 2009, 04:02:03 PM
When I do "service smbd restart"
'smbd' is not a valid service name

"service smb restart"
Restarting nmbd                                            [  OK  ]
Restarting smbd                                            [  OK  ]

BUT then

/etc/init.d/smb status
smbd is stopped
nmbd (pid 10627) is running...

AND

/etc/init.d/smbd status
down: /service/smbd: 1s, want up; run: log: (pid 2905) 1494s

I have entered a new bug for this.
Thank you for your time.
Title: Re: smbd is stopped
Post by: cactus on October 30, 2009, 06:34:13 PM
Please keep all information at one place, preferably the bugtracker as you already raised this bug: http://bugs.contribs.org/show_bug.cgi?id=5544
Title: Re: smbd is stopped
Post by: funkfish on October 30, 2009, 06:57:45 PM
Will do, thank you.