What "Config" button? (new install)

Okay, I’ve FINALLY got this running to the point where Apache runs and
I can see the “front” RT page. WHEW.

The Installation Guide states:

Create your users 

In its default configuration, RT uses an internal users database to
keep track of who can access RT and who has what rights within the system. 

One of your first tasks should be to create users for anyone who will
need to work with tickets within RT. 

With the web interface, click on "Config" then "Users" then "Add new
user". When creating new users, be sure to fill in: 

I see no ‘Config’ to click. I see “Username:” and “Password:”

So I returned to the source code README:

THE CLI
        Binaries for the CLI are located in rt/bin
        You've got:

                "rt" (manipulate or display requests)
                "rtadmin" (modify queues, users and acls)

        Both of these programs take --help as an option.

So I try rtadmin:

% ./rtadmin --help
No RT user found. Please consult your RT administrator.

Here’s what rtadmin reports with 3 new lines of debugging code:

% ./rtadmin --help
CLI.pm GetCurrentUser() GECOS: jblaine
CLI.pm GetCurrentUser() ID: RT::CurrentUser=HASH(0x4c99d8)->Id
Back in rtadmin ID: RT::CurrentUser=HASH(0x4c99d8)
No RT user found. Please consult your RT administrator.

Could someone please tell me how to take this next configuration step?

Jeff,

Try logging in to the web interface as root using the password you supplied
during the initial configuration.

George-----Original Message-----
From: Jeff Blaine [mailto:jblaine@linus.mitre.org]
Sent: Friday, February 08, 2002 3:46 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] What “Config” button? (new install)

Okay, I’ve FINALLY got this running to the point where Apache runs and
I can see the “front” RT page. WHEW.

The Installation Guide states:

Create your users 

In its default configuration, RT uses an internal users database to
keep track of who can access RT and who has what rights within the

system.

One of your first tasks should be to create users for anyone who will
need to work with tickets within RT. 

With the web interface, click on "Config" then "Users" then "Add new
user". When creating new users, be sure to fill in: 

I see no ‘Config’ to click. I see “Username:” and “Password:”

So I returned to the source code README:

THE CLI
        Binaries for the CLI are located in rt/bin
        You've got:

                "rt" (manipulate or display requests)
                "rtadmin" (modify queues, users and acls)

        Both of these programs take --help as an option.

So I try rtadmin:

% ./rtadmin --help
No RT user found. Please consult your RT administrator.

Here’s what rtadmin reports with 3 new lines of debugging code:

% ./rtadmin --help
CLI.pm GetCurrentUser() GECOS: jblaine
CLI.pm GetCurrentUser() ID: RT::CurrentUser=HASH(0x4c99d8)->Id
Back in rtadmin ID: RT::CurrentUser=HASH(0x4c99d8)
No RT user found. Please consult your RT administrator.

Could someone please tell me how to take this next configuration step?

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

This email message may contain information that is confidential and
proprietary to Babcock & Brown or a third party. If you are not the
intended recipient, please contact the sender and destroy the original and
any copies of the original message. Babcock & Brown takes measures to
protect the content of its communications. However, Babcock & Brown cannot
guarantee that email messages will not be intercepted by third parties or
that email messages will be free of errors or viruses.

George, thanks for the reply on this Friday afternoon.

I must have missed that step, but…

% ./rtadmin --user root --password=SOMEPASSWORD
Couldn’t load from the users database.
Can’t call method “fetchrow” on an undefined value at /afs/rcf/apps/RT/sun4x_57/support/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 355.
%

Looks like after 14 hours I’m not quite anywhere near a working RT install
and have a new problem to track down.

Anyone have any idea what this one means?On Fri, 8 Feb 2002, George Warnagiris wrote:

Try logging in to the web interface as root using the password you supplied
during the initial configuration.

George

-----Original Message-----
From: Jeff Blaine [mailto:jblaine@linus.mitre.org]
Sent: Friday, February 08, 2002 3:46 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] What “Config” button? (new install)

Okay, I’ve FINALLY got this running to the point where Apache runs and
I can see the “front” RT page. WHEW.

The Installation Guide states:

Create your users 

In its default configuration, RT uses an internal users database to
keep track of who can access RT and who has what rights within the

system.

One of your first tasks should be to create users for anyone who will
need to work with tickets within RT. 

With the web interface, click on "Config" then "Users" then "Add new
user". When creating new users, be sure to fill in: 

I see no ‘Config’ to click. I see “Username:” and “Password:”

So I returned to the source code README:

THE CLI
-------
        Binaries for the CLI are located in rt/bin
        You've got:

                "rt" (manipulate or display requests)
                "rtadmin" (modify queues, users and acls)

        Both of these programs take --help as an option.

So I try rtadmin:

% ./rtadmin --help
No RT user found. Please consult your RT administrator.

Here’s what rtadmin reports with 3 new lines of debugging code:

% ./rtadmin --help
CLI.pm GetCurrentUser() GECOS: jblaine
CLI.pm GetCurrentUser() ID: RT::CurrentUser=HASH(0x4c99d8)->Id
Back in rtadmin ID: RT::CurrentUser=HASH(0x4c99d8)
No RT user found. Please consult your RT administrator.

Could someone please tell me how to take this next configuration step?


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

This email message may contain information that is confidential and
proprietary to Babcock & Brown or a third party. If you are not the
intended recipient, please contact the sender and destroy the original and
any copies of the original message. Babcock & Brown takes measures to
protect the content of its communications. However, Babcock & Brown cannot
guarantee that email messages will not be intercepted by third parties or
that email messages will be free of errors or viruses.

Jeff,

On a fresh install, there is just one user, root. By default,
the RT root user has no password. The install guide say, in big, bold
letters, that this should be changed and gives an example using
rtadmin.

So, your first login should be with the root user and whatever
password you set. Once you login, you will see a link entitled
"Configuration". This is the config button your referred to.

Jeff,

You forgot the ‘=’ between the --user switch and its value.

-kevin

You forgot the ‘=’ between the --user switch and its value.

I get the same thing with the ‘=’ in the right spot (blush)

% …/…/2.0.11/bin/rtadmin --user=root --password=SOMEPASSWORD
Couldn’t load from the users database.
Can’t call method “fetchrow” on an undefined value at /afs/rcf/apps/RT/sun4x_57/support/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 355.

If I put 2 debug lines in Handle.pm as such:

my $sth = $self->SimpleQuery($query, @bind_values); # NOT MY LINE
print "STH: $sth\n"; # MINE
print "QUERY: $query\n\n"; # MINE

You can see that the 2nd $sth is broken/dead/empty

Bleah… no idea how to debug this.

STH: DBI::st=HASH(0x4cb8a0)
QUERY: SELECT COUNT(ACL.id) FROM ACL, Groups WHERE ((RightScope = ‘System’)) AND ((RightName = ‘AdminUsers’)) AND (((Groups.Name = ‘Everyone’) AND
(PrincipalType = ‘Group’) AND
(Groups.Id = PrincipalId)))

STH:
QUERY: SELECT COUNT(ACL.id) FROM ACL, GroupMembers, Groups WHERE (((((RightScope = ‘System’)) AND ((RightName = ‘AdminUsers’))) OR ((RightName = ‘SuperUser’) AND (RightScope = ‘System’) AND (RightAppliesTo = 0))) AND (((ACL.PrincipalType = ‘Group’) AND (ACL.PrincipalId = Groups.Id) AND (GroupMembers.GroupId = Groups.Id) AND (GroupMembers.UserId = ))))
Can’t call method “fetchrow” on an undefined value at /afs/rcf/apps/RT/sun4x_57/support/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 357.

Jeff Blaine [mailto:jblaine@linus.mitre.org] writes:

Could someone please tell me how to take this next configuration step?

This is detailed in the Installation guide
(http://www.fsck.com/rtfm/article.html?id=2) in the post-installation
configuration. specificly, you want the first entry, as described in:
http://www.fsck.com/rtfm/factoid.html?id=9

of course, if you’re having command line troubles, you should be able
to use the default password (see below) with the web interface.

“Ferguson, Kevin” KFerguso@chi.navtech.com writes:

On a fresh install, there is just one user, root. By default,
the RT root user has no password. The install guide say, in big, bold
letters, that this should be changed and gives an example using
rtadmin.

uh, no. root’s default password is “password” (no quotes)
see also http://www.fsck.com/rtfm/factoid.html?id=9

seph

of course, if you’re having command line troubles, you should be able
to use the default password (see below) with the web interface.

Indeed, the web interface is all I can get to work (now). Thanks for
the correction. I thought I was losing my mind (well, I am, but).

it really sounds like the perl DBI module didn’t get correctly
installed. what does “make testdeps” in the source tree say?
alternitively, does the command “perl -e ‘use DBI 1.18;’” produce an
error? (no output is correct from the perl command)

seph

Jeff Blaine jblaine@linus.mitre.org writes:

All tests pass (I spent all day doing it… I assure you I’m positive :slight_smile:

% perl -e ‘use DBI 1.18;’
%

hum, another shot in the dark… is the client still setguid? if it’s
not you’ll get all sorts of weird connection errors.

seph

jesse@FS -jesse I wonder if his cli lost setgidness --Computer! Tak… 5:29

Jeff Blaine jblaine@linus.mitre.org writes:

-rwxr-sr-x 1 root rt 5197 Feb 8 14:06 mason_handler.fcgi*
-rwxr-sr-x 1 root rt 4692 Feb 8 14:06 mason_handler.scgi*
-rwxr-sr-x 1 root rt 30040 Feb 8 14:06 rt*
-rwxr-sr-x 1 root rt 8919 Feb 8 14:06 rt-mailgate*
-rwxr-sr-x 1 root rt 23918 Feb 8 15:49 rtadmin*
-rwxr-xr-x 1 root rt 4491 Feb 8 14:06 webmux.pl*–On Friday, February 08, 2002 2:32 PM -0800 seph seph@commerceflow.com wrote:

hum, another shot in the dark… is the client still setguid? if it’s
not you’ll get all sorts of weird connection errors.

seph

jesse@FS -jesse I wonder if his cli lost setgidness --Computer! Tak…
5:29

Jeff Blaine jblaine@linus.mitre.org writes:

All tests pass (I spent all day doing it… I assure you I’m positive :slight_smile:

% perl -e ‘use DBI 1.18;’
%

it really sounds like the perl DBI module didn’t get correctly
installed. what does “make testdeps” in the source tree say?
alternitively, does the command “perl -e ‘use DBI 1.18;’” produce an
error? (no output is correct from the perl command)

seph

Jeff Blaine jblaine@linus.mitre.org writes:

If I put 2 debug lines in Handle.pm as such:

my $sth = $self->SimpleQuery($query, @bind_values); # NOT MY LINE
print "STH: $sth\n"; # MINE
print "QUERY: $query\n\n"; # MINE

You can see that the 2nd $sth is broken/dead/empty

Bleah… no idea how to debug this.

======================================================================
======= STH: DBI::st=HASH(0x4cb8a0)
QUERY: SELECT COUNT(ACL.id) FROM ACL, Groups WHERE ((RightScope =
‘System’)) AND ((RightName = ‘AdminUsers’)) AND (((Groups.Name =
‘Everyone’) AND (PrincipalType = ‘Group’) AND (Groups.Id =
PrincipalId)))

STH:
QUERY: SELECT COUNT(ACL.id) FROM ACL, GroupMembers, Groups WHERE
(((((RightScope = ‘System’)) AND ((RightName = ‘AdminUsers’))) OR
((RightName = ‘SuperUser’) AND (RightScope = ‘System’) AND
(RightAppliesTo = 0))) AND (((ACL.PrincipalType = ‘Group’) AND
(ACL.PrincipalId = Groups.Id) AND (GroupMembers.GroupId = Groups.Id)
AND (GroupMembers.UserId = )))) Can’t call method “fetchrow” on an
undefined value at
/afs/rcf/apps/RT/sun4x_57/support/lib/perl5/site_perl/5.6.1/DBIx/Searc
hBuilder/Handle.pm line 357.


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