Activate changes?

It looks like RT doesn’t see changes to it’s config files even after
httpd has been stopped and restarted. What is the proper procedure to
get it to re-read it’s config files?

Jason

It looks like RT doesn’t see changes to it’s config files even
after httpd has been stopped and restarted. What is the proper
procedure to get it to re-read it’s config files?

are you sure you stopped + restarted or just did a “restart”?

and are you running mod_perl or something else?

I’ve tried stopping and restarting AND just doing a “restart”.

I am running mod_perl

So, far RT is looking pretty “squirrely”. I can’t get consistent
behavior from it.

Vivek Khera wrote:

Wow…I just verified…

I can put anything I want in /opt/rt3/local/lib/RT/User_Local.pm and
stop/start httpd and no errors come out at all. This guarantees that
RT is not even reading in the file.

Jason Fenner wrote:

You should try clearing your Mason cache. You’ll find it in
/opt/rt3/var/mason_data. Just do an

rm -rf /opt/rt3/var/mason_data/*

Then restart httpd and see if that worked.

–Andy

Jason Fenner wrote:

OK, tried that…still no go.

How do you get RT to load /opt/rt3/local/lib/RT/User_Local.pm?On apache restart, mod_perl isn’t even parsing it. Andy Moran wrote:

You should try clearing your Mason cache. You’ll find it in
/opt/rt3/var/mason_data. Just do an

rm -rf /opt/rt3/var/mason_data/*

Then restart httpd and see if that worked.

–Andy

Jason Fenner wrote:

Wow…I just verified…

I can put anything I want in /opt/rt3/local/lib/RT/User_Local.pm and
stop/start httpd and no errors come out at all. This guarantees that
RT is not even reading in the file.

Jason Fenner wrote:

I’ve tried stopping and restarting AND just doing a “restart”.

I am running mod_perl

So, far RT is looking pretty “squirrely”. I can’t get consistent
behavior from it.
Vivek Khera wrote:

On Feb 13, 2006, at 12:02 PM, Jason Fenner wrote:

It looks like RT doesn’t see changes to it’s config files even
after httpd has been stopped and restarted. What is the proper
procedure to get it to re-read it’s config files?

are you sure you stopped + restarted or just did a “restart”?

and are you running mod_perl or something else?


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media
at http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at http://bestpractical.com/services/training.html

OK, tried that…still no go.

How do you get RT to load /opt/rt3/local/lib/RT/User_Local.pm?
On apache restart, mod_perl isn’t even parsing it.

First guess: permissions.

The file is world readable and world writable. I noticed while trying
to log into RT and monitoring the log output, User_Local.pm was
sometimes being hit and sometimes not…very strange. It has me puzzeled.

Jesse Vincent wrote:

Oh…AND world executable.

Jason Fenner wrote: