in reply to Apache Server restart fails
So it cannot find the mod_perl.so file, which indeed is not in that directory. So I tried to reinstall mod_perl, but then I'm having issues with the Apache server. Inside the Mod_perl directory, the commands perl Makefile.PL MP_APXS=/usr/bin/apxs2 and make are fine, but when i run make test, I run into the following errors:sudo /etc/init.d/apache2 reload [sudo] password for rianne: apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Syntax + error on line 8 of /etc/apache2/httpd.conf: Cannot load /usr/lib/apa +che2/modules/mod_perl.so into server: /usr/lib/apache2/modules/mod_pe +rl.so: cannot open shared object file: No such file or directory Action 'configtest' failed. The Apache error log may have more information. ...fail!
No error log messages appear in the Apache error and access log files and the error logs in t/logs/error_log in the mod_perl directory. Any ideas ? Thanks!make[2]: Leaving directory `/home/rianne/Software/mod_perl-2.0.5/mod_p +erl-2.0.5/xs/ModPerl' make[1]: Leaving directory `/home/rianne/Software/mod_perl-2.0.5/mod_p +erl-2.0.5/xs' /home/rianne/perl5/perlbrew/perls/perl-5.14.2/bin/perl -Iblib/arch -Ib +lib/lib \ t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /home/rianne/perl5/perlbrew/perls/perl-5.14.2/bin +/perl /home/rianne/Software/mod_perl-2.0.5/mod_perl-2.0.5/t/TEST -cle +an APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_US +ER= APACHE_TEST_APXS= \ /home/rianne/perl5/perlbrew/perls/perl-5.14.2/bin/perl -Iblib/arch + -Iblib/lib \ t/TEST -bugreport -verbose=0 [warning] setting ulimit to allow core files ulimit -c unlimited; /home/rianne/perl5/perlbrew/perls/perl-5.14.2/bin +/perl /home/rianne/Software/mod_perl-2.0.5/mod_perl-2.0.5/t/TEST -bug +report -verbose=0 APXS (/usr/bin/apxs2) query for PREFIX failed /usr/sbin/apache2 -d /home/rianne/Software/mod_perl-2.0.5/mod_perl-2. +0.5/t -f /home/rianne/Software/mod_perl-2.0.5/mod_perl-2.0.5/t/conf/h +ttpd.conf -D APACHE2 -D PERL_USEITHREADS using Apache/2.2.20 (worker MPM) waiting 120 seconds for server to start: .[Mon Mar 05 14:29:54 2012] [ +info] 6 Apache2:: modules loaded [Mon Mar 05 14:29:54 2012] [info] 0 APR:: modules loaded [Mon Mar 05 14:29:54 2012] [info] base server + 28 vhosts ready to run + tests APXS (/usr/bin/apxs2) query for PREFIX failed [ error] oh shucks, server dumped core [ error] for stacktrace, run: gdb /usr/sbin/apache2 -core /home/riann +e/Software/mod_perl-2.0.5/mod_perl-2.0.5/core [ error] server has died with status 255 (please examine t/logs/error_log) [ error] oh nuts, server dumped core [ error] for stacktrace, run: gdb /usr/sbin/apache2 -core /home/riann +e/Software/mod_perl-2.0.5/mod_perl-2.0.5/core Terminated make: *** [run_tests] Error 143 rianne@rianne-OXYL015:~/Software/mod_perl-2.0.5/mod_perl-2.0.5$ sudo / +etc/init.d/apache2 reload [sudo] password for rianne: apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Syntax + error on line 8 of /etc/apache2/httpd.conf: Cannot load /usr/lib/apa +che2/modules/mod_perl.so into server: /usr/lib/apache2/modules/mod_pe +rl.so: cannot open shared object file: No such file or directory Action 'configtest' failed. The Apache error log may have more information. ...fail!
|
|---|