Last login: Tue Apr 21 13:39:50 2020 from 192.168.40.1
[root@localhost ~]# /opt/rt4/sbin/rt-server --port 80
Use of uninitialized value $RT::WebBaseURL in concatenation (.) or string at /op t/rt4/etc/RT_SiteConfig.pm line 54.
[3182] [Tue Apr 21 13:53:46 2020] [critical]: Unable to load DBIx::SearchBuilder database handle for ‘pg’.
Perhaps you’ve picked an invalid database type or spelled it incorrectly.
Can’t locate DBIx/SearchBuilder/Handle/pg.pm in @INC (@INC contains: /opt/rt4/sb in/…/local/lib /opt/rt4/sbin/…/lib /usr/local/lib64/perl5 /usr/local/share/per l5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /u sr/share/perl5 .) at /opt/rt4/sbin/…/lib/RT/Handle.pm line 89. (/opt/rt4/sbin/. ./lib/RT.pm:408)
[3182] [Tue Apr 21 13:53:46 2020] [critical]: Unable to load DBIx::SearchBuilder database handle for ‘pg’.
Perhaps you’ve picked an invalid database type or spelled it incorrectly.
Can’t locate DBIx/SearchBuilder/Handle/pg.pm in @INC (@INC contains: /opt/rt4/sb in/…/local/lib /opt/rt4/sbin/…/lib /usr/local/lib64/perl5 /usr/local/share/per l5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /u sr/share/perl5 .) at /opt/rt4/sbin/…/lib/RT/Handle.pm line 89.
Compilation failed in require at /opt/rt4/sbin/rt-server line 94. (/opt/rt4/sbin /…/lib/RT.pm:408)
Unable to load DBIx::SearchBuilder database handle for ‘pg’.
Perhaps you’ve picked an invalid database type or spelled it incorrectly.
Can’t locate DBIx/SearchBuilder/Handle/pg.pm in @INC (@INC contains: /opt/rt4/sb in/…/local/lib /opt/rt4/sbin/…/lib /usr/local/lib64/perl5 /usr/local/share/per l5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /u sr/share/perl5 .) at /opt/rt4/sbin/…/lib/RT/Handle.pm line 89.
Compilation failed in require at /opt/rt4/sbin/rt-server line 94.
here is my RT_SiteConf.pm
Set( $rtname, ‘rt4’);
Set($Organization , “dxt”);
Set($Timezone , ‘US/Eastern’);
Set($DatabaseAdmin, “postgres”);
Set($DatabaseName, “rt4”, q{rt4});
Set($DatabaseType, “pg”);
Set($DatabaseHost, “localhost”);
Set($DatabaseRTHost , “localhost”);
Set($DatabasePort, ‘’);
Set($DatabaseUser, “rt_user”);
Set($DatabasePassword, “desmond”, q{rt_pass});
Set($WebPath, “/rt”);
Set($WebDomain, “192.168.40.132”);
Set($WebPort , 80);
Set($WebURL, $WebBaseURL . $WebPath . “/”);
Set($WebImagesURL, RT->Config->Get(‘WebPath’) . “/static/images/”);
Set($LogoURL, RT->Config->Get(‘WebImagesURL’) . “request-tracker-logo.png”);
Set($LogoLinkURL, “http://bestpractical.com”);
Set($LogoAltText, “Request Tracker logo”);
Set($WebNoAuthRegex, qr{^ (?:/+NoAuth/ | /+REST/\d+.\d+/NoAuth/) }x );
Set($WebBaseURL , “http://192.168.40.132:$WebPort”);
Set($OwnerEmail , ‘root’);
Set($RTAddressRegexp, ‘loclhost’);
Set($CorrespondAddress , ‘’);
Set($CommentAddress , ‘’);
Set($CanonicalizeRedirectURLs, 1);
Set($CanonicalizeURLsInFeeds, 1);
Set($LogoAltText, “Request Tracker logo”);
Set($LogToSyslog, “info”);
Set($LogToSTDERR, “info”);
Set($LogToFile, undef);
Set($LogDir, q{var/log});
Set(@LogToSyslogConf, ());
Set($LogoURL, RT->Config->Get(‘WebImagesURL’) . “request-tracker-logo.png”);
here is my rt4.conf file
RT4 configuration for Apache
With minor changes, this configuration is based on the original documentation:
Web deployment - RT 4.4.2 Documentation - Best Practical
Optional apache logs for RT
Ensure that your log rotation scripts know about these files
ErrorLog /opt/rt4/var/log/apache2.error
TransferLog /opt/rt4/var/log/apache2.access
LogLevel debug
AddDefaultCharset UTF-8
ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
DocumentRoot “/opt/rt4/share/html”
# For Centos7/Apache 2.4 use this line: Require all grantedFor Centos6/Apache 2.2 use these two lines:
Order allow,deny
Allow from all
Options +ExecCGI
AddHandler fcgid-script fcgi
~
yet am still having this error;
The requested URL /rt was not found on this server.
pls help.