Error while running mysql_install_db on Solaris 8

2005-08-30 Thread Helal Khan



Please see the attached output of the
bug report and an output file of the messages that came out in the screen
on Sun Solaris 8 while running the mysql_install_db for MySQL version 4,1.14,
64 bit. I got the same message for 32 bit version also. I tried MySQL version
4,1.12, 64 bit and 32 bit all failed with the same message and in every
case there was no log file in mysql/data directory.
Please check. If you need further information
please let me know.

Thanks.

Helal Khan
Sr. Manager, SDC
Two Metrotech, 8th Floor
Brooklyn, NY 11201
Tel: 212.383.4000
Fax:212.383.4325
E-mail: [EMAIL PROTECTED]





This message and its attachments may contain  privileged and confidential
information.  If you are not the intended recipient(s), you are prohibited
from printing, forwarding, saving or copying this email.  If you have
received this e-mail in error, please immediately notify the sender and
delete this e-mail and its attachments from your computer.



khanstation# scripts/mysql_install_db --user=mysql
Installing all prepared tables
ld.so.1: ./bin/mysqld: fatal: libz.so.1: open failed: No such file or directory
Killed
Installation of system tables failed!

Examine the logs in ./data for more information.
You can also try to start the mysqld daemon with:
../bin/mysqld --skip-grant 
You can use the command line tool
../bin/mysql to connect to the mysql
database and look at the grant tables:

shell ./bin/mysql -u root mysql
mysql show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!
khanstation# Broken Pipe
khanstation# cd .. 
khanstation# pwd
/usr/local
khanstation# ls -l
total 6
drwxr-xr-x   2 root other512 Aug  1 10:12 bin
lrwxrwxrwx   1 root other 59 Aug 30 15:41 mysql - 
/usr/local/mysql-standard-4.1.14-sun-solaris2.8-sparc-64bit
drwxr-xr-x  14 101  other512 Aug 30 15:46 
mysql-standard-4.1.14-sun-solaris2.8-sparc-64bit
khanstation# pwd
/usr/local
khanstation# id
uid=0(root) gid=1(other)

SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `' and `').
SEND-PR:
From: root
To: mysql@lists.mysql.com
Subject: [50 character or so descriptive subject here (for reference)]

Description:
precise description of the problem (multiple lines)
How-To-Repeat:
code/input/activities to reproduce the problem (multiple lines)
Fix:
how to correct or work around the problem, if known (multiple lines)

Submitter-Id:  submitter ID
Originator:Super-User
Organization:
 organization of PR author (multiple lines)
MySQL support: [none | licence | email support | extended email support ]
Synopsis:  synopsis of the problem (one line)
Severity:  [ non-critical | serious | critical ] (one line)
Priority:  [ low | medium | high ] (one line)
Category:  mysql
Class: [ sw-bug | doc-bug | change-request | support ] (one line)
Release:   mysql-4.1.14-standard (MySQL Community Edition - Standard (GPL))

C compiler:
C++ compiler:  
Environment:
machine, os, target, libraries (multiple lines)
System: SunOS khanstation 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4

Some paths:  /usr/bin/perl /usr/ucb/cc

Compilation info: CC='cc-5.0'  CFLAGS='-Xa -xstrconst -mt -D_FORTEC_ -xarch=v9' 
 CXX='CC'  CXXFLAGS='-noex -mt -D_FORTEC_ -xarch=v9'  LDFLAGS=''  
ASFLAGS='-xarch=v9'
LIBC: 
lrwxrwxrwx   1 root root  11 Jan 28  2004 /lib/libc.so - 
./libc.so.1
-rwxr-xr-x   1 root bin  1136720 Jun  6  2001 /lib/libc.so.1
lrwxrwxrwx   1 root root  11 Jan 28  2004 /usr/lib/libc.so - 
./libc.so.1
-rwxr-xr-x   1 root bin  1136720 Jun  6  2001 /usr/lib/libc.so.1
Configure command: ./configure '--prefix=/usr/local/mysql' 
'--localstatedir=/usr/local/mysql/data' '--libexecdir=/usr/local/mysql/bin' 
'--with-comment=MySQL Community Edition - Standard (GPL)' 
'--with-extra-charsets=complex' '--with-server-suffix=-standard' 
'--enable-thread-safe-client' '--enable-local-infile' '--with-named-z-libs=no' 
'--with-named-curses-libs=-lcurses' '--disable-shared' '--with-low-memory' 
'--with-readline' '--with-embedded-server' '--with-archive-storage-engine' 
'--with-innodb' 'CC=cc-5.0' 'CFLAGS=-Xa -xstrconst -mt -D_FORTEC_ -xarch=v9' 
'CXXFLAGS=-noex -mt -D_FORTEC_ -xarch=v9' 'CXX=CC'
Perl: This is perl, version 5.005_03 built for sun4-solaris


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

Re: Error while running mysql_install_db on Solaris 8

2005-08-30 Thread SGreen
Helal Khan [EMAIL PROTECTED] wrote on 08/30/2005 04:35:48 PM:

 
 Please see the attached output of the bug report and an output file 
 of the messages that came out in the screen on Sun Solaris 8 while 
 running the mysql_install_db for MySQL version 4,1.14, 64 bit. I got
 the same message for 32 bit version also. I tried MySQL version 4,1.
 12, 64 bit and 32 bit all failed with the same message and in every 
 case there was no log file in mysql/data directory. 
 Please check. If you need further information please let me know. 
 
 Thanks. 
 
 Helal Khan
 Sr. Manager, SDC
 Two Metrotech, 8th Floor
 Brooklyn, NY 11201
 Tel: 212.383.4000
 Fax:212.383.4325
 E-mail: [EMAIL PROTECTED] 

How are you trying to install MySQL? Are you following the Official MySQL 
Installation Documentation (
http://dev.mysql.com/doc/mysql/en/installing.html) or something else? 

Please, do not attach files to your messages. Many (if not most) of the 
people on this list (including me) will NOT read them. I am not a Solaris 
expert but there are several very good ones that do monitor this list. 
Please repost your errors inline and do not forget to CC the list on all 
responses.

Thanks,

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine



RE: Error while running mysql_install_db on Solaris 8

2005-08-30 Thread Logan, David (SST - Adelaide)
Hi,
 
Your error message
 
khanstation# scripts/mysql_install_db --user=mysql
Installing all prepared tables
ld.so.1: ./bin/mysqld: fatal: libz.so.1: open failed: No such file or
directory --

means you don't have zlib installed or you don't have it in your
LD_LIBRARY_PATH. You can put in into your default path by using the crle
command (man crle) and you can get this from http://www.sunfreeware.com
if you don't have it installed.
 
I notice you had --with-named-z-libs=no, try taking this out and letting
./configure find out where the z libraries are. The definition for this
option is : 
 
  --with-named-z-libs=ARG
  Use specified zlib libraries instead of
  those automatically found by configure.

and it is probably looking for a path called no. If you need to
disable it, then try using --without-named-z-libs (I may be wrong here
but that is my reading of the configure --help screen) or leave it out
altogether.
 
Regards

David Logan 
Database Administrator 
HP Managed Services 
148 Frome Street, 
Adelaide 5000 
Australia 

+61 8 8408 4273 - Work 
+61 417 268 665 - Mobile 
+61 8 8408 4259 - Fax 

 



From: Helal Khan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 31 August 2005 6:06 AM
To: mysql@lists.mysql.com
Subject: Error while running mysql_install_db on Solaris 8



Please see the attached output of the bug report and an output file of
the messages that came out in the screen on Sun Solaris 8 while running
the mysql_install_db for MySQL version 4,1.14, 64 bit. I got the same
message for 32 bit version also. I tried MySQL version 4,1.12, 64 bit
and 32 bit all failed with the same message and in every case there was
no log file in mysql/data directory. 
Please check. If you need further information please let me know. 

Thanks. 

Helal Khan
Sr. Manager, SDC
Two Metrotech, 8th Floor
Brooklyn, NY 11201
Tel: 212.383.4000
Fax:212.383.4325
E-mail: [EMAIL PROTECTED] 





This message and its attachments may contain privileged and confidential
information. If you are not the intended recipient(s), you are
prohibited from printing, forwarding, saving or copying this email. If
you have received this e-mail in error, please immediately notify the
sender and delete this e-mail and its attachments from your computer.