I'm almost there!

Hello, folks.

I need to make my RT works, so, could anyone help me?

That’s my /var/log/apache2/error.log (last attempts):

[Mon Nov 30 11:10:22 2009] [notice] caught SIGTERM, shutting down
[Mon Nov 30 15:35:08 2009] [notice] Apache/2.2.9 (Debian) configured –
resuming normal operations
[Mon Nov 30 15:57:50 2009] [notice] caught SIGTERM, shutting down
[Mon Nov 30 15:57:53 2009] [notice] Apache/2.2.9 (Debian) configured –
resuming normal operations
[Mon Nov 30 16:00:45 2009] [notice] caught SIGTERM, shutting down
[Mon Nov 30 16:00:49 2009] [notice] Apache/2.2.9 (Debian) configured –
resuming normal operations
[Mon Nov 30 16:08:53 2009] [error] [client 200.133.192.22] File does not
exist: /opt/rt3/share/html/rt
[Mon Nov 30 16:17:11 2009] [error] [client 200.133.192.22] File does not
exist: /opt/rt3/share/html/rt
[Mon Nov 30 16:17:58 2009] [notice] caught SIGTERM, shutting down
[Mon Nov 30 16:18:01 2009] [notice] Apache/2.2.9 (Debian) configured –
resuming normal operations
[Mon Nov 30 17:14:46 2009] [error] [client 200.133.192.22] File does not
exist: /opt/rt3/share/html/opt
[Mon Nov 30 17:34:29 2009] [notice] caught SIGTERM, shutting down

Below is my /etc/apache2/sites-available/default file:

rtracker:/etc/apache2/sites-available# cat default
Listen 200.133.192.79:80
<VirtualHost 200.133.192.79:80>
ServerAdmin mail@pop-sp.rnp.br
ServerName www.pop-sp.rnp.br

DocumentRoot /opt/rt3/share/html

    Alias /rt "/opt/rt3/share/html/"

PerlModule Apache::DBI

PerlRequire “/opt/rt3/bin/webmux.pl”

    <Directory /opt/rt3/share/html/>
            AllowOverride All
            Options execCGI FollowSymLinks
    <IfModule mod_access.c>
            Order allow,deny
            Allow from all
    </IfModule>
    </Directory>
    DocumentRoot /var/www/
    <Location /rt>
            RewriteEngine On
            RedirectMatch permanent (.*)/$ $1/index.html
            AddDefaultCharset UTF-8
            SetHandler perl-script
            PerlHandler RT::Mason
    </Location>
    <Directory />
            Options FollowSymLinks
            AllowOverride None
    </Directory>
    <Directory /var/www/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None
            Order allow,deny
            allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
            AllowOverride None
            Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
            Order allow,deny
            Allow from all
    </Directory>

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

Wagner Pereira

PoP-SP/RNP - Ponto de Presen�a da RNP em S�o Paulo
CCE/USP - Centro de Computa��o Eletr�nica da Universidade de S�o Paulo
http://www.pop-sp.rnp.br
Fone@RNP 1015-8902

    Alias /rt "/opt/rt3/share/html/"

I believe this ^^
is conflicting with this

    <Location /rt>
            RewriteEngine On
            RedirectMatch permanent (.*)/$ $1/index.html
            AddDefaultCharset UTF-8
            SetHandler perl-script
            PerlHandler RT::Mason
    </Location>

Only one of them wins, and it appears that the Alias is doing so

Hey, folks.

What this message below means? (Logged on my /var/log/apache2/errors.log)

And how can I solve that problem?

[Thu Dec 03 12:44:46 2009] [error] [client 200.133.192.22] Can’t locate
RT/FM.pm in @INC (@INC contains: /usr/local/rt-3.8.6/bin/…/local/lib
/usr/local/rt-3.8.6/bin/…/lib /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
/etc/apache2) at /usr/local/rt-3.8.6/bin/…/lib/RT.pm line 627.\n

My /etc/apache2/sites-available/default file is:

<VirtualHost *:80>
ServerName rtracker.pop-sp.rnp.br
ServerAdmin wpereira@pop-sp.rnp.br
RedirectMatch ^/$ http://rtracker.pop-sp.rnp.br/rt/
DocumentRoot /var/www
CustomLog /var/log/apache2/www-pop-webmail.log combined
ServerSignature Off
LogLevel warn

And my /usr/local/rt-3.8.6/etc/RT_SiteConfig.pm is:

Custom settings

Set($rtname, ‘PoP-SP’); Set($Organization, ‘rtracker.pop-sp.rnp.br’);
Set($CorrespondAddress, ‘rt@rtracker.pop-sp.rnp.br’);
Set($CommentAddress, ‘rt-comment@rtracker.pop-sp.rnp.br’);
Set($OwnerEmail, ‘admin@pop-sp.rnp.br’); Set($MaxAttachmentSize, 10000000);

THE DATABASE

Set($DatabaseType, ‘mysql’);

Set($DatabaseUser, ‘rtuser’); Set($DatabasePassword, ‘pass_rtuser’);
Set($DatabaseName, ‘rtdb’);

THE WEBSERVER

Set($WebPath, ‘/rt’); Set($WebBaseURL, ‘http://rtracker.pop-sp.rnp.br’);

Thanks in advance!

Wagner Pereira

PoP-SP/RNP - Ponto de Presen�a da RNP em S�o Paulo
CCE/USP - Centro de Computa��o Eletr�nica da Universidade de S�o Paulo
http://www.pop-sp.rnp.br
Fone@RNP 1015-8902

Hey, folks.

What this message below means? (Logged on my /var/log/apache2/errors.log)

And how can I solve that problem?

[Thu Dec 03 12:44:46 2009] [error] [client 200.133.192.22] Can’t locate
RT/FM.pm in @INC (@INC contains: /usr/local/rt-3.8.6/bin/…/local/lib
/usr/local/rt-3.8.6/bin/…/lib /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
/etc/apache2) at /usr/local/rt-3.8.6/bin/…/lib/RT.pm line 627.\n

Did you install RT::FM?
If not, you shouldn’t have Set(@Plugins, qw(RT::FM)); in your
RT_SiteConfig.pm

-kevin

Kevin,

I’ve tried to install this, but check this out:

cpan[1]> install
RT::FM

CPAN: Storable loaded ok (v2.18)
Going to read ‘/root/.cpan/Metadata’
Database was generated on Wed, 02 Dec 2009 10:40:10 GMT
CPAN: YAML loaded ok (v0.70)
Going to read 143 yaml files from /root/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
DONE
Restored the state of none (in 1.2107 secs)
Warning: Cannot install RT::FM, don’t know what it is.
Try the command

i /RT::FM/

to find objects with matching identifiers.

Next, I made what CPAN suggested to do, and…

cpan[1]> i
/RT::FM/

CPAN: Storable loaded ok (v2.18)
Going to read ‘/root/.cpan/Metadata’
Database was generated on Wed, 02 Dec 2009 10:40:10 GMT
CPAN: YAML loaded ok (v0.70)
Going to read 143 yaml files from /root/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
DONE
Restored the state of none (in 1.2082 secs)
No objects found of any type for argument /RT::FM/

Finally, in my RT_SiteConfig.pm I have the follow lines commented:

#Set (@Plugins,(qw(Extension::QuickDelete RT::FM)));
#Set (@Plugins,(qw(RT::FM));

Wagner Pereira

PoP-SP/RNP - Ponto de Presen�a da RNP em S�o Paulo
CCE/USP - Centro de Computa��o Eletr�nica da Universidade de S�o Paulo

Fone@RNP 1015-8902

Kevin Falcone escreveu:> On Thu, Dec 03, 2009 at 12:55:06PM -0200, Wagner Pereira wrote:

Hey, folks.

What this message below means? (Logged on my /var/log/apache2/errors.log)

And how can I solve that problem?

[Thu Dec 03 12:44:46 2009] [error] [client 200.133.192.22] Can’t locate
RT/FM.pm in @INC (@INC contains: /usr/local/rt-3.8.6/bin/…/local/lib
/usr/local/rt-3.8.6/bin/…/lib /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
/etc/apache2) at /usr/local/rt-3.8.6/bin/…/lib/RT.pm line 627.\n

Did you install RT::FM?
If not, you shouldn’t have Set(@Plugins, qw(RT::FM)); in your
RT_SiteConfig.pm

-kevin

My /etc/apache2/sites-available/default file is:

<VirtualHost *:80>
ServerName rtracker.pop-sp.rnp.br
ServerAdmin wpereira@pop-sp.rnp.br
RedirectMatch ^/$ http://rtracker.pop-sp.rnp.br/rt/
DocumentRoot /var/www
CustomLog /var/log/apache2/www-pop-webmail.log combined
ServerSignature Off
LogLevel warn

And my /usr/local/rt-3.8.6/etc/RT_SiteConfig.pm is:

Custom settings

Set($rtname, ‘PoP-SP’); Set($Organization, ‘rtracker.pop-sp.rnp.br’);
Set($CorrespondAddress, ‘rt@rtracker.pop-sp.rnp.br’);
Set($CommentAddress, ‘rt-comment@rtracker.pop-sp.rnp.br’);
Set($OwnerEmail, ‘admin@pop-sp.rnp.br’); Set($MaxAttachmentSize, 10000000);

THE DATABASE

Set($DatabaseType, ‘mysql’);

Set($DatabaseUser, ‘rtuser’); Set($DatabasePassword, ‘pass_rtuser’);
Set($DatabaseName, ‘rtdb’);

THE WEBSERVER

Set($WebPath, ‘/rt’); Set($WebBaseURL, ‘http://rtracker.pop-sp.rnp.br’);

Thanks in advance!

Wagner Pereira

PoP-SP/RNP - Ponto de Presen�a da RNP em S�o Paulo
CCE/USP - Centro de Computa��o Eletr�nica da Universidade de S�o Paulo
http://www.pop-sp.rnp.br
Fone@RNP 1015-8902


The rt-users Archives

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 rt-users Archives

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

Try:
http://bestpractical.com/rtfm/download.html

Max

Wagner Pereira wrote:

I believe it should be installed to the local/plugins sub-directory
inside your RT installation directory…

[root@abuse02 ~]# ls -l /opt/rt3/local/plugins/
total 28
drwxr-xr-x 5 root root 4096 Dec 1 15:33 RT-Authen-ExternalAuth
drwxr-xr-x 4 root root 4096 Dec 1 12:33
RT-Extension-SpawnLinkedTicketInQueue
drwxr-xr-x 4 root root 4096 Dec 1 12:33 RT-Extension-SummaryByUser
drwxr-xr-x 5 root root 4096 Dec 1 12:36 RT-Extension-TicketAging
drwxr-xr-x 8 root root 4096 Nov 30 15:04 RT-FM
drwxr-xr-x 4 root root 4096 Dec 1 12:37 RTFM-Extension-ArticleTemplates
drwxr-xr-x 6 root root 4096 Nov 30 15:04 RT-IR

Max

Wagner Pereira wrote: