Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th May 2010, 02:30 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfedorafirefox
Exclamation NMB wakes up dead (sometimes)

I cant seem to put my finger in the problem. but nmb runs ok about 1/2 the time on boot. I have gotten into the habit of restarting with swat every time (because it's easy)

Anu Ideas?

Thanks!
Reply With Quote
  #2  
Old 10th May 2010, 04:00 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: NMB wakes up dead (sometimes)

Hello,
Next time it does not start post any errors/messages from

/var/log/messages
/var/log/samba/cores/nmbd
/var/log/boot.log
Reply With Quote
  #3  
Old 10th May 2010, 06:04 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfedorafirefox
Re: NMB wakes up dead (sometimes)

Thanks for the reply!

Here are the log files. I did not include all of the messages file as it was very long, but only the last bit related to nmbd I hope.


Quote:
(from messages)

May 10 12:12:46 teraquad abrtd: Done checking for unsaved crashes
May 10 12:12:46 teraquad abrtd: Init complete, entering main loop
May 10 12:12:46 teraquad nmbd[1586]: [2010/05/10 12:12:46, 0] nmbd/asyncdns.c:155(start_async_dns)
May 10 12:12:46 teraquad nmbd[1586]: started asyncdns process 1587
May 10 12:12:46 teraquad nmbd[1586]: [2010/05/10 12:12:46, 0] nmbd/nmbd.c:693(open_sockets)
May 10 12:12:47 teraquad dhclient[1502]: DHCPREQUEST on eth0 to 255.255.255.255 port 67
May 10 12:12:48 teraquad dhclient[1502]: DHCPACK from 192.168.1.1
May 10 12:12:48 teraquad dhclient[1502]: bound to 192.168.1.101 -- renewal in 39802 seconds.
May 10 12:12:48 teraquad NetworkManager: <info> (eth0): DHCPv4 state changed preinit -> reboot
May 10 12:12:48 teraquad NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) scheduled...
May 10 12:12:48 teraquad NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) started...
----------------------------------------------------------------------------------------------------------------------------


(cores/nmbd)

Empty

----------------------------------------------------------------------------------------------------------------------------
Quote:
(Boot Log)

%G%GWARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

Welcome to Fedora

Press 'I' to enter interactive startup.

Starting udev: %G[ OK ]


Setting hostname teraquad: [ OK ]


Setting up Logical Volume Management: 2 logical volume(s) in volume group "VolGroup" now active

[ OK ]


Checking filesystems

/dev/mapper/VolGroup-lv_root: clean, 327659/75915264 files, 14576732/303646720 blocks

/dev/mapper/VolGroup-lv_root: clean, 327659/75915264 files, 14576732/303646720 blocks

/dev/sda1: clean, 41/51200 files, 59805/204800 blocks

[ OK ]


Remounting root filesystem in read-write mode: [ OK ]


Mounting local filesystems: [ OK ]


Enabling local filesystem quotas: [ OK ]


Enabling /etc/fstab swaps: [ OK ]


Entering non-interactive startup

Applying Intel CPU microcode update: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

Starting monitoring for VG VolGroup: 2 logical volume(s) in volume group "VolGroup" monitored

[ OK ]


iptables: Applying firewall rules: [ OK ]


iptables: Loading additional modules: nf_conntrack_netbios_ns [ OK ]


Checking for module nvidia.ko: [ OK ]


Enabling the nvidia driver: Driver already enabled.

[ OK ]


Starting auditd: [ OK ]


Starting portreserve: [ OK ]


Starting system logger: [ OK ]


Starting irqbalance: [ OK ]


Starting rpcbind: [ OK ]


Starting system message bus: [ OK ]


Starting Avahi daemon... [ OK ]


Starting NFS statd: [ OK ]


Starting RPC idmapd: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

[ OK ]


Starting cups: [ OK ]


Starting acpi daemon: [ OK ]


Starting HAL daemon: [ OK ]


Starting PC/SC smart card daemon (pcscd): [ OK ]


Retrigger failed udev events[ OK ]


Setting network parameters... [ OK ]


Starting NetworkManager daemon: State file /var/lib/NetworkManager/NetworkManager.state parsing failed: (2) Permission denied

[ OK ]


Enabling Bluetooth devices:

Starting sshd: [ OK ]


Starting xinetd: [ OK ]


Starting ntpd: [ OK ]


Starting sendmail: [ OK ]


Starting sm-client: [ OK ]


Starting abrt daemon: [ OK ]


Starting console mouse services: [ OK ]


Starting crond: [ OK ]
[ OK ]


Enabling monthly Smolt checkin: [ OK ]


Starting NMB services: [ OK ]


Starting SMB services: [ OK ]


Starting atd: [ OK ]
[ OK ]


Thanks for the help!
Reply With Quote
  #4  
Old 10th May 2010, 06:17 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: NMB wakes up dead (sometimes)

Check and see if you have set up to start at reboot
# chkconfig --list |grep nmb
then time you do not think it is working try
# service nmd status
# ps -ef |grep nmb
Reply With Quote
  #5  
Old 10th May 2010, 06:56 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfedorafirefox
Re: NMB wakes up dead (sometimes)

Thanks for the reply!

As requested i have included the command and results. I am not sure about starting with boot? the services menu reports a green light and a message "this service is dead" this is immediately after booting. From that point all i have to do is hit restart and it works normally.



Quote:

[root@teraquad Desktop]# service nmb status
nmbd (pid 3868) is running...
[root@teraquad Desktop]# ps -ef |grep nmb
root 3868 1 0 13:05 ? 00:00:00 nmbd -D
root 3869 3868 0 13:05 ? 00:00:00 nmbd -D
root 5463 5409 0 13:52 pts/1 00:00:00 grep nmb
[root@teraquad Desktop]#

[root@teraquad Desktop]# chkconfig --list |grep nmb
nmb 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@teraquad Desktop]#
The service was restarted before these commands were issued.

Thanks!
Reply With Quote
  #6  
Old 10th May 2010, 07:03 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: NMB wakes up dead (sometimes)

Then next time you see it is not working try the two commands before starting it
# service ndm status
# ps -ef |grep -i ndm

You may be getting a false reading

What are you using to monitor ndm ?
Reply With Quote
  #7  
Old 10th May 2010, 07:24 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfedorafirefox
Re: NMB wakes up dead (sometimes)

I rebooted 4 times and here are the results when it failed to start.
Thanks!


Quote:
[root@teraquad Desktop]# chkconfig --list |grep nmb
nmb 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@teraquad Desktop]# ps -ef |grep nmb
root 3411 3390 0 14:16 pts/0 00:00:00 grep nmb
[root@teraquad Desktop]# service nmb status
nmbd dead but pid file exists
[root@teraquad Desktop]# ps -ef |grep -i ndm
smmsp 1716 1 0 14:10 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 1718 1 0 14:10 ? 00:00:00 sendmail: accepting connections
root 3479 3390 0 14:19 pts/0 00:00:00 grep -i ndm
[root@teraquad Desktop]#
Thanks!
Reply With Quote
  #8  
Old 10th May 2010, 08:52 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: NMB wakes up dead (sometimes)

I think it is not removing your old pid

when it is dead look at /var/lock/subsys/nmb
if it is not running this file should not be there.

Last edited by scott32746; 10th May 2010 at 08:54 PM.
Reply With Quote
  #9  
Old 10th May 2010, 09:21 PM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,050
unknownunknown
Re: NMB wakes up dead (sometimes)

Also check your network setup, I thought I saw NM in their.

chkconfig --list|grep network

Network manager might not bring you nic up before samba starts which kills nmb. You'll see the evidence in /var/log/samba if I'm right.
Reply With Quote
  #10  
Old 10th May 2010, 09:31 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: NMB wakes up dead (sometimes)

Good see
I agree with beaker ,,, NMB is trying to start before Network starts
try to change boot order

# chkconfig --level 24 nmb off
Reply With Quote
  #11  
Old 10th May 2010, 09:54 PM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,050
unknownunknown
Re: NMB wakes up dead (sometimes)

Umm I wouldn't change the boot order before you're ready to drop the gloves. At the terminal;

su
chkconfig network on
system-config-network

Check 'activate on startup, check or uncheck 'controlled by NM' and rattle off your ip settings if not already present. Unless its headless, I normally leave 'controlled by NM' checked because other apps (firefox) rely on NM to determine online vs offline state.
Reply With Quote
  #12  
Old 10th May 2010, 09:52 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfedorafirefox
Re: NMB wakes up dead (sometimes)

An empty file was in /var/lock/subsys/nmb but there was a file.


Quote:
[root@teraquad Desktop]# chkconfig --list|grep network
network 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@teraquad Desktop]#

Quote:
[root@teraquad Desktop]# chkconfig --level 24 nmb off
[root@teraquad Desktop]#
As far as boot order is concerned i have no clue how to change it. I have little more than a week's experience with linux.

Thanks!
Reply With Quote
  #13  
Old 10th May 2010, 09:57 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: NMB wakes up dead (sometimes)

But you should not run NetManger and network at the same time.
If you start up network then you should turn off NM
Reply With Quote
  #14  
Old 10th May 2010, 10:06 PM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,050
unknownunknown
Re: NMB wakes up dead (sometimes)

Na, that's just misinformation. Yes NM is tobe your one stop shop but its not their, yet anyway.

Reboot and it'll start correctly.
Reply With Quote
  #15  
Old 11th May 2010, 12:33 AM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfedorafirefox
Re: NMB wakes up dead (sometimes)

I rebooted about 6 times with (controled by network) unchecked. No error with nmb. Firefox took a hit though. I will boot a few times with it checked to see if the problem comes back.
Reply With Quote
Reply

Tags
dead, nmb, wakes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Popping whenever pulseaudio wakes up --F11 emc986 Hardware & Laptops 7 23rd June 2009 03:41 PM
Hibernate "wakes up" straight away! linickx Hardware & Laptops 0 9th November 2007 03:00 PM
Who wakes up the hard drive? shturm Using Fedora 2 10th January 2007 05:28 AM


Current GMT-time: 19:20 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat