[rt-users] MySQL server has gone away

Goddard Lee lee.goddard at easa.eu.int
Thu Jan 26 09:27:42 EST 2006


> Lee? Can we see your RT_SiteConfig.pm? (remember to obfuscate any
> passwords...)

Thanks: it follows.... I have seen and ignored a few DBIx::SearchBuilder
posts here since joining recently, and since I see that module in
rt.log, I will look in the archives, too....

package RT;

=head1 NAME

RT::Config

=for testing

use RT::Config;

=cut

Set($rtname , "dave11");
Set($Organization , "easa");
Set($MinimumPasswordLength , "5");
Set($Timezone , 'CET');
Set($DatabaseType , 'mysql');
Set($DatabaseHost   , 'ok');
Set($DatabaseRTHost , 'ok');
Set($DatabasePort , '3306');
Set($DatabaseUser , 'ok');
Set($DatabasePassword , 'ok');
Set($DatabaseName , 'rt3');
Set($DatabaseRequireSSL , undef);
Set($OwnerEmail , 'lee.goddard===easa.eu.int'); # root
Set($LoopsToRTOwner , 1);
Set($StoreLoops , 1);
Set($MaxAttachmentSize , 10000000);
Set($TruncateLongAttachments , undef);
Set($DropLongAttachments , undef);
Set($ParseNewMessageForTicketCcs , undef);
Set($RTAddressRegexp , '^rt\@easa');
Set($CanonicalizeOnCreate , 0);
Set($SenderMustExistInExternalDatabase , undef);
Set($CorrespondAddress , 'rt====.easa.local');
Set($CommentAddress , 'rt-====.easa.local');
Set($MailCommand , 'sendmail');
Set($SendmailArguments , "-oi");
Set($SendmailPath , "/usr/sbin/sendmail");
Set($UseFriendlyFromLine , 1);
Set($FriendlyFromLineFormat , "\"%s via RT\" <%s>");
Set($UseFriendlyToLine , 0);
Set($FriendlyToLineFormat, "\"%s of $RT::rtname Ticket #%s\":;");
Set($NotifyActor, 1);
Set($RecordOutgoingEmail, 1);
Set($LogToSyslog    , 'error');
Set($LogToScreen    , 'error');
Set($LogDir, '/opt/rt3/var/log');
Set($LogToFileNamed , "rt.log");    #log to rt.log
@LogToSyslogConf = () unless (@LogToSyslogConf);
Set($LogToFile      , 'debug');
Set($WebPath , "");
Set($WebBaseURL , "http://rt");
Set($WebURL , $WebBaseURL . $WebPath . "/");
Set($WebImagesURL , $WebURL . "NoAuth/images");
Set($LogoURL , $WebImagesURL . "rt.jpg");
Set($WebNoAuthRegex, qr!^(?:/+NoAuth/|
                            /+REST/\d+\.\d+/NoAuth/)!x );
Set($MessageBoxWidth , 72);
Set($MessageBoxWrap, "HARD");
Set($TrustHTMLAttachments , undef);
Set($RedistributeAutoGeneratedMessages, 1);
Set($PreferRichText, 1);

Set($WebExternalAuth , 0);
Set($WebFallbackToInternalAuth , undef);
Set($WebExternalOnly, 1);
Set($WebExternalGecos , undef);
Set($WebExternalAuto , undef);
Set($MaxInlineBody, 13456);
Set($WebFlushDbCacheEveryRequest, '1');

Set($MyTicketsLength, 15);
Set($MyRequestsLength, 10);
@MasonParameters = () unless (@MasonParameters);
Set ($DefaultSearchResultFormat, qq{
   '<B><A
HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#
',
   '<B><A
HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></B>/TI
TLE:Subject',
   Status,
   QueueName,
   OwnerName,
   Priority,
   '__NEWLINE__',
   '',
   '<small>__Requestors__</small>',
   '<small>__CreatedRelative__</small>',
   '<small>__ToldRelative__</small>',
   '<small>__LastUpdatedRelative__</small>',
   '<small>__TimeLeft__</small>'});

@LexiconLanguages = qw(*) unless (@LexiconLanguages);
@EmailInputEncodings = qw(utf-8 iso-8859-1 us-ascii) unless
(@EmailInputEncodings);
Set($EmailOutputEncoding , 'utf-8');
Set($DateDayBeforeMonth , 1);
Set($AmbiguousDayInPast , 1);

@ActiveStatus = qw(new open stalled) unless @ActiveStatus;
@InactiveStatus = qw(resolved rejected deleted) unless @InactiveStatus;
Set($DevelMode, '1');
Set($PathToSvn, '/usr/local/bin/svn'); # or wherever your svn(1) binary
lives
Set($SvnRepository, 'http://dave11/svn/crt');

1;

=head1 NAME

RT::Config

=for testing

use RT::Config;

=cut









1;



More information about the rt-users mailing list