FreeBSD services startup problems

From: Derrick Dantavious Edwards <dantavious313_at_gmail.com>
Date: Wed, 26 Dec 2012 18:33:25 -0500
Hi,
I am having problems with startup services in FreeBSD current. I am at a
loss on where the problem lies. Even though I have services explicitly
defined in rc.conf for startup they do not start. Startup scripts both
in /etc/rc.d (powerd/moused) and /usr/local/etc/rc.d (dbus,hald, and gdm
) are experiencing this. Initially, I checked out my rc.conf file as
well as the /etc/defaults/rc.conf because I continue to get this
message.

/etc/rc: WARNING: $auditdistd_enable is not set properly - see
rc.conf(5).

This is weird because I don’t have this service defined in my rc.conf. I
even went so far as commenting out all entries in /etc/defaults/rc.conf
that related to auditdistd to verify that it was not the problem. This
was done because I disabled the service in my /etc/rc.conf with no joy.
I also checked the /etc/rc file against what is in /usr/src and they
match up.

Another thing that is weird is that once the machine boots up and I log
in, once I execute sh /etc/rc the programs start. That solution is not
optimal and provides its own challenges as well. Does any have any ideas
on how I can fix this. 

rc.conf
hostname="zeus"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA ssid datdude5 country US DHCP"
vboxnet_enable="YES"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
powerd_flags="-a max -b adaptive"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
clear_tmp_enable="YES"
dbus_enable="YES"
hald_enable="YES"
#kdm4_enable="YES"
gdm_enable="YES"
sem_load="YES"
webcamd_enable="YES"
performance_cx_lowest="C2"
economy_cx_lowest="C2"
avahi_daemon_enable="YES"
avahi_dnsconfd_enable="YES"
bsdstats_enable="YES"
nfs_client_enable="YES"
nfsuserd_enable="YES"
devfs_system_ruleset="devfsrules_common"
 
Bootup
Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #0: Sun Dec 23 04:51:26 EST 2012
    derrick_at_zeus:/usr/obj/usr/src/sys/ZEUS amd64
CPU: Intel(R) Core(TM) i5-3210M CPU _at_ 2.50GHz (2494.38-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306a9  Family = 0x6  Model = 0x3a
Stepping = 9

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>

Features2=0x7fbae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Standard Extended Features=0x281<GSFSBASE,SMEP,ENHMOVSB>
  TSC: P-state invariant, performance statistics
real memory  = 17179869184 (16384 MB)
avail memory = 16341958656 (15584 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <TOSINV TOSINV00>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Cuse4BSD v0.1.26 _at_ /dev/cuse
kbd1 at kbdmux0
hpt27xx: RocketRAID 27xx controller driver v1.0 (Dec 23 2012 04:50:54)
ctl: CAM Target Layer loaded
acpi0: <TOSINV TOSINV00> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x3000-0x303f mem
0xb8000000-0xb83fffff,0xb0000000-0xb7ffffff irq 16 at device 2.0 on pci0
agp0: <IvyBridge mobile GT2 IG> on vgapci0
agp0: aperture size is 128M, detected 32764k stolen memory
xhci0: <Intel Panther Point USB 3.0 controller> mem
0xb8700000-0xb870ffff at device 20.0 on pci0
xhci0: 32 byte context size.
usbus0 on xhci0
pci0: <simple comms> at device 22.0 (no driver attached)
ehci0: <Intel Panther Point USB 2.0 controller> mem
0xb8719000-0xb87193ff irq 16 at device 26.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
hdac0: <Intel Panther Point HDA Controller> mem 0xb8710000-0xb8713fff
irq 22 at device 27.0 on pci0
pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <network, ethernet> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
pci2: <ACPI PCI bus> on pcib2
ath0: <Atheros 9280> mem 0xb8500000-0xb850ffff irq 17 at device 0.0 on
pci2
ath0: [HT] enabling HT modes
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9280 mac 128.2 RF5133 phy 13.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
pcib3: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <unknown> at device 0.0 (no driver attached)
ehci1: <Intel Panther Point USB 2.0 controller> mem
0xb8718000-0xb87183ff irq 23 at device 29.0 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci1
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Panther Point AHCI SATA controller> port
0x3088-0x308f,0x3094-0x3097,0x3080-0x3087,0x3090-0x3093,0x3060-0x307f
mem 0xb8717000-0xb87177ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
orm0: <ISA Option ROM> at iomem 0xcf000-0xcffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
ppc0: cannot reserve I/O port range
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
hpt27xx: no controller detected.
hdacc0: <Realtek (0x0280) HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek (0x0280) Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek (0x0280) (Analog)> at nid 20 and 24 on hdaa0
pcm1: <Realtek (0x0280) (Analog)> at nid 21 and 18 on hdaa0
hdacc1: <Intel Panther Point HDA CODEC> at cad 3 on hdac0
hdaa1: <Intel Panther Point Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Panther Point (HDMI/DP 8ch)> at nid 6 on hdaa1
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
ugen0.1: <0x8086> at usbus0
uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on
usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD7500BPKT-60PK4T0 01.01A01> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <WDC WD7500BPKT-75PK4T0 01.01A01> ATA-8 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad6
ses0 at ahciem0 bus 0 scbus5 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
SMP: AP CPU #1 Launched!
cd0 at ahcich5 bus 0 scbus4 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ8C0 1.00> Removable CD-ROM SCSI-0 device 
cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO
8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
- tray closed
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
Timecounter "TSC-low" frequency 9743680 Hz quality 1000
uhub0: 8 ports with 8 removable, self powered
Root mount waiting for: usbus2 usbus1
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
Root mount waiting for: usbus2 usbus1
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2>
on usbus1
ugen2.2: <vendor 0x8087> at usbus2
uhub4: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2>
on usbus2
Root mount waiting for: usbus2 usbus1
uhub3: 6 ports with 6 removable, self powered
uhub4: 6 ports with 6 removable, self powered
ugen1.3: <SuYin> at usbus1
Trying to mount root from zfs:nasty/root []...
Setting hostuuid: 6094ba74-d4c9-e111-975b-00266c262ff5.
Setting hostid: 0xafd424e8.
Entropy harvesting:.
Starting file system checks:
Mounting local file systems:.
/etc/rc.d/random: DEBUG: run_rc_command: doit: random_stop 
Writing entropy file:.
Setting hostname: zeus.
Starting Network: lo0 ath0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
	inet 127.0.0.1 netmask 0xff000000 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:22:5f:78:b1:0a
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
/etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
Starting devd.
/etc/pccard_ether: DEBUG: run_rc_command: start_precmd: checkauto 
/etc/pccard_ether: DEBUG: run_rc_command: doit: pccard_ether_start 
/etc/rc.d/netif: DEBUG: run_rc_command: doit: network_start ath0
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set
to NO.
wlan0: Ethernet address: 00:22:5f:78:b1:0a
/etc/rc.d/netif: DEBUG: checkyesno: ipv6_activate_all_interfaces is set
to NO.
/etc/rc.d/wpa_supplicant: DEBUG: pid file
(/var/run/wpa_supplicant/wlan0.pid): not readable.
/etc/rc.d/wpa_supplicant: DEBUG: load_kld: wlan_wep kernel module
already loaded.
/etc/rc.d/wpa_supplicant: DEBUG: load_kld: wlan_tkip kernel module
already loaded.
/etc/rc.d/wpa_supplicant: DEBUG: load_kld: wlan_ccmp kernel module
already loaded.
Starting wpa_supplicant.
/etc/rc.d/wpa_supplicant: DEBUG: run_rc_command:
doit: /usr/sbin/wpa_supplicant -s -B -i wlan0
-c /etc/wpa_supplicant.conf -D bsd -P /var/run/wpa_supplicant/wlan0.pid
/etc/rc.d/netif: DEBUG: checkyesno: synchronous_dhclient is set to NO.
Starting Network: ath0.
/etc/rc.d/netif: DEBUG: checkyesno: rc_startmsgs is set to YES.
ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:22:5f:78:b1:0a
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
/etc/rc.d/netif: DEBUG: The following interfaces were not configured: 
/etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.
/etc/rc.d/bridge: DEBUG: run_rc_command: doit: bridge_start 
/etc/pccard_ether: DEBUG: run_rc_command: start_precmd: checkauto 
/etc/pccard_ether: DEBUG: run_rc_command: doit: pccard_ether_start 
/etc/pccard_ether: DEBUG: run_rc_command: start_precmd: checkauto 
/etc/pccard_ether: DEBUG: run_rc_command: doit: pccard_ether_start 
/usr/local/etc/rc.d/webcamd: DEBUG: pid file (webcamd.dummy): not
readable.
/usr/local/etc/rc.d/webcamd: DEBUG: checkyesno: webcamd_enable is set to
YES.
/usr/local/etc/rc.d/webcamd: DEBUG: run_rc_command: start_precmd:
webcamd_prestart 
/usr/local/etc/rc.d/webcamd: DEBUG: checkyesno: hald_enable is set to
YES.
Starting webcamd.
/usr/local/etc/rc.d/webcamd: DEBUG: run_rc_command:
doit: /usr/local/sbin/webcamd  -B -U webcamd -G webcamd -d ugen1.3 -i 0
-H
Attached to ugen1.3[0]
/usr/local/etc/rc.d/webcamd: DEBUG: pid file (webcamd.dummy): not
readable.
/usr/local/etc/rc.d/webcamd: DEBUG: checkyesno: webcamd_enable is set to
YES.
/usr/local/etc/rc.d/webcamd: DEBUG: run_rc_command: start_precmd:
webcamd_prestart 
/usr/local/etc/rc.d/webcamd: DEBUG: checkyesno: hald_enable is set to
YES.
Starting webcamd.
/usr/local/etc/rc.d/webcamd: DEBUG: run_rc_command:
doit: /usr/local/sbin/webcamd  -B -U webcamd -G webcamd -d ugen1.3 -i 0
-H
Webcamd is already running for ugen1.3.0
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd
/etc/pccard_ether: DEBUG: run_rc_command: start_precmd: checkauto 
/etc/pccard_ether: DEBUG: run_rc_command: doit: pccard_ether_start 
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net fe80::: gateway ::1
add net ff02::: gateway ::1
/etc/rc.d/cleanvar: DEBUG: checkyesno: cleanvar_enable is set to YES.
/etc/rc.d/cleanvar: DEBUG: run_rc_command: doit: cleanvar_start 
ELF ldconfig
path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/kde4/lib /usr/local/lib/alsa-lib /usr/local/lib/banshee /usr/local/lib/ffmpeg-011 /usr/local/lib/ffmpeg1 /usr/local/lib/gcc46 /usr/local/lib/gcc47 /usr/local/lib/gcc48 /usr/local/lib/graphviz /usr/local/lib/nss /usr/local/lib/pth /usr/local/lib/qt4
32-bit compatibility ldconfig path: /usr/lib32
Creating and/or trimming log files.
Starting syslogd.
No core dumps found.
/etc/rc: WARNING: $auditdistd_enable is not set properly - see
rc.conf(5).
Clearing /tmp (X related).
Updating motd:.
Mounting late file systems:.
Starting ntpd.
Configuring syscons: blanktime.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
/etc/rc.d/sysctl: DEBUG: run_rc_command: doit: sysctl_start last 
Starting background file system checks in 60 seconds.

Sun Dec 23 08:46:27 EST 2012
wlan0: link state changed to UP
Dec 23 08:46:41 zeus login: ROOT LOGIN (root) ON ttyv0
drmn0: <Intel IvyBridge (M)> on vgapci0
info: [drm] MSI enabled 1 message(s)
info: [drm] AGP at 0xb0000000 128MB
iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
iic0: <I2C generic I/O> on iicbus0
iic1: <I2C generic I/O> on iicbus1
iicbus2: <Philips I2C bus> on iicbb1 addr 0xff
iic2: <I2C generic I/O> on iicbus2
iic3: <I2C generic I/O> on iicbus3
iicbus4: <Philips I2C bus> on iicbb2 addr 0xff
iic4: <I2C generic I/O> on iicbus4
iic5: <I2C generic I/O> on iicbus5
iicbus6: <Philips I2C bus> on iicbb3 addr 0xff
iic6: <I2C generic I/O> on iicbus6
iic7: <I2C generic I/O> on iicbus7
iicbus8: <Philips I2C bus> on iicbb4 addr 0xff
iic8: <I2C generic I/O> on iicbus8
iic9: <I2C generic I/O> on iicbus9
iicbus10: <Philips I2C bus> on iicbb5 addr 0xff
iic10: <I2C generic I/O> on iicbus10
iic11: <I2C generic I/O> on iicbus11
iicbus12: <Philips I2C bus> on iicbb6 addr 0xff
iic12: <I2C generic I/O> on iicbus12
iic13: <I2C generic I/O> on iicbus13
iicbus14: <Philips I2C bus> on iicbb7 addr 0xff
iic14: <I2C generic I/O> on iicbus14
iic15: <I2C generic I/O> on iicbus15
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
drmn0: taking over the fictitious range 0xb0000000-0xb8000000
info: [drm] Initialized i915 1.6.0 20080730
Dec 23 08:47:37 zeus gdm-session-worker[1268]: in
openpam_dynamic(): /usr/local/lib/pam_gnome_keyring.so: No such file or
directory
Dec 23 08:47:37 zeus gdm-session-worker[1268]: in openpam_load_module():
no /usr/local/lib/pam_gnome_keyring.so found
Dec 23 08:47:43 zeus pulseaudio[1331]: pid.c: Daemon already running.
Dec 23 08:47:44 zeus pulseaudio[1338]: pid.c: Daemon already running.
Dec 23 08:48:26 zeus su: derrick to root on /dev/pts/0
Dec 23 08:50:50 zeus su: derrick to root on /dev/pts/1
Dec 23 08:51:12 zeus ntpd[879]: time correction of -17988 seconds
exceeds sanity limit (1000); set clock manually to the correct UTC time.
Received on Wed Dec 26 2012 - 17:41:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC