Re: [rt-users] Missing dependencies?

2016-08-24 Thread John Bako
I recommend reviewing the installation guides on the wiki...
https://rt-wiki.bestpractical.com/wiki/InstallationGuides

--
John Bako
Manager, Scientific Computing
Department of Biology & Center for Genomics and Systems Biology
New York University
212-998-8207 (office)

On Wed, Aug 24, 2016 at 10:08 AM, Alex Hall <ah...@autodist.com> wrote:

> Hello all,
> I've run
> sudo make fixdeps
> a couple times. The first time I did every test it offered, and the second
> time I skipped the external tests. This is after I had to configure CPAN,
> wich I may well have done wrong. Each time I run the fixdeps script, it
> fails with error 274. I see that a few items are missing, but I have no
> clue how to find/install them, and fixdeps isn't doing it. Are there any
> pointers on this? As I mentioned previously, I'm not familiar with Perl or
> how to configure/administer it, so the simpler the better. I'd tell you
> which are missing, but I don't know where to find a list of those items.
> Thanks.
>
> --
> Alex Hall
> Automatic Distributors, IT department
> ah...@autodist.com
>
> -
> RT 4.4 and RTIR training sessions, and a new workshop day!
> https://bestpractical.com/training
> * Boston - October 24-26
> * Los Angeles - Q1 2017
>
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

Re: [rt-users] Recover original scripts in RT

2016-07-15 Thread John Bako
Hello Yugi,

What version of RT are you running?  A screenshot of the scrip in RT 4.4 is
attached.  Do you also need the Template?  It may easiest for you configure
a new installation on a test machine and check the scrips.  Best, John


​


--
John Bako
Manager, Scientific Computing
Department of Biology & Center for Genomics and Systems Biology
New York University
212-998-8207 (office)

On Fri, Jul 15, 2016 at 1:32 PM, yugi <uriboxmob...@gmail.com> wrote:

> Hi
> I have one RT that is in production, that had suffer some deletes on the
> scripts that do the send of the emails …
>
> I tried to create new ones to do RT send emails in CC and BCC again but
> without success.
> The platform itself is working great and i can send and receive emails
> from it when i do a comment or respond to a ticket.
> The problem is when i want to send a response or a comment and want CC or
> BCC ….
>
> This is a platform that was not created by me and this problem was caused
> by the last people that managed the RT.
> I would like to recover the original scripts in a way to try to fix the
> problem …
>
> Is this possible ?
> Anyone have tried, and can give me a tip???
>
> thank s
> -
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Los Angeles - September, 2016
>
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


Re: [rt-users] Issues with RTExternalAuth

2016-07-06 Thread John Bako
>From the stack trace is looks like you may not be connecting to your ldap
server.  Use use ldapsearch to confirm that you're connecting.  Here's a
sample of a ldapsearch to my active directory domain.

$ ldapsearch -LLL -ZZ -y password.txt -D
CN=mybindaccount,OU=SERVICE,OU=ACCTS,DC=AD,DC=NYU,DC=EDU -h ad.nyu.edu -b
OU=ACCTS,DC=AD,DC=NYU,DC=EDU
'(&(distinguishedName=OU=BIOG,OU=FAS,OU=WSQ,OU=USERS,OU=ACCTS,DC=ad,DC=nyu,DC=edu))'

For Red Hat 'yum install openldap-clients' will install ldapsearch.  I
don't know what the equivalent is for OpenBSD.

--
John Bako
Manager, Scientific Computing
Department of Biology & Center for Genomics and Systems Biology
New York University
212-998-8207 (office)

On Thu, Jun 30, 2016 at 8:30 AM, Albert Shih <albert.s...@obspm.fr> wrote:

> Hi every one.
>
> I try to run a RT 4.4.0.
>
> The
>
>   RT::Authen::ExternalAuth
>
> don't seem to work correctly.
>
> I already check on this mailing list, and try the patch I seem. Nothing
> seem to work correctly.
>
> Here my RT_SiteConfig.pm
>
>   Set($WebExternalAuth, 1 );
>   Set($ExternalAuthPriority,  ['PLM']);
>   Set($ExternalInfoPriority,  ['PLM']);
>   Set($ExternalServiceUsesSSLorTLS,'0');
>   Set($AutoCreateNonExternalUsers, '1');
>   Set($ExternalSettings, { 'PLM' => {   'type' => 'ldap',
> 'server' => '*',
> 'user' => 'uid=nss,o=*',
> 'pass' => '*',
> 'base' => '*',
> 'filter' => '(objectClass=person)',
> 'd_filter' => '',
> 'tls' => '0',
> 'ssl_version' => '3',
> 'net_ldap_args' =>   [ 'version => 3', ],
> 'attr_match_list' =>   [ 'Name',  'EmailAddress', ],
> 'attr_map' =>{  'Name' => 'mail',  'EmailAddress' => 'mail',
> 'Organization' => 'ou',  'RealName' => 'displayName',  'WorkPhone' =>
> 'telephoneNumber',  'City' => 'l', },
>   }});
>
> in that case I can authenticate in local without problem. But not against
> my LDAP server.
>
> If I add a
>
> Set($ExternalAuth, 1 );
>
> I can't authenticate at all (either local or LDAP) and I get something
> like :
>
>
> Jun 30 14:22:37 rt RT: [5913] Expected 'PeerHost' at
> /usr/local/lib/perl5/site_perl/Net/LDAP.pm line 164.  Stack:
>  [/usr/local/lib/perl5/site_perl/Carp.pm:167]
>  [/usr/local/lib/perl5/site_perl/IO/Socket/IP.pm:485]
>  [/usr/local/lib/perl5/site_perl/IO/Socket/IP.pm:386]
>  [/usr/local/lib/perl5/5.20/mach/IO/Socket.pm:49]
>  [/usr/local/lib/perl5/site_perl/IO/Socket/IP.pm:353]
>  [/usr/local/lib/perl5/site_perl/Net/LDAP.pm:164]
>  [/usr/local/lib/perl5/site_perl/Net/LDAP.pm:122]
>  [/usr/local/lib/perl5/site_perl/RT/Authen/ExternalAuth/LDAP.pm:646]
>  [/usr/local/lib/perl5/site_perl/RT/Authen/ExternalAuth/LDAP.pm:510]
>  [/usr/local/lib/perl5/site_perl/RT/Authen/ExternalAuth.pm:581]
>  [/usr/local/lib/perl5/site_perl/RT/Authen/ExternalAuth.pm:328]
>  [/usr/local/share/rt44/html/Elements/DoAuth:57]
>  [/usr/local/lib/perl5/site_perl/RT/Interface/Web.pm:308]
>  [/usr/local/share/rt44/html/autohandler:53]
>
> I running a RT 4.4.0 under FreeBSD.
>
> Any idea ?
>
> Regards
>
> JAS
> --
> Albert SHIH
> DIO bâtiment 15
> Observatoire de Paris
> 5 Place Jules Janssen
> 92195 Meudon Cedex
> France
> Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
> xmpp: j...@obspm.fr
> Heure local/Local time:
> jeu 30 jui 2016 14:24:34 CEST
> -
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Los Angeles - September, 2016
>
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


Re: [rt-users] reinstall Request Tracker

2016-07-06 Thread John Bako
In addition to reinstalling the code, you'll need to wipe and reinitialize
the database.  See step 6a in
https://docs.bestpractical.com/rt/4.4.1/README.html.

--
John Bako
Manager, Scientific Computing
Department of Biology & Center for Genomics and Systems Biology
New York University
212-998-8207 (office)

On Wed, Jul 6, 2016 at 9:01 AM, Dunbar, Brian <brian.dun...@von.ca> wrote:

> I get errors in my RT-Mailgate and I don’t see a way to fix it. I copied
> the contents of RT_SiteConfig.pm and 000-default.conf from apache to a text
> file.
>
>
>
> Would it make sense to apt-get purge request-tracker then reinstall so I
> have a clean installation?
>
>
>
> The server is not in production yet.
>
> Thanks for any input.
>
>
>
> Regards
>
> Brian
>
> -
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Los Angeles - September, 2016
>
>
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


Re: [rt-users] Installing RT on Centos7

2016-04-07 Thread John Bako
Send the output of the following commands run as root:

# yum repolist
# rpm -qa | grep -i perl

--
John Bako
Manager, Scientific Computing
Department of Biology & Center for Genomics and Systems Biology
New York University
212-998-8207 (office)

On Thu, Apr 7, 2016 at 10:01 AM, Yanni <y.goudetsi...@mail.cryst.bbk.ac.uk>
wrote:

> Unfortunately it fails at the end.
>
> /usr/bin/perl -MCPAN -e 'install File::Which'
> outputs: Can't locate object method "install" via package "File::Which" at
> -e line 1
>
> /usr/bin/perl -MCPAN -e 'install Plack::Handler::Starlet'
> seems to start building the module but fails in the end. The last few
> lines of the output is:
>
> Test Summary Report
> ---
> t/11multi-sockets.t  (Wstat: 25088 Tests: 0 Failed: 0)
>   Non-zero exit status: 98
>   Parse errors: No plan found in TAP output
> Files=14, Tests=130, 19 wallclock secs ( 0.06 usr  0.01 sys +  2.28 cusr
> 0.70 csys =  3.05 CPU)
> Result: FAIL
> Failed 1/14 test programs. 0/130 subtests failed.
> make: *** [test_dynamic] Error 255
>   KAZUHO/Starlet-0.29.tar.gz
>   /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>   reports KAZUHO/Starlet-0.29.tar.gz
> Running make install
>   make test had returned bad status, won't install without force
>
> Should I force it or is it not recommended?
>
>
>
>
>
> On 07/04/16 13:12, Bob Shaker wrote:
>
>> The way I do it at this point is through CPAN semi-manually.
>>
>> /usr/bin/perl -MCPAN -e 'install File::Which'
>>
>> Then repeat that for the other two packages. If these still do not build
>> you might have to do additional configuration.
>>
>> -Original Message-
>> From: Yanni [mailto:y.goudetsi...@mail.cryst.bbk.ac.uk]
>> Sent: Thursday, April 7, 2016 6:07 AM
>> To: Bob Shaker <rsha...@ardencompanies.com>;
>> rt-users@lists.bestpractical.com; ia...@inf.ed.ac.uk
>> Subject: Re: [rt-users] Installing RT on Centos7
>>
>> Thanks Bod
>>
>> I noticed that at the end of the "make fixdeps" output it said:
>>
>> You haven't configured the CPAN shell yet.
>> Please run `/usr/bin/perl -MCPAN -e shell` to configure it.
>> make: *** [fixdeps] Error 1
>>
>> So I did exaclty that and accepted all the defaults. I then run "make
>> fixdeps" again and it installed most dependencies except 3 shown below:
>>
>> SMIME missing dependencies:
>>   File::Which ...MISSING
>> GPG missing dependencies:
>>   File::Which ...MISSING
>> CORE missing dependencies:
>>   Plack::Handler::Starlet ...MISSING
>>
>> Could you please let me know how I can manually install them?
>>
>> Thank you
>>
>>
>> On 06/04/16 13:26, Bob Shaker wrote:
>>
>>> You should continue through the process as normal.
>>> Install the dependencies through make fixdeps, and after that process
>>> finishes, manually install anything that did not automatically resolve
>>> itself.
>>>
>>> -Original Message-
>>> From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On
>>> Behalf Of Yanni
>>> Sent: Wednesday, April 6, 2016 7:53 AM
>>> To: rt-users@lists.bestpractical.com
>>> Subject: [rt-users] Installing RT on Centos7
>>>
>>> Hello
>>>
>>> I'm trying to install RT 4.4 on Centos7 but I'm stuck on: make testdeps.
>>> Almost all dependencies are marked as MISSING.
>>>
>>> Can someone please tell me what do I have to do, so that I can carry on
>>> with the installation?
>>>
>>> Many thanks
>>>
>>>
>>>
>>>
>>>
>>> -
>>> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
>>> * Washington DC - May 23 & 24, 2016
>>>
>>> 
>>>
>>> ARDEN
>>> A Global Company
>>> Celebrating over 50 years of making your life more comfortable!
>>>
>>> This message may contain confidential and/or privileged information. If
>>> you are not the addressee or authorized to receive this for the addressee,
>>> you must not use, copy, disclose, or take any action based on this message
>>> or any information herein. If you have received this message in error,
>>> please advise the sender immediately by reply e-mail and delete this
>>> message.
>>>
>>> This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus

Re: [rt-users] rt-ldapimport user updates failing

2016-03-19 Thread John Bako
Apologies to the list... The problem actually was the mail attribute for a
few users in our active directory.  Thanks anyway, John

--
John Bako
Manager, Scientific Computing
Department of Biology & Center for Genomics and Systems Biology
New York University
212-998-8207 (office)

On Thu, Mar 17, 2016 at 1:28 PM, John Bako <john.b...@nyu.edu> wrote:

> Hi,
>
> rt-dapimport successfully imported users, but user updates fail on
> subsequent runs with the following error:
>
> [23104] [Thu Mar 17 17:12:28 2016] [debug]: User xyz123 already exists as
> 6, updating their data
> (/var/www/site_tickets_bio_nyu_edu/rt4/sbin/../lib/RT/LDAPImport.pm:857)
> [23104] [Thu Mar 17 17:12:28 2016] [debug]: User Nobody: Can not modify
> system users
> User Nobody: Can not modify system users
> User Nobody: Invalid syntax for email address
> (/var/www/site_tickets_bio_nyu_edu/rt4/sbin/../lib/RT/LDAPImport.pm:860)
>
>
> I'm running the import as root and I can't find a user named "Nobody" in
> RT if I wanted to assigned privileges.
>
> Thanks, John
>
> --
> John Bako
> Manager, Scientific Computing
> Department of Biology & Center for Genomics and Systems Biology
> New York University
> 212-998-8207 (office)
>
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] rt-ldapimport user updates failing

2016-03-19 Thread John Bako
Hi,

rt-dapimport successfully imported users, but user updates fail on
subsequent runs with the following error:

[23104] [Thu Mar 17 17:12:28 2016] [debug]: User xyz123 already exists as
6, updating their data
(/var/www/site_tickets_bio_nyu_edu/rt4/sbin/../lib/RT/LDAPImport.pm:857)
[23104] [Thu Mar 17 17:12:28 2016] [debug]: User Nobody: Can not modify
system users
User Nobody: Can not modify system users
User Nobody: Invalid syntax for email address
(/var/www/site_tickets_bio_nyu_edu/rt4/sbin/../lib/RT/LDAPImport.pm:860)


I'm running the import as root and I can't find a user named "Nobody" in RT
if I wanted to assigned privileges.

Thanks, John

--
John Bako
Manager, Scientific Computing
Department of Biology & Center for Genomics and Systems Biology
New York University
212-998-8207 (office)
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016