Pri startu se nespousti sluzby v /usr/local/etc/rc.d (6.0-RELEASE)

Martin Drtina razzi at narovinu.cz
Tue Dec 13 13:51:46 CET 2005


Dobre odpoledne,

    dovoluji si vas obtezovat s problemem, nad kterym si lamu hlavu uz treti
den. Nemohu na FreeBSD 6.0-RELEASE rozchodit automaticke spousteni demonu
(jde o sluzby Apache, MySQL,..) pri startu.

    V rc.conf mam local_startup="/usr/local/etc/rc.d/"

    V tomto umisteni pak 7 souboru, vsechny s koncovkou .sh

jeden z nich (000.apache2libs.sh) prikladam nize, stejne jako cast logu po
prihlaseni.
    Dekuji predem za kazde navedeni na spravnou cestu, jak na automaticke
spousteni sluzeb v teto verzi FreeBSD. Pri minule instalaci na tom samem
stroji, ale s verzi 5.2 Release, to behalo bez problemu a nejakeho
zvlastniho nastavovani.

    Martin Drtina


#!/bin/sh
case "$1" in
start)
/sbin/ldconfig -m /usr/local/lib/apache2
;;
stop)
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac



DUMP:

Dec 13 07:06:51 xindl kernel: vr0: Ethernet address: 00:13:d4:ed:73:4a
Dec 13 07:06:51 xindl kernel: acpi_button0: <Power Button> on acpi0
Dec 13 07:06:51 xindl kernel: atkbdc0: <Keyboard controller (i8042)> port
0x60,0x64 irq 1 on acpi0
Dec 13 07:06:51 xindl kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Dec 13 07:06:51 xindl kernel: kbd0 at atkbd0
Dec 13 07:06:51 xindl kernel: atkbd0: [GIANT-LOCKED]
Dec 13 07:06:51 xindl kernel: sio0: <16550A-compatible COM port> port
0x2f8-0x2ff irq 3 flags 0x10 on acpi0
Dec 13 07:06:51 xindl kernel: sio0: type 16550A
Dec 13 07:06:51 xindl kernel: ppc0: <Standard parallel printer port> port
0x378-0x37f irq 7 on acpi0
Dec 13 07:06:51 xindl kernel: ppc0: Generic chipset (NIBBLE-only) in
COMPATIBLE mode
Dec 13 07:06:51 xindl kernel: ppbus0: <Parallel port bus> on ppc0
Dec 13 07:06:51 xindl kernel: plip0: <PLIP network interface> on ppbus0
Dec 13 07:06:51 xindl kernel: lpt0: <Printer> on ppbus0
Dec 13 07:06:51 xindl kernel: lpt0: Interrupt-driven port
Dec 13 07:06:51 xindl kernel: ppi0: <Parallel I/O> on ppbus0
Dec 13 07:06:51 xindl kernel: pmtimer0 on isa0
Dec 13 07:06:51 xindl kernel: orm0: <ISA Option ROM> at iomem
0xc8800-0xcd7ff on isa0
Dec 13 07:06:51 xindl kernel: sc0: <System console> at flags 0x100 on isa0
Dec 13 07:06:51 xindl kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Dec 13 07:06:51 xindl kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df
iomem 0xa0000-0xbffff on isa0
Dec 13 07:06:51 xindl kernel: Timecounter "TSC" frequency 2000082023 Hz
quality 800
Dec 13 07:06:51 xindl kernel: Timecounters tick every 1.000 msec
Dec 13 07:06:51 xindl kernel: IP Filter: v4.1.8 initialized. Default = pass
all, Logging = enabled
Dec 13 07:06:51 xindl kernel: acd0: CDRW <TEAC DW-552GA/R4K3> at ata0-master
UDMA33
Dec 13 07:06:51 xindl kernel: ad4: 76319MB <Seagate ST380817AS 3.42> at
ata2-master SATA150
Dec 13 07:06:51 xindl kernel: Trying to mount root from ufs:/dev/ad4s1a
Dec 13 07:06:51 xindl kernel: Loading configuration files.
Dec 13 07:06:51 xindl kernel: kernel dumps on /dev/ad4s1b
Dec 13 07:06:51 xindl kernel: Entropy harvesting:
Dec 13 07:06:51 xindl kernel: interrupts
Dec 13 07:06:51 xindl kernel: ethernet
Dec 13 07:06:51 xindl kernel: point_to_point
Dec 13 07:06:51 xindl kernel: kickstart
Dec 13 07:06:51 xindl kernel: .
Dec 13 07:06:51 xindl kernel: swapon: adding /dev/ad4s1b as swap device
Dec 13 07:06:51 xindl kernel: Starting file system checks:
Dec 13 07:06:51 xindl kernel: /dev/ad4s1a: FILE SYSTEM CLEAN; SKIPPING
CHECKS
Dec 13 07:06:51 xindl kernel: /dev/ad4s1a: clean, 217765 free (365 frags,
27175 blocks, 0.1% fragmentation)
Dec 13 07:06:51 xindl kernel: /dev/ad4s2e: FILE SYSTEM CLEAN; SKIPPING
CHECKS
Dec 13 07:06:51 xindl kernel: /dev/ad4s2e: clean, 6940037 free (21 frags,
867502 blocks, 0.0% fragmentation)
Dec 13 07:06:51 xindl kernel: /dev/ad4s2d: FILE SYSTEM CLEAN; SKIPPING
CHECKS
Dec 13 07:06:51 xindl kernel: /dev/ad4s2d: clean, 5558479 free (38839 frags,
689955 blocks, 0.5% fragmentation)
Dec 13 07:06:51 xindl kernel: /dev/ad4s2f: FILE SYSTEM CLEAN; SKIPPING
CHECKS
Dec 13 07:06:51 xindl kernel: /dev/ad4s2f: clean, 1060553 free (273 frags,
132535 blocks, 0.0% fragmentation)
Dec 13 07:06:51 xindl kernel: /dev/ad4s1d: FILE SYSTEM CLEAN; SKIPPING
CHECKS
Dec 13 07:06:51 xindl kernel: /dev/ad4s1d: clean, 21019153 free (961 frags,
2627274 blocks, 0.0% fragmentation)
Dec 13 07:06:51 xindl kernel: Setting hostname: xindl.lan.narovinu.cz.
Dec 13 07:06:51 xindl kernel: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>
mtu 16384
Dec 13 07:06:51 xindl kernel: inet6 ::1 prefixlen 128
Dec 13 07:06:51 xindl kernel: inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
Dec 13 07:06:51 xindl kernel: inet 127.0.0.1 netmask 0xff000000
Dec 13 07:06:51 xindl kernel: vr0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
Dec 13 07:06:51 xindl kernel: inet6 fe80::213:d4ff:feed:734a%vr0 prefixlen
64 tentative scopeid 0x1
Dec 13 07:06:51 xindl kernel: inet 192.168.3.4 netmask 0xfffffff0 broadcast
192.168.3.15
Dec 13 07:06:51 xindl kernel: ether 00:13:d4:ed:73:4a
Dec 13 07:06:51 xindl kernel: media: Ethernet autoselect (100baseTX
<full-duplex>)
Dec 13 07:06:51 xindl kernel: status: active
Dec 13 07:06:51 xindl kernel: add net default: gateway 192.168.3.2
Dec 13 07:06:51 xindl kernel: Additional routing options:
Dec 13 07:06:51 xindl kernel: .
Dec 13 07:06:51 xindl kernel: Starting devd.
Dec 13 07:06:51 xindl kernel: Mounting NFS file systems:
Dec 13 07:06:51 xindl kernel: .
Dec 13 07:06:51 xindl kernel: Creating and/or trimming log files:
Dec 13 07:06:51 xindl kernel: .
Dec 13 07:06:51 xindl kernel: Starting syslogd.
Dec 13 07:06:51 xindl kernel: Checking for core dump on /dev/ad4s1b...
Dec 13 07:06:51 xindl kernel: savecore: no dumps found
Dec 13 07:06:51 xindl savecore: no dumps found
Dec 13 07:06:52 xindl kernel: Starting named.
Dec 13 07:06:52 xindl kernel: Setting date via ntp.
Dec 13 07:06:54 xindl kernel: 13 Dec 07:06:54 ntpdate[366]: step time server
217.11.227.68 offset 2.240677 sec
Dec 13 07:06:54 xindl kernel: Starting rpcbind.
Dec 13 07:06:54 xindl kernel: Turning on accounting.
Dec 13 07:06:54 xindl kernel: Accounting enabled
Dec 13 07:06:54 xindl kernel: Clearing /tmp.
Dec 13 07:06:54 xindl kernel: ELF ldconfig path: /lib /usr/lib
/usr/lib/compat /usr/X11R6/lib /usr/local/lib
Dec 13 07:06:55 xindl kernel: a.out ldconfig path: /usr/lib/aout
/usr/lib/compat/aout /usr/X11R6/lib/aout
Dec 13 07:06:55 xindl kernel: Starting usbd.
Dec 13 07:06:55 xindl kernel: Starting local daemons:
Dec 13 07:06:55 xindl kernel: .
Dec 13 07:06:55 xindl kernel: Updating motd
Dec 13 07:06:55 xindl kernel: .
Dec 13 07:06:55 xindl kernel: Configuring syscons:
Dec 13 07:06:55 xindl kernel: keymap
Dec 13 07:06:55 xindl kernel: font8x16
Dec 13 07:06:55 xindl kernel: font8x14
Dec 13 07:06:55 xindl kernel: font8x8
Dec 13 07:06:55 xindl kernel: blanktime
Dec 13 07:06:55 xindl kernel: .
Dec 13 07:06:55 xindl kernel: Starting sshd.
Dec 13 07:06:55 xindl sshd[490]: Server listening on :: port 22.
Dec 13 07:06:55 xindl sshd[490]: Server listening on 0.0.0.0 port 22.
Dec 13 07:06:55 xindl kernel: Starting sendmail.
Dec 13 07:06:55 xindl kernel: Initial i386 initialization:
Dec 13 07:06:55 xindl kernel: .
Dec 13 07:06:55 xindl kernel: Additional ABI support:
Dec 13 07:06:55 xindl kernel: linux
Dec 13 07:06:56 xindl kernel: postfix/postfix-script: starting the Postfix
mail system
Dec 13 07:06:56 xindl postfix/postfix-script: starting the Postfix mail
system
Dec 13 07:06:57 xindl kernel: .
Dec 13 07:06:57 xindl kernel: Starting cron.
Dec 13 07:06:57 xindl kernel: Local package initialization:
Dec 13 07:06:58 xindl kernel: .
Dec 13 07:06:58 xindl kernel: Additional TCP options:
Dec 13 07:06:58 xindl kernel: .
Dec 13 07:06:58 xindl kernel: Starting inetd.
Dec 13 07:06:58 xindl kernel: Starting background file system checks in 60
seconds.
Dec 13 07:06:58 xindl kernel:
Dec 13 07:06:58 xindl kernel: Tue Dec 13 07:06:58 CET 2005




More information about the Users-l mailing list