LinuxQuestions.org
Review your favorite Linux distribution.
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 10-30-2003, 10:09 PM   #1
LinuxNewbie1103
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
Unhappy samba nmb failure to shut on log off


This is my fifth day on trying linux. It is Mandrake 9.0.
Whenever I shut down the system, it always show up
smb shut down "ok"
nmb shut down "failure".

I have tried to shut down samba at the bash shell, logging in as root, but the same message appeared. Turning on samba is Okay.

Could somebody enlighten me on this issue?

Best you,
Yammy
 
Old 10-30-2003, 11:08 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
logs

Check the samba logs for errors. (/var/log/samba) You might find out that nmbd isn't really starting. Do you have any problems with samba?
 
Old 10-31-2003, 03:35 AM   #3
LinuxNewbie1103
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for your help. This is my fifth day trying to use Linux, everything seems exciting but more difficult than I expect. I have borrowed some books to look around. I am still experimenting to make sure the system is OKay and to, at least, get no abnormal messages on booting up and shutting down. I am not sure whether Samba is OKay or not. Will get back to you once I finished checking the log. You are very kind indeed.

Bless you,
Yammy.
 
Old 10-31-2003, 07:28 AM   #4
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
Welcome to the exciting world of linux
 
Old 10-31-2003, 10:25 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
nmbd

You can see if nmbd is running by looking at the ouput of the ps console command.

ps ax

or by the top command
 
Old 10-31-2003, 11:35 AM   #6
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
another way to do it would be to go to /etc/init.d as root and type : nmb status
this would tell you whether the netbios deamon is running or not.
if not..then you can do:
nmb start
 
Old 10-31-2003, 08:52 PM   #7
LinuxNewbie1103
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
The linux world is so amasing, people are so kind and helpful.

I have checked the nmbd.log and smbd. log

For the nmbd.log, the last wordings are;

nmbd/nmbd.c:main(794)
Netbios nameserver version 2.2.6pre2 started

nmbd/nmbd_subnetdb.c:create_subnets (239)
create_subnets: no local interfaces!

nmbd/nmbd.c:main(872)
Error: Failed when creating subnet lists. Exiting
"log.numbd" 112L, 5728c

But when I view the log.smbd. I was started and Got sighup.

Probably the nmbd has never got sign up and that is why is failed to shut down. But what make the nmbd failed to sign up? Is there any suggestion to help to rectify the problem?
 
Old 10-31-2003, 10:37 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
No local interface means your network isn't configured?

What kind of network card do you have and is it configured correctly? Are you using DHCP or static IP addressing?

Last edited by michaelk; 10-31-2003 at 10:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Shut down error log location Psibur Linux - Newbie 1 10-27-2005 04:11 PM
Samba nmb service gets down hardeep_ubhi Linux - Networking 0 08-29-2005 01:39 AM
Shut down machine after log of uuccu Linux - General 1 11-24-2004 02:48 PM
nmb failed to close on shut down LinuxNewbie1103 Linux - General 1 10-30-2003 11:17 PM
Gnome log out option only, no shut down hindenbergbaby Linux - Software 4 10-29-2003 09:27 PM


All times are GMT -5. The time now is 10:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration