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

10th May 2010, 02:30 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217

|
|
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!
|

10th May 2010, 04:00 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
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
|

10th May 2010, 06:04 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217

|
|
|
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 [0;34mFedora[0;39m
Press 'I' to enter interactive startup.
Starting udev: %G[60G[[0;32m OK [0;39m]
Setting hostname teraquad: [60G[[0;32m OK [0;39m]
Setting up Logical Volume Management: 2 logical volume(s) in volume group "VolGroup" now active
[60G[[0;32m OK [0;39m]
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
[60G[[0;32m OK [0;39m]
Remounting root filesystem in read-write mode: [60G[[0;32m OK [0;39m]
Mounting local filesystems: [60G[[0;32m OK [0;39m]
Enabling local filesystem quotas: [60G[[0;32m OK [0;39m]
Enabling /etc/fstab swaps: [60G[[0;32m OK [0;39m]
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
[60G[[0;32m OK [0;39m]
iptables: Applying firewall rules: [60G[[0;32m OK [0;39m]
iptables: Loading additional modules: nf_conntrack_netbios_ns [60G[[0;32m OK [0;39m]
Checking for module nvidia.ko: [60G[[0;32m OK [0;39m]
Enabling the nvidia driver: Driver already enabled.
[60G[[0;32m OK [0;39m]
Starting auditd: [60G[[0;32m OK [0;39m]
Starting portreserve: [60G[[0;32m OK [0;39m]
Starting system logger: [60G[[0;32m OK [0;39m]
Starting irqbalance: [60G[[0;32m OK [0;39m]
Starting rpcbind: [60G[[0;32m OK [0;39m]
Starting system message bus: [60G[[0;32m OK [0;39m]
Starting Avahi daemon... [60G[[0;32m OK [0;39m]
Starting NFS statd: [60G[[0;32m OK [0;39m]
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/.
[60G[[0;32m OK [0;39m]
Starting cups: [60G[[0;32m OK [0;39m]
Starting acpi daemon: [60G[[0;32m OK [0;39m]
Starting HAL daemon: [60G[[0;32m OK [0;39m]
Starting PC/SC smart card daemon (pcscd): [60G[[0;32m OK [0;39m]
Retrigger failed udev events[60G[[0;32m OK [0;39m]
Setting network parameters... [60G[[0;32m OK [0;39m]
Starting NetworkManager daemon: State file /var/lib/NetworkManager/NetworkManager.state parsing failed: (2) Permission denied
[60G[[0;32m OK [0;39m]
Enabling Bluetooth devices:
Starting sshd: [60G[[0;32m OK [0;39m]
Starting xinetd: [60G[[0;32m OK [0;39m]
Starting ntpd: [60G[[0;32m OK [0;39m]
Starting sendmail: [60G[[0;32m OK [0;39m]
Starting sm-client: [60G[[0;32m OK [0;39m]
Starting abrt daemon: [60G[[0;32m OK [0;39m]
Starting console mouse services: [60G[[0;32m OK [0;39m]
Starting crond: [60G[[0;32m OK [0;39m]
[60G[[0;32m OK [0;39m]
Enabling monthly Smolt checkin: [60G[[0;32m OK [0;39m]
Starting NMB services: [60G[[0;32m OK [0;39m]
Starting SMB services: [60G[[0;32m OK [0;39m]
Starting atd: [60G[[0;32m OK [0;39m]
[60G[[0;32m OK [0;39m]
|
Thanks for the help!
|

10th May 2010, 06:17 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
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
|

10th May 2010, 06:56 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217

|
|
|
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!
|

10th May 2010, 07:03 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
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 ?
|

10th May 2010, 07:24 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217

|
|
|
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!
|

10th May 2010, 08:52 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
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.
|

10th May 2010, 09:21 PM
|
 |
Registered User
|
|
Join Date: Nov 2008
Location: Canada
Posts: 2,050

|
|
|
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.
|

10th May 2010, 09:31 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
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
|

10th May 2010, 09:54 PM
|
 |
Registered User
|
|
Join Date: Nov 2008
Location: Canada
Posts: 2,050

|
|
|
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.
|

10th May 2010, 09:52 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217

|
|
|
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!
|

10th May 2010, 09:57 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082

|
|
|
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
|

10th May 2010, 10:06 PM
|
 |
Registered User
|
|
Join Date: Nov 2008
Location: Canada
Posts: 2,050

|
|
|
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.
|

11th May 2010, 12:33 AM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217

|
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 19:20 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|