LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2003, 11:12 PM   #1
sandeepchau123
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
Red face when i try to start samba pdc's smb service nmbd failed to start .


i have set samba pdc
when i tried to start smb service my smbd daemon start but nmbd fail to start.
when i tried to remove samba package by using following command
rpm -e samba*
it says samba package not installed
and when i tried to insatall samba by using following command
rpm -ivf samba*
it says samba package already installed.

my samba file is


# Samba config file created using SWAT
# from sandeep (127.0.0.1)
# Date: 2003/11/17 21:36:11

# Global parameters
[global]
workgroup = SANDEEP.COM
netbios name = SANDEEP
server string = Samba Server
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain admin group = root
logon script = %U.bat
logon drive = h:
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
dns proxy = No
wins server = 172.24.150.142
wins support = Yes
printing = cups

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[public]
path = /data
read only = No
guest only = Yes
guest ok = Yes

[netlogon]
path = /usr/local/samba/lib/netlogon
write list = root

[profiles]
path = /export/smb/ntprofile
read only = No
create mask = 0600
directory mask = 0700
 
Old 11-18-2003, 07:08 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Have you looked at the samba logs to see if you can find a reason that nmbd failed to start? What distro / version are you running?
 
Old 10-20-2007, 01:59 PM   #3
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Rep: Reputation: 32
I have same problem and fixed it.

I had the same problem. smbd would start, but after reloading the server it would always give me an error stating that the nmbd pid was not valid.

I then restarted samba (and it said it was starting smbd and nmbd) but after checking the processes (ps -A | grep nmbd) I found it was not running.

I checked the /var/log/samba/log.nmbd log file and found that it could not get the IP address I had set in the interfaces= section of the smb.conf.

I had it originally using eth1 through a switch (for testing) and then changed it back to using eth0 through my router. Unfortunately I did not notice that I gave the address of the router instead of the IP of the computer. So the router wasn't going to let that IP address get used.

I changed the interfaces= part of smb.conf to match the IP address of my computer and the interface (eth0). All works fine now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
access Samba server: control violation /etc/rc.d/init.d/smb start failed Paul.Hermans Mandriva 1 07-25-2005 04:46 PM
cant start nmbd service eroica Linux - Networking 4 11-29-2004 01:02 PM
NEWBIE: The boot is locked on 'start SMB service'. Please HELP ME! edika Linux - General 2 05-06-2004 02:26 AM
Samba nmbd doesn't start Obscure *BSD 2 10-01-2003 09:32 AM
cant start nmbd in SWAT or Samba jack cards Linux - Networking 5 08-08-2003 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration