Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bringing Gentoo to the Enterprise
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Fri May 16, 2003 6:30 pm    Post subject: Reply with quote

flickerfly wrote:
Now I just have to figure out what username/password I need for this RT website. :-)


read the ebuild:
Code:
      --with-db-rt-user=rt_user \
      --with-db-rt-pass=rt_pass \


and according the documentation from the web:
Post-installation Configuration wrote:
Now that you have RT installed, you must first change the RT root user's password. Root's default password is "password".
Not changing this is a security risk.
As root, type
Code:
# /path/to/rt2/bin/rtadmin --user=root --password="<newpassword>"




cheers

SteveB
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Mon May 19, 2003 6:07 pm    Post subject: Reply with quote

Ah "password"... I've been looking over the rt3 documentation. That's from rt2, but the password remains the same. I don't have the that command though in my /opt/rt3/bin/, but I can change it through the interface.

I'm moving on to the next machine. I should have that working in a few days to try out rt on before putting it in as "the" solution to our Exchange Public Folder Help Desk mess. :-) Down with MS, up with Gentoo.

btw, it works great. I tried some of the zope stuff mentioned, but it was a whole new world for me. I'll get into that more later when I'm bored. It looks like it has potential, but is lacking in the "intuitave" interface that it seems to claim. It's very confusing, IMHO.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu May 22, 2003 1:39 pm    Post subject: Fresh Install Test Reply with quote

On a brand new new install (no CPAN installed) I get the following dep errors:

MAILGATE Deps:
HTML::TreeBuilder
HTML::FormatText

CORE Deps:
Class::ReturnValue
DBIx::SearchBuilder
Text::Template
Log::Dispatch
Locale::Maketext (1.03 in portage, but requires 1.04, I renamed the ebuild with the cooresponding number, but this did not fix the need.)
Locale::Maketext::Lexicon
Locale::Maketext::Fuzzy
MIME::Entity
Mail::Mailer (part of MailTools,but only 1.51 and needs 1.57)
Text::Wrapper
Time::ParseDate
Term::ReadKey
Text::AutoFormat
Text::Quoted

DEV Deps:
Regexp::Common
WWW::Mechanize

MySQL Deps:
DBD::mysql 2.1018 (solved by updating old ebuild, bug has been reported)
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu May 22, 2003 2:10 pm    Post subject: Reply with quote

Mail::Mailer is provided by MailTools in portage, but it's v 1.51 and we need 1.57
Time::ParseDate is provided by Time-modules
HTML::TreeBuilder is provided by HTML-Tree
Locale::Maketext is provided by maketext, v 1.03 and need 1.04
EDIT::
MIME::Entity is provided by MIME-tool
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Fri May 23, 2003 2:43 pm    Post subject: g-cpan Reply with quote

https://forums.gentoo.org/viewtopic.php?t=30738 discusses a tool called g-cpan that may help significantly in solving the perl dep issues. Now I just need to figure out how to use it. :-)
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat May 24, 2003 1:29 am    Post subject: Re: g-cpan Reply with quote

flickerfly wrote:
https://forums.gentoo.org/viewtopic.php?t=30738 discusses a tool called g-cpan that may help significantly in solving the perl dep issues. Now I just need to figure out how to use it. :-)


g-cpan.pl could be nice, but it is broken in my newest portage! when the fix it i will have a look at it and integrate it into the ebuild.

cheers

SteveB
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Sat May 24, 2003 6:28 am    Post subject: Reply with quote

:-) yeah, I found out that's why I couldn't figure out how to use it. There is a bug posted already about it. I hope they get to it faster than most of the ones I've participated in before.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu May 29, 2003 7:39 pm    Post subject: Download Reply with quote

http://josiah.ritchietribe.net/b2/index.php?p=127&more=1&c=1 gives a download location for the ebuild with a few additional dependencies and a commented out list of others that still need to be met. Also, the currently working version of g-cpan.pl is there for download and the DBD-mysql-2.1026 ebuild also.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu May 29, 2003 11:12 pm    Post subject: Re: Download Reply with quote

flickerfly wrote:
http://josiah.ritchietribe.net/b2/index.php?p=127&more=1&c=1 gives a download location for the ebuild with a few additional dependencies and a commented out list of others that still need to be met. Also, the currently working version of g-cpan.pl is there for download and the DBD-mysql-2.1026 ebuild also.

ohhh... my good! i am blind! this green background is killing me :)

cheers

SteveB
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu May 29, 2003 11:32 pm    Post subject: Re: Download Reply with quote

steveb wrote:

ohhh... my good! i am blind! this green background is killing me :)


:-) Yeah, I'm still working on my color scheme. :-)
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Fri May 30, 2003 12:37 am    Post subject: Re: Download Reply with quote

flickerfly wrote:
:-) Yeah, I'm still working on my color scheme. :-)
as long this background is not there because of heavy LSD consumation... i am happy :)
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Fri May 30, 2003 12:58 pm    Post subject: Re: Download Reply with quote

steveb wrote:
as long this background is not there because of heavy LSD consumation... i am happy :)

:) Nope, I'm drug, nicotine and alchol free! I do have a tendency to eat too much red meat though. :)
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Fri May 30, 2003 3:06 pm    Post subject: Re: Download Reply with quote

flickerfly wrote:
:) Nope, I'm drug, nicotine and alchol free!
cool :)

flickerfly wrote:
I do have a tendency to eat too much red meat though. :)
hmmm.... it could be that you have the mad cow thing.... but wait! you are a male! arent we all pigs? and pigs can not pick up the mad cow sickness!

cheers

SteveB
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Mon Jun 02, 2003 2:35 pm    Post subject: Re: Download Reply with quote

steveb wrote:
flickerfly wrote:
I do have a tendency to eat too much red meat though. :)
hmmm.... it could be that you have the mad cow thing.... but wait! you are a male! arent we all pigs? and pigs can not pick up the mad cow sickness!


Interesting side effect :-)

I'm still, in what little time I can, working our the g-cpan.pl solution to rt's install. I'm hoping I can grab the ebuild and submit them, then you can submit the rt ebuild and note that those ebuilds need to be integrated first. I think bugzilla has a special way to track that if I remember correctly.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Mon Jun 02, 2003 4:39 pm    Post subject: Reply with quote

New dep already in portage dev-perl/TermReadKey. Just sticking it here for documentation until we get it added to the ebuild.

Also https://bugs.gentoo.org/show_bug.cgi?id=20637 (The DBD-mysql update) had activity, changed hands to the Gentoo Perl Dev Team. :-) I didn't realize we had one of those or I'd have sent it to them in the first place. :-)
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Tue Jun 03, 2003 7:37 pm    Post subject: Reply with quote

I've got a bunch of perl deps and a refreshed rt ebuild in a tar file at http://josiah.ritchietribe.net/rtanddeps.tar. I have further comments on the file http://josiah.ritchietribe.net/b2/index.php?cat=3. steveb could you look over the rt ebuild at least and see if I royally messed anything up?
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Z?
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 118
Location: Waterloo, Ontario, Canada

PostPosted: Tue Jul 29, 2003 5:29 am    Post subject: Reply with quote

I'm not SteveB (obviously!), but I tried out your tarball, and the only problem I've run into so far is that you missed one dep: Text-Reform... not a big deal to add it, though, which is cool. :D

I'm really interested in getting this thing working under Apache2 + MySQL 4 + mod_perl, but it's being cranky (at best). I had no problems with RT under Apache 1.3.x, but man... this is -really- annoying... :cry:

Anyway, here's dev-perl/Text-Reform/Text-Reform-1.11.ebuild:
Code:
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
 
inherit perl-module
 
S=${WORKDIR}/${P}
DESCRIPTION=""
SRC_URI="http://www.cpan.org/CPAN/authors/id/D/DC/DCONWAY/${P}.tar.gz"
HOMEPAGE="http://www.cpan.org/modules/by-authors/id/D/DC/DCONWAY/${P}.readme"
 
SLOT="0"
LICENSE="Artistic | GPL-2"
KEYWORDS="alpha arm hppa mips ppc sparc x86"


(oh - and 3.0.4 is out, now, too...)

This is the error I've been getting with RT, and it's been driving me nuts all night... maybe one of you folks'll be able to help me out...

Code:
 * Starting apache2...
[Tue Jul 29 01:06:52 2003] [error] Global $r object is not available. Set:
        PerlOptions +GlobalRequest
in httpd.conf at /usr/lib/perl5/vendor_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 569.
Compilation failed in require at (eval 60) line 1.
 
[Tue Jul 29 01:06:52 2003] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server <servername>:0, exiting.
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Tue Jul 29, 2003 12:13 pm    Post subject: Reply with quote

I've found the RT email archives have been really helpful and actually asking a question if I don't find the asnwer of course.

http://www.bestpractical.com/rt/

I think there has been an issue with apache2. They don't recommend it on the list, but some have made it work. I had problems all over the place with it. I *think* I got that same error message and was told I could ignore it and that it is not uncommon. I have not yet been able to work with this much and other projects have entirely put getting RT on the network here on the back burner. (Almost have it done and gotta do a few other things. grr :roll: )

Thanks for the Text-Reform ebuild. I was having a problem getting g-cpan.pl to make that one. I also had some others in which I had issues, but I'm not sure what they were. It's probably on a paper here somewhere... :?

Let us know what it takes to get in running in apache2 if you get a chance.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Z?
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 118
Location: Waterloo, Ontario, Canada

PostPosted: Tue Jul 29, 2003 10:27 pm    Post subject: Reply with quote

I'll try my best.

There's no way to ignore that error, though -- apache refuses to start when it hits it... <sigh>

I'll see what I can dig up via the mailing list archives... I was hoping to avoid 'em, since they aren't searchable, but that's what grep's for. ;)
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Tue Jul 29, 2003 11:05 pm    Post subject: Reply with quote

Z? wrote:
I'll try my best.

There's no way to ignore that error, though -- apache refuses to start when it hits it... <sigh>

I'll see what I can dig up via the mailing list archives... I was hoping to avoid 'em, since they aren't searchable, but that's what grep's for. ;)


I hear ya, why is it that almost no lists are searchable? That would be a killer feature I'd think.

Must not be the same message then.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Z?
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 118
Location: Waterloo, Ontario, Canada

PostPosted: Tue Jul 29, 2003 11:08 pm    Post subject: Reply with quote

Found it:

http://marc.free.net.ph/message/20030516.142133.b37fdd05.html

Basically, the gist of this is that webmux.pl needs to be modified:

Quote:
*** bin/webmux.pl Tue May 13 21:09:36 2003
--- /opt/rt3/bin/webmux.pl Tue May 13 21:19:23 2003
***************
*** 33,38 ****
--- 33,48 ----
$ENV{'IFS'} = '' if defined $ENV{'IFS'};
}

+ require Apache::RequestUtil;
+ no warnings 'redefine';
+ my $sub = *Apache::request{CODE};
+ *Apache::request = sub {
+ my $r;
+ eval { $r = $sub->('Apache'); };
+ # warn $@ if $@;
+ return $r;
+ };
+
use lib ("/opt/rt3/local/lib", "/opt/rt3/lib");
use RT;


Now, Apache2 starts up without complaining... just need to figure out how to login... (sound familiar ;)
Back to top
View user's profile Send private message
Z?
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 118
Location: Waterloo, Ontario, Canada

PostPosted: Wed Jul 30, 2003 4:58 am    Post subject: Reply with quote

I've taken the liberty of creating an update to your work, flickerfly: I've got the last two ebuilds that were missing from the RT ebuild (Log::Dispatch and WWW::Mechanize), and fixed up the ebuild a bit so it's more robust (attempts - albeit very basically - to determine if we're installing under Apache 1.x or 2.x).

The new RT ebuild also includes the patch to webmux.pl, and it also installs a very basic .conf stub to /etc/apache2/conf/modules.d/99_rt.conf -- but only if you're using Apache 2.x.

I'd still like to clean up some of the dependency checking, but hey -- it's a start...

You can grab a tarball of all of the stuff I've done here.

Anybody know if this should really be posted/submitted somewhere else? It suddenly dawned on me that I'm probably getting WAY off topic now...
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Wed Jul 30, 2003 1:05 pm    Post subject: Reply with quote

No, I don't think this is off-topic at all.

That's great. I'm glad someone has been able to pick up where I left off. It was set to be a long time for me to continue work on this. I'll grab the tarball and put it on my website to replace mine. The RT list might like to know of the update and when you are comfortable with it's quality I'd post it as a bug and let us know so we can jump on the CC of it and watch until they finally get it added to portage. (or find a developer who will speed it through)

I really love the collaborative work that the net provides. Thanks for picking up my slack. :-)
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Z?
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 118
Location: Waterloo, Ontario, Canada

PostPosted: Wed Jul 30, 2003 9:31 pm    Post subject: Reply with quote

Coolness...

...the only problem I've run into so far is that an
emerge --Dvup world
fails, because something's requiring dev-perl/mod_perl-1.27, which in turn requires net-www/apache-1* (which I have masked)... I can't figure it out... looks like it might be a bug in portage, 'cuz when I get rid of the --deep flag, everything works without a hitch. It's almost like portage ignores the PORTAGE_OVERLAY setting when --deep is specified... it's odd...

...anyway... now i'm getting off-topic...

Let me know if that tarball works for ya. I'd really like to clean up the DB dependency checks in rt-3.*.ebuild, but I'm not really sure why they're there... and I have -no- idea if the stuff I added to try and support Apache2 -and- Apache1 will work... the Apache2 stuff does (I tried that), but I haven't tried the Apache1 stuff... maybe that's what I'll do tonight.

...and as far as the collaborative thing goes, it's definitely cool. :lol:
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu Jul 31, 2003 12:09 pm    Post subject: Reply with quote

It'll probably be about a week and 1/2 or more before I can try it out. I've got vacation next week and projects above this in priority unfortunately.

That does seem odd that it only happens with the use of '-D' I've never actually tried it with deep so I'm not sure if it was doing this before or not.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum