Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Site not starting after upgrade from debian etch to squeeze and apache_1.3.3 to apache_2.2.9. Please help

Quote Reply
Site not starting after upgrade from debian etch to squeeze and apache_1.3.3 to apache_2.2.9. Please help
Please help:
1. My site is not restarting after migrating my os from debian etch to squeeze, from apache_1.3.3 to apache2_2.2.0. Accessing the site I get the following error:
>>> [Sat Sep 10 02:11:33 2011] [error] [client xx.xx.xx.xx] Can't locate >> GForum.pm >>> in @INC (@INC contains: /opt/mysite/perl/admin /etc/perl >>> /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 >>> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 >>> /usr/local/lib/site_perl .) at /opt/kpelle/dictionary.cgi line 18. >>> [Sat Sep 10 02:11:33 2011] [error] [client xx.xx.xx.xx] BEGIN >>> failed--compilation aborted at /opt/mysite/application.cgi line 18. >>> [Sat Sep 10 02:11:33 2011] [error] [client xx.xx.xx.xx] Premature end of >>> script headers: application.cgi
This is how I enabled mod_perl2

Created /etc/apache2/start.pl ( use lib '/opt/site/perl/admin', use GForum::mod_perl, etc) and added its name in /etc/apache2.conf and restarted "apache2ctl restart", got the following :
>>> Preloading Gossamer Forum modules into mod_perl: >>> . . . . . . . . . . . >>> All modules loaded okay! >>> Compiling all functions ... All modules compiled and loaded okay! >>> >>> [Sat Sep 10 02:09:20 2011] [error] mod_mime_magic: type >>> search/400\t\\\\input\t\ttext/x-tex invalid >>> [Sat Sep 10 02:09:20 2011] [error] mod_mime_magic: type >>> search/400\t\\\\section\ttext/x-tex invalid >>> [Sat Sep 10 02:09:20 2011] [error] mod_mime_magic: type >>> search/400\t\\\\setlength\ttext/x-tex invalid >>> [Sat Sep 10 02:09:20 2011] [error] mod_mime_magic: type >>> search/400\t\\\\documentstyle\ttext/x-tex invalid >>> [Sat Sep 10 02:09:20 2011] [error] mod_mime_magic: type >>> search/400\t\\\\chapter\ttext/x-tex invalid >>> [Sat Sep 10 02:09:20 2011] [error] mod_mime_magic: type >>> search/400\t\\\\documentclass\ttext/x-tex invalid >>> [Sat Sep 10 02:09:20 2011] [error] mod_mime_magic: type >>> regex\t\t[Cc]onstant[[:space:]]+[Ss]tory\ttext/x-inform invalid >>> [Sat Sep 10 02:09:20 2011] [notice] Digest: generating secret for digest >>> authentication ... >>> [Sat Sep 10 02:09:20 2011] [notice] Digest: done >>> [Sat Sep 10 02:09:21 2011] [notice] Apache/2.2.9 (Debian) DAV/2 >> mod_ssl/2.2.9 >>> OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal >>> operations
Subject Author Views Date
Thread Site not starting after upgrade from debian etch to squeeze and apache_1.3.3 to apache_2.2.9. Please help pyc 6028 Sep 10, 2011, 8:33 AM
Post Re: [pyc] Site not starting after upgrade from debian etch to squeeze and apache_1.3.3 to apache_2.2.9. Please help
brewt 5795 Sep 12, 2011, 4:51 PM