[rt-users] Unable to start Apache after installing rt
Scott
rt at stuff.f00l.org
Mon Feb 4 09:33:32 EST 2002
Aaron,
I did what you said, and am still having the same problem. Any other
ideas? Dunno if it helps, but I'm using Apache-1.3.22 w/ modperl-1.26.
-Scott
On Fri, 1 Feb 2002, Hicks, Aaron wrote:
> Hi all,
>
> I'm new to rt and I have just joined this list. Below is my answer to
> Scotts problem. I sent it to him off list but thought that maybe some other
> solaris folks might need to know this. This is what I did to get rt up and
> running my Ultra 5 running Solaris 8. If anyone see any problem with what I
> did please tell me, I'm not a developer these days so I just guess as to
> adding the #undef main line in mod_perl.h.:
>
> Scott,
>
> I'm new to RT so I have just compiled apache with mod_perl myself and this
> is what I had to do to get it to run.
>
> Found a patch on the web, can't remember where right now, that add the
> following lines to src/modules/mod_perl.h starting on line 88:
>
> #undef pergcomp
> #undef setregid
> #undef setreuid
> #undef sync
> #undef my_memcmp
>
> The lines just above this are:
>
> #include "EXTERN.h"
> #include "perl.h"
> #ifdef PERL_OBJECT
> #define NO_XSLOCKS
> #endif
> #include "XSUB.h"
>
> Once I did that I started to get error from httpd that is could not load the
> mod_perl library because main was redefined, so I added the following line
> below the ones added earlier:
>
> #undef main
>
> I then recompiled mod_perl and the apache and all is working now.
>
> Also you need to down load Apache::DBI which is not in the testdeps list.
> There is a FAQ about this at the rt web page.
>
> I hope this help
> Aaron
>
> -----Original Message-----
> From: Scott [mailto:rt at stuff.f00l.org]
> Sent: Friday, February 01, 2002 7:36 AM
> To: rt-users at lists.fsck.com
> Subject: [rt-users] Unable to start Apache after installing rt
>
>
> Having some problems getting Apache going after I installed rt. I'm
> running Solaris 8 on a Sparc.
>
> When I untar rt and run make testdeps it shows all the perlmods are
> found..
>
> $ make testdeps
> /usr/bin/perl ./tools/testdeps -warn mysql
> Checking for DBI 1.18 ...found
> Checking for DBIx::DataSource 0.02 ...found
> Checking for DBIx::SearchBuilder 0.48 ...found
> Checking for HTML::Entities...found
> Checking for MLDBM...found
> Checking for Net::Domain...found
> Checking for Net::SMTP...found
> Checking for Params::Validate 0.02 ...found
> Checking for HTML::Mason 1.02 ...found
> Checking for CGI::Cookie 1.20 ...found
> Checking for Apache::Cookie...found
> Checking for Apache::Session 1.53 ...found
> Checking for Date::Parse...found
> Checking for Date::Format...found
> Checking for MIME::Entity 5.108 ...found
> Checking for Mail::Mailer 1.20 ...found
> Checking for Getopt::Long 2.24 ...found
> Checking for Tie::IxHash...found
> Checking for Text::Wrapper...found
> Checking for Text::Template...found
> Checking for File::Spec 0.8 ...found
> Checking for Errno...found
> Checking for FreezeThaw...found
> Checking for File::Temp...found
> Checking for Log::Dispatch 1.6 ...found
> Checking for DBD::mysql 2.0416 ...found
>
> When I try to start Apache w/ modperl it gives me the following errors..
>
> [Fri Feb 1 09:28:41 2002] [error] Can't load
> '/usr/perl5/site_perl/5.005/sun4-solaris/auto/Apache/Cookie/Cookie.so' for
> module Apache::Cookie: ld.so.1: ../bin/httpd: fatal: relocation error:
> file /usr/perl5/site_perl/5.005/sun4-solaris/auto/Apache/Cookie/Cookie.so:
> symbol perl_request_rec: referenced symbol not found at
> /usr/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
>
> at /usr/perl5/site_perl/5.005/sun4-solaris/mod_perl.pm line 65535
> BEGIN failed--compilation aborted at /usr/local/rt2/bin/webmux.pl line 80.
>
> Syntax error on line 876 of /usr/local/apache-modperl/conf/httpd.conf:
> Can't load
> '/usr/perl5/site_perl/5.005/sun4-solaris/auto/Apache/Cookie/Cookie.so' for
> module Apache::Cookie: ld.so.1: ../bin/httpd: fatal: relocation error:
> file /usr/perl5/site_perl/5.005/sun4-solaris/auto/Apache/Cookie/Cookie.so:
> symbol perl_request_rec: referenced symbol not found at
> /usr/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
>
> at /usr/perl5/site_perl/5.005/sun4-solaris/mod_perl.pm line 65535 BEGIN
> failed--compilation aborted at /usr/local/rt2/bin/webmux.pl line 80.
>
> Here is what my httpd.conf entry looks like..
>
> <VirtualHost mydomain>
> DocumentRoot /usr/local/rt2/WebRT/html
> ServerName mydomain
> PerlModule Apache::DBI
> PerlFreshRestart On
> PerlRequire /usr/local/rt2/bin/webmux.pl
> <Location />
> SetHandler perl-script
> PerlHandler RT::Mason
> </Location>
> </VirtualHost>
>
> If I comment out 'use Apache::Cookie;' in webmux.pl the webserver will
> start, but then it complains because of the undefined subroutin. I've
> tried reinstalling libapreq-0.33 but it doesn't help.
>
> Please let me know if you need any further information.
>
> Any help would be greatly appreciated. I'm stuck.
>
> -Scott
>
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
>
More information about the rt-users
mailing list