Re: hotcopy - segfault

2004-10-19 Thread Egor Egorov
James Green <[EMAIL PROTECTED]> wrote:

> Trying to run mysqlhotcopy on multiple Debian stable systems, am getting 
> segfaults on some of them. We're using mysql-4.0.20 from the binary 
> release off mysql.com. strace says:
> 
[]
> I'm no expert - can anyone identify the fault? Running as root user.

mysqlhotcopy is a perl script. Please check the perl version, the DBI
versions and also how is the DBD::MySQL linked with libmysqlclient. 

I suggest you to install MySQL-devel and MySQL-shared and then 
recompile and reinstall DBD::MySQL to get sure that it's linked with
properly-compiled MySQL libraries. 

Also, as a clue, take a look at the end of the dmesg output. If there's 
a kernel panic - then you have something wrong with your hardware or 
less possibly, with your kernel. 





-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   <___/   www.mysql.com




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



hotcopy - segfault

2004-10-15 Thread James Green
Hi
Trying to run mysqlhotcopy on multiple Debian stable systems, am getting 
segfaults on some of them. We're using mysql-4.0.20 from the binary 
release off mysql.com. strace says:

open("/var/lib/misc/services.db", O_RDWR|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)
open("/var/lib/misc/services.db", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)
open("/etc/services", O_RDONLY) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=16126, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x40017000
read(4, "# /etc/services:\n# $Id: services"..., 4096) = 4096
read(4, "209/udp\t\t\t\t# The Quick Mail Tran"..., 4096) = 4096
read(4, "CM SC-104 IANA 1/29/99\nrtcm-sc10"..., 4096) = 4096
close(4)= 0
munmap(0x40017000, 4096)= 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
open("/etc/mysql/my.cnf", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1962, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x40017000
read(4, "# You can copy this to one of:\n#"..., 4096) = 1962
read(4, "", 4096)   = 0
close(4)= 0
munmap(0x40017000, 4096)= 0
open("/var/lib/mysql/my.cnf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such 
file or directory)
open("/root/.my.cnf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
directory)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

I'm no expert - can anyone identify the fault? Running as root user.
--
James Green
Systems Administrator, StealthNET Ltd, www.stealthnet.co.uk
Tel: 0870 800 1777 Intl: +44 1493 660066 Fax: 0870 135 1069
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]