Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 21:38:40 +0100
From:      "Henk Wevers" <henk@home.cg.nu>
To:        "'Sean Chittenden'" <sean-freebsd-stable@chittenden.org>, <stable@freebsd.org>
Cc:        "'Miklos Niedermayer'" <mico@bsd.hu>
Subject:   RE: Apache 1.3.19 in a jail working again!
Message-ID:  <00b201c0ae59$16357b60$08010a0a@kpnlep>
In-Reply-To: <20010316115833.C61074@rand.tgd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Aha I did change a change to the /etc/hosts to update the host(ipnumber)
to
Testje.cg.nu (the FQDN), I did only had testje
Real strange it was enough to to have a search cg.nu in /etc/resolv.conf
the "old" 
4.2-STABLE. Is this a feature? Or a bug?, anyway the man jail (8) needs
to be updated.

Henk Wevers



-----Original Message-----
From: owner-freebsd-stable@FreeBSD.ORG
[mailto:owner-freebsd-stable@FreeBSD.ORG] On Behalf Of Sean Chittenden
Sent: vrijdag 16 maart 2001 20:59
To: stable@freebsd.org
Cc: Henk Wevers; 'Miklos Niedermayer'
Subject: Re: Apache 1.3.19 does not work out of jail either -- UPDATED


	Alright, here's the scenario (I don't use jail and it still
breaks):

rand# perl Makefile.PL APACHE_PREFIX=/www/testing
APACHE_SRC=../apache-1.3.19/src DO_HTTPD=1 USEA_APACI=1 EVERYTHING=1
Will configure via APACI [... many lines later...] Creating Makefile in
src  + configured for FreeBSD 4.3 platform  + setting C pre-processor to
cc -E  + checking for system header files  + adding selected modules
    o perl_module uses ConfigStart/End
      + mod_perl build type: OBJ
      + id: mod_perl/1.25
      + id: Perl/5.00503 (freebsd) [perl]
      + setting up mod_perl build environment
      + adjusting Apache build environment
      + enabling Perl support for SSI (mod_include)
[snip]
rand# make install

rand# /www/testing/bin/apachectl configtest
Syntax OK
Segmentation fault - core dumped

rand# ll httpd.core
-rw-------  1 root  wheel  823296 Mar 16 11:40 httpd.core

rand# gdb /www/testing/bin/httpd httpd.core 
[snip]
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)... done. Reading symbols from /usr/lib/libperl.so.3...(no
debugging symbols found)... done. Reading symbols from
/usr/lib/libm.so.2...(no debugging symbols found)...done. Reading
symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libc_r.so.4...(no debugging symbols
found)... done. Reading symbols from /usr/lib/libutil.so.3...(no
debugging symbols found)... done. Reading symbols from
/usr/libexec/ld-elf.so.1...(no debugging symbols found)... done. #0
0x2822f53c in sysctl () from /usr/lib/libc.so.4

(gdb) bt
#0  0x2822f53c in sysctl () from /usr/lib/libc.so.4
#1  0x28244fca in .cerror () from /usr/lib/libc.so.4
#2  0x28244eca in exit () from /usr/lib/libc.so.4
#3  0x80a6b9f in main ()
#4  0x80549c3 in _start ()

(gdb) run
Starting program: /www/testing/bin/httpd 
(no debugging symbols found)...(no debugging symbols found)... (no
debugging symbols found)...(no debugging symbols found)... (no debugging
symbols found)...(no debugging symbols found)... (no debugging symbols
found)... Program received signal SIGSEGV, Segmentation fault.
0x2822f53c in sysctl () from /usr/lib/libc.so.4

	And there 'ya have it.  I don't know where to begin proding, but
I'll keep the binaries around incase someone else has any questions or
wants more information.  -sc

> 	I did some looking into this because I had the same problem.
> 
> mod_perl + kernel (Tuesday build) = problem with sysctl
> 
> 	I'll rebuild apache with mod_perl and see if I can get more
problems, 
> but I remember looking into it and finding that sysctl() was where it 
> wasy dying.  Thoughts anyone?  -sc

-- 
Sean Chittenden                sean@chittenden.org


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00b201c0ae59$16357b60$08010a0a>