Re: apache problems

2007-08-16 Thread Hugo Silva

Reinhold wrote:

On Thu, August 16, 2007 20:16, Hugo Silva wrote:
  

Reinhold wrote:



Hi


I am having some problems with apache22 on my box. What happens is,
when I'm viewing loads and loads of pages, apache will stop responding
untill I restart it again. This normally happens when the free memory
shown by top gets to about +- 100MB.

Here is my dmesg output:
Copyright (c) 1992-2007 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 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
module_register: module accf_data already exists!
Module accf_data failed to register: 17
module_register: module accf_http already exists!
Module accf_http failed to register: 17
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 165(1808.34-MHz K8-class
CPU)
Origin = "AuthenticAMD"  Id = 0x20f32  Stepping = 2


Features=0x178bfbff
Features2=0x1
AMD Features=0xe2500800
AMD Features2=0x3
Cores per package: 2
real memory  = 2147418112 (2047 MB) avail memory = 2065465344 (1969 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0 cpu1 (AP): APIC ID:  1 ioapic0: Changing APIC ID
to 2 ioapic0  irqs 0-23 on motherboard kbd1 at kbdmux0
module_register_init: MOD_LOAD (accf_data, 0x802d0f90,
0x807120c0) error 17
module_register_init: MOD_LOAD (accf_http, 0x802d0f90,
0x80713720) error 17
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.0 (no driver attached)
isab0:  at device 1.0 on pci0
isa0:  on isab0
pci0:  at device 1.1 (no driver attached)
ohci0:  mem 0xfe02f000-0xfe02 irq 21
at device 2.0 on pci0 ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0:  mem 0xfeb0-0xfeb000ff irq
22
at device 2.1 on pci0 ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1:  on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
ata0:  on atapci0
ata1:  on atapci0
atapci1:  port
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
ata2:  on atapci1
ata3:  on atapci1
atapci2:  port
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
ata4:  on atapci2
ata5:  on atapci2
pcib1:  at device 9.0 on pci0
pci1:  on pcib1
rl0:  port 0xac00-0xacff mem
0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:08:44:e4
pcib2:  at device 11.0 on pci0
pci2:  on pcib2
pcib3:  at device 12.0 on pci0
pci3:  on pcib3
pcib4:  at device 13.0 on pci0
pci4:  on pcib4
pcib5:  at device 14.0 on pci0
pci5:  on pcib5
pci5:  at device 0.0 (no driver attached)
acpi_tz0:  on acpi0
fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
acpi0 fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0 sio0: type 16550A
ppc0:  port 0x378-0x37f,0x778-0x77b irq
7
on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
orm0:  at iomem 0xc-0xcefff on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0 atkbd0: [GIANT-LOCKED]
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on
isa0 Timecounters tick every 1.000 msec
ad0: 29312MB  at ata0-master UDMA100
acd0: CDRW  at ata1-master UDMA33
acd1: DVDROM  at
ata1-slave UDMA66
ad4: 238475MB  at ata2-master SATA150
ad6: 238475MB  at ata3-master SATA150
ad8: 76324MB  at ata4-master SATA150
SMP: AP CPU #1 Launched!


I'm also getting this error when I do a gracful restart of apache
[Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable
 the 'httpready' Accept Filter [Thu Aug 16 05:12:16 2007] [warn]
(22)Invalid argument: Failed to enable
the 'httpready' Accept Filter

and in my /boot/loader.conf I have added accf_data_load="YES"
accf_http_load="YES"

and kl

Re: apache problems

2007-08-16 Thread Reinhold
On Thu, August 16, 2007 20:16, Hugo Silva wrote:
> Reinhold wrote:
>
>> Hi
>>
>>
>> I am having some problems with apache22 on my box. What happens is,
>> when I'm viewing loads and loads of pages, apache will stop responding
>> untill I restart it again. This normally happens when the free memory
>> shown by top gets to about +- 100MB.
>>
>> Here is my dmesg output:
>> Copyright (c) 1992-2007 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 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
>> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
>> module_register: module accf_data already exists!
>> Module accf_data failed to register: 17
>> module_register: module accf_http already exists!
>> Module accf_http failed to register: 17
>> ACPI APIC Table: 
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> CPU: Dual Core AMD Opteron(tm) Processor 165(1808.34-MHz K8-class
>> CPU)
>> Origin = "AuthenticAMD"  Id = 0x20f32  Stepping = 2
>>
>>
>> Features=0x178bfbff> E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>> Features2=0x1
>> AMD Features=0xe2500800
>> AMD Features2=0x3
>> Cores per package: 2
>> real memory  = 2147418112 (2047 MB) avail memory = 2065465344 (1969 MB)
>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>> cpu0 (BSP): APIC ID:  0 cpu1 (AP): APIC ID:  1 ioapic0: Changing APIC ID
>> to 2 ioapic0  irqs 0-23 on motherboard kbd1 at kbdmux0
>> module_register_init: MOD_LOAD (accf_data, 0x802d0f90,
>> 0x807120c0) error 17
>> module_register_init: MOD_LOAD (accf_http, 0x802d0f90,
>> 0x80713720) error 17
>> acpi0:  on motherboard
>> acpi0: Power Button (fixed)
>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
>> cpu0:  on acpi0
>> cpu1:  on acpi0
>> acpi_button0:  on acpi0
>> pcib0:  port 0xcf8-0xcff on acpi0
>> pci0:  on pcib0
>> pci0:  at device 0.0 (no driver attached)
>> isab0:  at device 1.0 on pci0
>> isa0:  on isab0
>> pci0:  at device 1.1 (no driver attached)
>> ohci0:  mem 0xfe02f000-0xfe02 irq 21
>> at device 2.0 on pci0 ohci0: [GIANT-LOCKED]
>> usb0: OHCI version 1.0, legacy support
>> usb0:  on ohci0
>> usb0: USB revision 1.0
>> uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>> uhub0: 10 ports with 10 removable, self powered
>> ehci0:  mem 0xfeb0-0xfeb000ff irq
>> 22
>> at device 2.1 on pci0 ehci0: [GIANT-LOCKED]
>> usb1: EHCI version 1.0
>> usb1: companion controller, 4 ports each: usb0
>> usb1:  on ehci0
>> usb1: USB revision 2.0
>> uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
>> uhub1: 10 ports with 10 removable, self powered
>> atapci0:  port
>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
>> ata0:  on atapci0
>> ata1:  on atapci0
>> atapci1:  port
>> 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
>> 0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
>> ata2:  on atapci1
>> ata3:  on atapci1
>> atapci2:  port
>> 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
>> 0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
>> ata4:  on atapci2
>> ata5:  on atapci2
>> pcib1:  at device 9.0 on pci0
>> pci1:  on pcib1
>> rl0:  port 0xac00-0xacff mem
>> 0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
>> miibus0:  on rl0
>> rlphy0:  on miibus0
>> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>> rl0: Ethernet address: 00:0e:2e:08:44:e4
>> pcib2:  at device 11.0 on pci0
>> pci2:  on pcib2
>> pcib3:  at device 12.0 on pci0
>> pci3:  on pcib3
>> pcib4:  at device 13.0 on pci0
>> pci4:  on pcib4
>> pcib5:  at device 14.0 on pci0
>> pci5:  on pcib5
>> pci5:  at device 0.0 (no driver attached)
>> acpi_tz0:  on acpi0
>> fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
>> acpi0 fdc0: [FAST]
>> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
>> acpi0 sio0: type 16550A
>> ppc0:  port 0x378-0x37f,0x778-0x77b irq
>> 7
>> on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
>> ppbus0:  on ppc0
>> plip0:  on ppbus0
>> lpt0:  on ppbus0
>> lpt0: Interrupt-driven port
>> ppi0:  on ppbus0
>> orm0:  at iomem 0xc-0xcefff on isa0
>> atkbdc0:  at port 0x60,0x64 on isa0
>> atkbd0:  irq 1 on atkbdc0
>> kbd0 at atkbd0 atkbd0: [GIANT-LOCKED]
>> sc0:  at flags 0x100 on isa0
>> sc0: VGA <16 virtual consoles, flags=0x300>
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on
>> isa0 Timecounters tick every 1.000 msec
>> ad0: 29312MB  at ata0-master UDMA100
>> acd0: CDRW  at ata1-master UDMA33
>> acd1: DVDROM  at
>> ata1-slave UDMA66
>> ad4: 238475MB  at ata2-master SATA150
>> ad6: 238475MB  at ata3-master SATA150
>> ad8: 76324MB  a

Re: apache problems

2007-08-16 Thread Reinhold
Thanks

I'll switch back to 4BSD and see what happens

On Thu, August 16, 2007 20:09, Philip M. Gollucci wrote:
> Kris Kennaway wrote:
>
>> On Thu, Aug 16, 2007 at 02:02:09PM -0400, Philip M. Gollucci wrote:
>>
 options SCHED_ULE
>>> I would stick with 4BSD in 6.x series until 7.0-r then use SCHED_SMP
>>>
>>
>> You mean SCHED_ULE.
>>
>>
>>> Thats not your problem though.
>>>
> Right, I forgot the name changed back.
>
>
>
> --
> 
> Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
> Senior System Admin - Riderway, Inc. http://riderway.com
> 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF
>
>
> Work like you don't need the money,
> love like you'll never get hurt, and dance like nobody's watching.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
>


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: apache problems

2007-08-16 Thread Hugo Silva

Reinhold wrote:

Hi

I am having some problems with apache22 on my box. What happens is, when
I'm viewing loads and loads of pages, apache will stop responding untill I
restart it again. This normally happens when the free memory shown by top
gets to about +- 100MB.

Here is my dmesg output:
Copyright (c) 1992-2007 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 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERN
module_register: module accf_data already exists!
Module accf_data failed to register: 17
module_register: module accf_http already exists!
Module accf_http failed to register: 17
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 165(1808.34-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f32  Stepping = 2

Features=0x178bfbff
  Features2=0x1
  AMD Features=0xe2500800
  AMD Features2=0x3
  Cores per package: 2
real memory  = 2147418112 (2047 MB)
avail memory = 2065465344 (1969 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
module_register_init: MOD_LOAD (accf_data, 0x802d0f90,
0x807120c0) error 17
module_register_init: MOD_LOAD (accf_http, 0x802d0f90,
0x80713720) error 17
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.0 (no driver attached)
isab0:  at device 1.0 on pci0
isa0:  on isab0
pci0:  at device 1.1 (no driver attached)
ohci0:  mem 0xfe02f000-0xfe02 irq 21 at
device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0:  mem 0xfeb0-0xfeb000ff irq 22
at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1:  on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
ata0:  on atapci0
ata1:  on atapci0
atapci1:  port
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
ata2:  on atapci1
ata3:  on atapci1
atapci2:  port
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
ata4:  on atapci2
ata5:  on atapci2
pcib1:  at device 9.0 on pci0
pci1:  on pcib1
rl0:  port 0xac00-0xacff mem
0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:08:44:e4
pcib2:  at device 11.0 on pci0
pci2:  on pcib2
pcib3:  at device 12.0 on pci0
pci3:  on pcib3
pcib4:  at device 13.0 on pci0
pci4:  on pcib4
pcib5:  at device 14.0 on pci0
pci5:  on pcib5
pci5:  at device 0.0 (no driver attached)
acpi_tz0:  on acpi0
fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
ppc0:  port 0x378-0x37f,0x778-0x77b irq 7
on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
orm0:  at iomem 0xc-0xcefff on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 1.000 msec
ad0: 29312MB  at ata0-master UDMA100
acd0: CDRW  at ata1-master UDMA33
acd1: DVDROM  at ata1-slave
UDMA66
ad4: 238475MB  at ata2-master SATA150
ad6: 238475MB  at ata3-master SATA150
ad8: 76324MB  at ata4-master SATA150
SMP: AP CPU #1 Launched!

I'm also getting this error when I do a gracful restart of apache
[Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable
the 'httpready' Accept Filter
[Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable
the 'httpready' Accept Filter

and in my /boot/loader.conf I have added
accf_data_load="YES"
accf_http_load="YES"

and kldstat reports this
Id Refs AddressSize Na

Re: apache problems

2007-08-16 Thread Philip M. Gollucci
Kris Kennaway wrote:
> On Thu, Aug 16, 2007 at 02:02:09PM -0400, Philip M. Gollucci wrote:
>>> options SCHED_ULE
>> I would stick with 4BSD in 6.x series until 7.0-r then use SCHED_SMP
> 
> You mean SCHED_ULE.
> 
>> Thats not your problem though.
Right, I forgot the name changed back.


-- 

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: apache problems

2007-08-16 Thread Kris Kennaway
On Thu, Aug 16, 2007 at 02:02:09PM -0400, Philip M. Gollucci wrote:
> > options SCHED_ULE
> I would stick with 4BSD in 6.x series until 7.0-r then use SCHED_SMP

You mean SCHED_ULE.

> Thats not your problem though.

It could be, it's too broken to use in 6.x and only fixed in 7.0.

Kris


pgpZGzuEOaJOc.pgp
Description: PGP signature


Re: apache problems

2007-08-16 Thread Philip M. Gollucci
> options SCHED_ULE
I would stick with 4BSD in 6.x series until 7.0-r then use SCHED_SMP

Thats not your problem though.

-- 

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: apache problems

2006-11-26 Thread Derek Ragona
Did you upgrade from apache 1.x to 2.x?  If so, apache 2.0 will be running 
the httpd.conf the port installed, not your 1.X httpd.conf file.


-Derek




At 12:48 PM 11/26/2006, Forró A Hunor wrote:

Hi,
I am running freebsd 6.1, I'w just installed apache2, had some problems
after:

Sun Nov 26 21:18:55 2006] [warn] (2)No such file or directory: Failed to
enable the 'httpready' Accept Filter

I made a accf_http_load=YES in /boot/loader.conf than
kldload accf_http
At apache start I don't get no error messages but it is not starting for
some reason. Any ideeas?

--
Regards,
[Hunor]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache problems

2005-08-05 Thread Philip M. Gollucci

Bryan Maynard wrote:
I know this isn't directly freebsd related, but this list has been good 
to me before.


I am running 5-STABLE. I installed Apache 2.1.4 using make install clean 
after updating my ports collection. Everything seemed to go fine. I 
then installed mod_php5 via make install clean. I added 192.168.1.102 
thereallm.org to my /etc/hosts file (I am testing this box before I 
send it out for co-located hosting). When I run apachectl start I get 
no errors - even with -e, but there's no pid for apache or httpd in top 
(via "top | grep httpd" or "top | grep apache").

Whats in the error_log file ?

Me thinks it might be mod_uniquie_id complaining based on your setup.

HTH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache problems

2005-08-04 Thread Greg Barniskis

Bryan Maynard wrote:
I know this isn't directly freebsd related, but this list has been good 
to me before.


I am running 5-STABLE. I installed Apache 2.1.4 using make install clean 
after updating my ports collection. Everything seemed to go fine. I 
then installed mod_php5 via make install clean. I added 192.168.1.102 
thereallm.org to my /etc/hosts file (I am testing this box before I 
send it out for co-located hosting). When I run apachectl start I get 
no errors - even with -e, but there's no pid for apache or httpd in top 
(via "top | grep httpd" or "top | grep apache").


Got apache2_enable="YES" in /etc/rc.conf?

--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache problems

2005-08-04 Thread Louis LeBlanc
On 08/04/05 10:26 AM, Bryan Maynard sat at the `puter and typed:
> I know this isn't directly freebsd related, but this list has been good 
> to me before.

I know exactly what you mean . . .

> I am running 5-STABLE. I installed Apache 2.1.4 using make install clean 
> after updating my ports collection. Everything seemed to go fine. I 
> then installed mod_php5 via make install clean. I added 192.168.1.102 
> thereallm.org to my /etc/hosts file (I am testing this box before I 
> send it out for co-located hosting). When I run apachectl start I get 
> no errors - even with -e, but there's no pid for apache or httpd in top 
> (via "top | grep httpd" or "top | grep apache").

Try
ps -ax | grep httpd
to see if it's running.

If not, you should be able to start it with this:
/usr/local/etc/rc.d/apache2.sh start

BTW, none of my business, but you might want to consider sticking with
a RELEASE version of FreeBSD for production environments.  For the
most part, I'm sure STABLE is fine, but it can still have some minor
glitches that would be a pain to deal with in a remote system.

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Serocki's Stricture:
  Marriage is always a bachelor's last option.


pgpasr9jWjQ8A.pgp
Description: PGP signature


Re: Apache Problems

2004-09-23 Thread Matthew Seaman
On Wed, Sep 22, 2004 at 06:47:09PM -0700, Stanley Wright wrote:
> I'm having a problem setting up Apache. The httpd
> daemon is up and running and I can access the
> webserver via http://localhost. (I can see a test page
> I created).

That's good.

How have you set up httpd.conf?  Did you tell it to bind to any
particular addresses, or did you just leave it to the default, which
is to bind to all available interfaces?  In httpd.conf, that's
'Listen' or 'BindAddress' directives.  The default is effectively:

BindAddress *

which means 'bind to all ethernet interfaces'.

Depending on how your DSL connection is set up (ie. if your external
interface doesn't appear to the system much like an ethernet
interface), you might need to add a specific directive telling apache
to Listen on your external IP address.
 
> When I try to connect to the webserver via the IP
> address  of my DSL connection I get the error:
> 
> the connection was refused when attempting to
> contactx.x.x.x

Sounds as if apache isn't listening on that address. What do you get
from running?:

% netstat -f inet | grep http
 
> I called my ISP who informed me that they are not
> blocking port 80 (just wanted to cover all angles)
> also, Ive turned off the firewall with no success.

Good move, but it would be unlikely for any firewall filtering applied
by your ISP to prevent you from accessing an HTTP server on one of
your local interfaces.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp5kQXYRlR8S.pgp
Description: PGP signature


Re: Apache Problems

2004-09-22 Thread Nico Meijer
Hi Stanley,
When I try to connect to the webserver via the IP
address  of my DSL connection I get the error:
From _where_ are you doing that request?
I called my ISP who informed me that they are not
blocking port 80 (just wanted to cover all angles)
also, Ive turned off the firewall with no success.
Which firewall?
[Your logic seems to me to work backwards. I'd first cover my own @$$ 
and only then call my ISP. Even then, most of the time it's my own 
stupid mistakes... ;-) ]

What step(s) am I missing ?
Basically, you haven't given us any information other than "I can't get 
Apache to work as I'd like to."

What's your setup? LAN, WAN, firewall(s), FreeBSD version, Apache 
version (ports?), setup of client machine (where is it)?

That kind of stuff.
Bye... Nico
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache Problems

2004-09-22 Thread Alex de Kruijff
On Wed, Sep 22, 2004 at 06:47:09PM -0700, Stanley Wright wrote:
> I'm having a problem setting up Apache. The httpd
> daemon is up and running and I can access the
> webserver via http://localhost. (I can see a test page
> I created).
> 
> When I try to connect to the webserver via the IP
> address  of my DSL connection I get the error:
> 
> the connection was refused when attempting to
> contactx.x.x.x
> 
> I called my ISP who informed me that they are not
> blocking port 80 (just wanted to cover all angles)
> also, Ive turned off the firewall with no success.
> 
> What step(s) am I missing ?

What does the logfiles tell you?
/var/log/message http-*?
-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache problems

2003-03-15 Thread Matthew Seaman
On Sat, Mar 15, 2003 at 03:13:09PM -0500, Brian McCann wrote:
>   Hey all.  I'm having some (hopefully) simple problems with
> Apache 1.3.  I'm going to be hosting several sites on an private server,
> domain is "toontown.local".  My problem is when I add the virtual host
> entry in for, say, phpmyadmin.toontown.local, no matter how I access
> that server, it will always go to that site.  In DNS I have 2 a records:
> www.toontown.local and phpmyadmin.toontown.local, both have forward and
> reverse entries.  Here's what I'm sticking in the httpd.conf file:
> 
> 
>  DocumentRoot "/webs/www.toontown.local"
>  ServerName LocalWWW
> 
> 
> 
>  DocumentRoot /webs/phpMyAdmin
>  ServerName phpMyAdmin
> 
> 
>   Can anyone offer any insight?  I've done this before on other servers
> that host 10+ sites, but for some reason, I can't figure this out.

Two things you might try:

  -- You need a 'NameVirtualHost' directive somewhere if you're going
 to be doing name based virtual hosting.

http://httpd.apache.org/docs/mod/core.html#namevirtualhost

  -- The  directive contains a list of IP numbers
 where those domains will be served from.  Typically this will be
 '*' in all cases, to serve the data from all available
 interfaces.

http://httpd.apache.org/docs/mod/core.html#virtualhost
http://httpd.apache.org/docs/vhosts/name-based.html

 It's the ServerName and ServerAlias directives within the
 VirtualHost definition that determine which server will respond
 to a request.  You should probably put the fully qualified domain
 name in as the ServerName and add the shortened version as a
 ServerAlias:

 NameVirtualHost *
 
 # First v-host is the default
 
 ServerName   localwww.toontown.local
 ServerAlias  localwww *.toontown.local
 DocumentRoot "/webs/www.toontown.local"
 

 
 ServerName   phpmyadmin.toontown.local
 ServerAlias  phpmyadmin
 DocumentRoot "/webs/phpMyAdmin"
 

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message