You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Sean Whipkey <sw...@mrgoodbucks.com> on 2000/04/13 20:49:20 UTC

mod_perl/5988: Apache will not start.

>Number:         5988
>Category:       mod_perl
>Synopsis:       Apache will not start.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Apr 13 11:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     swhipkey@mrgoodbucks.com
>Release:        1.3.12
>Organization:
apache
>Environment:
FreeBSD riff.mrgoodbucks.com 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Mon Dec 20 06:54:39 GMT 1999     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386
Standard installation
>Description:
After installing Apache with mod_perl (as per instructions) it will not start.

./perl Makefile.PL EVERYTHING=1
make
make install
cd ../apache-1.3.12
./configure --prefix=/usr/local/apache --enable-suexec --suexec-caller=www --suexec-userdir=.www --suexec-docroot=/www --s
uexec-logfile=/var/log/suexec.log --suexec-uidmin=1000 --suexec-gidmin=1000 --suexec-safepath="/bin:/usr/bin" --enable-mod
ule=most --enable-shared=max --activate-module=src/modules/perl/libperl.a --enable-shared=perl --enable-module=ssl
make
make install

I then edited the httpd.conf file for usage with my site.  Then, I started Apache.

: root@riff; ./apachectl startssl
Syntax error on line 242 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libperl.so into server: Cannot open "/usr/local/apache/libexec/libperl.so"
./apachectl startssl: httpd could not be started

So, I did:
: root@riff; ls /usr/local/apache/libexec/
httpd.exp               mod_auth.so             mod_digest.so           mod_info.so             mod_speling.so
libproxy.so             mod_auth_anon.so        mod_dir.so              mod_log_config.so       mod_status.so
libssl.so               mod_auth_dbm.so         mod_env.so              mod_mime.so             mod_unique_id.so
mod_access.so           mod_autoindex.so        mod_expires.so          mod_mime_magic.so       mod_userdir.so
mod_actions.so          mod_cern_meta.so        mod_headers.so          mod_negotiation.so      mod_usertrack.so
mod_alias.so            mod_cgi.so              mod_imap.so             mod_rewrite.so          mod_vhost_alias.so
mod_asis.so             mod_define.so           mod_include.so          mod_setenvif.so

I did a locate and find libperl.so under /usr/lib.  I then did ln -s /usr/lib/libperl.so /usr/local/apache/libexec/libperl.so and tried again.
: root@riff; ./apachectl startssl
Syntax error on line 242 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libperl.so into server: /usr/local/apache/libexec/libperl.so: Undefined symbol "log"
./apachectl startssl: httpd could not be started



>How-To-Repeat:
Compile Apache as per above, then try it.
>Fix:
I commented out the mod_perl lines and it worked fine.  Fix the undefined thing?
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> 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!     ]