Re: DBD::mysql::st execute failed: MySQL server has gone away

2006-03-30 Thread Luke Vanderfluit

Ravi Prasad LR wrote:


Luke,

 


Yup. Basically if I do a particular query from the command line,
I get the following error:
===
InnoDB: Error: tried to read 16384 bytes at offset 1 3469819904.
InnoDB: Was only able to read -1.
060327  8:25:41  InnoDB: Operating system error number 5 in a file
operation.
InnoDB: Error number 5 means 'I/O error'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.html
InnoDB: File operation call: 'read'.
InnoDB: Cannot continue operation.
060327 08:25:41  mysqld restarted
060327  8:25:42  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
060327  8:25:42  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 2 2096716847.
InnoDB: Doing recovery: scanned up to log sequence number 2 2096716847
InnoDB: Last MySQL binlog file position 0 79, file name
./ticketdb-bin.15
060327  8:25:42  InnoDB: Flushing modified pages from the buffer pool...
060327  8:25:42  InnoDB: Started; log sequence number 2 2096716847
/opt/csw/mysql4/libexec/mysqld: ready for connections.
Version: '4.1.18-log'  socket: '/tmp/mysql.sock'  port: 3306  Source
distribution
   



It looks like your disk is having problems.What does 'dmesg' 
or /var/log/messages  say
 


You're right it was the disk.
Kind regards.
Luke.


Thanks,
Ravi 




 




--
Luke



Re: DBD::mysql::st execute failed: MySQL server has gone away

2006-03-27 Thread sheeri kritzer
What happens if you try to connect to the database on the commandline?

-Sheeri

On 3/24/06, Luke Vanderfluit [EMAIL PROTECTED] wrote:
 Hi.

 I'm getting the following error running apache2 with modperl, mysql
 4.1.18 and RT 3.4.5
 *error:*DBD::mysql::st execute failed: MySQL server has gone away at
 /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm
 line 70.
 *context:*
 *...*
 *66:*   if ($self-{lock}) {
 *67:*   local $self-{dbh}-{RaiseError} = 1;
 *68:*
 *69:*   my $sth = $self-{dbh}-prepare_cached(q{SELECT
 RELEASE_LOCK(?)}, {}, 1);
 *70:*   $sth-execute($self-{lockid});
 *71:*
 *72:*   $self-{lock} = 0;
 *73:*   }
 *74:*   }
 *...*

 *code stack:*
 /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:70
 /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:81
 /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:87
 /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/HTML/Mason/Request.pm:1249


 If anyone can help, I'd appreciate it.
 Kind regards.

 --
 Luke




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: DBD::mysql::st execute failed: MySQL server has gone away

2006-03-27 Thread Luke Vanderfluit

Hi Sheeri.

sheeri kritzer wrote:


What happens if you try to connect to the database on the commandline?
 


Yup. Basically if I do a particular query from the command line,
I get the following error:
===
InnoDB: Error: tried to read 16384 bytes at offset 1 3469819904.
InnoDB: Was only able to read -1.
060327  8:25:41  InnoDB: Operating system error number 5 in a file 
operation.

InnoDB: Error number 5 means 'I/O error'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.html
InnoDB: File operation call: 'read'.
InnoDB: Cannot continue operation.
060327 08:25:41  mysqld restarted
060327  8:25:42  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
060327  8:25:42  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 2 2096716847.
InnoDB: Doing recovery: scanned up to log sequence number 2 2096716847
InnoDB: Last MySQL binlog file position 0 79, file name 
./ticketdb-bin.15

060327  8:25:42  InnoDB: Flushing modified pages from the buffer pool...
060327  8:25:42  InnoDB: Started; log sequence number 2 2096716847
/opt/csw/mysql4/libexec/mysqld: ready for connections.
Version: '4.1.18-log'  socket: '/tmp/mysql.sock'  port: 3306  Source 
distribution

=

Your help is appreciated.
Thanks.
Kind regards.
Luke



-Sheeri

On 3/24/06, Luke Vanderfluit [EMAIL PROTECTED] wrote:
 


Hi.

I'm getting the following error running apache2 with modperl, mysql
4.1.18 and RT 3.4.5
*error:*DBD::mysql::st execute failed: MySQL server has gone away at
/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm
line 70.
*context:*
*...*
*66:*   if ($self-{lock}) {
*67:*   local $self-{dbh}-{RaiseError} = 1;
*68:*
*69:*   my $sth = $self-{dbh}-prepare_cached(q{SELECT
RELEASE_LOCK(?)}, {}, 1);
*70:*   $sth-execute($self-{lockid});
*71:*
*72:*   $self-{lock} = 0;
*73:*   }
*74:*   }
*...*

*code stack:*
/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:70
/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:81
/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:87
/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/HTML/Mason/Request.pm:1249


If anyone can help, I'd appreciate it.
Kind regards.

--
Luke



   



 




--
Luke



Re: DBD::mysql::st execute failed: MySQL server has gone away

2006-03-27 Thread Ravi Prasad LR
Luke,

 Yup. Basically if I do a particular query from the command line,
 I get the following error:
 ===
 InnoDB: Error: tried to read 16384 bytes at offset 1 3469819904.
 InnoDB: Was only able to read -1.
 060327  8:25:41  InnoDB: Operating system error number 5 in a file
 operation.
 InnoDB: Error number 5 means 'I/O error'.
 InnoDB: Some operating system error numbers are described at
 InnoDB: http://dev.mysql.com/doc/mysql/en/Operating_System_error_codes.html
 InnoDB: File operation call: 'read'.
 InnoDB: Cannot continue operation.
 060327 08:25:41  mysqld restarted
 060327  8:25:42  InnoDB: Database was not shut down normally!
 InnoDB: Starting crash recovery.
 InnoDB: Reading tablespace information from the .ibd files...
 InnoDB: Restoring possible half-written data pages from the doublewrite
 InnoDB: buffer...
 060327  8:25:42  InnoDB: Starting log scan based on checkpoint at
 InnoDB: log sequence number 2 2096716847.
 InnoDB: Doing recovery: scanned up to log sequence number 2 2096716847
 InnoDB: Last MySQL binlog file position 0 79, file name
 ./ticketdb-bin.15
 060327  8:25:42  InnoDB: Flushing modified pages from the buffer pool...
 060327  8:25:42  InnoDB: Started; log sequence number 2 2096716847
 /opt/csw/mysql4/libexec/mysqld: ready for connections.
 Version: '4.1.18-log'  socket: '/tmp/mysql.sock'  port: 3306  Source
 distribution

It looks like your disk is having problems.What does 'dmesg' 
or /var/log/messages  say.

Thanks,
Ravi 



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



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

2006-03-24 Thread Luke Vanderfluit

Hi.

I'm getting the following error running apache2 with modperl, mysql 
4.1.18 and RT 3.4.5
*error:*  	DBD::mysql::st execute failed: MySQL server has gone away at 
/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm 
line 70.

*context:*  
*...*   
*66:*   if ($self-{lock}) {
*67:*   local $self-{dbh}-{RaiseError} = 1;
*68:*   
*69:*  	my $sth = $self-{dbh}-prepare_cached(q{SELECT 
RELEASE_LOCK(?)}, {}, 1);

*70:*   $sth-execute($self-{lockid});
*71:*   
*72:*   $self-{lock} = 0;
*73:*   }
*74:*   }
*...*   

*code stack:*  
/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:70

/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:81
/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:87
/usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/HTML/Mason/Request.pm:1249


If anyone can help, I'd appreciate it.
Kind regards.

--
Luke