RT3 Error

Dec 1 12:20:15 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)
Dec 1 12:20:17 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)

what could cause this …i get 404 page not found on my webserver yet i have
the right path to the index.html can someone shed some light on this issue
for me …

thanx a bunch

cheers

David Ziggy Lubowa
Customer Support Engineer
Africa online Uganda Ltd.
5th Floor Commercial Plaza
Plot 7 Kampala, Uganda
Tel: +256-41 258143
Mob: +256-78 323338
Fax: +256-41 258144
email: dlubowa@africaonline.co.ug
www.africaonline.com

David Lubowa wrote:

Dec 1 12:20:15 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)
Dec 1 12:20:17 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)

what could cause this …i get 404 page not found on my webserver yet i have
the right path to the index.html can someone shed some light on this issue
for me …
Wrong RT_SiteConfig.pm.
Good luck. Ruslan.

what should i have in it …i have “1;”

cheers

David Ziggy Lubowa
Customer Support Engineer
Africa online Uganda Ltd.
5th Floor Commercial Plaza
Plot 7 Kampala, Uganda
Tel: +256-41 258143
Mob: +256-78 323338
Fax: +256-41 258144
email: dlubowa@africaonline.co.ug
www.africaonline.comFrom: Ruslan U. Zakirov [mailto:cubic@acronis.ru]
Sent: Monday, December 01, 2003 12:29 PM
To: dlubowa@africaonline.co.ug
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT3 Error

David Lubowa wrote:

Dec 1 12:20:15 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)
Dec 1 12:20:17 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)

what could cause this …i get 404 page not found on my webserver yet i
have
the right path to the index.html can someone shed some light on this issue
for me …
Wrong RT_SiteConfig.pm.
Good luck. Ruslan.

thanx a bunch

David Lubowa wrote:

Dec 1 12:20:15 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)
Dec 1 12:20:17 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)

what could cause this …i get 404 page not found on my webserver yet i
have
the right path to the index.html can someone shed some light on this issue
for me …

Is your /var/www/rt3 a symlink? I got this error message when I did that,
and worked around it by putting the full actual path into my httpd.conf,
instead of a path involving symlinks.

Max.

No it is not a symlink, i have the absolute path in my httpd.conf

DocumentRoot “/var/www/rt3/share/html”

and thats basically what i have , anything you think i should look into
changing…??

cheers

David Ziggy Lubowa
Customer Support Engineer
Africa online Uganda Ltd.
5th Floor Commercial Plaza
Plot 7 Kampala, Uganda
Tel: +256-41 258143
Mob: +256-78 323338
Fax: +256-41 258144
email: dlubowa@africaonline.co.ug
www.africaonline.comFrom: Max Bowsher [mailto:maxb@ukf.net]
Sent: Monday, December 01, 2003 3:15 PM
To: dlubowa@africaonline.co.ug; rt-users@lists.fsck.com
Subject: Re: [rt-users] RT3 Error

David Lubowa wrote:

Dec 1 12:20:15 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)
Dec 1 12:20:17 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line 847.
(/usr/local/rt3/lib/RT.pm:247)

what could cause this …i get 404 page not found on my webserver yet i
have
the right path to the index.html can someone shed some light on this issue
for me …

Is your /var/www/rt3 a symlink? I got this error message when I did that,
and worked around it by putting the full actual path into my httpd.conf,
instead of a path involving symlinks.

Max.

David Lubowa wrote:

No it is not a symlink, i have the absolute path in my httpd.conf

DocumentRoot “/var/www/rt3/share/html”

and thats basically what i have , anything you think i should look into
changing…??

David Lubowa wrote:

Dec 1 12:20:15 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line

(/usr/local/rt3/lib/RT.pm:247)
Dec 1 12:20:17 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line

(/usr/local/rt3/lib/RT.pm:247)

what could cause this …i get 404 page not found on my webserver yet i
have
the right path to the index.html can someone shed some light on this
issue
for me …

Is your /var/www/rt3 a symlink? I got this error message when I did that,
and worked around it by putting the full actual path into my httpd.conf,
instead of a path involving symlinks.

What does this command show:?

egrep ‘^$MasonComponentRoot’ /var/www/rt3/lib/RT.pm

Max.

Your RT_SiteConfig.pm is a copy of RT_Config.pm with some changes for
your system.
Look at that, if you haven’t this nothing will work.

Samuel

su-2.05a# egrep ‘^$MasonComponentRoot’ /var/www/rt3/lib/RT.pm
$MasonComponentRoot = ‘/usr/local/rt3/share/html’;

that is what i get …what are we looking for…if i may ask … is that
the right path above ??

cheers

-ZFrom: Max Bowsher [mailto:maxb@ukf.net]
Sent: Monday, December 01, 2003 4:42 PM
To: dlubowa@africaonline.co.ug; rt-users@lists.fsck.com
Subject: Re: [rt-users] RT3 Error

David Lubowa wrote:

No it is not a symlink, i have the absolute path in my httpd.conf

DocumentRoot “/var/www/rt3/share/html”

and thats basically what i have , anything you think i should look into
changing…??

David Lubowa wrote:

Dec 1 12:20:15 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line

(/usr/local/rt3/lib/RT.pm:247)
Dec 1 12:20:17 ns2 RT: [Mason] Cannot resolve file to component:
/var/www/rt3/share/html/index.html (is file outside component root?) at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm line

(/usr/local/rt3/lib/RT.pm:247)

what could cause this …i get 404 page not found on my webserver yet i
have
the right path to the index.html can someone shed some light on this
issue
for me …

Is your /var/www/rt3 a symlink? I got this error message when I did that,
and worked around it by putting the full actual path into my httpd.conf,
instead of a path involving symlinks.

What does this command show:?

egrep ‘^$MasonComponentRoot’ /var/www/rt3/lib/RT.pm

Max.

Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

i have edited my RT_Config.pm and i have figure “1;” in my RT_SiteConfig.pm
, should i copy only the parameters that i need to my RT_SiteConfig.pm or i
leave the setup as it is …??

Cheers

David Ziggy Lubowa
Customer Support Engineer
Africa Online ( U )-----Original Message-----
From: Senoner Samuel [mailto:Samuel.Senoner@eurac.edu]
Sent: Tuesday, December 02, 2003 11:55 AM
To: Max Bowsher; dlubowa@africaonline.co.ug; rt-users@lists.fsck.com
Subject: RE: [rt-users] RT3 Error

Your RT_SiteConfig.pm is a copy of RT_Config.pm with some changes for
your system.
Look at that, if you haven’t this nothing will work.

Samuel

Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

If I remember right, there should be a note in the first line of the
Rt_Config.

Samuel-----Original Message-----
From: David Ziggy Lubowa [mailto:dlubowa@africaonline.co.ug]
Sent: Tuesday,02 December,2003 11:25
To: Senoner Samuel; Max Bowsher; rt-users@lists.fsck.com
Subject: RE: [rt-users] RT3 Error

i have edited my RT_Config.pm and i have figure “1;” in my
RT_SiteConfig.pm , should i copy only the parameters that i need to my
RT_SiteConfig.pm or i leave the setup as it is …??

Cheers

David Ziggy Lubowa
Customer Support Engineer
Africa Online ( U )

-----Original Message-----
From: Senoner Samuel [mailto:Samuel.Senoner@eurac.edu]
Sent: Tuesday, December 02, 2003 11:55 AM
To: Max Bowsher; dlubowa@africaonline.co.ug; rt-users@lists.fsck.com
Subject: RE: [rt-users] RT3 Error

Your RT_SiteConfig.pm is a copy of RT_Config.pm with some changes for
your system.
Look at that, if you haven’t this nothing will work.

Samuel

Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

i have done exactly as the file says …and put the parameters in need in the
RT_SiteConfig.pm and this is my current error when i access the webpage

[error]

                                     System error

error: mkdir /var/www/rt3/var/mason_data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Compiler/ToObject.pm line
102

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 @_ }
192: sub confess { die longmess @_ }
193: sub carp { warn shortmess @_ }
194: sub cluck { warn longmess @_ }
195:

code stack: /usr/local/lib/perl5/5.8.2/Carp.pm:191
g /usr/local/lib/perl5/5.8.2/File/Path.pm:162
g /usr/local/lib/perl5/5.8.2/File/Path.pm:155
g
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Compiler/ToObject.pm:102
g /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Interp.pm:308
g /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Request.pm:198
g /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Request.pm:166
g /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm:60
g /usr/local/lib/perl5/site_perl/5.8.2/Class/Container.pm:265
g /usr/local/lib/perl5/site_perl/5.8.2/Class/Container.pm:343
g /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Interp.pm:213
g /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm:863
g /usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/ApacheHandler.pm:789
g /usr/local/rt3/bin/webmux.pl:135
g /dev/null:0

[/error]

well even if i have not got it working well i must say atleast i have
something coming when i do http://rt.mydomain.com

Cheers

David Ziggy Lubowa
Customer Support Engineer
Africa Online ( U )-----Original Message-----
From: Senoner Samuel [mailto:Samuel.Senoner@eurac.edu]
Sent: Tuesday, December 02, 2003 1:24 PM
To: dlubowa@africaonline.co.ug; Max Bowsher; rt-users@lists.fsck.com
Subject: RE: [rt-users] RT3 Error

If I remember right, there should be a note in the first line of the
Rt_Config.

Samuel

-----Original Message-----
From: David Ziggy Lubowa [mailto:dlubowa@africaonline.co.ug]
Sent: Tuesday,02 December,2003 11:25
To: Senoner Samuel; Max Bowsher; rt-users@lists.fsck.com
Subject: RE: [rt-users] RT3 Error

i have edited my RT_Config.pm and i have figure “1;” in my
RT_SiteConfig.pm , should i copy only the parameters that i need to my
RT_SiteConfig.pm or i leave the setup as it is …??

Cheers

David Ziggy Lubowa
Customer Support Engineer
Africa Online ( U )

-----Original Message-----
From: Senoner Samuel [mailto:Samuel.Senoner@eurac.edu]
Sent: Tuesday, December 02, 2003 11:55 AM
To: Max Bowsher; dlubowa@africaonline.co.ug; rt-users@lists.fsck.com
Subject: RE: [rt-users] RT3 Error

Your RT_SiteConfig.pm is a copy of RT_Config.pm with some changes for
your system.
Look at that, if you haven’t this nothing will work.

Samuel

Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

David Ziggy Lubowa wrote:

i have done exactly as the file says …and put the parameters in need in the
RT_SiteConfig.pm and this is my current error when i access the webpage

[error]

                                     System error

error: mkdir /var/www/rt3/var/mason_data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Compiler/ToObject.pm line
102
Apache must have write rights on next dir:
/var/www/rt3/var/mason_data
You haven’t provided uid, gid when ./configure instalation.

context:

187: # whether they should generate a full stack trace (confess() and
[snip]

it is working …fine , the only problem now is that when i test a new
ticket i get RT Error , "Queue not found " i dont have anything in the queue
drop down box…

Cheers

David Ziggy Lubowa
Customer Support Engineer
Africa Online ( U )From: Ruslan U. Zakirov [mailto:cubic@acronis.ru]
Sent: Tuesday, December 02, 2003 3:52 PM
To: dlubowa@africaonline.co.ug
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT3 Error

David Ziggy Lubowa wrote:

i have done exactly as the file says …and put the parameters in need in
the
RT_SiteConfig.pm and this is my current error when i access the webpage

[error]

                                     System error

error: mkdir /var/www/rt3/var/mason_data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.8.2/HTML/Mason/Compiler/ToObject.pm
line
102
Apache must have write rights on next dir:
/var/www/rt3/var/mason_data
You haven’t provided uid, gid when ./configure instalation.

context:

187: # whether they should generate a full stack trace (confess() and
[snip]

Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

David Ziggy Lubowa wrote:

it is working …fine , the only problem now is that when i test a new
ticket i get RT Error , "Queue not found " i dont have anything in the queue
drop down box…

Have you ever read README and FAQ?
What ‘user’ do use to test creating? What rights he is has?
Do you have any queue at all in Configuration->Queues?
Has user right ‘CreateTicket’ in Global or Queue or Role or Groups context?

Always look at apache logs! If you have problems and can reproduce them
then turn on debug logging in to file, restart apache, look there also!

	Best regards. Ruslan.

Senoner Samuel wrote:

Your RT_SiteConfig.pm is a copy of RT_Config.pm with some changes for
your system.

It shouldn’t be. It should contain only the things that
need changing from RT_Config.pm. Don’t copy the whole file,
that defeats the purpose of the dual config files (RT_Config
and RT_SiteConfig.)
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - A CyberGuard Company

David Ziggy Lubowa apparently wrote:

i have edited my RT_Config.pm and i have figure “1;” in my
RT_SiteConfig.pm , should i copy only the parameters that i need to my
RT_SiteConfig.pm or i leave the setup as it is …??

Copy only the parameters that need changing to RT_SiteConfig,
and never edit RT_Config itself.
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - A CyberGuard Company

David Ziggy Lubowa wrote:

su-2.05a# egrep ‘^$MasonComponentRoot’ /var/www/rt3/lib/RT.pm
$MasonComponentRoot = ‘/usr/local/rt3/share/html’;

that is what i get …what are we looking for…if i may ask … is that
the right path above ??

Ah. You configured rt to run from /usr/local/rt3, but are now trying to run
it from /var/www/rt3. Don’t do this. Mason doesn’t like it.

Instead, make sure to ./configure --prefix=/where/to/put/rt3 and make
install, directly to where you want to run rt from.

Max.

cheers max

got rt to work got the interface and all …right now i am trying to give the
user the proper rights , which is still giving me some hell to :frowning: , i want
all my users to be unprivileged which i assume is the right way to go ,
basically be able Assign, Comment , View , Close, tickets this was abit
easier on the rt2 , this one is still giving me some hell to figure out
…but it has good features. That is basically my snag at the moment…

Cheers

David Ziggy Lubowa
Customer Support Engineer
Africa Online ( U )From: Max Bowsher [mailto:maxb@ukf.net]
Sent: Wednesday, December 03, 2003 2:23 AM
To: dlubowa@africaonline.co.ug; rt-users@lists.fsck.com
Subject: Re: [rt-users] RT3 Error

David Ziggy Lubowa wrote:

su-2.05a# egrep ‘^$MasonComponentRoot’ /var/www/rt3/lib/RT.pm
$MasonComponentRoot = ‘/usr/local/rt3/share/html’;

that is what i get …what are we looking for…if i may ask … is that
the right path above ??

Ah. You configured rt to run from /usr/local/rt3, but are now trying to run
it from /var/www/rt3. Don’t do this. Mason doesn’t like it.

Instead, make sure to ./configure --prefix=/where/to/put/rt3 and make
install, directly to where you want to run rt from.

Max.

Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 11/18/2003