Error - DBD::mysql::st execute failed: MySQL server has gone away

Hi,

I have RT up in a Fedora 9 box. It was working properly. All of a sudden I see the following error when trying to create a ticket.

DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71.

I saw the same message in the mail achieve. It says this error is related to loss of connection with the mysql sever. But I see mysqld running before and after the error. I don’t see any error or message in the SQL server.

I see the following lines in

/var/log/rt3/rt.log
[Fri Sep 4 08:17:23 2009] [debug]: RT::Ticket=HASH(0xbc4df9dc) tried to load a bogus ticket: 469 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:172)
[Fri Sep 4 08:17:23 2009] [crit]: HasRight called with no valid object (/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

/var/log/httpd/error_log
[Fri Sep 4 08:17:23 2009] [crit]: HasRight called with no valid object (/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

Am I missing something her, can someone please help.

Thanks,
Baskar N

DISCLAIMER:

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

Hi,

I have RT up in a Fedora 9 box. It was working properly. All of a sudden I see the following error when trying to create a ticket.

DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71.

I saw the same message in the mail achieve. It says this error is related to loss of connection with the mysql sever. But I see mysqld running before and after the error. I don’t see any error or message in the SQL server.

I see the following lines in

/var/log/rt3/rt.log
[Fri Sep 4 08:17:23 2009] [debug]: RT::Ticket=HASH(0xbc4df9dc) tried to load a bogus ticket: 469 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:172)
[Fri Sep 4 08:17:23 2009] [crit]: HasRight called with no valid object (/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

/var/log/httpd/error_log
[Fri Sep 4 08:17:23 2009] [crit]: HasRight called with no valid object (/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

Am I missing something her, can someone please help.

Thanks,
Baskar N

DISCLAIMER:

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

Retrying…From: Baskaraganesan Natarajan
Sent: Friday, September 04, 2009 2:46 PM
To: 'rt-users@lists.bestpractical.com’
Subject: Error - DBD::mysql::st execute failed: MySQL server has gone away
Sensitivity: Confidential

Hi,

I have RT up in a Fedora 9 box. It was working properly. All of a sudden I see the following error when trying to create a ticket.

DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71.

I saw the same message in the mail achieve. It says this error is related to loss of connection with the mysql sever. But I see mysqld running before and after the error. I don’t see any error or message in the SQL server.

I see the following lines in

/var/log/rt3/rt.log
[Fri Sep 4 08:17:23 2009] [debug]: RT::Ticket=HASH(0xbc4df9dc) tried to load a bogus ticket: 469 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:172)
[Fri Sep 4 08:17:23 2009] [crit]: HasRight called with no valid object (/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

/var/log/httpd/error_log
[Fri Sep 4 08:17:23 2009] [crit]: HasRight called with no valid object (/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

Am I missing something her, can someone please help.

Thanks,
Baskar N

DISCLAIMER:

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

mysql server gone away is an indication there is a problem with the
backend database serving RT. enable debugging in your mysql daemon and
analyze the output for failures. is your mysql local or remote? make sure
firewall settings permit remote connections.On Fri, 4 Sep 2009, Baskaraganesan Natarajan wrote:

Date: Fri, 4 Sep 2009 13:53:53 +0530
From: Baskaraganesan Natarajan banatara@hcl.in
To: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Subject: [rt-users] Error - DBD::mysql::st execute failed: MySQL server has
gone away

Hi,

I have RT up in a Fedora 9 box. It was working properly. All of a sudden I see the following error when trying to create a ticket.

DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71.

I saw the same message in the mail achieve. It says this error is related to loss of connection with the mysql sever. But I see mysqld running before and after the error. I don’t see any error or message in the SQL server.

I see the following lines in

/var/log/rt3/rt.log

[Fri Sep 4 08:17:23 2009] [debug]: RT::Ticket=HASH(0xbc4df9dc) tried to load a bogus ticket: 469 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:172)
[Fri Sep 4 08:17:23 2009] [crit]: HasRight called with no valid object (/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

/var/log/httpd/error_log

[Fri Sep 4 08:17:23 2009] [crit]: HasRight called with no valid object (/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep 4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. (/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

Am I missing something her, can someone please help.

Thanks,
Baskar N

DISCLAIMER:

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.


nimbius@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org