Freebsd Issues

Hey guys,
I gave up on my solaris install of RT… so I installed on freebsd. I
now get this error. Any ideas?

Here is my env
[Sun Oct 19 21:06:10 2003] [notice] Apache/1.3.28 (Unix) mod_perl/1.29
mod_ssl/2.8.15 OpenSSL/0.9.6e PHP/4.2.1 configured – resuming normal
operations
[Sun Oct 19 21:06:10 2003] [notice] Accept mutex: flock (Default: flock)

FreeBSD shell 4.7-STABLE FreeBSD 4.7-STABLE #4: Sun Dec 22 18:33:51 EST 2002
mjohnson@shell:/usr/obj/usr/src/sys/shell i386
[root@shell apache]#

[Sun Oct 19 21:06:26 2003] [error] Can’t locate RT/Manson.pm in @INC (@INC
contains: /usr/local/rt/local/lib /usr/local/rt/lib
/usr/local/lib/perl5/site_perl/5.8.0/mach
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 . /home/www/apache/ /home/www/apache/lib/perl) at
(eval 1834) line 3.

[Sun Oct 19 21:06:26 2003] [error] Undefined subroutine &RT::Manson::handler
called.

Hello.
package RT::Mason defined in webmux.pl so you should

PerlRequire /path/to/rt/bin/webmux.pl

in VirtualHost config of Apache.

Johnson, Michael1 [IT] wrote:

Hey guys,
I gave up on my solaris install of RT… so I installed on freebsd. I
now get this error. Any ideas?

[Sun Oct 19 21:06:26 2003] [error] Undefined subroutine &RT::Manson::handler
called.

Mason is a perl templating system and application framework
Manson was a psychopathic killer and cult leader.

You appear to have made a typo.

Jesse

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

Jesse Vincent wrote:

Hey guys,
I gave up on my solaris install of RT… so I installed on freebsd. I
now get this error. Any ideas?

[Sun Oct 19 21:06:26 2003] [error] Undefined subroutine &RT::Manson::handler
called.

Mason is a perl templating system and application framework
Manson was a psychopathic killer and cult leader.

Manson rocks :slight_smile: as well as Mason

“RUZ” == Ruslan U Zakirov cubic@acronis.ru writes:

RUZ> Hello.
RUZ> package RT::Mason defined in webmux.pl so you should

Yes, but where is Manson.pm coming from? I suspect someone edited a
file an inserted an extra n in it.

I have that.From: Ruslan U. Zakirov [mailto:cubic@acronis.ru]
Sent: Monday, October 20, 2003 10:50 AM
To: Johnson, Michael1 [IT]
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Freebsd Issues

Hello.

package RT::Mason defined in webmux.pl so you should

PerlRequire /path/to/rt/bin/webmux.pl

in VirtualHost config of Apache.

Johnson, Michael1 [IT] wrote:

Hey guys,
I gave up on my solaris install of RT… so I installed on
freebsd. I
now get this error. Any ideas?

Here is my env
[Sun Oct 19 21:06:10 2003] [notice] Apache/1.3.28 (Unix) mod_perl/1.29
mod_ssl/2.8.15 OpenSSL/0.9.6e PHP/4.2.1 configured – resuming normal
operations
[Sun Oct 19 21:06:10 2003] [notice] Accept mutex: flock (Default:
flock)

FreeBSD shell 4.7-STABLE FreeBSD 4.7-STABLE #4: Sun Dec 22 18:33:51
EST 2002
mjohnson@shell:/usr/obj/usr/src/sys/shell i386
[root@shell apache]#

[Sun Oct 19 21:06:26 2003] [error] Can’t locate RT/Manson.pm in @INC
(@INC
contains: /usr/local/rt/local/lib /usr/local/rt/lib
/usr/local/lib/perl5/site_perl/5.8.0/mach
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 . /home/www/apache/
/home/www/apache/lib/perl) at
(eval 1834) line 3.

[Sun Oct 19 21:06:26 2003] [error] Undefined subroutine
&RT::Manson::handler
called.

Thanks! Sorry for bothering the list with such a careless error. Guess I
just needed another set of eyes.

-MJFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Monday, October 20, 2003 11:16 AM
To: Johnson, Michael1 [IT]
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Freebsd Issues

Hey guys,
I gave up on my solaris install of RT… so I installed on freebsd. I
now get this error. Any ideas?

[Sun Oct 19 21:06:26 2003] [error] Undefined subroutine
&RT::Manson::handler
called.

Mason is a perl templating system and application framework
Manson was a psychopathic killer and cult leader.

You appear to have made a typo.

Jesse

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

Well I fixed my first issue now I am back to

[Mon Oct 20 12:06:31 2003] [error] Can’t locate object method “new” via
package “RT::Handle” at /usr/local/rt/lib/RT.pm line 147.

The same error I obtained on solaris.

-MJ

Well I fixed my first issue now I am back to

[Mon Oct 20 12:06:31 2003] [error] Can’t locate object method “new” via
package “RT::Handle” at /usr/local/rt/lib/RT.pm line 147.

That sounds like you’ve somehow misset your RT database type.

The same error I obtained on solaris.

-MJ


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

“MJ” == Michael Johnson writes:

MJ> Well I fixed my first issue now I am back to
MJ> [Mon Oct 20 12:06:31 2003] [error] Can’t locate object method “new” via
MJ> package “RT::Handle” at /usr/local/rt/lib/RT.pm line 147.

MJ> The same error I obtained on solaris.

check your file permissions. can your httpd process read
RT/Handle.pm?

It runs as www so I would say yes.

-rwxrwxr-x 1 www www 7761 Oct 19 19:42 RT.pm

-MJ-----Original Message-----
From: Vivek Khera [mailto:khera@kcilink.com]
Sent: Monday, October 20, 2003 12:18 PM
To: Johnson, Michael1 [IT]
Cc: ‘Ruslan U. Zakirov’; rt-users@lists.fsck.com
Subject: RE: [rt-users] Freebsd Issues

“MJ” == Michael Johnson writes:

MJ> Well I fixed my first issue now I am back to
MJ> [Mon Oct 20 12:06:31 2003] [error] Can’t locate object method “new” via
MJ> package “RT::Handle” at /usr/local/rt/lib/RT.pm line 147.

MJ> The same error I obtained on solaris.

check your file permissions. can your httpd process read
RT/Handle.pm?

I read the FAQ on that. I think mine is correct…

Set($DatabaseType , ‘Pg’);From: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Monday, October 20, 2003 12:16 PM
To: Johnson, Michael1 [IT]
Cc: ‘Ruslan U. Zakirov’; rt-users@lists.fsck.com
Subject: Re: [rt-users] Freebsd Issues

Well I fixed my first issue now I am back to

[Mon Oct 20 12:06:31 2003] [error] Can’t locate object method “new”
via
package “RT::Handle” at /usr/local/rt/lib/RT.pm line 147.

That sounds like you’ve somehow misset your RT database type.

The same error I obtained on solaris.

-MJ


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

“MJ” == Michael Johnson writes:

MJ> It runs as www so I would say yes.
MJ> -rwxrwxr-x 1 www www 7761 Oct 19 19:42 RT.pm

that’s NOT RT/Handle.pm is it?

Well I fixed my first issue now I am back to

[Mon Oct 20 12:06:31 2003] [error] Can’t locate object method “new” via
package “RT::Handle” at /usr/local/rt/lib/RT.pm line 147.

If you keep running into perl module problems, you may want to
start fresh.

Can you safely/painlessly remove all perl dependencies for the
perl_5.8.0 port and do a “pkg_delete -r”?

If yes, I would reinstall the perl port, run “use.perl port”
and then try installing mod_perl, Mason, and RT on top of that.
Since you’re running 4.7-STABLE, I assume you cvsup once in a
while; a buildworld rebuilds the base system perl in /usr/bin/perl.

Are you using the port in /usr/ports/www/rt3 (it’s farily
new you may need to update your ports tree), or are you
installing manually?

–clark

I was at perl 5.6.1 before this so I did a pkg_delete -r of that. I
pkgadded perl5.8. I installed the modules that the RT test did via cpan.
I have a few scripts I used to test the connectivity with the rt user to
the database useing the perl DBI for postgres. That worked fine.

I upgraded my apache to 1.3.28, and openssl. I compile these by hand.
(damn openssl security stuff)… I needed it for openssh. Anyways once
my webserver was up and running I compiled mod_perl.

I do run cvsup weekly to update my ports and compile like once every 2
months to keep my kernel up today. I will be going to 5x release around
December when my new rack boxes come in and I can get some time to
config them…

I was manually installing the rt package. I really only like to use the
ports for what I feel are core applications/services.

-MJFrom: clark shishido [mailto:clark@ruminary.org]
Sent: Monday, October 20, 2003 12:31 PM
To: Johnson, Michael1 [IT]
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Freebsd Issues

Well I fixed my first issue now I am back to

[Mon Oct 20 12:06:31 2003] [error] Can’t locate object method “new”
via
package “RT::Handle” at /usr/local/rt/lib/RT.pm line 147.

If you keep running into perl module problems, you may want to
start fresh.

Can you safely/painlessly remove all perl dependencies for the
perl_5.8.0 port and do a “pkg_delete -r”?

If yes, I would reinstall the perl port, run “use.perl port”
and then try installing mod_perl, Mason, and RT on top of that.
Since you’re running 4.7-STABLE, I assume you cvsup once in a
while; a buildworld rebuilds the base system perl in /usr/bin/perl.

Are you using the port in /usr/ports/www/rt3 (it’s farily
new you may need to update your ports tree), or are you
installing manually?

–clark

I mean to show the RT dir it all has the same perms. of www:www and 775.

-rwxrwxr-x 1 www www 2396 Sep 25 16:31 Handle.pm

-MJ-----Original Message-----
From: Vivek Khera [mailto:khera@kcilink.com]
Sent: Monday, October 20, 2003 12:29 PM
To: rt-users@lists.fsck.com
Subject: RE: [rt-users] Freebsd Issues

“MJ” == Michael Johnson writes:

MJ> It runs as www so I would say yes.
MJ> -rwxrwxr-x 1 www www 7761 Oct 19 19:42 RT.pm

that’s NOT RT/Handle.pm is it?

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Johnson, Michael1 [IT] wrote:

I read the FAQ on that. I think mine is correct…
Set($DatabaseType , ‘Pg’);

What version of DBIx::SearchBuilder do you have installed?
Does it include the file DBIx/SearchBuilder/Handle/Pg.pm ?
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

How do I temm what version I have?From: Phil Homewood [mailto:pdh@snapgear.com]
Sent: Tuesday, October 21, 2003 6:24 PM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Freebsd Issues

Johnson, Michael1 [IT] wrote:

I read the FAQ on that. I think mine is correct…
Set($DatabaseType , ‘Pg’);

What version of DBIx::SearchBuilder do you have installed?
Does it include the file DBIx/SearchBuilder/Handle/Pg.pm ?
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Johnson, Michael1 [IT] wrote:

How do I temm what version I have?

echo ‘i DBIx::SearchBuilder’ | perl -MCPAN -e shell
More importantly, though, can you find the file I asked
about below?

What version of DBIx::SearchBuilder do you have installed?
Does it include the file DBIx/SearchBuilder/Handle/Pg.pm ?

Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

I can find that file.

Module id = DBIx::SearchBuilder
CPAN_USERID JESSE (Jesse Vincent jesse+cpan@fsck.com)
CPAN_VERSION 0.92
CPAN_FILE J/JE/JESSE/DBIx-SearchBuilder-0.92.tar.gz
MANPAGE DBIx::SearchBuilder - Encapsulate SQL queries and rows
in simple perl objects
INST_FILE
/usr/local/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder.pm
INST_VERSION 0.92

[root@shell Handle]# ls -latr
total 19
-r–r–r-- 1 root wheel 612 Sep 5 00:34 mysqlPP.pm
-r–r–r-- 1 root wheel 1716 Sep 5 00:34 mysql.pm
-r–r–r-- 1 root wheel 6359 Sep 5 00:34 Pg.pm
-r–r–r-- 1 root wheel 6224 Sep 5 00:34 Oracle.pm
drwx------ 2 root wheel 512 Oct 19 18:54 .
drwx------ 4 root wheel 512 Oct 19 18:54 …
[root@shell Handle]# pwd
/usr/local/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/HandleFrom: Phil Homewood [mailto:pdh@snapgear.com]
Sent: Friday, October 24, 2003 1:04 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Freebsd Issues

Johnson, Michael1 [IT] wrote:

How do I temm what version I have?

echo ‘i DBIx::SearchBuilder’ | perl -MCPAN -e shell
More importantly, though, can you find the file I asked
about below?

What version of DBIx::SearchBuilder do you have installed?
Does it include the file DBIx/SearchBuilder/Handle/Pg.pm ?

Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm