Устанавливал из потров
cd /usr/ports/www/apache22
Запуск инсталляции сделал так:
make && make install && make clean
все устаровилось нормально отредактировал файл rc.conf
потом установил шифрование :
/usr/abills/misc/certs_create.sh apache
ищо вставил в конфиг.файл апача
Include /usr/abills/misc/apache/abills_httpd.conf
все после этого надо перегрузить апач делаю так:
/usr/local/etc/rc.d/apache22 restart
и тут просто провал
FreeBSD# /usr/local/etc/rc.d/apache22 restart
Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for FreeBSD
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
apache22 not running? (check /var/run/httpd.pid).
Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for FreeBSD
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
Starting apache22.
httpd: apr_sockaddr_info_get() failed for FreeBSD
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
------------------------------------------------------------------------------------------------
была похожая проблема на centos при изменении сертификата ssl,там я розрулил это выключением selinux т.е disable
что сделать??
мои логи: /var/log/messages
- Oct 12 18:00:00 FreeBSD newsyslog[1621]: logfile turned over due to size>100K
Oct 12 18:17:24 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 18:29:43 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 18:45:44 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 20:28:20 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 20:34:35 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 20:49:19 FreeBSD reboot: rebooted by root
Oct 12 20:49:19 FreeBSD syslogd: exiting on signal 15
Oct 12 20:50:23 FreeBSD syslogd: kernel boot file is /boot/kernel/kernel
Oct 12 20:50:23 FreeBSD kernel: Waiting (max 60 seconds) for system process `vnlru' to stop...done
Oct 12 20:50:23 FreeBSD kernel: Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Oct 12 20:50:23 FreeBSD kernel: Waiting (max 60 seconds) for system process `syncer' to stop...
Oct 12 20:50:23 FreeBSD kernel: Syncing disks, vnodes remaining...1 1 0 done
Oct 12 20:50:23 FreeBSD kernel: All buffers synced.
Oct 12 20:50:23 FreeBSD kernel: Copyright (c) 1992-2012 The FreeBSD Project.
Oct 12 20:50:23 FreeBSD kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Oct 12 20:50:23 FreeBSD kernel: The Regents of the University of California. All rights reserved.
Oct 12 20:50:23 FreeBSD kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Oct 12 20:50:23 FreeBSD kernel: FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012
Oct 12 20:50:23 FreeBSD kernel: root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Oct 12 20:50:23 FreeBSD kernel: CPU: AMD Sempron(tm) 2400+ (1672.48-MHz 686-class CPU)
Oct 12 20:50:23 FreeBSD kernel: Origin = "AuthenticAMD" Id = 0x681 Family = 6 Model = 8 Stepping = 1
Oct 12 20:50:23 FreeBSD kernel: Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
Oct 12 20:50:23 FreeBSD kernel: AMD Features=0xc0480800<SYSCALL,MP,MMX+,3DNow!+,3DNow!>
Oct 12 20:50:23 FreeBSD kernel: real memory = 536870912 (512 MB)
Oct 12 20:50:23 FreeBSD kernel: avail memory = 506077184 (482 MB)
Oct 12 20:50:23 FreeBSD kernel: Event timer "LAPIC" quality 400
Oct 12 20:50:23 FreeBSD kernel: ACPI APIC Table: <AMIINT SiS740XX>
Oct 12 20:50:23 FreeBSD kernel: ioapic0 <Version 1.1> irqs 0-23 on motherboard
Oct 12 20:50:23 FreeBSD kernel: kbd1 at kbdmux0
Oct 12 20:50:23 FreeBSD kernel: acpi0: <AMIINT SiS740XX> on motherboard
Oct 12 20:50:23 FreeBSD kernel: acpi0: Power Button (fixed)
Oct 12 20:50:23 FreeBSD kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
Oct 12 20:50:23 FreeBSD kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
Oct 12 20:50:23 FreeBSD kernel: cpu0: <ACPI CPU> on acpi0
Oct 12 20:50:23 FreeBSD kernel: acpi_button0: <Power Button> on acpi0
Oct 12 20:50:23 FreeBSD kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
Oct 12 20:50:23 FreeBSD kernel: pcib0: Length mismatch for 3 range: dfe00000 vs dec00000
Oct 12 20:50:23 FreeBSD kernel: pci0: <ACPI PCI bus> on pcib0
Oct 12 20:50:23 FreeBSD kernel: agp0: <SiS 741 host to AGP bridge> on hostb0
Oct 12 20:50:23 FreeBSD kernel: pcib1: <PCI-PCI bridge> at device 1.0 on pci0
Oct 12 20:50:23 FreeBSD kernel: pci1: <PCI bus> on pcib1
Oct 12 20:50:23 FreeBSD kernel: vgapci0: <VGA-compatible display> port 0xa800-0xa8ff mem 0xc0000000-0xc7ffffff,0xcfef0000-0xcfefffff irq 16 at device 0.0 on pci1
Oct 12 20:50:23 FreeBSD kernel: vgapci1: <VGA-compatible display> mem 0xb8000000-0xbfffffff,0xcfee0000-0xcfeeffff at device 0.1 on pci1
Oct 12 20:50:23 FreeBSD kernel: isab0: <PCI-ISA bridge> at device 2.0 on pci0
Oct 12 20:50:23 FreeBSD kernel: isa0: <ISA bus> on isab0
Oct 12 20:50:23 FreeBSD kernel: atapci0: <SiS 962/963 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 2.5 on pci0
Oct 12 20:50:23 FreeBSD kernel: ata0: <ATA channel 0> on atapci0
Oct 12 20:50:23 FreeBSD kernel: ata1: <ATA channel 1> on atapci0
Oct 12 20:50:23 FreeBSD kernel: pcm0: <SiS 7012> port 0xdc00-0xdcff,0xd800-0xd87f irq 18 at device 2.7 on pci0
Oct 12 20:50:23 FreeBSD kernel: pcm0: <C-Media Electronics CMI9761 AC97 Codec>
Oct 12 20:50:23 FreeBSD kernel: ohci0: <SiS 5571 USB controller> mem 0xcfffd000-0xcfffdfff irq 20 at device 3.0 on pci0
Oct 12 20:50:23 FreeBSD kernel: usbus0: <SiS 5571 USB controller> on ohci0
Oct 12 20:50:23 FreeBSD kernel: ohci1: <SiS 5571 USB controller> mem 0xcfffe000-0xcfffefff irq 21 at device 3.1 on pci0
Oct 12 20:50:23 FreeBSD kernel: usbus1: <SiS 5571 USB controller> on ohci1
Oct 12 20:50:23 FreeBSD kernel: ehci0: <EHCI (generic) USB 2.0 controller> mem 0xcffff000-0xcfffffff irq 23 at device 3.2 on pci0
Oct 12 20:50:23 FreeBSD kernel: usbus2: EHCI version 1.0
Oct 12 20:50:23 FreeBSD kernel: usbus2: <EHCI (generic) USB 2.0 controller> on ehci0
Oct 12 20:50:23 FreeBSD kernel: sis0: <SiS 900 10/100BaseTX> port 0xd400-0xd4ff mem 0xcfffc000-0xcfffcfff irq 19 at device 4.0 on pci0
Oct 12 20:50:23 FreeBSD kernel: miibus0: <MII bus> on sis0
Oct 12 20:50:23 FreeBSD kernel: rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus0
Oct 12 20:50:23 FreeBSD kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Oct 12 20:50:23 FreeBSD kernel: sis0: Ethernet address: 00:0b:6a:c7:32:5d
Oct 12 20:50:23 FreeBSD kernel: vr0: <VIA VT6105 Rhine III 10/100BaseTX> port 0xd000-0xd0ff mem 0xcfffbf00-0xcfffbfff irq 18 at device 10.0 on pci0
Oct 12 20:50:23 FreeBSD kernel: vr0: Quirks: 0x0
Oct 12 20:50:23 FreeBSD kernel: vr0: Revision: 0x8b
Oct 12 20:50:23 FreeBSD kernel: miibus1: <MII bus> on vr0
Oct 12 20:50:23 FreeBSD kernel: ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
Oct 12 20:50:23 FreeBSD kernel: ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Oct 12 20:50:23 FreeBSD kernel: vr0: Ethernet address: fc:75:16:87:50:2c
Oct 12 20:50:23 FreeBSD kernel: fdc0: <floppy drive controller> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
Oct 12 20:50:23 FreeBSD kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Oct 12 20:50:23 FreeBSD kernel: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Oct 12 20:50:23 FreeBSD kernel: ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 drq 0 on acpi0
Oct 12 20:50:23 FreeBSD kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
Oct 12 20:50:23 FreeBSD kernel: ppc0: FIFO with 16/16/9 bytes threshold
Oct 12 20:50:23 FreeBSD kernel: ppbus0: <Parallel port bus> on ppc0
Oct 12 20:50:23 FreeBSD kernel: plip0: <PLIP network interface> on ppbus0
Oct 12 20:50:23 FreeBSD kernel: lpt0: <Printer> on ppbus0
Oct 12 20:50:23 FreeBSD kernel: lpt0: Interrupt-driven port
Oct 12 20:50:23 FreeBSD kernel: ppi0: <Parallel I/O> on ppbus0
Oct 12 20:50:23 FreeBSD kernel: attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Oct 12 20:50:23 FreeBSD kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Oct 12 20:50:23 FreeBSD kernel: Event timer "i8254" frequency 1193182 Hz quality 100
Oct 12 20:50:23 FreeBSD kernel: atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Oct 12 20:50:23 FreeBSD kernel: Event timer "RTC" frequency 32768 Hz quality 0
Oct 12 20:50:23 FreeBSD kernel: pmtimer0 on isa0
Oct 12 20:50:23 FreeBSD kernel: sc0: <System console> at flags 0x100 on isa0
Oct 12 20:50:23 FreeBSD kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Oct 12 20:50:23 FreeBSD kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Oct 12 20:50:23 FreeBSD kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
Oct 12 20:50:23 FreeBSD kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Oct 12 20:50:23 FreeBSD kernel: kbd0 at atkbd0
Oct 12 20:50:23 FreeBSD kernel: atkbd0: [GIANT-LOCKED]
Oct 12 20:50:23 FreeBSD kernel: Timecounters tick every 1.000 msec
Oct 12 20:50:23 FreeBSD kernel: usbus0: 12Mbps Full Speed USB v1.0
Oct 12 20:50:23 FreeBSD kernel: usbus1: 12Mbps Full Speed USB v1.0
Oct 12 20:50:23 FreeBSD kernel: usbus2: 480Mbps High Speed USB v2.0
Oct 12 20:50:23 FreeBSD kernel: ugen0.1: <SiS> at usbus0
Oct 12 20:50:23 FreeBSD kernel: uhub0: <SiS OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
Oct 12 20:50:23 FreeBSD kernel: ugen1.1: <SiS> at usbus1
Oct 12 20:50:23 FreeBSD kernel: uhub1: <SiS OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
Oct 12 20:50:23 FreeBSD kernel: ugen2.1: <SiS> at usbus2
Oct 12 20:50:23 FreeBSD kernel: uhub2: <SiS EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
Oct 12 20:50:23 FreeBSD kernel: ada0 at ata0 bus 0 scbus0 target 0 lun 0
Oct 12 20:50:23 FreeBSD kernel: ada0: <Maxtor 6Y080L0 YAR41BW0> ATA-7 device
Oct 12 20:50:23 FreeBSD kernel: ada0: 133.000MB/s transfers (UDMA6, PIO 8192bytes)
Oct 12 20:50:23 FreeBSD kernel: ada0: 78167MB (160086528 512 byte sectors: 16H 255S/T 16383C)
Oct 12 20:50:23 FreeBSD kernel: ada0: Previously was known as ad0
Oct 12 20:50:23 FreeBSD kernel: Timecounter "TSC" frequency 1672482392 Hz quality 800
Oct 12 20:50:23 FreeBSD kernel: cd0 at ata1 bus 0 scbus1 target 0 lun 0
Oct 12 20:50:23 FreeBSD kernel: cd0: <HL-DT-ST DVDRAM GSA-4163B A104> Removable CD-ROM SCSI-0 device
Oct 12 20:50:23 FreeBSD kernel: cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
Oct 12 20:50:23 FreeBSD kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
Oct 12 20:50:23 FreeBSD kernel: uhub0: 3 ports with 3 removable, self powered
Oct 12 20:50:23 FreeBSD kernel: uhub1: 3 ports with 3 removable, self powered
Oct 12 20:50:23 FreeBSD kernel: uhub2: 6 ports with 6 removable, self powered
Oct 12 20:50:23 FreeBSD kernel: Trying to mount root from ufs:/dev/ada0p2 [rw]...
Oct 12 20:50:42 FreeBSD kernel: .
Oct 12 20:50:42 FreeBSD kernel: .
Oct 12 20:51:24 FreeBSD root: /etc/rc: WARNING: failed to start apache22
Oct 12 20:53:13 FreeBSD kernel: sis0: link state changed to DOWN
Oct 12 20:53:19 FreeBSD kernel: sis0: link state changed to UP
Oct 12 20:53:20 FreeBSD kernel: sis0: link state changed to DOWN
Oct 12 20:53:21 FreeBSD kernel: sis0: link state changed to UP
Oct 12 20:54:12 FreeBSD kernel: sis0: link state changed to DOWN
Oct 12 20:54:14 FreeBSD kernel: sis0: link state changed to UP
Oct 12 20:54:15 FreeBSD kernel: sis0: link state changed to DOWN
Oct 12 20:54:16 FreeBSD kernel: sis0: link state changed to UP
Oct 12 20:55:56 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 21:08:38 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 21:22:41 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 21:26:28 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 22:05:11 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 22:11:23 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
Oct 12 23:09:55 FreeBSD root: /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
[Fri Oct 12 22:11:17 2012] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of "FreeBS
Configuration Failed
[Fri Oct 12 23:09:48 2012] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of "FreeBS
Configuration Failed