smbd and nmbd wont run

Bug #369090 reported by Justin Venable
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: samba

jaunty:

i cant strat smbd and nmbd thorugh swat ... it is a clean installation of the latest samba on jaunty

i wouldnt know where to look for logs on this

Revision history for this message
Andreas Olsson (andol) wrote :

Can you start smbd and nmbd without using swat? What happens if you run?
$ sudo /etc/init.d/samba restart

What does the SWAT WebGUI tell you when it won't let your start smbd and nmbd?

/var/log/daemon.log is usually a good place to look when you have uncooperative daemons.

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Justin Venable (ultratek) wrote :
Download full text (4.8 KiB)

in the webgui i hit restart all and the smbd and nmbd never start or even when i hit start on those two
but ever thing else runs

the sudo restart cmd just tells me it failed to kill- no such process then says start samba ok!

this is my daemon.log

Apr 30 01:55:59 ultratek-desktop nmbd[2651]: [2009/04/30 01:55:59, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:55:59 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:04 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:04, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:04 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:09 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:09, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:09 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:14 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:14, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:14 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:19 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:19, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:19 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:24 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:24, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:24 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:29 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:29, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:29 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:34 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:34, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:34 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:39 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:39, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:39 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:44 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:44, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:44 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:49 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:49, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:49 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:54 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:54, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:54 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:56:59 ultratek-desktop nmbd[2651]: [2009/04/30 01:56:59, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:56:59 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:57:04 ultratek-desktop nmbd[2651]: [2009/04/30 01:57:04, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:57:04 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:57:09 ultratek-desktop nmbd[2651]: [2009/04/30 01:57:09, 0] lib/interface.c:load_interfaces(546)
Apr 30 01:57:09 ultratek-desktop nmbd[2651]: WARNING: no network interfaces found
Apr 30 01:57:14 ultratek-desktop nmbd[26...

Read more...

Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like samba can't guess the network interfaces on that system. Could you post the output of the "ifconfig" command ? Manually adding an "interfaces" line to your smb.conf file might be a workaround.

Revision history for this message
Justin Venable (ultratek) wrote : Re: [Bug 369090] Re: smbd and nmbd wont run

eth0 Link encap:Ethernet HWaddr 00:1d:09:2b:b1:8c
          inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::21d:9ff:fe2b:b18c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:51215 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33506 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:50909226 (50.9 MB) TX bytes:8414585 (8.4 MB)
          Memory:febe0000-fec00000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1861 (1.8 KB) TX bytes:1861 (1.8 KB)

On Mon, May 4, 2009 at 6:18 AM, Thierry Carrez <email address hidden>wrote:

> Looks like samba can't guess the network interfaces on that system.
> Could you post the output of the "ifconfig" command ? Manually adding an
> "interfaces" line to your smb.conf file might be a workaround.
>
> --
> smbd and nmbd wont run
> https://bugs.launchpad.net/bugs/369090
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “samba” source package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: samba
>
> jaunty:
>
> i cant strat smbd and nmbd thorugh swat ... it is a clean installation of
> the latest samba on jaunty
>
> i wouldnt know where to look for logs on this
>

Revision history for this message
Thierry Carrez (ttx) wrote :

That looks good to me...
Could you start the samba daemons (sudo service samba start) then after a few seconds check if they are really running (sudo service samba status). If they aren't, could you post the relevant contents from the /var/log/samba directory. Thanks !

Revision history for this message
Justin Venable (ultratek) wrote :
Download full text (495.5 KiB)

 * Starting Samba daemons [
OK ]
ultratek@ultratek-desktop:~$ sudo service samba status
 * nmbd is running
 * smbd is not running
log.smbd:
[2009/05/04 16:13:37, 0] smbd/server.c:main(1260)
  smbd version 3.3.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/05/05 04:23:58, 0] smbd/server.c:main(1260)
  smbd version 3.3.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/05/05 08:25:34, 0] smbd/server.c:main(1260)
  smbd version 3.3.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009

samba.log:
  WARNING: no network interfaces found
[2009/05/04 11:57:57, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:02, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:07, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:12, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:17, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:22, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:27, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:32, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:37, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:42, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:47, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:52, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:58:57, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:02, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:07, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:12, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:17, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:22, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:27, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:32, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:37, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:42, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:47, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:52, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces found
[2009/05/04 11:59:57, 0] lib/interface.c:load_interfaces(546)
  WARNING: no network interfaces foun...

Revision history for this message
Chuck Short (zulcss) wrote :

This should be fixed in karmic now.

Regards
chuck

Changed in samba (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.