Re: [rt-users] Error creating tickets

2012-06-22 Thread Al Kay
[Thu Jun 21 21:09:47 2012] [error]: Couldn't create a ticket group of type 
'Requestor' for ticket 879: Could not create group (/opt/rt4/sbi$
[Thu Jun 21 21:09:47 2012] [crit]: Couldn't create ticket groups for ticket 
879. aborting Ticket creation. (/opt/rt4/sbin/../lib/RT/Ticket.$
[Thu Jun 21 21:09:47 2012] [error]: WebRT: Ticket could not be created due to 
an internal error (/opt/rt4/share/html/Elements/Error:82)
[Thu Jun 21 17:13:12 2012] [notice] caught SIGTERM, shutting down
[Thu Jun 21 17:13:09 2012] [notice] Apache/2.2.22 (Ubuntu) 
PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 configured 
$


On Jun 21, 2012, at 5:01 PM, Borngunners borngunn...@aol.com wrote:

 Ticket could not be created due to an internal error


Re: [rt-users] Error creating tickets

2012-06-22 Thread Al Kay
Below is my configuration settings:

# THE BASICS:

Set($rtname, 'University admin Center');
Set($Organization, 'ticket');
Set($CorrespondAddress , 'helpd...@ticket.co.it');
Set($CommentAddress , 'helpd...@ticket.co.it');
Set($Timezone , 'US/Eastern'); # obviously choose what suits you
Set($MinimumPasswordLength, 8);
#Set(@plugins, qw(RT::FM));
#Set(@Plugins, 'RT::FM', 'RT::IR');

Set(@ActiveStatus, qw(new open hold resolved));

# THE DATABASE:

Set($DatabaseType, 'mysql'); # e.g. Pg or mysql

# These are the settings we used above when creating the RT database,
# you MUST set these to what you chose in the section above.

Set($DatabaseUser , 'rtuser');
Set($DatabasePassword , 'wibble');
Set($DatabaseName , 'rt4'); # Ensure this is set to rt4!
Set($DatabaseRTHost, 'localhost');

# THE WEBSERVER:

Set($WebPath , );
Set($WebBaseURL , http://helpdesks.ticket.co.it;);

#THE EMAIL SERVER

Set($SendmailPath , /usr/sbin/sendmail);
Set($SendmailArguments,-oi -t -ODeliveryMode=b -OErrorMode=m);
Set($UseFriendlyFromLine, 1);
Set($FriendlyFromLineFormat, \%s via RT\ %s);
Set($TruncateLongAttachments, undef);
Set($MaxAttachmentSize , 1000);
Set($EmailCompletionUnprivileged,privileged);
Set($RTAddressRegexp , 'helpdesk\@ticket.co.it$');
Set($FriendlyFromLineFormat, \s\ %s);

#THE LDAP SERVER
Set(@Plugins, qw(RT::Authen::ExternalAuth));

# Following is LDAP authorization block
Set($ExternalAuthPriority,   [ 'My_LDAP' ] );
Set($ExternalInfoPriority,   [ 'My_LDAP' ] );
Set($ExternalServiceUsesSSLorTLS,0);
Set($AutoCreateNonExternalUsers, 1);
Set($ExternalSettings,  {
 'My_LDAP'   =  {
 'type'  =  'ldap',
 'server'=  'ticket.co.it',
 'user'  =  'ad...@ticket.co.it',
 'pass'  =  '5aH3t!40',
 'base'  =  'DC=ticket,DC=co,DC=it',
 'filter'=  '(ObjectClass=*)',
#'d_filter'  =  
'(userAccountControl:1.2.840.113556.1.4.803:=2)',
 'tls'   =  0,
#'ssl_version'   =  3,
 'net_ldap_args' = [version =  3   ],
#'group' =  'cn=RT 
Users,ou=Services,dc=internal,dc=local',
#'group_attr'=  'member',
 'attr_match_list'   = [   'Name', 'EmailAddress'   ],
 'attr_map'  = {   'Name' = 'sAMAccountName',
'EmailAddress' = 'mail',
'Organization' = 
'physicalDeliveryOfficeName',
'RealName' = 'cn',
'ExternalAuthId' = 
'sAMAccountName',
'Gecos' = 'sAMAccountName',
'WorkPhone' = 
'telephoneNumber',
'Address1' = 
'streetAddress',
'City' = 'l',
'State' = 'st',
'Zip' = 'postalCode',
'Country' = 'co'

}

}

}

);
1;


Thanks

Alhaji 

On Jun 22, 2012, at 6:55 AM, Al Kay borngunn...@aol.com wrote:

 [Thu Jun 21 21:09:47 2012] [error]: Couldn't create a ticket group of type 
 'Requestor' for ticket 879: Could not create group (/opt/rt4/sbi$
 [Thu Jun 21 21:09:47 2012] [crit]: Couldn't create ticket groups for ticket 
 879. aborting Ticket creation. (/opt/rt4/sbin/../lib/RT/Ticket.$
 [Thu Jun 21 21:09:47 2012] [error]: WebRT: Ticket could not be created due to 
 an internal error (/opt/rt4/share/html/Elements/Error:82)
 [Thu Jun 21 17:13:12 2012] [notice] caught SIGTERM, shutting down
 [Thu Jun 21 17:13:09 2012] [notice] Apache/2.2.22 (Ubuntu) 
 PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 
 configured $
 
 
 On Jun 21, 2012, at 5:01 PM, Borngunners borngunn...@aol.com wrote:
 
 Ticket could not be created due to an internal error


Re: [rt-users] Error creating tickets

2012-06-22 Thread Kevin Falcone
On Fri, Jun 22, 2012 at 06:55:23AM -0400, Al Kay wrote:
[Thu Jun 21 21:09:47 2012] [error]: Couldn't create a ticket group of type 
 'Requestor' for
ticket 879: Could not create group (/opt/rt4/sbi$
[Thu Jun 21 21:09:47 2012] [crit]: Couldn't create ticket groups for 
 ticket 879. aborting
Ticket creation. (/opt/rt4/sbin/../lib/RT/Ticket.$

That points to serious database issues.  Does your database user have
proper permissions, is the database logging anything?

-kevin

[Thu Jun 21 21:09:47 2012] [error]: WebRT: Ticket could not be created due 
 to an internal
error (/opt/rt4/share/html/Elements/Error:82)
[Thu Jun 21 17:13:12 2012] [notice] caught SIGTERM, shutting down
[Thu Jun 21 17:13:09 2012] [notice] Apache/2.2.22 (Ubuntu) 
 PHP/5.3.10-1ubuntu3.2 with
Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 configured $


pgpfoNDDfBA5t.pgp
Description: PGP signature


Re: [rt-users] Error creating tickets

2012-06-22 Thread Alhaji Kargbo
I backed and restored the database of my old rt system version 3.8 and 
installed rt on another server since my old server is almost about to die. I am 
in the process of testing my new server and I am getting this error message

Re: [rt-users] Error creating tickets

2012-06-22 Thread Bill Cole

On 22 Jun 2012, at 6:55, Al Kay wrote:

[Thu Jun 21 21:09:47 2012] [error]: Couldn't create a ticket group of 
type 'Requestor' for ticket 879: Could not create group (/opt/rt4/sbi$
[Thu Jun 21 21:09:47 2012] [crit]: Couldn't create ticket groups for 
ticket 879. aborting Ticket creation. 
(/opt/rt4/sbin/../lib/RT/Ticket.$
[Thu Jun 21 21:09:47 2012] [error]: WebRT: Ticket could not be created 
due to an internal error (/opt/rt4/share/html/Elements/Error:82)

[Thu Jun 21 17:13:12 2012] [notice] caught SIGTERM, shutting down
[Thu Jun 21 17:13:09 2012] [notice] Apache/2.2.22 (Ubuntu) 
PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 
configured $




Those log lines are truncated and out of order, so it is hard to trust 
that they are accurate and meaningful or to discern much meaning from 
them.


However, the most likely cause of a problem like this is database 
misconfiguration. Are you sure that your $DatabaseUser and 
$DatabasePassword settings are correct? Can you access the database 
using the mysql command-line client?


Re: [rt-users] Error creating tickets

2012-06-22 Thread Borngunners
I can access the database using the mysql command line... The database was 
dumped from a previous RT database with 3.8 version and restored to a newly 
created RT database with 4.02 version on a different machine... Everything else 
looks like okay except creating tickets...
 

 

 

-Original Message-
From: Bill Cole rtusers-20090...@billmail.scconsult.com
To: RT-Users@lists.bestpractical.com rt-users@lists.bestpractical.com
Sent: Fri, Jun 22, 2012 4:51 pm
Subject: Re: [rt-users] Error creating tickets


On 22 Jun 2012, at 6:55, Al Kay wrote:

 [Thu Jun 21 21:09:47 2012] [error]: Couldn't create a ticket group of 
 type 'Requestor' for ticket 879: Could not create group (/opt/rt4/sbi$
 [Thu Jun 21 21:09:47 2012] [crit]: Couldn't create ticket groups for 
 ticket 879. aborting Ticket creation. 
 (/opt/rt4/sbin/../lib/RT/Ticket.$
 [Thu Jun 21 21:09:47 2012] [error]: WebRT: Ticket could not be created 
 due to an internal error (/opt/rt4/share/html/Elements/Error:82)
 [Thu Jun 21 17:13:12 2012] [notice] caught SIGTERM, shutting down
 [Thu Jun 21 17:13:09 2012] [notice] Apache/2.2.22 (Ubuntu) 
 PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 
 configured $


Those log lines are truncated and out of order, so it is hard to trust 
that they are accurate and meaningful or to discern much meaning from 
them.

However, the most likely cause of a problem like this is database 
misconfiguration. Are you sure that your $DatabaseUser and 
$DatabasePassword settings are correct? Can you access the database 
using the mysql command-line client?

 


Re: [rt-users] Error creating tickets

2012-06-22 Thread Bill Cole

On 22 Jun 2012, at 17:25, Borngunners wrote:

I can access the database using the mysql command line... The database 
was dumped from a previous RT database with 3.8 version and restored 
to a newly created RT database with 4.02 version on a different 
machine... Everything else looks like okay except creating tickets...


That leaves doing the database conversion from 3.8.x to 4.x as the most 
likely reason for a problem. Did you run make upgrade AND make 
upgrade-database with the database running?



-Original Message-
From: Bill Cole rtusers-20090...@billmail.scconsult.com
To: RT-Users@lists.bestpractical.com 
rt-users@lists.bestpractical.com

Sent: Fri, Jun 22, 2012 4:51 pm
Subject: Re: [rt-users] Error creating tickets


On 22 Jun 2012, at 6:55, Al Kay wrote:


[Thu Jun 21 21:09:47 2012] [error]: Couldn't create a ticket group of
type 'Requestor' for ticket 879: Could not create group 
(/opt/rt4/sbi$

[Thu Jun 21 21:09:47 2012] [crit]: Couldn't create ticket groups for
ticket 879. aborting Ticket creation.
(/opt/rt4/sbin/../lib/RT/Ticket.$
[Thu Jun 21 21:09:47 2012] [error]: WebRT: Ticket could not be 
created

due to an internal error (/opt/rt4/share/html/Elements/Error:82)
[Thu Jun 21 17:13:12 2012] [notice] caught SIGTERM, shutting down
[Thu Jun 21 17:13:09 2012] [notice] Apache/2.2.22 (Ubuntu)
PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2
configured $



Those log lines are truncated and out of order, so it is hard to trust
that they are accurate and meaningful or to discern much meaning from
them.

However, the most likely cause of a problem like this is database
misconfiguration. Are you sure that your $DatabaseUser and
$DatabasePassword settings are correct? Can you access the database
using the mysql command-line client?


Re: [rt-users] Error creating tickets

2012-06-22 Thread Alhaji Kargbo
thanks. Now I can create tickets...

[rt-users] Error creating tickets

2012-06-21 Thread Borngunners
Ticket could not be created due to an internal error

Re: [rt-users] Error creating tickets with the Perl API

2007-03-28 Thread Ruslan Zakirov

Do you use custom option LexiconLanguages in the site config?
Try update Locale::Maketext::Lexicon, the error you see is a bug in
this module and I'm pretty sure it's been fixed.

On 3/19/07, Holger Steudle [EMAIL PROTECTED] wrote:

Hi everybody,
I am trying to create tickets from a CSV file as a cronjob each night
using the Perl API of RT.
We are running RT 3.6.1 on a Debian System. I used the CliBasics Example
from the Wiki as a guideline,
but when i call RT::LoadConfig(); i get an Error next at
/usr/share/perl5/Locale/Maketext/Lexicon.pm line 427. I only found
people with this error at installation time but there everything was
fine.

Anybody got some hints where to look?


Best Regards

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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




--
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Error creating tickets with the Perl API

2007-03-20 Thread Rolf Schaufelberger
On Montag 19 März 2007, Holger Steudle wrote:
 Hi everybody,
 I am trying to create tickets from a CSV file as a cronjob each night
 using the Perl API of RT.
 We are running RT 3.6.1 on a Debian System. I used the CliBasics Example
 from the Wiki as a guideline,
 but when i call RT::LoadConfig(); i get an Error next at
 /usr/share/perl5/Locale/Maketext/Lexicon.pm line 427. I only found
 people with this error at installation time but there everything was
 fine.

 Anybody got some hints where to look?


I have 
use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc);

in my script.Or why not use the rt scricpt for that?

-- 
Rolf

plusW
Rolf Schaufelberger 
Beim Brünnele 6Tel. 49 7181 994 35 50
73614 Schorndorf   Fax. 49 7181 994 32 75
[EMAIL PROTECTED]

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Error creating tickets with the Perl API

2007-03-19 Thread Holger Steudle
Hi everybody,
I am trying to create tickets from a CSV file as a cronjob each night
using the Perl API of RT.
We are running RT 3.6.1 on a Debian System. I used the CliBasics Example
from the Wiki as a guideline,
but when i call RT::LoadConfig(); i get an Error next at
/usr/share/perl5/Locale/Maketext/Lexicon.pm line 427. I only found
people with this error at installation time but there everything was
fine.

Anybody got some hints where to look?


Best Regards

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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