Attchement Size issue

Hi all,

I get the following error when replying to a ticket and adding a
document:

RT: Attachment insert failed - Got a packet bigger than
’max_allowed_packet’ bytes
(/usr/local/rt3/lib/RT/Attachment_Overlay.pm:217)

JUST TO CLARIFY: this does not happen when an attachment is coming in to
RT (that works fine) this is when we reply to a ticket from within RT
and Attach a document.

So I set the following: Set($MaxInlineBody, 13456000);

And also set: Set($MaxAttachmentSize , 10000000);

And I have restarted httpd, and still the attachments are getting droped
when we reply.

The attachment we are adding is 1.5MB

Is there another config file or variable I need to change?

Thanks.

Check in the [msyqld] section of your my.cnf file. Look for something like
set-variable = max_allowed_packet=

Labonte, Phil wrote:

Hi all,

I get the following error when replying to a ticket and adding a
document:

RT: Attachment insert failed - Got a packet bigger than
’max_allowed_packet’ bytes
(/usr/local/rt3/lib/RT/Attachment_Overlay.pm:217)

JUST TO CLARIFY: this does not happen when an attachment is coming in
to RT (that works fine) this is when we reply to a ticket from within
RT and Attach a document.

So I set the following: Set($MaxInlineBody, 13456000);

And also set: Set($MaxAttachmentSize , 10000000);

And I have restarted httpd, and still the attachments are getting
droped when we reply.

The attachment we are adding is 1.5MB

Is there another config file or variable I need to change?

Thanks.



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

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati

I am using RT
v 3.4.2

I do not have a my.cnf file

However I have a my-large.cnf, my-medium.cnd, my-huge.cnf and a
my-small.cnf.

I changed the value in those files to 5M

And I am still gettting the same error…

Drew Barnes wrote:

Check in the [msyqld] section of your my.cnf file. Look for something like

set-variable = max_allowed_packet=

Labonte, Phil wrote:

Hi all,

I get the following error when replying to a ticket and adding a
document:

RT: Attachment insert failed - Got a packet bigger than
’max_allowed_packet’ bytes
(/usr/local/rt3/lib/RT/Attachment_Overlay.pm:217)

JUST TO CLARIFY: this does not happen when an attachment is coming in
to RT (that works fine) this is when we reply to a ticket from within
RT and Attach a document.

So I set the following: Set($MaxInlineBody, 13456000);

And also set: Set($MaxAttachmentSize , 10000000);

And I have restarted httpd, and still the attachments are getting
droped when we reply.

The attachment we are adding is 1.5MB

Is there another config file or variable I need to change?

Thanks.

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

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

I am using RT v 3.4.2

I do not have a my.cnf file

However I have a my-large.cnf, my-medium.cnd, my-huge.cnf and a
my-small.cnf.
I changed the value in those files to 5M

And I am still gettting the same error…

Those are examples of what a my.cnf might look like. To actually
use them you have to copy or rename one of them to /etc/my.cnf
(or wherever your mysqld will look) and restart mysqld. Without
one you get the compiled-in defaults which will depend on the
distribution.

Les Mikesell
les@futuresource.com

Can you point
me to some documentation because I did not find any reference to this
at the bestpractical site… or in the install guide…???

Les Mikesell wrote:

On Wed, 2005-08-31 at 14:47, Phil Labonte wrote:
  
I am using RT v 3.4.2 

I do not have a my.cnf file

However I have a my-large.cnf, my-medium.cnd, my-huge.cnf and a
my-small.cnf.
I changed the value in those files to 5M

And I am still gettting the same error…

Those are examples of what a my.cnf might look like.  To actually
use them you have to copy or rename one of them to /etc/my.cnf 
(or wherever your mysqld will look) and restart mysqld. Without
one you get the compiled-in defaults which will depend on the
distribution.

  

http://wiki.bestpractical.com/?FAQ sections attachments
my.cnf is MySQL config and covered in MySQL docs
http://dev.mysql.com/doc/mysql/en/index.htmlOn 8/31/05, Phil Labonte phil.labonte@transcore.com wrote:

Can you point me to some documentation because I did not find any reference
to this at the bestpractical site… or in the install guide…???

Les Mikesell wrote:
On Wed, 2005-08-31 at 14:47, Phil Labonte wrote:

I am using RT v 3.4.2

I do not have a my.cnf file

However I have a my-large.cnf, my-medium.cnd, my-huge.cnf and a
my-small.cnf.
I changed the value in those files to 5M

And I am still gettting the same error…

Those are examples of what a my.cnf might look like. To actually
use them you have to copy or rename one of them to /etc/my.cnf
(or wherever your mysqld will look) and restart mysqld. Without
one you get the compiled-in defaults which will depend on the
distribution.


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

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from
http://rtbook.bestpractical.com

Best regards, Ruslan.

Thanks I got
the info I needed from it.

Phil

Ruslan Zakirov wrote:

http://wiki.bestpractical.com/?FAQ sections attachments
my.cnf is MySQL config and covered in MySQL docs
http://dev.mysql.com/doc/mysql/en/index.htmlOn 8/31/05, Phil Labonte <phil.labonte@transcore.com> wrote:
  
 Can you point me to some documentation because I did not find any reference
to this at the bestpractical site... or in the install guide...???

Les Mikesell wrote:
On Wed, 2005-08-31 at 14:47, Phil Labonte wrote:

I am using RT v 3.4.2

I do not have a my.cnf file

However I have a my-large.cnf, my-medium.cnd, my-huge.cnf and a
my-small.cnf.
I changed the value in those files to 5M

And I am still gettting the same error…

Those are examples of what a my.cnf might look like. To actually
use them you have to copy or rename one of them to /etc/my.cnf
(or wherever your mysqld will look) and restart mysqld. Without
one you get the compiled-in defaults which will depend on the
distribution.

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

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from
http://rtbook.bestpractical.com