Received: (qmail 15746 invoked by uid 501); 6 May 2001 06:30:04 -0000 Message-Id: <20010506063004.15745.qmail@apache.org> Date: 6 May 2001 06:30:04 -0000 From: ZapZap Reply-To: zapzap@aquariomania.com To: submit@bugz.apache.org Subject: apachectl: line 184: 21000 Segmentation fault (core dumped) $HTTPD X-Send-Pr-Version: 3.110 >Number: 7676 >Category: os-linux >Synopsis: apachectl: line 184: 21000 Segmentation fault (core dumped) $HTTPD >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat May 05 23:40:00 PDT 2001 >Closed-Date: Sun May 06 11:26:25 PDT 2001 >Last-Modified: Sun May 06 11:26:25 PDT 2001 >Originator: zapzap@aquariomania.com >Release: 1.3.19 >Organization: >Environment: Redhat Linux 7.0 Linux testmachine 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000 i586 unknown gcc --version = 2.96 gcc version 2.96 20000731 (Red Hat Linux 7.0) >Description: i compil Apache 1.3.9 DSO with - mod_auth_mysql-2.20 - mod_ssl-2.8.2-1.3.19 - openssl-0.9.6a the compilation finish without any errors but when i try apachectl start i receive : apachectl: line 184: 21000 Segmentation fault (core dumped) $HTTPD httpd work fine with this flag : -v, -V, -h, -l, -L but not with any other this is an output for httpd -V : Server version: Apache/1.3.19 (Unix) Server built: May 6 2001 06:38:41 Server's Module Magic Number: 19990320:10 Server compiled with.... -D EAPI -D HAVE_MMAP -D HAVE_SHMGET -D USE_SHMGET_SCOREBOARD -D USE_MMAP_FILES -D USE_SYSVSEM_SERIALIZED_ACCEPT -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D HTTPD_ROOT="/usr/local/depot/apache-ssl-dso-1.3.19" -D SUEXEC_BIN="/usr/local/depot/apache-ssl-dso-1.3.19/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard" -D DEFAULT_LOCKFILE="/var/run/httpd.lock" -D DEFAULT_XFERLOG="/var/log/httpd/access_log" -D DEFAULT_ERRORLOG="/var/log/httpd/error_log" -D TYPES_CONFIG_FILE="/etc/Configuration/httpd/Conf/mime.types" -D SERVER_CONFIG_FILE="/etc/Configuration/httpd/Conf/httpd.conf" -D ACCESS_CONFIG_FILE="/etc/Configuration/httpd/Conf/access.conf" -D RESOURCE_CONFIG_FILE="/etc/Configuration/httpd/Conf/srm.conf" and a httpd -v Server version: Apache/1.3.19 (Unix) Server built: May 6 2001 06:38:41 and a httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime_magic.c mod_mime.c mod_negotiation.c mod_status.c mod_info.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_so.c mod_setenvif.c mod_auth_mysql.c suexec: disabled; invalid wrapper /usr/local/depot/apache-ssl-dso-1.3.19/bin/suexec the backtrace : (gdb) where #0 0x808d6b9 in ap_get_local_host () #1 0x808971b in ap_fini_vhost_config () #2 0x80769e3 in ap_read_config () #3 0x8080ed6 in main () #4 0x40099b5c in __libc_start_main (main=0x8080bf4
, argc=1, ubp_av=0xbffffb24, init=0x80533b0 <_init>, fini=0x80c460c <_fini>, rtld_fini=0x4000d634 <_dl_fini>, stack_end=0xbffffb1c) at ../sysdeps/generic/libc-start.c:129 >How-To-Repeat: >Fix: i think it is a problem with the file /etc/hosts uname give : testmachine and the /etc/host have an entry like : a.b.c.d toto toto >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Sun May 6 11:26:25 PDT 2001 State-Changed-Why: There is a slight bug triggered when Apache cannot locate your hostname. You can avoid this by using the ServerName directive in httpd.conf to set the hostname manually. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]