[rt-users] Apache errors after installing RT4

Raghavendra Lal Kalyankar RaghavendraLK at sumtotalsystems.com
Tue Jul 19 01:43:00 EDT 2011


Chnaging the Subject Line to the appropriate issue:

Kevin and Others,

After fighting for few days on the below issue, I thought of changing the OS to OpenSUSE and get a successful RT4 installation. As luck would have it, I got the installation completed successfully, including intializing the database. However, while configure httpd.conf file, I came to know that bin/webmux.pl is required for instantiating Apache. But, RT4, by default did not install webmux.pl inside the bin folder. It only had the below files inside the bin directory.

-rwxr-xr-x 1 root rt   14792 Jul 18 12:33 rt-mailgate
-rwxr-xr-x 1 root rt   77405 Jul 18 12:33 rt
-rwxr-xr-x 1 root rt   13922 Jul 18 12:33 rt-crontool
-rwxr-xr-x 1 root root 12659 Jul 18 12:38 rt-mailgate.in
-rwxr-xr-x 1 root root 12173 Jul 18 12:38 rt-crontool.in


I wanted to test if RT 3.8 will have webmux.pl, mason_handler.fcgi and other files and so I just decompressed the tar to find the files existing inside the bin/ folder.

-rwxr-xr-x 1 root root  8017 Jul 18 12:38 mason_handler.svc.in
-rw-r--r-- 1 root root  8024 Jul 18 12:38 mason_handler.svc
-rwxr-xr-x 1 root root  2476 Jul 18 12:38 mason_handler.scgi.in
-rwxr-xr-- 1 root root  2485 Jul 18 12:38 mason_handler.scgi
-rwxr-xr-x 1 root root  3119 Jul 18 12:38 mason_handler.fcgi.in
-rwxr-xr-x 1 root root  3126 Jul 18 12:38 mason_handler.fcgi
-rw-r--r-- 1 root root  7113 Jul 18 12:38 fastcgi_server.in
-rwxr-xr-x 1 root root  5356 Jul 18 12:38 webmux.pl.in
-rwxr-xr-x 1 root root  5346 Jul 18 12:38 webmux.pl
-rwxr-xr-x 1 root root  5524 Jul 18 12:38 standalone_httpd.in



I know that simply copying these files to my RT4 installation will not work but I still copied it and got the below apache errors when I try to browse the site (yeah..the site is giving 500 error)

[Tue Jul 19 05:34:24 2011] [error]: For the WebPath config option, use the empty string instead of / (/opt/rt4/bin/../lib/RT/Config.pm:606)
[Tue Jul 19 05:34:24 2011] [crit]: Can't locate object method "new" via package "RT::Interface::Web::Handler" at /opt/rt4/bin/webmux.pl line 151. (/opt/rt4/bin/../lib/RT.pm:340)
[Tue Jul 19 05:34:24 2011] [crit]: Can't locate object method "new" via package "RT::Interface::Web::Handler" at /opt/rt4/bin/webmux.pl line 151.
Compilation failed in require at /opt/rt4/bin/mason_handler.fcgi line 54. (/opt/rt4/bin/../lib/RT.pm:340)
Can't locate object method "new" via package "RT::Interface::Web::Handler" at /opt/rt4/bin/webmux.pl line 151.
Compilation failed in require at /opt/rt4/bin/mason_handler.fcgi line 54.

Any help on getting my new site up and running is higly appreciatable.

Thanks
Raghu

________________________________________
From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] on behalf of Kevin Falcone [falcone at bestpractical.com]
Sent: Monday, July 18, 2011 8:42 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Initilizing database: Coredata Inserting Step failing (Rights not Granted Error) on Fedora Core 15

On Sat, Jul 16, 2011 at 04:24:47PM +0000, Raghavendra Lal Kalyankar wrote:
>    Hi
>
>    From the last few days, I am struggling hard to deploy RT on Fedora 15 box as I am still a
>    beginner in linux environment. At last, I could install all the pre-requisites for RT and made
>    sure to resolve all dependencies. However, I am unable to intiliaze the database after the
>    install.
>    It is failing at
>
>    RT::Handle::InsertInitialData('RT::Handle=HASH(0xab35f98)') called at sbin/rt-setup-database
>    line 261
>            main::action_coredata('action', 'init', 'skip-create', 1, 'dba', 'root') called at
>    sbin/rt-setup-database line 197 (/usr/share/perl5/Carp.pm:65)
>    Couldn't finish 'coredata' step.
>
>    ERROR: System error. Right not granted.

Please show the command you ran to generate this.

Please also show the results of a standard make initdb command.

-kevin

This message and any attachments thereto contain information that may be privileged, confidential or otherwise protected from disclosure and is the property of SumTotal Systems, Inc.  It is intended only for the person to whom it is addressed.  If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message, any attachments thereto or any part thereof.  If you receive this message in error, please notify me at RaghavendraLK at sumtotalsystems.com<mailto:RaghavendraLK at sumtotalsystems.com> and delete all copies of this message and attachments.   SumTotal Systems, Inc. has implemented anti-virus software on its computers and servers, however, it is the recipient's own responsibility to ensure that all attachments are scanned for viruses prior to usage.



More information about the rt-users mailing list