[rt-users] SideBySideView Extension install and usage questions

2010-11-03 Thread Susan McClure

I am using RT 3.8.8 and adding the plugin called
Extension-SideBySideView.

The install gives a warning when I run "perl Makefile.PL"


Warning: the following files are missing in your kit:
lib/RT/Extension/SideBySideView/CustomView.pm
Please inform the author.
Writing Makefile for RT::Extension::SideBySideView


In fact, that .pm file is not in the package but I cannot find
any info about it searching RT and Google etc.

Can anyone help?

I am also interested in ANY information about how to setup and
actually use the SideBySideView function once installed.
Ideally I think I would want a System Preferences setting
that defines a ticket display or "RT at a Glance" format
that uses SideBySide viewing.

Thanks

--
Susan K. McClure
Rice University

Voice: 713.348.4852
Email: smccl...@rice.edu


[rt-users] Extension cloneticket-withdata install on 3.8.8

2010-11-19 Thread Susan McClure

I am having problems with the install of the Extension
cloneticket-withdata (using 892fcbe source ), on RT 3.8.8

When I run:  perl Makefile.PL
I receive the error:

Can't locate inc/Module/Install.pm in @INC (@INC contains: 
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl 
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl 
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 
.) at Makefile.PL line 1.


My perl includes:
perl -V


Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
osname=linux, osvers=2.6.18-128.1.10.el5, 
archname=x86_64-linux-thread-multi
uname='linux ls20-bc2-13.build.redhat.com 2.6.18-128.1.10.el5 #1 
smp wed apr 29 13:53:08 edt 2009 x86_64 x86_64 x86_64 gnulinux '


..

Built under linux
  Compiled at Jul  2 2009 05:49:38
  @INC:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.8
.


Any suggestions on how to fix it??  From what I read, 
cloneticket-withdata is the

updated/improved version of the old Extension-ForkTicket.

Thanks


[rt-users] RT 3.8.8 and Calendar Extension

2010-11-30 Thread Susan McClure
I am installing RT 3.8.8 and the RTx-Calendar 0.07
extension.  I am not sure exactly what it is supposed
to do or how it should look. The README references
a site that no longer exists
(http://gaspard.mine.nu/dotclear/index.php?tag/rtx-calendar)

Does anyone have any experience with using it they would
care to share, or any other reference information about
its use?

Thanks
-- 
Susan K. McClure
Sr. Systems Administrator
Information Technology
Rice University

Voice: 713.348.4852
Email: smccl...@rice.edu


[rt-users] GnuPG no default secret key

2010-12-17 Thread Susan McClure

I am running 3.8.8 on RHEL5 and was trying to setup and use
gpg encryption and signing.  I hoped to allow some users, on some
queues, to encrypt and/or sign messages (specifically for RTIR queues)

After setting up a key for myself, and setting my key in my Preferences,
I could not create a ticket.

The error log shows:

[Fri Dec 17 19:12:58 2010] [error]: gpg: no default secret key: secret 
key not available
gpg: signing failed: secret key not available 
(/opt/opt.CORE/rt-3.8.8/rhel5/bin/../lib/RT/Crypt/GnuPG.pm:498)


So I moved aside the secring.gpg file, and dropped back to the old 
(empty) one but
I still receive the error.  In my preferences, it still shows my 
Cryptography->Preferred Key.


Any ideas on how to change my Cryptography preferences back to NO KEY ?

My RT_SiteConfig.pm relevant options are:


 GnuPG  from rt1 setup
Set( %GnuPG,
Enable => 1,
OutgoingMessagesFormat => 'RFC', # Inline
AllowEncryptDataInDB   => 0,

RejectOnMissingPrivateKey => 1,
RejectOnBadData   => 1,
);

Set(%GnuPGOptions,
homedir => '/usr/site/rt/var/data/gpg',

# URL of a keyserver
keyserver => 'hkp://pgp.x.edu',

# enables the automatic retrieving of keys when encrypting
'auto-key-locate' => 'keyserver',

# enables the automatic retrieving of keys when verifying signatures
'keyserver-options' => 'auto-key-retrieve',
);

Any info on setting up GnuPG and setting up keys for individual users 
would be

appreciated.

Thanks,
Susan McClure



[rt-users] Users Modify.html error with 3.8.8

2011-02-17 Thread Susan McClure

I am attempting to upgrade to rt 3.8.8 and when I try, as SuperUser to
Select a user's record under Config=>Users I receive this error:

RT::User::CurrentUserRequireToSetPassword Unimplemented in 
HTML::Mason::Commands. 
(/opt/opt.CORE/rt-3.8.8/rhel5/share/html/Admin/Users/Modify.html line 353)

I tried restarting the webserver and clearing the Mason cache.

Any ideas please?

Thanks

Susan McClure




Re: [rt-users] Users Handbook

2011-04-20 Thread Susan McClure

Kenn

Make me a "me three" for the Handbook as well. Thanks !


Susie


[rt-users] Mobile UI differences versus full web interface

2011-09-20 Thread Susan McClure
Hi,

We are using the Mobile Interface more and more frequently and some
users have complained about differences in the Mobile UI versus the full
interface.  Can anyone
tell me if any of these  differences can be fixed or modified to make
them behave
like the full interface?

(RT 3.8.5 with Apache SSL)

1) The Mobile Quicksearch box will not find any resolved tickets.

Our full web interface will return resolved tickets in the Quick Search
box  (we don't have any modifications to share/html/Elements/Quicksearch
 ==>  local/html/Elements/Quicksearch; as per the QuickSearch Wiki
item).  The mobile interface returns
0 results when you enter a resolved ticket number in the QuickSearch box.

2)  Mobile interface doesn't allow you to edit any attributes.
The Mobile interface
gives you a "basic" view of any ticket, but unlike the full web
interface, you can't
change any of the attributes (like Subject, status, Queue, Priority etc)

3) Mobile interface doesn't know you Signature, as defined in your RT
preferences.

The signature you defined in your RT preferences, is not used for
comments or
correspondence through the mobile interface. Can it be used?

I find these differences with devices:
 -  Palm Pixi+ and latest WebOS
 -  Apple iPhone and Safari

Thanks,

Susan McClure

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26 & 27, 2011
*  San Francisco, CA, USA  October 18 & 19, 2011
*  Washington DC, USA  October 31 & November 1, 2011
*  Melbourne VIC, Australia  November 28 & 29, 2011
*  Barcelona, Spain  November 28 & 29, 2011


[rt-users] RT 3.8.11 and AT 2.0.0b upgrade or uninstall and install fresh

2012-01-11 Thread Susan McClure
I have a similar question as Kevin Squire on 12/08/2011 till today.

I tried to install AT 1.2.4b1 on my old system without much success, but
now I have some AT
tables, groups etc in my DB (Postgresql)

I am trying to install AT 2.0.0b from github onto RT 3.8.11 upgraded
system.
I do not have any AT files/scrips in the RT installation.

If I try to do a "make initdb" it fails with the same error:

> Now populating database schema.
> DBD::Pg::st execute failed: ERROR:  relation "at_types" already exists
> ...returned with error: 65280
> make: *** [initdb] Error 255

If I try to do a "make dropdb" to drop the old tables etc, it does not give
any error, or any output, but neither does it drop any AT tables (like
at_assets, at_types, at_ips, at_ports).

I tried a "make realclean" and then tried to install again WITHOUT doing
an initdb.  I ran the upgrade :

>  /usr/site/rt/sbin/rt-setup-database --dba postgres --prompt-for-dba-password 
> --action schema --datadir etc/upgrade/1.2.4

> Now populating database schema.
> Couldn't finish 'schema' step.
> 
> ERROR: Couldn't find schema file(s) '*'

and yes, there is NO schema.Pg file (only mysql and SQLite )

How can I do a complete "uninstall" of Asset Tracker, AND remove the
existing Asset Tracker items from the DB and start over with a fresh
install??

If you tell me all the tables, templates, AT global group and user
rights etc, I could
try to manually drop all the  AT parts from the current DB.

Thanks.


Susan McClure
smccl...@rice.edu

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012


[rt-users] RT ExternalAuth LDAP and Adding Local users in 3.8.2

2009-06-02 Thread Susan McClure
I have been reading the postings about RT-Authen-ExternalAuth
but am confused on what appears to be some conflicting setup
information.

I am using:
  RT 3.8.2
  RT-Authen-ExternalAuth 0.08

I would like to use LDAP for authentication and information first,
and that part seems to work OK.
But  I also would like to:
  - add LOCAL users to RT internal DB (i.e; test and test-admin type
accounts)
  - NOT autocreate a new RT account, if we receive an email from
a user that is unknown in local RT or LDAP.
  - NOT make multiple accounts for a user's multiple email aliases.
(Our ldap contains several email addresses for each user (uid) )


When I try to add a local account through the Web(using Root,
Configuration->Users->Create). I receive the error "Name in Use"
The username I am trying to create is NOT in existence, but the email
for that new account IS.

My  error_log shows:
==
> [Tue Jun  2 17:45:21 2009] [debug]: User Check Failed :: ( My_LDAP ) root 
> User not found 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:318)
> [Tue Jun  2 17:45:21 2009] [debug]: Autohandler called ExternalAuth. 
> Response: (0, No User)
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)
> [Tue Jun  2 17:45:21 2009] [info]: Successful login for root from 
> 168.7.56.227 (/usr/site/rt-3.8/PROD/share/html/autohandler:276)
> [Tue Jun  2 17:46:40 2009] [debug]: /ServiceUpdate/Elements/Header calls old 
> style callback, use $m->callback 
> (/usr/site/rt-3.8/PROD/share/html/Elements/Callback:51)
> [Tue Jun  2 17:46:40 2009] [crit]: HasRight called with no valid object 
> (/usr/site/rt-3.8/PROD/bin/../lib/RT/Principal_Overlay.pm:322)
> [Tue Jun  2 17:51:36 2009] [debug]: 
> RT::Authen::ExternalAuth::CanonicalizeUserInfo called by RT::User 
> /opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm
>  20 with: Address1: , Address2: , AuthSystem: , City: , Comments: Admin 
> Authority Level Account for RT, ContactInfoSystem: , Country: , Disabled: 0, 
> EmailAddress: smccl...@rice.edu, EmailEncoding: , ExternalAuthId: , 
> ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , Lang: 
> en, MobilePhone: , Name: smcclure-admin, NickName: Smcclure-Admin,
> Organization: , PagerPhone: , Privileged: 1, RealName: Susan McClure, 
> Signature: , State: ,
> WebEncoding: , WorkPhone: , Zip:  
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:450)
> [Tue Jun  2 17:51:36 2009] [debug]: Attempting to get user info using this 
> external service: My_LDAP 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:458)
> [Tue Jun  2 17:51:36 2009] [debug]: Attempting to use this canonicalization 
> key: Name 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:472)
> [Tue Jun  2 17:51:36 2009] [debug]: LDAP Search ===  Base: 
> ou=People,dc=rice,dc=edu == Filter: (&(objectclass=*)(uid=smcclure-admin)) == 
> Attrs: 
> Houston,cn,TX,mail,gecos,postalAddress,postalCode,telephoneNumber,uid,physicalDeliveryOfficeName,uid
>  
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:195)
> [Tue Jun  2 17:51:36 2009] [debug]: Attempting to use this canonicalization 
> key: EmailAddress 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:472)
> [Tue Jun  2 17:51:36 2009] [debug]: LDAP Search ===  Base: 
> ou=People,dc=rice,dc=edu == Filter: 
> (&(objectclass=*)(mail=smccl...@rice.edu)) == Attrs: 
> Houston,cn,TX,mail,gecos,postalAddress,postalCode,telephoneNumber,uid,physicalDeliveryOfficeName,uid
>  
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:195)
> [Tue Jun  2 17:51:36 2009] [info]: 
> RT::Authen::ExternalAuth::CanonicalizeUserInfo returning
> Address1: 6100 Main Street, Address2: , AuthSystem: , City: , Comments: Admin 
> Authority Level Account for RT, ContactInfoSystem: , Country: , Disabled: 0, 
> EmailAddress: smccl...@rice.edu, EmailEncoding: , ExternalAuthId: smcclure, 
> ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , Lang: 
> en, MobilePhone: , Name: smcclure, NickName: Smcclure-Admin,
> Organization: 222 Mudd Building, PagerPhone: , Privileged: 1, RealName: 
> McClure, Susan, Signature: , State: , WebEncoding: , WorkPhone: 713-348-4852, 
> Zip: 77005 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536)
==

My Current RT_SiteConfig.pm for LDAP

[rt-users] RT ExternalAuth LDAP and Adding Local users in 3.8.2

2009-06-03 Thread Susan McClure
I have been reading the postings about RT-Authen-ExternalAuth
but am confused on what appears to be some conflicting setup
information.

I am using:
  RT 3.8.2
  RT-Authen-ExternalAuth 0.08

I would like to use LDAP for authentication and information first,
and that part seems to work OK.
But  I also would like to:
  - add LOCAL users to RT internal DB (i.e; test and test-admin type
accounts)
  - NOT autocreate a new RT account, if we receive an email from
a user that is unknown in local RT or LDAP.
  - NOT make multiple accounts for a user's multiple email aliases.
(Our ldap contains several email addresses for each user (uid) )


When I try to add a local account through the Web(using Root,
Configuration->Users->Create). I receive the error "Name in Use"
The username I am trying to create is NOT in existence, but the email
for that new account IS.

My  error_log shows:
==
> [Tue Jun  2 17:45:21 2009] [debug]: User Check Failed :: ( My_LDAP ) root 
> User not found 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:318)
> [Tue Jun  2 17:45:21 2009] [debug]: Autohandler called ExternalAuth. 
> Response: (0, No User)
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)
> [Tue Jun  2 17:45:21 2009] [info]: Successful login for root from 
> 168.7.56.227 (/usr/site/rt-3.8/PROD/share/html/autohandler:276)
> [Tue Jun  2 17:46:40 2009] [debug]: /ServiceUpdate/Elements/Header calls old 
> style callback, use $m->callback 
> (/usr/site/rt-3.8/PROD/share/html/Elements/Callback:51)
> [Tue Jun  2 17:46:40 2009] [crit]: HasRight called with no valid object 
> (/usr/site/rt-3.8/PROD/bin/../lib/RT/Principal_Overlay.pm:322)
> [Tue Jun  2 17:51:36 2009] [debug]: 
> RT::Authen::ExternalAuth::CanonicalizeUserInfo called by RT::User 
> /opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm
>  20 with: Address1: , Address2: , AuthSystem: , City: , Comments: Admin 
> Authority Level Account for RT, ContactInfoSystem: , Country: , Disabled: 0, 
> EmailAddress: smccl...@rice.edu, EmailEncoding: , ExternalAuthId: , 
> ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , Lang: 
> en, MobilePhone: , Name: smcclure-admin, NickName: Smcclure-Admin,
> Organization: , PagerPhone: , Privileged: 1, RealName: Susan McClure, 
> Signature: , State: ,
> WebEncoding: , WorkPhone: , Zip:  
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:450)
> [Tue Jun  2 17:51:36 2009] [debug]: Attempting to get user info using this 
> external service: My_LDAP 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:458)
> [Tue Jun  2 17:51:36 2009] [debug]: Attempting to use this canonicalization 
> key: Name 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:472)
> [Tue Jun  2 17:51:36 2009] [debug]: LDAP Search ===  Base: 
> ou=People,dc=rice,dc=edu == Filter: (&(objectclass=*)(uid=smcclure-admin)) == 
> Attrs: 
> Houston,cn,TX,mail,gecos,postalAddress,postalCode,telephoneNumber,uid,physicalDeliveryOfficeName,uid
>  
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:195)
> [Tue Jun  2 17:51:36 2009] [debug]: Attempting to use this canonicalization 
> key: EmailAddress 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:472)
> [Tue Jun  2 17:51:36 2009] [debug]: LDAP Search ===  Base: 
> ou=People,dc=rice,dc=edu == Filter: 
> (&(objectclass=*)(mail=smccl...@rice.edu)) == Attrs: 
> Houston,cn,TX,mail,gecos,postalAddress,postalCode,telephoneNumber,uid,physicalDeliveryOfficeName,uid
>  
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:195)
> [Tue Jun  2 17:51:36 2009] [info]: 
> RT::Authen::ExternalAuth::CanonicalizeUserInfo returning
> Address1: 6100 Main Street, Address2: , AuthSystem: , City: , Comments: Admin 
> Authority Level Account for RT, ContactInfoSystem: , Country: , Disabled: 0, 
> EmailAddress: smccl...@rice.edu, EmailEncoding: , ExternalAuthId: smcclure, 
> ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , Lang: 
> en, MobilePhone: , Name: smcclure, NickName: Smcclure-Admin,
> Organization: 222 Mudd Building, PagerPhone: , Privileged: 1, RealName: 
> McClure, Susan, Signature: , State: , WebEncoding: , WorkPhone: 713-348-4852, 
> Zip: 77005 
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536)
==

My Current RT_SiteConfig.pm for LDAP

[rt-users] AT 1.2.4b1 with RT 3.8.4 install fails Can't locate object method "ACLEquivalenceObjects" via package "RTx::AssetTracker::System"

2009-09-01 Thread Susan McClure
I am installing RT 3.8.4 on RHE Linux 5.  I have added many extensions OK,
but when I try to install Asset Tracker 1.2.4b1, the make install fails  
after
populating AssetTracker database schema with the
error:
==
> Now populating AssetTracker database schema.
> Creating database schema.
> Done setting up database schema.
> Now inserting AssetTracker database ACLs
> WARNING:  sequence "at_types_id_seq" only supports USAGE, SELECT, and 
> UPDATE privileges
> WARNING:  sequence "at_assets_id_seq" only supports USAGE, SELECT, and 
> UPDATE privileges
> WARNING:  sequence "at_ips_id_seq" only supports USAGE, SELECT, and 
> UPDATE privileges
> WARNING:  sequence "at_ports_id_seq" only supports USAGE, SELECT, and 
> UPDATE privileges
> Done setting up database ACLs.
> Now inserting AssetTracker data
> Creating Superuser  ACL...done.
> [Tue Sep  1 15:54:59 2009] [debug]: About to think about scrips for 
> transaction #98 (/usr/site/rt-3.8/local/lib/RT/Transaction_Overlay.pm:163)
> [Tue Sep  1 15:54:59 2009] [debug]: About to think about scrips for 
> transaction #99 (/usr/site/rt-3.8/local/lib/RT/Transaction_Overlay.pm:163)
> Creating groups...85.86.done.
> [Tue Sep  1 15:54:59 2009] [crit]: Can't locate object method 
> "ACLEquivalenceObjects" via package "RTx::AssetTracker::System" at 
> /usr/site/rt-3.8/local/lib/RT/Principal_Overlay.pm line 327,  
> line 273. (/usr/site/rt-3.8/local/lib/RT.pm:377)
> Can't locate object method "ACLEquivalenceObjects" via package 
> "RTx::AssetTracker::System" at 
> /usr/site/rt-3.8/local/lib/RT/Principal_Overlay.pm line 327,  
> line 273.
> Creating types...make: *** [initdb] Error 255
==

I ran the following for the install:

- export RTHOME=/usr/site/rt-3.8
- export PERL5LIB=/usr/site/postgresql/lib

- ./configure --prefix=/usr/site/rt-3.8 --with-db-type=Pg 
--with-db-admin=postgres --with-db-database=rt38 
--with-rt-local=/usr/site/rt-3.8/local 
--with-rt-localhtml=/usr/site/rt-3.8/share/html 
--with-rt-lib=/usr/site/rt-3.8/local/lib

- make

- make install

I can only find a couple recent Asset Tracker mailing list questions, 
and they just mentioned getting an
installing the new package, 1.2.4b1 and it worked.

Any suggestions??

Thanks,
Susie McClure
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] [rt-user] PATCH: RT.pm.in for MasonComponentRoot

2009-09-15 Thread Susan McClure
Was this ever resolved or determined to be a bug?

I am experiencing the same thing, installing RT 3.8.4, but when I edit 
my lib/RT.pm
file to make the Mason components absolute paths, I still have the error:


[Tue Sep 15 19:17:32 2009] [info] Server: Apache/2.2.3, Interface: 
mod_ssl/2.2.3, Library: OpenSSL/0.9.8e-fips-rhel5
[Tue Sep 15 19:17:32 2009] [notice] Apache/2.2.3 (Red Hat) configured -- 
resuming normal operations
[Tue Sep 15 19:17:32 2009] [info] Server built: Jul 15 2009 09:02:25
[Tue Sep 15 19:17:32 2009] [debug] prefork.c(991): AcceptMutex: sysvsem 
(default: sysvsem)
[Wed Sep 16 00:17:50 2009] [warning]: [Mason] Cannot resolve file to 
component: /usr/site/rt-3.8/share/html/index.html (is file outside 
component root?) at 
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 852. 
(/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:852)
=

I configured with:

 ./configure --prefix=/usr/site/rt-3.8 --with-db-type=Pg 
--with-db-dba=postgres --with-db-database=rt38 --with-web-user=cwis 
--with-web-group=cwis --with-web-handler=modperl2 
--with-apachectl=/usr/sbin --enable-gd --enable-graphviz --enable-gpg


prefix /usr/site/rt-3.8 resolves to absolute path:  
/opt/opt.CORE/rt-3.8/rhel5

So I changed my lib/RT.pm to have:
   lib/RT.pm  ..
...
> # END BPS TAGGED BLOCK }}}
>
> use strict;
> use warnings;
> package RT;
>
> use File::Spec ();
> use Cwd ();
> use vars qw($Config $System $SystemUser $Nobody $Handle $Logger 
> $_INSTALL_MODE);
>
> our $VERSION = '3.8.4';
>
> #our $BasePath = '/usr/site/rt-3.8/';
> our $BasePath = '/opt/opt.CORE/rt-3.8/rhel5/';
> our $EtcPath = 'etc';
> our $BinPath = 'bin';
> our $SbinPath = 'sbin';
> our $VarPath = 'var';
>
>> our $LocalPath = 'local';
>> our $LocalEtcPath = 'local/etc';
>> our $LocalLibPath   =   'local/lib';
>> our $LocalLexiconPath = 'local/po';
>> our $LocalPluginPath = $LocalPath."/plugins";
>>
>> # $MasonComponentRoot is where your rt instance keeps its mason html 
>> files
>> #our $MasonComponentRoot = 'share/html';
>> our $MasonComponentRoot = '/opt/opt.CORE/rt-3.8/rhel5/share/html';
>>
>> # $MasonLocalComponentRoot is where your rt instance keeps its site-local
>> # mason html files.
>> #our $MasonLocalComponentRoot = 'local/html';
>> our $MasonLocalComponentRoot = '/opt/opt.CORE/rt-3.8/rhel5/local/html';
>>
>> # $MasonDataDir Where mason keeps its datafiles
>> #our $MasonDataDir = 'var/mason_data';
>> our $MasonDataDir = '/opt/opt.CORE/rt-3.8/rhel5/var/mason_data';
>>
>> # RT needs to put session data (for preserving state between connections
>> # via the web interface)
>> #our $MasonSessionDir = 'var/session_data';
>> our $MasonSessionDir = '/opt/opt.CORE/rt-3.8/rhel5/var/session_data';
>>
>> unless (  File::Spec->file_name_is_absolute($EtcPath) ) {
>>
>> # if BasePath exists and is absolute, we won't infer it from 
>> $INC{'RT.pm'}.
>> # otherwise RT.pm will make src dir(where we configure RT) be the 
>> BasePath
>> # instead of the --prefix one
>> unless ( -d $BasePath && 
>> File::Spec->file_name_is_absolute($BasePath) )
>my $pm_path = ( File::Spec->splitpath( $INC{'RT.pm'} ) )[1];
>
># need rel2abs here is to make sure path is absolute, since 
> $INC{'RT.pm'}
># is not always absolute
> $BasePath =
>   File::Spec->rel2abs(
> File::Spec->catdir( $pm_path, File::Spec->updir ) );
> }
>
> $BasePath = Cwd::realpath( $BasePath );
>
> for my $path ( qw/EtcPath BinPath SbinPath VarPath LocalPath 
> LocalEtcPath
> LocalLibPath LocalLexiconPath LocalPluginPath 
> MasonComponentRootMasonLocalComponentRoot MasonDataDir 
> MasonSessionDir/ ) {
> no strict 'refs';
> # just change relative ones
> $$path = File::Spec->catfile( $BasePath, $$path )
>   unless File::Spec->file_name_is_absolute( $$path );
> }
> }
>
>
> =head1 NAME
>
> RT - Request Tracker
>
> =head1 SYNOPSIS
>
> A fully featured request tracker package
>
> =head1 DESCRIPTION
>
> =head2 INITIALIZATION
> :
===

===   perl  version =
> r...@rt2:/usr/site/rt-3.8/lib> /usr/bin/perl -V
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
>   Platform:
> osname=linux, osvers=2.6.18-128.1.10.el5, 
> archname=x86_64-linux-thread-multi
> uname='linux ls20-bc2-13.build.redhat.com 2.6.18-128.1.10.el5 #1 
> smp wed apr 29 13:53:08 edt 2009 x86_64 x86_64 x86_64 gnulinux '
> config_args='-des -Doptimize=-O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m64 -mtune=generic -Dversion=5.8.8 
> -Dmyhostname=localhost -dperladmin=r...@localhost -Dcc=gcc -Dcf_by=Red 
> Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64 
> /lib64 /usr/lib64 -Dprivlib=/us

Re: [rt-users] AT 1.2.4b1 with RT 3.8.4 install fails Can't locate

2009-09-18 Thread Susan McClure
Hi,
I am finally back to working on this... but I am now trying to install 
AT 1.2.4b1 on
RT 3.8.5 on a RHE Linux system.  I am still having the failure, after 
modifying
the  /opt/rt3/local/lib/RTx/AssetTracker/System.pm file as suggested.  I 
still fail.
Do you have any other suggestions, esp. with 3.8.5 ?

I modified it after the "make" and before the "make install" but still 
fail with
similar error:

> make[1]: Leaving directory `/opt/opt.CORE/rt-3.8/src/AT_1.2.4b1'
> /usr/bin/perl /opt/rt3/local/sbin//at-setup-database --action init 
> --datadir ./etc/AssetTracker/ --dba postgres --prompt-for-dba-password
> Name "RT::DatabaseHost" used only once: possible typo at 
> /opt/rt3/local/sbin//at-setup-database line 221.
> In order to create or update your RT database,this script needs to 
> connect to your Pg instance on localhost as postgres.
> Please specify that user's database password below. If the user has no 
> database
> password, just press return.
>
> Password:
> Now populating AssetTracker database schema.
> Creating database schema.
> Done setting up database schema.
> Now inserting AssetTracker database ACLs
> WARNING:  sequence "at_types_id_seq" only supports USAGE, SELECT, and 
> UPDATE privileges
> WARNING:  sequence "at_assets_id_seq" only supports USAGE, SELECT, and 
> UPDATE privileges
> WARNING:  sequence "at_ips_id_seq" only supports USAGE, SELECT, and 
> UPDATE privileges
> WARNING:  sequence "at_ports_id_seq" only supports USAGE, SELECT, and 
> UPDATE privileges
> Done setting up database ACLs.
> Now inserting AssetTracker data
> Creating Superuser  ACL...done.
> [Fri Sep 18 21:43:31 2009] [debug]: About to think about scrips for 
> transaction #105 (/opt/rt3/lib/RT/Transaction_Overlay.pm:163)
> [Fri Sep 18 21:43:31 2009] [debug]: About to think about scrips for 
> transaction #106 (/opt/rt3/lib/RT/Transaction_Overlay.pm:163)
> Creating groups...77.78.done.
> [Fri Sep 18 21:43:31 2009] [crit]: Can't locate object method 
> "ACLEquivalenceObjects" via package "RTx::AssetTracker::System" at 
> /opt/rt3/lib/RT/Principal_Overlay.pm line 327,  line 323. 
> (/opt/rt3/local/lib/RT.pm:377)
> Can't locate object method "ACLEquivalenceObjects" via package 
> "RTx::AssetTracker::System" at /opt/rt3/lib/RT/Principal_Overlay.pm 
> line 327,  line 323.
> Creating types...make: *** [initdb] Error 255

your suggestion ..

> hi,
> I have been documenting my findings with AT and this problem is solved like
> this:
>
> Creating types...[Tue Jul 21 19:51:34 2009] [crit]: Can't locate object
> method
> "ACLEquivalenceObjects" via package "RTx::AssetTracker::System" at
> /opt/rt3/lib/RT/Principal_Overlay.pm line 327,  line 78.
> (/opt/rt3/lib/RT.pm:377)
> Can't locate object method "ACLEquivalenceObjects" via package
> "RTx::AssetTracker::System" at /opt/rt3/lib/RT/Principal_Overlay.pm line
> 327,
>  line 78.
> make: *** [initdb] Error 255
>
> What we need is to edit this file:
> /opt/rt3/local/lib/RTx/AssetTracker/System.pm
>
> replace /opt/rt3/local/ with your path for rt-local during the configure
> step.
>
> Add at the end of the file, but right before the last line that only has '1'
> in it, this line:
>
> sub ACLEquivalenceObjects { return () };
>
>   

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Time in logs not matching system time

2009-09-25 Thread Susan McClure
I have basically the same problem with the log 5 hours ahead. (I am CDT)
I have a RHE Linux 5 system.
I have tried both of these in the RT_SiteConfig.pm without any change:

Set($Timezone, 'US/Central');
and
Set($Timezone , 'America/Chicago');

Interestingly, when httpd first starts up the log has the correct time,
but as soon as it uses RT, the
timestamp changes ahead 5 hours.
The name change occurs right after the last Apache 2.2.3 info notice
about when the server was
built.

Susie

---
All,

I am seeing a time in the rt log file that is 4 hours in advance of the 
system time  (system time is EDT).


IE

r...@myhelpdesk:/opt/rt3/var/log# date
Fri Sep 25 11:38:41 EDT 2009
r...@myhelpdesk:/opt/rt3/var/log# tail -f rt.log

[Fri Sep 25 15:39:58 2009] [info]: RT::Authen::ExternalAuth::LDAP::GetAuth 
External Auth OK ( HSCIDM_LDAP ): slander 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:139)
[Fri Sep 25 15:39:58 2009] [warning]: disable 
(/opt/rt3/bin/../lib/RT/User_Overlay.pm:1142)

So, the system time is 11:38, while the log time is 15:38 (ok, 15:39...)


My Rt_SiteConfig.pm hasSet($Timezone , 'US/Eastern');

Any one have any idea how to sync these up?

Thanks



___
RT-Users mailing list
RT-Users@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users


End of RT-Users Digest, Vol 66, Issue 88


!DSPAM:8,4abce92498521108712277!



<>___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Cloning all scrips to new queue ?

2009-12-02 Thread Susan McClure
Is there now a way, through the RT GUI, to copy all your scrips
(disabled) to a new queue?

I can do it with psql commands.
I thought there was a new, easier way to do it through the RT GUI
in 3.8; but I can't find that now in the list or online info.

Would RT-Extension-QueueWizard be the best way to do it?  It appears
to want to clone the whole queue to a new queue, can I clone just
the scrips?

I have a "default" queue, RT:Template, with all the scrips we use, all
disabled.  Usually I use psql to copy each scrip into a new queue, after
the queue has been created.

Thanks,
Susie
<>___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com