Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 May 2002 10:20:34 -0700 (PDT)
From:      dave@atkinshome.com
To:        freebsd-questions@FreeBSD.ORG
Cc:        wmoran@potentialtech.com
Subject:   Re: samba/inetd - netbios-ns/udp: bind: Address already in use error messages
Message-ID:  <20020501102048.18324.h002.c001.wm@mail.atkinshome.com.criticalpath.net>

next in thread | raw e-mail | index | archive | help
After digging around for a while, I eventually rebooted and the problem went
away! I think what may have happened is that when I installed samba originally, I
may have started it from the command line and never killed it before allowing
inetd to take over... doh!

> >>Have you checked /usr/local/etc/rc.d for a startup script?
> > there is no /usr/local/etc.
> I've never seen a FreeBSD system without /usr/local/etc - unless
> you manually removed it.

Yes, I wondered about that (/usr/local/etc). It was not created during the
install of any of my systems, unless I chose to add packages such as apache. On
another freeBSD box that I installed the apache distribution and other things,
/usr/local/etc got created, along with an apache folder in there which has a
startup script for apache.

For these servers, I did a developer install, but did not install any additional
packages. After the initial install, there are no folders in /usr/local at all.

To track down own the daemon is getting started, I start with
/etc/defaults/rc.conf

which says:
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"

there is no rc.conf.local

checked both files, no mention of anything samba-related. No X installed either.

 
> nmbd is the problem.  It looks like it's starting as a daemon.  Check carefully
> to find out where this is occurring.  Bootup messages are helpful, if it's
> listed after "Local package initialization:" then it's being started from
> /usr/local/etc/rc.d (use "dmesg -a" to verify this)

nothing helpful in dmesg...but here it is, just in case you see something (Had to
reboot b/c it was full of error messages):

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.5-RELEASE #0: Mon Mar 11 19:34:35 PST 2002
    root@crwebx3.crdc.consumerreview.org:/usr/obj/usr/src/sys/WEBX
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (662.22-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
 
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 2147475456 (2097144K bytes)
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 2087936000 (2039000K bytes)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Changing APIC ID for IO APIC #1 from 0 to 3 on chip
Programming 16 pins in IOAPIC #0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0387000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc038709c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fc330
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 6 -> irq 2
pci0: <PCI bus> on pcib0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xecc0-0xecff mem
0xfe000000-0xfe0fffff,0xfe102000-0xfe102fff irq 2 at device 8.0 on pci0
fxp0: Ethernet address 00:d0:b7:9e:aa:4a
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <ATI model 4759 graphics accelerator> at 14.0
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x8b0-0x8bf at device 15.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfe100000-0xfe100fff irq 10 at device
15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 15 -> irq 5
IOAPIC #1 intpin 0 -> irq 10
pci1: <PCI bus> on pcib1
pcib2: <PCI to PCI bridge (vendor=8086 device=0962)> at device 2.0 on pci1
IOAPIC #1 intpin 14 -> irq 11
pci2: <PCI bus> on pcib2
pci2: <unknown card> (vendor=0x9005, dev=0x00c5) at 4.0 irq 5
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd800-0xd8ff mem
0xf8ffe000-0xf8ffefff irq 11 at device 4.1 on pci2
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
aac0: <Dell PERC 3/Si> mem 0xf0000000-0xf3ffffff irq 5 at device 2.1 on pci1
aac0: i960RX 100MHz, 54MB cache memory, no battery support
aac0: Kernel 2.1-3, Build 2951, S/N  401d0
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xccc0-0xccff mem
0xfa000000-0xfa0fffff,0xfa100000-0xfa100fff irq 10 at device 8.0 on pci1
fxp1: Ethernet address 00:b0:d0:49:d6:e9
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model VersaPad, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
SMP: AP CPU #1 Launched!
acd0: CDROM <TOSHIBA CD-ROM XM-7002B> at ata0-master using PIO4
Waiting 15 seconds for SCSI devices to settle
aacd0: <RAID 5> on aac0
aacd0: 34711MB (71089152 sectors)
Mounting root from ufs:/dev/aacd0s1a
swapon: adding /dev/aacd0s1b as swap device
Automatic boot in progress...
/dev/aacd0s1a: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/aacd0s1a: 
clean, 44796 free 
(140 frags, 5582 blocks, 0.2% fragmentation)
/dev/aacd0s1f: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/aacd0s1f: 
clean, 128998 free 
(14 frags, 16123 blocks, 0.0% fragmentation)
/dev/aacd0s1g: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/aacd0s1g: 
clean, 9456504 free 
(51240 frags, 1175658 blocks, 0.3% fragmentation)
/dev/aacd0s1e: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/aacd0s1e: 
clean, 128019 free 
(51 frags, 15996 blocks, 0.0% fragmentation)
Doing initial network setup:
 hostname
.
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.1.97 netmask 0xffffff00 broadcast 192.168.1.255
	ether 00:d0:b7:9e:aa:4a 
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
add net default: gateway 192.168.1.2
Additional routing options:
 TCP keepalive=YES
.
Routing daemons:
.
Additional daemons:
 syslogd
.
Doing additional network setup:
.
Starting final network daemons:
.
ELF ldconfig path: /usr/lib /usr/lib/compat
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting standard daemons:
 inetd
 cron
 sshd
 usbd
 sendmail
.
Initial rc.i386 initialization:
.
Configuring syscons:
 blanktime
.
Additional ABI support:
 linux
.
Local package initialization:
.
Additional TCP options:
.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020501102048.18324.h002.c001.wm>