Problem with RTConfig

Dear Phil,
i’m using mod_perl 1.99 and apache 2.0.40(that come with red hat 9). I just
can’t find anyone talking and putting the solution in the list, can you give
me some clues?

Also do you know how to solve the other problem i have?
I added the lines
rt: “|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general --action comment
–url http://localhost/
to the /etc/aliases file, but only creating ticket in RT sends e-mail,
others like replying from RT and sending e-mail to RT doesn’t work. Is there
something I got wrong?

Thank you very much in advance.

Best Regards,
Ada

Ada Hui wrote:

When i type the machine name in the browser, it would give me permission
denied. I have to add index.html by hand before i can go to the home page
of RT.

You’re using apache2+mod_perl? That’s just one of the many known
problems you’ll run into. If you really must put yourself through
that, search the list archives for help.

Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

Linguaphone : Learning English? Get Japanese lessons for FREE
http://go.msnserver.com/HK/30476.asp

Dear Phil,
i’m using mod_perl 1.99 and apache 2.0.40(that come with red
hat 9). I just
can’t find anyone talking and putting the solution in the
list, can you give
me some clues?

Which problem is this? I don’t always follow the list closely, especially
overnight our time.

Also do you know how to solve the other problem i have?
I added the lines
rt: “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url
http://localhost/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general
–action comment
–url http://localhost/

Replace the http://localhost/ with the URL for your installation of RT. If
you inspect the mail queue, you’ll probably find the emailed requests are
sitting there with “tempfail” status. If any of those requests are
important, you can manually hack the qf file for each request in the queue.

This correspondence is for the named person’s use only. It may contain
confidential or legally privileged information or both. No confidentiality
or privilege is waived or lost by any mistransmission. If you receive this
correspondence in error, please immediately delete it from your system and
notify the sender. You must not disclose, copy or rely on any part of this
correspondence if you are not the intended recipient.

Any opinions expressed in this message are those of the individual sender.

Hi Tony,

Thanks for your reply. I’ll try to see if it works. My another problem is,

When i type the machine name in the browser, it would give me permission
denied. I have to add index.html by hand before i can go to the home page of
RT.
So i added the following line in my virtual host:
DirectoryIndex index.html

But it still don’t work and in the error log it saids
Directory index forbidden by rule: /opt/rt3/share/html/

But the same statement works well for my another virtual host. Why is it so?
This is so annoying and i just haven’t see others raise this question. Can
you help me with this?

Thank you very much in advance.

Best Regards,
Ada

From: Tony Langdon tlangdon@atctraining.com.au
To: ‘Ada Hui’ myqu@hotmail.com, pdh@snapgear.com, rt-users@lists.fsck.com
Subject: RE: [rt-users] Problem with RTConfig
Date: Fri, 31 Oct 2003 12:56:31 +1100

Dear Phil,
i’m using mod_perl 1.99 and apache 2.0.40(that come with red
hat 9). I just
can’t find anyone talking and putting the solution in the
list, can you give
me some clues?

Which problem is this? I don’t always follow the list closely, especially
overnight our time.

Also do you know how to solve the other problem i have?
I added the lines
rt: “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url
http://localhost/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general
–action comment
–url http://localhost/

Replace the http://localhost/ with the URL for your installation of RT. If
you inspect the mail queue, you’ll probably find the emailed requests are
sitting there with “tempfail” status. If any of those requests are
important, you can manually hack the qf file for each request in the queue.

This correspondence is for the named person’s use only. It may contain
confidential or legally privileged information or both. No confidentiality
or privilege is waived or lost by any mistransmission. If you receive this
correspondence in error, please immediately delete it from your system and
notify the sender. You must not disclose, copy or rely on any part of this
correspondence if you are not the intended recipient.

Any opinions expressed in this message are those of the individual sender.

No masks required! Use MSN Messenger to chat with friends and family.
http://go.msnserver.com/HK/25382.asp

Ada Hui wrote:

i’m using mod_perl 1.99 and apache 2.0.40(that come with red hat 9). I just
can’t find anyone talking and putting the solution in the list, can you
give me some clues?

http://www.google.com/search?q=directoryindex+site%3Afsck.com
http://www.google.com/search?q=mod_perl2+site%3Afsck.com

really. it’s not hard to find the discussions about this and
other mod_perl2 problems.
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

When i type the machine name in the browser, it would give me
permission
denied. I have to add index.html by hand before i can go to
the home page of
RT.
So i added the following line in my virtual host:
DirectoryIndex index.html

I had the same problem. Found the solution in a substitution back in the
list archives.

Put this line in the virtual host section tht defines the RT URL.

RedirectMatch permanent (.*)/$ http://rthosturl.com$1/index.html

(replace rthosturl.com with the actual URL for your system)

That was a suitable workaround for me.

But it still don’t work and in the error log it saids
Directory index forbidden by rule: /opt/rt3/share/html/

That’s because it’s trying to load a directory index instead of loading
index.html.

This correspondence is for the named person’s use only. It may contain
confidential or legally privileged information or both. No confidentiality
or privilege is waived or lost by any mistransmission. If you receive this
correspondence in error, please immediately delete it from your system and
notify the sender. You must not disclose, copy or rely on any part of this
correspondence if you are not the intended recipient.

Any opinions expressed in this message are those of the individual sender.

Dear Tony, Phil and all the list members,

I still haven’t got the problem of e-mail fixed. I have changed localhost to
my URL in RT config file as you told me. But it doesn’t work. And i search
the list find someone say

  1. Create “ln -s /opt/rt3/bin/rt-mailgate rt-mailgate” in /etc/smrsh/ dir.
  2. Change the “Everyone” group to have access to creating a ticket.

But I still can’t make my mail work. Do anyone have any idea? And by the
way, where should i see the log to trace the problem?

And I still can’t solve the problem of the quick search link on the home
page.
When i click on the queue names on the quick search part of the home page,
it gives me the following error. I do tried to search the list and saw
someone talk about this with earlier version, but i can’t find the solution.
I’m working with 3.0.5, redhat9. Please kindly give me some help as i have
spend a lot of time in it but still can’t make my RT working probably.
Thanks a lot!!!

System error
error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282.

Stack:
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/freeze.al):282]
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/nfreeze.al):270]
[/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21]
[/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:507]
[/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:462]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1068], at
/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm line 21
context:

187: # whether they should generate a full stack trace (confess() and
cluck())
188: # or simply report the caller’s package (croak() and carp()),
respectively.
189: # confess() and croak() die, carp() and cluck() warn.
190:
191: sub croak { die shortmess @
} //THIS ONE IS HIGHLIGHTED
192: sub confess { die longmess @_ }
193: sub carp { warn shortmess @_ }
194: sub cluck { warn longmess @_ }
195:

code stack: /usr/lib/perl5/5.8.0/Carp.pm:191
g …/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/logcroak.al):66
g …/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/_freeze.al):283
g …/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/nfreeze.al):270
g /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21
g /usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:507
g /usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:462
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1068
g
raw error

Best Regards,
Ada

Linguaphone : Learning English? Get Japanese lessons for FREE
http://go.msnserver.com/HK/30476.asp

Dear Tony, Phil and all the list members,

I still haven’t got the problem of e-mail fixed. I have changed localhost to
my URL in RT config file as you told me. But it doesn’t work. And i search
the list find someone say

  1. Create “ln -s /opt/rt3/bin/rt-mailgate rt-mailgate” in /etc/smrsh/ dir.
  2. Change the “Everyone” group to have access to creating a ticket.

But I still can’t make my mail work. Do anyone have any idea? And by the
way, where should i see the log to trace the problem?

And I still can’t solve the problem of the quick search link on the home
page.
When i click on the queue names on the quick search part of the home page,
it gives me the following error. I do tried to search the list and saw
someone talk about this with earlier version, but i can’t find the solution.
I’m working with 3.0.5, redhat9. Please kindly give me some help as i have
spend a lot of time in it but still can’t make my RT working probably.
Thanks a lot!!!

System error
error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282.

Stack:
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/freeze.al):282]
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/nfreeze.al):270]
[/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21]
[/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:507]
[/usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:462]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1068], at
/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm line 21
context:

187: # whether they should generate a full stack trace (confess() and
cluck())
188: # or simply report the caller’s package (croak() and carp()),
respectively.
189: # confess() and croak() die, carp() and cluck() warn.
190:
191: sub croak { die shortmess @
} //THIS ONE IS HIGHLIGHTED
192: sub confess { die longmess @_ }
193: sub carp { warn shortmess @_ }
194: sub cluck { warn longmess @_ }
195:

code stack: /usr/lib/perl5/5.8.0/Carp.pm:191
g …/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/logcroak.al):66
g …/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/_freeze.al):283
g …/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/nfreeze.al):270
g /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm:21
g /usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:507
g /usr/lib/perl5/site_perl/5.8.0/Apache/Session.pm:462
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1068
g
raw error

Best Regards,
Ada

Linguaphone : Learning English? Get Japanese lessons for FREE
http://go.msnserver.com/HK/30476.asp

“Ada Hui” myqu@hotmail.com writes:

When i click on the queue names on the quick search part of the home page,
it gives me the following error. I do tried to search the list and saw
someone talk about this with earlier version, but i can’t find the
solution. I’m working with 3.0.5, redhat9. Please kindly give me some
help as i have spend a lot of time in it but still can’t make my RT
working probably. Thanks a lot!!!

System error
error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282.

this has been discussed on rt-users several times. read the archives,
or search them.

seph

And I still can’t solve the problem of the quick search link on the home
page.
When i click on the queue names on the quick search part of the home page,
it gives me the following error. I do tried to search the list and saw
someone talk about this with earlier version, but i can’t find the solution.

I’m working with 3.0.5, redhat9. Please kindly give me some help as i have
spend a lot of time in it but still can’t make my RT working probably.
Thanks a lot!!!

System error
error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282.

I found a message on the list which suggested updating the Storable perl
module to the latest version. I haven’t had a report of this problem since
doing that.

Dave

David.Addison@infineon.com wrote:

And I still can’t solve the problem of the quick search link on the home
page.
When i click on the queue names on the quick search part of the home page,
it gives me the following error. I do tried to search the list and saw
someone talk about this with earlier version, but i can’t find the solution.

I’m working with 3.0.5, redhat9. Please kindly give me some help as i have
spend a lot of time in it but still can’t make my RT working probably.
Thanks a lot!!!

System error
error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282.

After update you must restart apache.

I found a message on the list which suggested updating the Storable perl
module to the latest version. I haven’t had a report of this problem since
doing that.
It’s not a suggestion.
Fix for this problem is ‘updating Storble to latest version’ and no
other way.
May be you’ve done something wrong?

I found a message on the list which suggested updating the Storable
perl module to the latest version. I haven’t had a report of this
problem since doing that.
It’s not a suggestion.
Fix for this problem is ‘updating Storble to latest version’ and no
other way.
May be you’ve done something wrong?

I don’t think so. None of the users on the system have reported seeing the
error since I updated the storable module
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