I recently attempted to add mod_perl to my web server configuration. Here is my current web server info. "Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.7a DAV/2 PHP/4.3.1 Sun-ONE-ASP/4.0.0" There are no problems with this config and everything work ok.
I went through all of the config/setup docs on the web. I received an error while doing the "make test". The error seemed to be tied with the mod_casp2 modules for Sun Chilisoft ASP. I figured maybe it has never tested it with this module so I proceeded with the "make install". The make install seemed to go ok and it placed the mod_perl.so file in my apache2/modules directory. I then added the "LoadModule mod_perl modules/mod_perl.so" to my httpd.conf file. When attempting to start the web server I get the following error. I went through as much of the documentation that I could and I cannot find anything wrong at this time. Is there something else that needs to run at the end of the "make test" that my server did not complete because of the mod_casp2 problem? For now I removed the "LoadModule mod_perl modules/mod_perl.so" from my httpd.conf and everything is working fine again on server start. Below are the 2 telnet session cuts with errors while doing the "make test" and the "./apachectl startssl" Any help appreciated. Thanks, Paul. --------------------- Start "make test" ---------------------------------------------------------------- tia:root /opt/mod_perl-1.99_08>make test cd "src/modules/perl" && make -f Makefile.modperl mksh: Warning: newline is not last character in file Makefile.modperl Current working directory /opt/mod_perl-1.99_08/src/modules/perl /usr/local/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \ t/TEST -clean APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \ /usr/local/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \ t/TEST /usr/local/apache2/bin/httpd -d /opt/mod_perl-1.99_08/t -f /opt/mod_perl-1.99_08/t/conf/httpd.conf -DAPACHE2 using Apache/2.0.44 (prefork MPM) waiting for server to start: ..[Sun Apr 06 23:22:05 2003] [info] 20 Apache:: modules loaded [Sun Apr 06 23:22:05 2003] [info] 5 APR:: modules loaded [Sun Apr 06 23:22:05 2003] [info] base server + 5 vhosts ready to run tests mod_casp2: config directory not set yet, aborting. ............................................................ waiting for server to start: giving up after 61 secs !!! server failed to start! (t/logs/error_log wasn't created, start the server in the debug mode) *** Error code 1 make: Fatal error: Command failed for target `run_tests' --------------------- End "make test" ---------------------------------------------------------------- --------------------- Start web server ---------------------------------------------------------------- tia:root /usr/local/apache2/bin>./apachectl startssl Syntax error on line 3 of /usr/local/apache2/conf/httpd.conf: Can't locate API module structure `mod_perl' in file /usr/local/apache2/modules/mod_perl.so: ld.so.1: /usr/local/apache2/bin/httpd: fatal: mod_perl: can't find symbol --------------------- End start web server ----------------------------------------------------------------