Configuration Problem

Hello,

This is my first time to set up WebRT and I have installed rt 2.0.15 on a
SuSE 7.2 box.
I am getting a problem with the httpd.conf file though…I want to set it
up to run with other content on the server and i followed the instructions
in the online manual.However on starting up apache i get the following
error.
Syntax error on line 562 of /etc/httpd/httpd.conf:
Invalid command ‘PerlRequire’, perhaps mis-spelled or defined by a module
not included in the server configuration
/usr/sbin/apachectl startssl: httpd could not be started

All help will be greatly appreciated.

Regards,
Eric
#!/usr/bin/perl
while (!$you_are_around) {
my $heart= NULL;
}

Hi,

this means your Apache is not aware about mod_perl.
Check the installation instructions regarding Apache setup.— Kamara Eric R-M kamara@eahd.or.ug wrote:

Syntax error on line 562 of /etc/httpd/httpd.conf:
Invalid command ‘PerlRequire’, perhaps mis-spelled or defined by a module
not included in the server configuration
/usr/sbin/apachectl startssl: httpd could not be started

Regards,
Stan

Hi Stan,

Thanx alot…I did just that and now the server starts up just fine.

Regards,
EricOn Tue, 7 Jan 2003, Stanislav Sinyagin wrote:

Hi,

this means your Apache is not aware about mod_perl.
Check the installation instructions regarding Apache setup.

— Kamara Eric R-M kamara@eahd.or.ug wrote:

Syntax error on line 562 of /etc/httpd/httpd.conf:
Invalid command ‘PerlRequire’, perhaps mis-spelled or defined by a module
not included in the server configuration
/usr/sbin/apachectl startssl: httpd could not be started

Regards,
Stan


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Hi,

My RT users are getting an “Internal Server Error” when the create new tickets
through the SelfService interface. The ticket does get created, and I’m seeing
this in apache’s logs:

[Wed Jan 8 12:41:40 2003] [error] Operation `""’: no method found, argument in
overloaded package overload::Fake at /home/local/perl5.8/lib/5.8.0/overload.pm l
ine 94.

I couldn’t find an RT module that “use['s] overload;”, so I’m scratching my
head. Any clues as to where to start?

I’m using RT 2.0.15, mod_perl 1.27, and perl 5.8. I just upgraded perl, apache
and mod_perl, and this might be related.

Any help appreciated.

Thanks a lot,
Matt

Hello All,

I’m new to request tracker and recently installed it on a redhat 9
system with apache2 and fastcgi. Things seem to be working up to the
point where I try to create a ticket then i get the error shown below.

Any insight on how I might fix this problem would be appreciated. I
tried to install the newest version of DBI.pm but that didn’t seem to
work. the machine i’m using needs to have both perl5.8.0 and
perl5.8.6 installed. It seems to be getting most of it’s config from
the perl5.8.6 as that’s what i have specified as the perl i want to
use in the ./configure process. Is there anywhere else besides
mason_handler.fcgi that I need to specify the perl to use? I assume
this is a perl module issue of some kind.

Thanks in advance for any help,

Mike

RT Error
Ticket could not be created due to an internal error

System error
error: panic: DBI active kids (10) < 0 or > kids (1) at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line 1613.
context:

1609: if ($sth) {
1610: return $sth unless $sth->FETCH(‘Active’);
1611: Carp::carp(“prepare_cached($statement) statement handle $sth
still Active”)
1612: unless ($if_active ||= 0);
1613: $sth->finish if $if_active <= 1;
1614: return $sth if $if_active <= 2;
1615: }
1616: $sth = $dbh->prepare($statement, $attr);
1617: $cache->{$key} = $sth if $sth;

code stack: /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm:1613
/usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:69
/usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:81
/usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:87
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1078
raw error
panic: DBI active kids (10) < 0 or > kids (1) at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line 1613.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Exceptions.pm
line 131
HTML::Mason::Exceptions::rethrow_exception(‘panic: DBI active kids
(10) < 0 or > kids (1) at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line 1613.^J’)
called at /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line
1613
DBD::_::db::prepare_cached(‘DBI::db=HASH(0x9c93a94)’, ‘SELECT
RELEASE_LOCK(?)’, ‘HASH(0x9c3b70c)’, 1) called at
/usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm line
69
Apache::Session::lock::MySQL::release_read_lock(‘Apache::Session::lock::MySQL=HASH(0x9c0ef7c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 81
Apache::Session::lock::MySQL::release_all_locks(‘Apache::Session::lock::MySQL=HASH(0x9c0ef7c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 87
Apache::Session::lock::MySQL::DESTROY(‘Apache::Session::lock::MySQL=HASH(0x9c0ef7c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 1078
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 1078
HTML::Mason::Request::comp(undef, undef, undef, ‘Status’, ‘new’,
‘new-DependsOn’, ‘’, ‘Queue’, ‘General’, ‘AdminCc’, ‘’, ‘Requestors’,
‘root@localhost’, ‘InitialPriority’, 0, ‘Starts’, ‘’, ‘Attach’, ‘’,
‘TimeWorked’, ‘’, ‘id’, ‘new’, ‘Cc’, ‘’, ‘Subject’, ‘test’,
‘FinalPriority’, 0, ‘new-RefersTo’, ‘’, ‘TimeLeft’, ‘’,
‘RefersTo-new’, ‘’, ‘Owner’, 10, ‘DependsOn-new’, ‘’, ‘new-MemberOf’,
‘’, ‘MemberOf-new’, ‘’, ‘Content’, ‘testing test’, ‘Due’, ‘’) called
at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH(0x9c3531c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm
line 197
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm
line 197
HTML::Mason::Request::CGI::exec(‘HTML::Mason::Request::CGI=HASH(0x9c3531c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm
line 216
HTML::Mason::Interp::exec(undef, undef, ‘Status’, ‘new’,
‘new-DependsOn’, ‘’, ‘Queue’, ‘General’, ‘AdminCc’, ‘’, ‘Requestors’,
‘root@localhost’, ‘InitialPriority’, 0, ‘Starts’, ‘’, ‘Attach’, ‘’,
‘TimeWorked’, ‘’, ‘id’, ‘new’, ‘Cc’, ‘’, ‘Subject’, ‘test’,
‘FinalPriority’, 0, ‘new-RefersTo’, ‘’, ‘TimeLeft’, ‘’,
‘RefersTo-new’, ‘’, ‘Owner’, 10, ‘DependsOn-new’, ‘’, ‘new-MemberOf’,
‘’, ‘MemberOf-new’, ‘’, ‘Content’, ‘testing test’, ‘Due’, ‘’) called
at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm line
127
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm
line 127
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x93ef5f4)’,
‘HASH(0x9c676c0)’) called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm line 76
HTML::Mason::CGIHandler::handle_cgi_object(‘HTML::Mason::CGIHandler=HASH(0x93ef5f4)’,
‘CGI::Fast=HASH(0x9c35670)’) called at
/usr/local/rt3/bin/mason_handler.fcgi line 76
eval {…} at /usr/local/rt3/bin/mason_handler.fcgi line 76

did this message make it to the list?

Mike---------- Forwarded message ----------
From: Mike Howsden mhowsden@gmail.com
Date: Tue, 22 Feb 2005 14:27:56 -0700
Subject: error on ticket creation
To: rt-users@lists.bestpractical.com

Hello All,

I’m new to request tracker and recently installed it on a redhat 9
system with apache2 and fastcgi. Things seem to be working up to the
point where I try to create a ticket then i get the error shown below.

Any insight on how I might fix this problem would be appreciated. I
tried to install the newest version of DBI.pm but that didn’t seem to
work. the machine i’m using needs to have both perl5.8.0 and
perl5.8.6 installed. It seems to be getting most of it’s config from
the perl5.8.6 as that’s what i have specified as the perl i want to
use in the ./configure process. Is there anywhere else besides
mason_handler.fcgi that I need to specify the perl to use? I assume
this is a perl module issue of some kind.

Thanks in advance for any help,

Mike

RT Error
Ticket could not be created due to an internal error

System error
error: panic: DBI active kids (10) < 0 or > kids (1) at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line 1613.
context:

1609: if ($sth) {
1610: return $sth unless $sth->FETCH(‘Active’);
1611: Carp::carp(“prepare_cached($statement) statement handle $sth
still Active”)
1612: unless ($if_active ||= 0);
1613: $sth->finish if $if_active <= 1;
1614: return $sth if $if_active <= 2;
1615: }
1616: $sth = $dbh->prepare($statement, $attr);
1617: $cache->{$key} = $sth if $sth;

code stack: /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm:1613
/usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:69
/usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:81
/usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:87
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1078
raw error
panic: DBI active kids (10) < 0 or > kids (1) at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line 1613.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Exceptions.pm
line 131
HTML::Mason::Exceptions::rethrow_exception(‘panic: DBI active kids
(10) < 0 or > kids (1) at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line 1613.^J’)
called at /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line
1613
DBD::_::db::prepare_cached(‘DBI::db=HASH(0x9c93a94)’, ‘SELECT
RELEASE_LOCK(?)’, ‘HASH(0x9c3b70c)’, 1) called at
/usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm line
69
Apache::Session::lock::MySQL::release_read_lock(‘Apache::Session::lock::MySQL=HASH(0x9c0ef7c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 81
Apache::Session::lock::MySQL::release_all_locks(‘Apache::Session::lock::MySQL=HASH(0x9c0ef7c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 87
Apache::Session::lock::MySQL::DESTROY(‘Apache::Session::lock::MySQL=HASH(0x9c0ef7c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 1078
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 1078
HTML::Mason::Request::comp(undef, undef, undef, ‘Status’, ‘new’,
‘new-DependsOn’, ‘’, ‘Queue’, ‘General’, ‘AdminCc’, ‘’, ‘Requestors’,
‘root@localhost’, ‘InitialPriority’, 0, ‘Starts’, ‘’, ‘Attach’, ‘’,
‘TimeWorked’, ‘’, ‘id’, ‘new’, ‘Cc’, ‘’, ‘Subject’, ‘test’,
‘FinalPriority’, 0, ‘new-RefersTo’, ‘’, ‘TimeLeft’, ‘’,
‘RefersTo-new’, ‘’, ‘Owner’, 10, ‘DependsOn-new’, ‘’, ‘new-MemberOf’,
‘’, ‘MemberOf-new’, ‘’, ‘Content’, ‘testing test’, ‘Due’, ‘’) called
at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH(0x9c3531c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm
line 197
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm
line 197
HTML::Mason::Request::CGI::exec(‘HTML::Mason::Request::CGI=HASH(0x9c3531c)’)
called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm
line 216
HTML::Mason::Interp::exec(undef, undef, ‘Status’, ‘new’,
‘new-DependsOn’, ‘’, ‘Queue’, ‘General’, ‘AdminCc’, ‘’, ‘Requestors’,
‘root@localhost’, ‘InitialPriority’, 0, ‘Starts’, ‘’, ‘Attach’, ‘’,
‘TimeWorked’, ‘’, ‘id’, ‘new’, ‘Cc’, ‘’, ‘Subject’, ‘test’,
‘FinalPriority’, 0, ‘new-RefersTo’, ‘’, ‘TimeLeft’, ‘’,
‘RefersTo-new’, ‘’, ‘Owner’, 10, ‘DependsOn-new’, ‘’, ‘new-MemberOf’,
‘’, ‘MemberOf-new’, ‘’, ‘Content’, ‘testing test’, ‘Due’, ‘’) called
at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm line
127
eval {…} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm
line 127
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x93ef5f4)’,
‘HASH(0x9c676c0)’) called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm line 76
HTML::Mason::CGIHandler::handle_cgi_object(‘HTML::Mason::CGIHandler=HASH(0x93ef5f4)’,
‘CGI::Fast=HASH(0x9c35670)’) called at
/usr/local/rt3/bin/mason_handler.fcgi line 76
eval {…} at /usr/local/rt3/bin/mason_handler.fcgi line 76