Reqest Tracker CentOS 5.3 setup

First and foremost, please email your requests for assistance to the
mailing list. With that said, the main installation guide is Unix-generic,
but if you know enough about your particular OS, you shouldn’t have too
many problems. Cent OS/RHEL (and other) guides do exist in the official RT
setup wiki (InstallationGuides - Request Tracker Wiki), but
they quickly become a bit outdated because package names change, versions
change, etc, and some refer to third-party yum repos to install RT-required
software and even RT itself.

The obvious questions are what have you installed thus far and where are
you encountering problems?

I would say RT installation falls into four basic steps:

  1. Installing necessary software that RT requires (perl, perl modules,
    database software (both client and server), webserver, perl interpreter,
    etc)
  2. Installing RT (this is the point where most perl modules will be
    installed)
  3. Setting up RT database
  4. Configuring RT (RT_SiteConfig.pm), webserver, and mail environment

I’ll go ahead and start with numbers one and two above using Mysql, Apache,
and FastCGI. In this example, RT itself will be installed from source,
supporting software will be installed via standard CentOS yum repositories,
and most perl modules via CPAN. It’s further assumed that Mysql will be
running on the same server as RT (I prefer separate servers as perfomance
will be better with a dedicated mysql server with fast disks and lots of
memory, preferably a 64-bit system to better take advantage of memory).
Perhaps you’ve already completed these steps:

  1. Install the following via yum:

httpd, perl, mysql, mysql-server, mod_fcgid, ncftp

a) create entry in /etc/group for rt group: rt:x:501:apache

b) disable Selinux in /etc/selinux/config:

SELINUX=disabled

c) then execute the following from a shell prompt: echo 0 >
/selinux/enforce

This way you don’t have to reboot the box… If for some reason this
doesn’t work, simply reboot…

  1. Download RT source; unzip, untar it, rename to ‘rt-3.8.2.src’

a) CD into your source directory and then run the following command (you
can choose to install RT in any directory you want, of course):

./configure --prefix=/opt/rt3.8.2 --with-web-user=apache
–with-web-group=apache --with-mysql --with-web-handler=fastcgi

b) make testdeps

This will list all the perl modules you need to install

c) make fixdeps

This will automatically try to install all the required perl modules by
invoking CPAN. If you haven’t already invoked the CPAN shell environment,
there will be a set of setup questions CPAN will ask you. There is a
strong possibly that ‘make fixdeps’ won’t get all required modules
installed. In this case, you will have to run ‘cpan’ from a shell prompt
and install one perl module at a time. Be advised that many of the
required perl modules have dependencies, so the CPAN installer will attempt
to install those as well. As a last resort if run into problems with CPAN,
you can install quite a few of the required perl modules from yum. Look at
the wiki refereneced above for RHEL/Cent OS examples of what perl modules
are generally available via yum. Keep performing ‘make testdeps’ to ensure
all perl modules have been installed. When they have been:

d) make install

e) ln -s /opt/rt3.8.2 /opt/rt3

I do the following to keep upgrades sane. For example, when I upgrade to
say, RT 3.8.3, it will be installed in /opt/rt3.8.3 and I will then delete
the existing /opt/rt3 soft link and repoint it at the new installation.
This way, I can install a new version of RT without upgrading/blowing away
the live version, which also means I can fall back to the previous version
if the new version doesn’t work for some reason.

Hope this helps!

If you get passed this, then I will continue with the other steps. I’ll
then add to the RT wiki…

James MoseleyGrant Deters gdeters@usd250.org wrote:

Hello,

I was wondering if you had any good guides to installing RT on CentOS 5.3.
I have been unsuccessful in my first attempt as the guides for it on their
website where hard for me to follow as they don’t provide one specifically
for this OS.

Any help would be greatly appreciated.

Thanks

Grant, again, if you want help, do not post requests or replies directly to
individual members of the RT list without including the list…

The reason you are getting this error is because at some point in the email
chain, a linewrap inserted a carriage return into the ‘configure’ command
and you simply copied and pasted it. The command needs to be all on one
line.

James MoseleyGrant Deters gdeters@usd250.org wrote:

Thanks for the information, on the step of

./configure --prefix=/opt/rt3.8.2 --with-web-user=apache

–with-webgroup=apache --with-mysql --with-web-handler=fastcgi

I get a:

bash: --with-web-group=apache: command not found

OK, got that far, has a bit of
trouble with XML::RSS, however, I was able to pull it from the web.

jmoseley@corp.xanadoo.com wrote:

First and foremost, please email your requests for assistance to the
mailing list.  With that said, the main installation guide is Unix-generic,
but if you know enough about your particular OS, you shouldn't have too
many problems.  Cent OS/RHEL (and other) guides do exist in the official RT
setup wiki (http://wiki.bestpractical.com/view/InstallationGuides), but
they quickly become a bit outdated because package names change, versions
change, etc, and some refer to third-party yum repos to install RT-required
software and even RT itself.

The obvious questions are what have you installed thus far and where are
you encountering problems?

I would say RT installation falls into four basic steps:

  1. Installing necessary software that RT requires (perl, perl modules,
    database software (both client and server), webserver, perl interpreter,
    etc)
  2. Installing RT (this is the point where most perl modules will be
    installed)
  3. Setting up RT database
  4. Configuring RT (RT_SiteConfig.pm), webserver, and mail environment

I’ll go ahead and start with numbers one and two above using Mysql, Apache,
and FastCGI. In this example, RT itself will be installed from source,
supporting software will be installed via standard CentOS yum repositories,
and most perl modules via CPAN. It’s further assumed that Mysql will be
running on the same server as RT (I prefer separate servers as perfomance
will be better with a dedicated mysql server with fast disks and lots of
memory, preferably a 64-bit system to better take advantage of memory).
Perhaps you’ve already completed these steps:

  1. Install the following via yum:

httpd, perl, mysql, mysql-server, mod_fcgid, ncftp

a) create entry in /etc/group for rt group: rt:x:501:apache

b) disable Selinux in /etc/selinux/config:

SELINUX=disabled

c) then execute the following from a shell prompt: echo 0 >
/selinux/enforce

This way you don’t have to reboot the box… If for some reason this
doesn’t work, simply reboot…

  1. Download RT source; unzip, untar it, rename to ‘rt-3.8.2.src’

a) CD into your source directory and then run the following command (you
can choose to install RT in any directory you want, of course):

./configure --prefix=/opt/rt3.8.2 --with-web-user=apache
–with-web-group=apache --with-mysql --with-web-handler=fastcgi

b) make testdeps

This will list all the perl modules you need to install

c) make fixdeps

This will automatically try to install all the required perl modules by
invoking CPAN. If you haven’t already invoked the CPAN shell environment,
there will be a set of setup questions CPAN will ask you. There is a
strong possibly that ‘make fixdeps’ won’t get all required modules
installed. In this case, you will have to run ‘cpan’ from a shell prompt
and install one perl module at a time. Be advised that many of the
required perl modules have dependencies, so the CPAN installer will attempt
to install those as well. As a last resort if run into problems with CPAN,
you can install quite a few of the required perl modules from yum. Look at
the wiki refereneced above for RHEL/Cent OS examples of what perl modules
are generally available via yum. Keep performing ‘make testdeps’ to ensure
all perl modules have been installed. When they have been:

d) make install

e) ln -s /opt/rt3.8.2 /opt/rt3

I do the following to keep upgrades sane. For example, when I upgrade to
say, RT 3.8.3, it will be installed in /opt/rt3.8.3 and I will then delete
the existing /opt/rt3 soft link and repoint it at the new installation.
This way, I can install a new version of RT without upgrading/blowing away
the live version, which also means I can fall back to the previous version
if the new version doesn’t work for some reason.

Hope this helps!

If you get passed this, then I will continue with the other steps. I’ll
then add to the RT wiki…

James MoseleyGrant Deters <gdeters@usd250.org> wrote:

Hello,

I was wondering if you had any good guides to installing RT on CentOS 5.3.
I have been unsuccessful in my first attempt as the guides for it on their
website where hard for me to follow as they don’t provide one specifically
for this OS.

Any help would be greatly appreciated.

Thanks

-- 
Grant S. Deters
USD 250 School District
Assistant Network/Systems Administrator
Ph. (620) 235.3246

Got this far.

jmoseley@corp.xanadoo.com wrote:

First and foremost, please email your requests for assistance to the
mailing list.  With that said, the main installation guide is Unix-generic,
but if you know enough about your particular OS, you shouldn't have too
many problems.  Cent OS/RHEL (and other) guides do exist in the official RT
setup wiki (http://wiki.bestpractical.com/view/InstallationGuides), but
they quickly become a bit outdated because package names change, versions
change, etc, and some refer to third-party yum repos to install RT-required
software and even RT itself.

The obvious questions are what have you installed thus far and where are
you encountering problems?

I would say RT installation falls into four basic steps:

  1. Installing necessary software that RT requires (perl, perl modules,
    database software (both client and server), webserver, perl interpreter,
    etc)
  2. Installing RT (this is the point where most perl modules will be
    installed)
  3. Setting up RT database
  4. Configuring RT (RT_SiteConfig.pm), webserver, and mail environment

I’ll go ahead and start with numbers one and two above using Mysql, Apache,
and FastCGI. In this example, RT itself will be installed from source,
supporting software will be installed via standard CentOS yum repositories,
and most perl modules via CPAN. It’s further assumed that Mysql will be
running on the same server as RT (I prefer separate servers as perfomance
will be better with a dedicated mysql server with fast disks and lots of
memory, preferably a 64-bit system to better take advantage of memory).
Perhaps you’ve already completed these steps:

  1. Install the following via yum:

httpd, perl, mysql, mysql-server, mod_fcgid, ncftp

a) create entry in /etc/group for rt group: rt:x:501:apache

b) disable Selinux in /etc/selinux/config:

SELINUX=disabled

c) then execute the following from a shell prompt: echo 0 >
/selinux/enforce

This way you don’t have to reboot the box… If for some reason this
doesn’t work, simply reboot…

  1. Download RT source; unzip, untar it, rename to ‘rt-3.8.2.src’

a) CD into your source directory and then run the following command (you
can choose to install RT in any directory you want, of course):

./configure --prefix=/opt/rt3.8.2 --with-web-user=apache
–with-web-group=apache --with-mysql --with-web-handler=fastcgi

b) make testdeps

This will list all the perl modules you need to install

c) make fixdeps

This will automatically try to install all the required perl modules by
invoking CPAN. If you haven’t already invoked the CPAN shell environment,
there will be a set of setup questions CPAN will ask you. There is a
strong possibly that ‘make fixdeps’ won’t get all required modules
installed. In this case, you will have to run ‘cpan’ from a shell prompt
and install one perl module at a time. Be advised that many of the
required perl modules have dependencies, so the CPAN installer will attempt
to install those as well. As a last resort if run into problems with CPAN,
you can install quite a few of the required perl modules from yum. Look at
the wiki refereneced above for RHEL/Cent OS examples of what perl modules
are generally available via yum. Keep performing ‘make testdeps’ to ensure
all perl modules have been installed. When they have been:

d) make install

e) ln -s /opt/rt3.8.2 /opt/rt3

I do the following to keep upgrades sane. For example, when I upgrade to
say, RT 3.8.3, it will be installed in /opt/rt3.8.3 and I will then delete
the existing /opt/rt3 soft link and repoint it at the new installation.
This way, I can install a new version of RT without upgrading/blowing away
the live version, which also means I can fall back to the previous version
if the new version doesn’t work for some reason.

Hope this helps!

If you get passed this, then I will continue with the other steps. I’ll
then add to the RT wiki…

James MoseleyGrant Deters <gdeters@usd250.org> wrote:

Hello,

I was wondering if you had any good guides to installing RT on CentOS 5.3.
I have been unsuccessful in my first attempt as the guides for it on their
website where hard for me to follow as they don’t provide one specifically
for this OS.

Any help would be greatly appreciated.

Thanks

-- 
Grant S. Deters
USD 250 School District
Assistant Network/Systems Administrator
Ph. (620) 235.3246

Hi ,

rt3 is available through EPEL repository with all dependencies…
http://wiki.bestpractical.com/view/RHELorCentOSusingEPEL

regards, Oleg.On Sun, 2009-04-26 at 21:49 +0100, Grant Deters wrote:

OK, got that far, has a bit of trouble with XML::RSS, however, I was
able to pull it from the web.

jmoseley@corp.xanadoo.com wrote:

First and foremost, please email your requests for assistance to the
mailing list. With that said, the main installation guide is Unix-generic,
but if you know enough about your particular OS, you shouldn’t have too
many problems. Cent OS/RHEL (and other) guides do exist in the official RT
setup wiki (InstallationGuides - Request Tracker Wiki), but
they quickly become a bit outdated because package names change, versions
change, etc, and some refer to third-party yum repos to install RT-required
software and even RT itself.

The obvious questions are what have you installed thus far and where are
you encountering problems?

I would say RT installation falls into four basic steps:

  1. Installing necessary software that RT requires (perl, perl modules,
    database software (both client and server), webserver, perl interpreter,
    etc)
  2. Installing RT (this is the point where most perl modules will be
    installed)
  3. Setting up RT database
  4. Configuring RT (RT_SiteConfig.pm), webserver, and mail environment

I’ll go ahead and start with numbers one and two above using Mysql, Apache,
and FastCGI. In this example, RT itself will be installed from source,
supporting software will be installed via standard CentOS yum repositories,
and most perl modules via CPAN. It’s further assumed that Mysql will be
running on the same server as RT (I prefer separate servers as perfomance
will be better with a dedicated mysql server with fast disks and lots of
memory, preferably a 64-bit system to better take advantage of memory).
Perhaps you’ve already completed these steps:

  1. Install the following via yum:

httpd, perl, mysql, mysql-server, mod_fcgid, ncftp

a) create entry in /etc/group for rt group: rt:x:501:apache

b) disable Selinux in /etc/selinux/config:

SELINUX=disabled

c) then execute the following from a shell prompt: echo 0 >
/selinux/enforce

This way you don’t have to reboot the box… If for some reason this
doesn’t work, simply reboot…

  1. Download RT source; unzip, untar it, rename to ‘rt-3.8.2.src’

a) CD into your source directory and then run the following command (you
can choose to install RT in any directory you want, of course):

./configure --prefix=/opt/rt3.8.2 --with-web-user=apache
–with-web-group=apache --with-mysql --with-web-handler=fastcgi

b) make testdeps

This will list all the perl modules you need to install

c) make fixdeps

This will automatically try to install all the required perl modules by
invoking CPAN. If you haven’t already invoked the CPAN shell environment,
there will be a set of setup questions CPAN will ask you. There is a
strong possibly that ‘make fixdeps’ won’t get all required modules
installed. In this case, you will have to run ‘cpan’ from a shell prompt
and install one perl module at a time. Be advised that many of the
required perl modules have dependencies, so the CPAN installer will attempt
to install those as well. As a last resort if run into problems with CPAN,
you can install quite a few of the required perl modules from yum. Look at
the wiki refereneced above for RHEL/Cent OS examples of what perl modules
are generally available via yum. Keep performing ‘make testdeps’ to ensure
all perl modules have been installed. When they have been:

d) make install

e) ln -s /opt/rt3.8.2 /opt/rt3

I do the following to keep upgrades sane. For example, when I upgrade to
say, RT 3.8.3, it will be installed in /opt/rt3.8.3 and I will then delete
the existing /opt/rt3 soft link and repoint it at the new installation.
This way, I can install a new version of RT without upgrading/blowing away
the live version, which also means I can fall back to the previous version
if the new version doesn’t work for some reason.

Hope this helps!

If you get passed this, then I will continue with the other steps. I’ll
then add to the RT wiki…

James Moseley

Grant Deters gdeters@usd250.org wrote:

Hello,

I was wondering if you had any good guides to installing RT on CentOS 5.3.
I have been unsuccessful in my first attempt as the guides for it on their
website where hard for me to follow as they don’t provide one specifically
for this OS.

Any help would be greatly appreciated.

Thanks


Grant S. Deters
USD 250 School District
Assistant Network/Systems Administrator
Ph. (620) 235.3246
Oleg Sladkoff
KELKOO - Service Architect
oleg.sladkoff@kelkoo.com
Yahoo messenger : Kelkoooleg
tel : +33 (0)476848147
gsm : +33(0)675768532

Yes, I got both messages… Moving on.

Next step is setting up the mysql database.

  1. If you already haven’t done so, set a root password for your mysql
    server - from a root prompt do (make sure mysqld is running):

mysqladmin -u root password <root_password>

(don’t include the <> in the actual shell command above nor the syntax
below)

a) Next, we have to set up the /opt/rt3/etc/RT_SiteConfig.pm file. Edit
and put in appropriate settings for your setup:

Set($DatabasePassword , ‘rt_user password’);
Set($LogToSyslog , ‘info’);
Set($LogToFile , ‘warning’);
Set($LogStackTraces , 1);
Set($Organization , “change to your Organization’s name”);
Set($rtname, ‘example.com’);
Set($Timezone , ‘US/Central’);
Set($WebPath , “/rt”);
Set($WebBaseURL , “http://yourserver.name.com”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”);
Set($LogDir, ‘/var/log’);
Set($LogToFileNamed , “rt.log”); #log to rt.log
Set($PreferRichText, 1);

(Note, make a new password for the rt_user password above - separate from
the root mysql password)

b) Create the database:

/opt/rt3/sbin/rt-setup-database --action init --dba root --dba-password
<root_password>

c). I can’t remember if the rt-setup-database init procedure above
actually creates the ‘rt_user’ db user, sets the password, prvileges, etc.
If for some reason it does not, from a mysql prompt do:

GRANT ALL PRIVILEGES ON rt3.* TO rt_user@localhost IDENTIFIED BY
‘’;

Replace to match your RT_SiteConfig.pm password.

  1. We’ve already actually setup the RT_SiteConfig.pm file, so we can move
    on to settping up Apache and mail.

a) In this example we will be using mod_fcgid, an alternative to mod_perl
and Apache’s mod_fastcgi. Both mod_fcgid and mod_perl are available via
standard CentOS yum repositories. At this time, I don’t believe there is
an example of the mod_fcgid Apache config on the RT installation wiki.
Create and save /etc/httpd/conf.d/rt3.conf with the following:

LoadModule fcgid_module modules/mod_fcgid.so

Use FastCGI to process .fcg .fcgi & .fpl scripts

Don’t do this if mod_fastcgi is present, as it will try to do the same

thing
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl

Sane place to put sockets and shared memory file

SocketPath run/mod_fcgid
SharememPath run/fcgid_shm

Main instance

Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/

b) Restart Apache

/etc/init.d/httpd restart

c) To setup the mailgate (in order to create/update tickets via email),
edit your /etc/aliases file and add the following aliases:

rt: “|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://yourserver.name.com/rt/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general --action comment
–url http://yourserver.name.com/rt/

Obviously, you can change the alias names to whatever you want and as you
add queues, you’ll want to add aliases for each queue. Edit the URL
setting to match your server.

NOTE: The above entries will work with Postfix. If you are using sendmail,
a few more configuration changes will be needed. Sendmail examples can be
found in various CentOS, Redhat, and Fedora installation guiedes in the
main Wiki.

  1. Lastly, test your configuration by pointing a browser at:
    http://yourserver.name.com/rt/

I believe the default login is ‘root’ with ‘password’ as the password.

Good luck!

James MoseleyGrant Deters gdeters@usd250.org wrote:

OK, got that far, has a bit of trouble with XML::RSS, however, I was able
to pull it from the web.

Stupid question, but I am meerly
testing this out and am not uploading this onto our domain yet. How do
I set this so it responds to http://localhost/rt

thanks

jmoseley@corp.xanadoo.com wrote:

Yes, I got both messages...  Moving on.

Next step is setting up the mysql database.

  1. If you already haven’t done so, set a root password for your mysql
    server - from a root prompt do (make sure mysqld is running):

mysqladmin -u root password <root_password>

(don’t include the <> in the actual shell command above nor the syntax
below)

a) Next, we have to set up the /opt/rt3/etc/RT_SiteConfig.pm file. Edit
and put in appropriate settings for your setup:

Set($DatabasePassword , ‘rt_user password’);
Set($LogToSyslog , ‘info’);
Set($LogToFile , ‘warning’);
Set($LogStackTraces , 1);
Set($Organization , “change to your Organization’s name”);
Set($rtname, ‘example.com’);
Set($Timezone , ‘US/Central’);
Set($WebPath , “/rt”);
Set($WebBaseURL , “http://yourserver.name.com”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”);
Set($LogDir, ‘/var/log’);
Set($LogToFileNamed , “rt.log”); #log to rt.log
Set($PreferRichText, 1);

(Note, make a new password for the rt_user password above - separate from
the root mysql password)

b) Create the database:

/opt/rt3/sbin/rt-setup-database --action init --dba root --dba-password
<root_password>

c). I can’t remember if the rt-setup-database init procedure above
actually creates the ‘rt_user’ db user, sets the password, prvileges, etc.
If for some reason it does not, from a mysql prompt do:

GRANT ALL PRIVILEGES ON rt3.* TO rt_user@localhost IDENTIFIED BY
‘<password>’;

Replace <password> to match your RT_SiteConfig.pm password.

  1. We’ve already actually setup the RT_SiteConfig.pm file, so we can move
    on to settping up Apache and mail.

a) In this example we will be using mod_fcgid, an alternative to mod_perl
and Apache’s mod_fastcgi. Both mod_fcgid and mod_perl are available via
standard CentOS yum repositories. At this time, I don’t believe there is
an example of the mod_fcgid Apache config on the RT installation wiki.
Create and save /etc/httpd/conf.d/rt3.conf with the following:

LoadModule fcgid_module modules/mod_fcgid.so

Use FastCGI to process .fcg .fcgi & .fpl scripts

Don’t do this if mod_fastcgi is present, as it will try to do the same

thing
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl
</IfModule>

Sane place to put sockets and shared memory file

SocketPath run/mod_fcgid
SharememPath run/fcgid_shm

Main instance

Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/

b) Restart Apache

/etc/init.d/httpd restart

c) To setup the mailgate (in order to create/update tickets via email),
edit your /etc/aliases file and add the following aliases:

rt: “|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://yourserver.name.com/rt/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general --action comment
–url http://yourserver.name.com/rt/

Obviously, you can change the alias names to whatever you want and as you
add queues, you’ll want to add aliases for each queue. Edit the URL
setting to match your server.

NOTE: The above entries will work with Postfix. If you are using sendmail,
a few more configuration changes will be needed. Sendmail examples can be
found in various CentOS, Redhat, and Fedora installation guiedes in the
main Wiki.

  1. Lastly, test your configuration by pointing a browser at:
    http://yourserver.name.com/rt/

I believe the default login is ‘root’ with ‘password’ as the password.

Good luck!

James MoseleyGrant Deters <gdeters@usd250.org> wrote:

OK, got that far, has a bit of trouble with XML::RSS, however, I was able
to pull it from the web.

-- 
Grant S. Deters
USD 250 School District
Assistant Network/Systems Administrator
Ph. (620) 235.3246

Unless you are using a browser on the server itself, that isn’t going to
work. More than likely you are using a remote browser.

In that case, use the IP address of the server, or better yet the FQ host
name:

http://10.10.10.10/rt/ or http://server.domain.com/rt/

Obviously for the latter to work, you’re going to have to have DNS setup,
if not, a host entry on the client machine will work just fine.

Obviously, you need to make sure the Apache configuration is setup to
listen on the IP of the machine, either by specific IP or all
interfaces/address.

Lastly, pay attention the trailing slash behind rt/.

James MoseleyGrant Deters gdeters@usd250.org wrote:

Stupid question, but I am meerly testing this out and am not uploading this
onto our domain yet. How do I set this so it responds to
http://localhost/rt

Hi all, i am try to setup rt.3.8.2 on CentOS5.3. So far, the installation goes well by following your step. but i got stuck at HTML::Mason dependency when i run “make testdeps”. i do can install HTML::Mason via YUM but it is 1.35 while rt.3.8.2 needs 1.36. i had tried looking around for 1.36 but still cannot find.

please give me some clues.

best regards,
chantyFrom: Grant Deters gdeters@usd250.org
To: rt-users@lists.bestpractical.com
Sent: Monday, April 27, 2009 3:49:28 AM
Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

OK, got that far, has a bit of
trouble with XML::RSS, however, I was able to pull it from the web.

jmoseley@corp.xanadoo.com wrote:
First and foremost, please email your requests for assistance to the
mailing list. With that said, the main installation guide is Unix-generic,
but if you know enough about your particular OS, you shouldn’t have too
many problems. Cent OS/RHEL (and other) guides do exist in the official RT
setup wiki (InstallationGuides - Request Tracker Wiki), but
they quickly become a bit outdated because package names change, versions
change, etc, and some refer to third-party yum repos to install RT-required
software and even RT itself.

The obvious questions are what have you installed thus far and where are
you encountering problems?

I would say RT installation falls into four basic steps:

  1. Installing necessary software that RT requires (perl, perl modules,
    database software (both client and server), webserver, perl interpreter,
    etc)
  2. Installing RT (this is the point where most perl modules will be
    installed)
  3. Setting up RT database
  4. Configuring RT (RT_SiteConfig.pm), webserver, and mail environment

I’ll go ahead and start with numbers one and two above using Mysql, Apache,
and FastCGI. In this example, RT itself will be installed from source,
supporting software will be installed via standard CentOS yum repositories,
and most perl modules via CPAN. It’s further assumed that Mysql will be
running on the same server as RT (I prefer separate servers as perfomance
will be better with a dedicated mysql server with fast disks and lots of
memory, preferably a 64-bit system to better take advantage of memory).
Perhaps you’ve already completed these steps:

  1. Install the following via yum:

httpd, perl, mysql, mysql-server, mod_fcgid, ncftp

a) create entry in /etc/group for rt group: rt:x:501:apache

b) disable Selinux in /etc/selinux/config:

SELINUX=disabled

c) then execute the following from a shell prompt: echo 0 >
/selinux/enforce

This way you don’t have to reboot the box… If for some reason this
doesn’t work, simply reboot…

  1. Download RT source; unzip, untar it, rename to ‘rt-3.8.2.src’

a) CD into your source directory and then run the following command (you
can choose to install RT in any directory you want, of course):

./configure --prefix=/opt/rt3.8.2 --with-web-user=apache
–with-web-group=apache --with-mysql --with-web-handler=fastcgi

b) make testdeps

This will list all the perl modules you need to install

c) make fixdeps

This will automatically try to install all the required perl modules by
invoking CPAN. If you haven’t already invoked the CPAN shell environment,
there will be a set of setup questions CPAN will ask you. There is a
strong possibly that ‘make fixdeps’ won’t get all required modules
installed. In this case, you will have to run ‘cpan’ from a shell prompt
and install one perl module at a time. Be advised that many of the
required perl modules have dependencies, so the CPAN installer will attempt
to install those as well. As a last resort if run into problems with CPAN,
you can install quite a few of the required perl modules from yum. Look at
the wiki refereneced above for RHEL/Cent OS examples of what perl modules
are generally available via yum. Keep performing ‘make testdeps’ to ensure
all perl modules have been installed. When they have been:

d) make install

e) ln -s /opt/rt3.8.2 /opt/rt3

I do the following to keep upgrades sane. For example, when I upgrade to
say, RT 3.8.3, it will be installed in /opt/rt3.8.3 and I will then delete
the existing /opt/rt3 soft link and repoint it at the new installation.
This way, I can install a new version of RT without upgrading/blowing away
the live version, which also means I can fall back to the previous version
if the new version doesn’t work for some reason.

Hope this helps!

If you get passed this, then I will continue with the other steps. I’ll
then add to the RT wiki…

James Moseley

ty chan a �crit :

Hi all, i am try to setup rt.3.8.2 on CentOS5.3. So far, the installation
goes well by following your step. but i got stuck at HTML::Mason
dependency when i run “make testdeps”. i do can install HTML::Mason via
YUM but it is 1.35 while rt.3.8.2 needs 1.36. i had tried looking around
for 1.36 but still cannot find.

please give me some clues.

If it is the same as RedHat Enterprise 4 then it may become dirty for the
weaked hearted sysadmins.

In the previous mail you had an important part (see end of this mail)

Sometimes yum fails to meet the expectation, (it is fairly easy to be too
bleeding edge for debian /redhat / centos).

Then you have to do the infamous
perl -eshell -MCPAN to help
(it has already be done by make fixdeps), but sometimes, make
testdeps/fixdeps cannot do the fine tuning, so you have to go through the
missing modules by hand.

In short, you enter the perl version of DL Hell (Dependencies Lost Hell or
DLL (for which MS has a patent perl community never acknowledge)).

You will surely overcome it, just trust make fixdeps or do as you are told
by cpan (cpanplus is sometimes suggested for a better handling of
dependencies). The dark side is that a regular update of perl by Centos
may conflict with these added module.

I guess there is a way to install cleanly by using a specific combo @INC /
prefix for RT that should not conflict.

b) make testdeps

This will list all the perl modules you need to install

c) make fixdeps

This will automatically try to install all the required perl modules by
invoking CPAN. If you haven’t already invoked the CPAN shell environment,
there will be a set of setup questions CPAN will ask you. There is a
strong possibly that ‘make fixdeps’ won’t get all required modules
installed. In this case, you will have to run ‘cpan’ from a shell prompt
and install one perl module at a time. Be advised that many of the
required perl modules have dependencies, so the CPAN installer will attempt
to install those as well. As a last resort if run into problems with CPAN,
you can install quite a few of the required perl modules from yum. Look at
the wiki refereneced above for RHEL/Cent OS examples of what perl modules
are generally available via yum. Keep performing ‘make testdeps’ to ensure
all perl modules have been installed. When they have been:

Julien Tayon // digital craftsman // making things simpler (when possible)

And you can’t get any Watney’s Red Barrel,
because the bars close every time you’re thirsty…

Hi Julien,

Thanks for your information. I can make it now by manually install the from tar file downloading from CPAN site.
now, i can open the web page but it displays in text mode only :frowning:

Below is my log message from htmld/error_log

[Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: [Tue May 5 09:27:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81)
[Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: Trace begun at /opt/rt3/bin/…/lib/RT.pm line 289
[Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: Log::Dispatch::ANON(‘Log::Dispatch=HASH(0xac4c988)’, ‘’) called at /opt/rt3/bin/mason_handler.fcgi line 81
[Tue May 05 16:27:59 2009] [notice] child pid 2117 exit signal Segmentation fault (11)
[Tue May 05 16:27:59 2009] [notice] child pid 2118 exit signal Segmentation fault (11)
[Tue May 05 16:27:59 2009] [notice] child pid 2119 exit signal Segmentation fault (11)
[Tue May 05 16:27:59 2009] [notice] child pid 2120 exit signal Segmentation fault (11)
[Tue May 05 16:27:59 2009] [notice] child pid 2121 exit signal Segmentation fault (11)
[Tue May 05 16:27:59 2009] [notice] child pid 2122 exit signal Segmentation fault (11)
[Tue May 05 16:27:59 2009] [notice] child pid 2123 exit signal Segmentation fault (11)

and below is my rt.log

[root@localhost ~]# tail /var/log/rt.log
Log::Dispatch::ANON(‘Log::Dispatch=HASH(0xac4c988)’, ‘’) called at /opt/rt3/bin/mason_handler.fcgi line 81
[Tue May 5 09:27:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81)
Trace begun at /opt/rt3/bin/…/lib/RT.pm line 289
Log::Dispatch::ANON(‘Log::Dispatch=HASH(0xac4c988)’, ‘’) called at /opt/rt3/bin/mason_handler.fcgi line 81
[Tue May 5 09:27:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81)
Trace begun at /opt/rt3/bin/…/lib/RT.pm line 289
Log::Dispatch::ANON(‘Log::Dispatch=HASH(0xac4c988)’, ‘’) called at /opt/rt3/bin/mason_handler.fcgi line 81
[Tue May 5 09:27:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81)
Trace begun at /opt/rt3/bin/…/lib/RT.pm line 289
Log::Dispatch::ANON(‘Log::Dispatch=HASH(0xac4c988)’, ‘’) called at /opt/rt3/bin/mason_handler.fcgi line 81

I am not sure what it is trying to say.
below is the folder permission:

[root@localhost ~]# ls -l /opt/rt3.8.2/share/
total 8
drwxr-xr-x 2 root root 4096 May 5 16:19 doc
drwxr-xr-x 18 root bin 4096 May 5 16:19 html

It looks OK since other group has READ permission on html folder.

best regards,
chantyFrom: jul jul-rt@julbox.net
To: rt-users@lists.bestpractical.com
Sent: Tuesday, May 5, 2009 4:17:19 PM
Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

ty chan a écrit :

Hi all, i am try to setup rt.3.8.2 on CentOS5.3. So far, the installation
goes well by following your step. but i got stuck at HTML::Mason
dependency when i run “make testdeps”. i do can install HTML::Mason via
YUM but it is 1.35 while rt.3.8.2 needs 1.36. i had tried looking around
for 1.36 but still cannot find.

please give me some clues.

If it is the same as RedHat Enterprise 4 then it may become dirty for the
weaked hearted sysadmins.

In the previous mail you had an important part (see end of this mail)

Sometimes yum fails to meet the expectation, (it is fairly easy to be too
bleeding edge for debian /redhat / centos).

Then you have to do the infamous
perl -eshell -MCPAN to help
(it has already be done by make fixdeps), but sometimes, make
testdeps/fixdeps cannot do the fine tuning, so you have to go through the
missing modules by hand.

In short, you enter the perl version of DL Hell (Dependencies Lost Hell or
DLL (for which MS has a patent perl community never acknowledge)).

You will surely overcome it, just trust make fixdeps or do as you are told
by cpan (cpanplus is sometimes suggested for a better handling of
dependencies). The dark side is that a regular update of perl by Centos
may conflict with these added module.

I guess there is a way to install cleanly by using a specific combo @INC /
prefix for RT that should not conflict.

b) make testdeps

This will list all the perl modules you need to install

c) make fixdeps

This will automatically try to install all the required perl modules by
invoking CPAN. If you haven’t already invoked the CPAN shell environment,
there will be a set of setup questions CPAN will ask you. There is a
strong possibly that ‘make fixdeps’ won’t get all required modules
installed. In this case, you will have to run ‘cpan’ from a shell prompt
and install one perl module at a time. Be advised that many of the
required perl modules have dependencies, so the CPAN installer will attempt
to install those as well. As a last resort if run into problems with CPAN,
you can install quite a few of the required perl modules from yum. Look at
the wiki refereneced above for RHEL/Cent OS examples of what perl modules
are generally available via yum. Keep performing ‘make testdeps’ to ensure
all perl modules have been installed. When they have been:

Julien Tayon // digital craftsman // making things simpler (when possible)

And you can’t get any Watney’s Red Barrel,
because the bars close every time you’re thirsty…

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

ty chan a �crit :

Hi Julien,

No problems, no fun.

[Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: [Tue May 5 09:27:58
2009] [crit]: no such exception class HTML::Mason::Exception::Abort at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113.
(/opt/rt3/bin/mason_handler.fcgi:81)

Rule of thumb with traces :
interesting stuff seems to be at the end, but not the ultimate end in
order to confuse you.

rule of marvic :
MVC are the philosophal stone that transmute exceptions in maze.

Corrollar :
I miss GOTO statement.

Regarding your problem : search or a file named
(/usr/share/perl5/|dirs revelant to your distro)HTML/Mason/Exceptions.pm

if no such file:
type perl -eshell -MCPAN
and in the prompt of the shell
type install HTML::Mason::Exceptions

I have the feeling you did not make a make fixdeps from source.

Hey teachers leave the kids alone, on and on …
we’re just another perl in the necklace …

“Even more amazing was the realization that God has Internet access. I
wonder if He has a full newsfeed?”
(By Matt Welsh)

please see below file lists:

[root@localhost Mason]# pwd
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason

[root@localhost Mason]# ll
total 568
-r–r–r-- 1 root root 40239 May 6 08:13 Admin.pod
drwxr-xr-x 2 root root 4096 May 6 08:13 Apache
-r–r–r-- 1 root root 36194 May 6 08:13 ApacheHandler.pm
drwxr-xr-x 2 root root 4096 May 5 14:35 Cache
-r–r–r-- 1 root root 19587 May 6 08:13 CGIHandler.pm
drwxr-xr-x 2 root root 4096 May 6 08:13 Compiler
-r–r–r-- 1 root root 28784 May 6 08:13 Compiler.pm
drwxr-xr-x 2 root root 4096 May 5 14:35 Component
-r–r–r-- 1 root root 17159 May 6 08:13 Component.pm
-r–r–r-- 1 root root 5283 May 5 14:35 ComponentSource.pm
-r–r–r-- 1 root root 77124 May 6 08:13 Devel.pod
-r–r–r-- 1 root root 2850 May 5 14:35 Escapes.pm
-r–r–r-- 1 root root 16471 May 5 14:35 Exceptions.pm
-r–r–r-- 1 root root 11861 May 6 08:13 FakeApache.pm
-r–r–r-- 1 root root 930 May 5 14:35 Handler.pm
-r–r–r-- 1 root root 46828 May 5 14:35 Interp.pm
-r–r–r-- 1 root root 18879 May 6 08:13 Lexer.pm
-r–r–r-- 1 root root 5813 May 5 14:35 MethodMaker.pm
-r–r–r-- 1 root root 33955 May 6 08:13 Params.pod
-r–r–r-- 1 root root 483 May 5 14:35 Parser.pm
drwxr-xr-x 2 root root 4096 May 5 14:35 Plugin
-r–r–r-- 1 root root 5665 May 5 14:35 Plugin.pm
-r–r–r-- 1 root root 78471 May 6 08:13 Request.pm
drwxr-xr-x 2 root root 4096 May 5 14:35 Resolver
-r–r–r-- 1 root root 3465 May 5 14:35 Resolver.pm
-r–r–r-- 1 root root 10017 May 5 14:35 Subclassing.pod
-r–r–r-- 1 root root 24798 May 5 14:35 Tests.pm
-r–r–r-- 1 root root 9622 May 5 14:35 Tools.pm
-r–r–r-- 1 root root 2442 May 5 14:35 Utils.pm

exceptions.pm does exist. :slight_smile:

and please see below “make testdeps” and “make fixdeps”:

[root@localhost rt-3.8.2.src]# make testdeps
/usr/bin/perl ./sbin/rt-test-dependencies --verbose --with-mysql --with-fastcgi
perl:
>=5.8.3(5.8.8)…found
users:
rt group (rt)…found
bin owner (root)…found
libs owner (root)…found
libs group (bin)…found
web owner (apache)…found
web group (apache)…found
CLI dependencies:
Term::ReadKey…found
Getopt::Long >= 2.24…found
HTTP::Request::Common…found
Term::ReadLine…found
Text::ParseWords…found
LWP…found
CORE dependencies:
Class::ReturnValue >= 0.40…found
Text::Quoted >= 2.02…found
CSS::Squish >= 0.06…found
Encode >= 2.13…found
Module::Versions::Report >= 1.05…found
MIME::Entity >= 5.425…found
DBI >= 1.37…found
Locale::Maketext::Lexicon >= 0.32…found
Devel::StackTrace >= 1.19…found
Digest::base…found
Time::ParseDate…found
File::Temp >= 0.18…found
Locale::Maketext >= 1.06…found
Tree::Simple >= 1.04…found
Text::Template >= 1.45…found
Scalar::Util…found
HTML::Scrubber >= 0.08…found
File::Spec >= 0.8…found
Calendar::Simple…found
DBIx::SearchBuilder >= 1.54…found
Mail::Mailer >= 1.57…found
File::ShareDir…found
Regexp::Common…found
Digest::MD5 >= 2.27…found
HTML::Entities…found
Cache::Simple::TimedExpiry…found
File::Glob…found
Locale::Maketext::Fuzzy…found
Time::HiRes…found
Text::Wrapper…found
Log::Dispatch >= 2.0…found
UNIVERSAL::require…found
Email::Address…found
DASHBOARDS dependencies:
HTML::RewriteAttributes >= 0.02…found
MIME::Types…found
FASTCGI dependencies:
CGI::Fast…found
CGI >= 3.38…found
FCGI…found
GPG dependencies:
PerlIO::eol…found
GnuPG::Interface…found
ICAL dependencies:
Data::ICal…found
MAILGATE dependencies:
Pod::Usage…found
HTML::TreeBuilder…found
Getopt::Long…found
HTML::FormatText…found
LWP::UserAgent…found
MASON dependencies:
Storable >= 2.08…found
CSS::Squish >= 0.06…found
Apache::Session >= 1.53…found
Errno…found
Devel::StackTrace >= 1.19…found
CGI::Cookie >= 1.20…found
Text::WikiFormat >= 0.76…found
XML::RSS >= 1.05…found
HTML::Mason >= 1.36…found
Digest::MD5 >= 2.27…found
MYSQL dependencies:
DBD::mysql >= 2.1018…found
SMTP dependencies:
Net::SMTP…found
STANDALONE dependencies:
Net::Server::PreFork…found
Net::Server…found
HTTP::Server::Simple >= 0.34…found
HTTP::Server::Simple::Mason >= 0.09…found

All dependencies have been found.
[root@localhost rt-3.8.2.src]#

[root@localhost rt-3.8.2.src]# make fixdeps
/usr/bin/perl ./sbin/rt-test-dependencies --verbose --install --with-mysql --with-fastcgi
perl:
>=5.8.3(5.8.8)…found
users:
rt group (rt)…found
bin owner (root)…found
libs owner (root)…found
libs group (bin)…found
web owner (apache)…found
web group (apache)…found
CLI dependencies:
Term::ReadKey…found
Getopt::Long >= 2.24…found
HTTP::Request::Common…found
Term::ReadLine…found
Text::ParseWords…found
LWP…found
CORE dependencies:
Class::ReturnValue >= 0.40…found
Text::Quoted >= 2.02…found
CSS::Squish >= 0.06…found
Encode >= 2.13…found
Module::Versions::Report >= 1.05…found
MIME::Entity >= 5.425…found
DBI >= 1.37…found
Locale::Maketext::Lexicon >= 0.32…found
Devel::StackTrace >= 1.19…found
Digest::base…found
Time::ParseDate…found
File::Temp >= 0.18…found
Locale::Maketext >= 1.06…found
Tree::Simple >= 1.04…found
Text::Template >= 1.45…found
Scalar::Util…found
HTML::Scrubber >= 0.08…found
File::Spec >= 0.8…found
Calendar::Simple…found
DBIx::SearchBuilder >= 1.54…found
Mail::Mailer >= 1.57…found
File::ShareDir…found
Regexp::Common…found
Digest::MD5 >= 2.27…found
HTML::Entities…found
Cache::Simple::TimedExpiry…found
File::Glob…found
Locale::Maketext::Fuzzy…found
Time::HiRes…found
Text::Wrapper…found
Log::Dispatch >= 2.0…found
UNIVERSAL::require…found
Email::Address…found
DASHBOARDS dependencies:
HTML::RewriteAttributes >= 0.02…found
MIME::Types…found
FASTCGI dependencies:
CGI::Fast…found
CGI >= 3.38…found
FCGI…found
GPG dependencies:
PerlIO::eol…found
GnuPG::Interface…found
ICAL dependencies:
Data::ICal…found
MAILGATE dependencies:
Pod::Usage…found
HTML::TreeBuilder…found
Getopt::Long…found
HTML::FormatText…found
LWP::UserAgent…found
MASON dependencies:
Storable >= 2.08…found
CSS::Squish >= 0.06…found
Apache::Session >= 1.53…found
Errno…found
Devel::StackTrace >= 1.19…found
CGI::Cookie >= 1.20…found
Text::WikiFormat >= 0.76…found
XML::RSS >= 1.05…found
HTML::Mason >= 1.36…found
Digest::MD5 >= 2.27…found
MYSQL dependencies:
DBD::mysql >= 2.1018…found
SMTP dependencies:
Net::SMTP…found
STANDALONE dependencies:
Net::Server::PreFork…found
Net::Server…found
HTTP::Server::Simple >= 0.34…found
HTTP::Server::Simple::Mason >= 0.09…found

All dependencies have been found.
[root@localhost rt-3.8.2.src]#

all looks good to go “make install”. now, i can go to web UI but it displays in Text Mode :(From: jul jul-rt@julbox.net
To: rt-users@lists.bestpractical.com
Sent: Tuesday, May 5, 2009 5:25:25 PM
Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

ty chan a écrit :

Hi Julien,

No problems, no fun.

[Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: [Tue May 5 09:27:58
2009] [crit]: no such exception class HTML::Mason::Exception::Abort at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113.
(/opt/rt3/bin/mason_handler.fcgi:81)

Rule of thumb with traces :
interesting stuff seems to be at the end, but not the ultimate end in
order to confuse you.

rule of marvic :
MVC are the philosophal stone that transmute exceptions in maze.

Corrollar :
I miss GOTO statement.

Regarding your problem : search or a file named
(/usr/share/perl5/|dirs revelant to your distro)HTML/Mason/Exceptions.pm

if no such file:
type perl -eshell -MCPAN
and in the prompt of the shell
type install HTML::Mason::Exceptions

I have the feeling you did not make a make fixdeps from source.

Hey teachers leave the kids alone, on and on …
we’re just another perl in the necklace …

“Even more amazing was the realization that God has Internet access. I
wonder if He has a full newsfeed?”
(By Matt Welsh)

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

The debug option was turned by Set($LogToFile, ‘debug’);
Below is rt.log content:

Trace begun at /opt/rt3/bin/…/lib/RT.pm line 289
Log::Dispatch::ANON(‘Log::Dispatch=HASH(0xbc9ce28)’, ‘’) called at /opt/rt3/bin/mason_handler.fcgi line 81
[Thu May 7 06:16:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81)
Trace begun at /opt/rt3/bin/…/lib/RT.pm line 289
Log::Dispatch::ANON(‘Log::Dispatch=HASH(0xbc9ce28)’, ‘’) called at /opt/rt3/bin/mason_handler.fcgi line 81
[Thu May 7 06:16:59 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81)
Trace begun at /opt/rt3/bin/…/lib/RT.pm line 289
Log::Dispatch::ANON(‘Log::Dispatch=HASH(0xbc9ce28)’, ‘’) called at /opt/rt3/bin/mason_handler.fcgi line 81From: jul jul-rt@julbox.net
To: ty chan chanty_kh@yahoo.com
Sent: Wednesday, May 6, 2009 10:54:48 PM
Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

ty chan a écrit :

please see below file lists:

[root@localhost Mason]# pwd
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason

exceptions.pm does exist. :slight_smile:

oops :slight_smile:

You’ll have to put rt in debug mode, and watch log file for anything unusual.

Standard procedure.

I told you it would hellish.

He who spends a storm beneath a tree, takes life with a grain of TNT.

By the way

what do you mean by : I only see in text mode ?

HTML is text :slight_smile:

wouldn’t you have 404 http errors too ?
I mean wouldn’t apache fail to serve some js / images ?
wouldn’t you be missing some aliases in your apache configuration scripts ?

If you mean you lack images, then it means you have a misconfigured

Alias /rt/NoAuth/images /opt/rt3/share/html/NoAuth/images

and maybe
<Location /rt/REST/1.0/NoAuth>
Order Allow,Deny
Allow from 127.0.0.1
Allow from your-public-ip

(Firefox -> firebug or apache log)

Else, I can’t see the problem

Do you clean mason cache when restarting apache, do you restart apache
after modifications ? (reload graceful don’t work with persistant mode bad
SIGHUP propagation)
I am quite clueless at this point … :frowning:
Even if you persuade me, you won’t persuade me.
– Aristophanes

I am sure about debugging with Firebug.
please see below my rt3.conf file as below:

[root@rt conf.d]# cat rt3.conf
#LoadModule fcgid_module modules/mod_fcgid.so

Sane place to put sockets and shared memory file

SocketPath run/mod_fcgid
SharememPath run/fcgid_shm

Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/

[root@rt conf.d]#

all are what i have one http config. please advise what else should i add in rt3.conf.

regards,
chantyFrom: julien jul@julbox.net
To: ty chan chanty_kh@yahoo.com
Sent: Thursday, May 7, 2009 6:01:05 PM
Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

Use firebug to see what is not loading,
looks like you have a misconfigured apache sites (see previous mail)
(url rewriting should rewrite the static link to your css & images)

You need to uncomment the LoadModule line and add:

<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl

This assumes you have installed mod_fcgid from CentOS’s yum respository and
are not trying to use mod_perl or mod_fastcgi.

James Moseley

         ty chan                                                       
         <chanty_kh@yahoo.                                             
         com>                                                       To 
         Sent by:                  julien <jul@julbox.net>             
         rt-users-bounces@                                          cc 
         lists.bestpractic         rt-users@lists.bestpractical.com    
         al.com                                                Subject 
                                   Re: [rt-users] Reqest Tracker       
                                   CentOS 5.3 setup                    
         05/07/2009 08:52                                              
         PM                                                            

I am sure about debugging with Firebug.
please see below my rt3.conf file as below:

[root@rt conf.d]# cat rt3.conf
#LoadModule fcgid_module modules/mod_fcgid.so

Sane place to put sockets and shared memory file

SocketPath run/mod_fcgid
SharememPath run/fcgid_shm

Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/

Ok, rt3.conf looks like as below:

[root@rt conf.d]# cat rt3.conf
LoadModule fcgid_module modules/mod_fcgid.so

Use FastCGI to process .fcg .fcgi & .fpl scripts

Don’t do this if mod_fastcgi is present, as it will try to do the samei thing

<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl

Sane place to put sockets and shared memory file

SocketPath run/mod_fcgid
SharememPath run/fcgid_shm

Main instance

Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/
[root@rt conf.d]#

but i still have the same result.

regards,
chantyFrom: “jmoseley@corp.xanadoo.comjmoseley@corp.xanadoo.com
To: ty chan chanty_kh@yahoo.com
Cc: julien jul@julbox.net; rt-users@lists.bestpractical.com; rt-users-bounces@lists.bestpractical.com
Sent: Friday, May 8, 2009 9:02:22 AM
Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

You need to uncomment the LoadModule line and add:

<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl

This assumes you have installed mod_fcgid from CentOS’s yum respository and
are not trying to use mod_perl or mod_fastcgi.

James Moseley

         ty chan                                                      
         <chanty_kh@yahoo.                                            
         com>                                                       To 
         Sent by:                  julien <jul@julbox.net>            
         rt-users-bounces@                                          cc 
         lists.bestpractic        rt-users@lists.bestpractical.com    
        al.com                                                Subject 
                                   Re: [rt-users] Reqest Tracker      
                                   CentOS 5.3 setup                    
         05/07/2009 08:52                                              
         PM                                                            

I am sure about debugging with Firebug.
please see below my rt3.conf file as below:

[root@rt conf.d]# cat rt3.conf
#LoadModule fcgid_module modules/mod_fcgid.so

Sane place to put sockets and shared memory file

SocketPath run/mod_fcgid
SharememPath run/fcgid_shm

Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/

Hi Moseley,

You guid how to configure virtualhost on apache for RT also.

best regards,
chantyFrom: “jmoseley@corp.xanadoo.comjmoseley@corp.xanadoo.com
To: Grant Deters gdeters@usd250.org
Cc: rt-users@lists.bestpractical.com; rt-users-bounces@lists.bestpractical.com
Sent: Tuesday, April 28, 2009 6:59:51 AM
Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

Unless you are using a browser on the server itself, that isn’t going to
work. More than likely you are using a remote browser.

In that case, use the IP address of the server, or better yet the FQ host
name:

http://10.10.10.10/rt/ or http://server.domain.com/rt/

Obviously for the latter to work, you’re going to have to have DNS setup,
if not, a host entry on the client machine will work just fine.

Obviously, you need to make sure the Apache configuration is setup to
listen on the IP of the machine, either by specific IP or all
interfaces/address.

Lastly, pay attention the trailing slash behind rt/.

James Moseley

Threre really isn’t much difference in the Apache configuration if using a
virtual host. Simply put the RT apache config in a virtual host stanza:

ServerName somertserver.com

RT config lines…

The above example would use the default IP of the server and listen on port
80. You could also add other lines so that RT has its own log file, etc.
I believe there are several virtual host configuration examples in the
wiki.

James Moseley

         ty chan                                                       
         <chanty_kh@yahoo.                                             
         com>                                                       To 
                                   jmoseley@corp.xanadoo.com, Grant    
         07/02/2009 02:11          Deters <gdeters@usd250.org>         
         AM                                                         cc 
                                   rt-users@lists.bestpractical.com,   
                                   rt-users-bounces@lists.bestpractica 
                                   l.com                               
                                                               Subject 
                                   Re: [rt-users] Reqest Tracker       
                                   CentOS 5.3 setup                    

Hi Moseley,

You guid how to configure virtualhost on apache for RT also.

best regards,
chanty