Re: Problem installing Mysql from Zeniz.com on 5.0.7
- From: "Steve M. Fabac, Jr." <smfabac@xxxxxxx>
- Date: Thu, 05 Oct 2006 16:45:41 GMT
Boyd Lynn Gerber wrote:
On Thu, 5 Oct 2006, Steve M. Fabac, Jr. wrote:
I downloaded FSU-threads-3.14 and mysql-4.0.26-pc-sco3.2v5.0.7-i386
and installed them on my 5.0.7 system.
The FSU-threads needs the system to have all the latest patches. I have
found that it is better to compile MySQL/FSU-threads on the same system.
FSU-threads and MySQL are very tempramental to system changes and the way
the kernel is configured. I have used the binary on other system with the
kernel configuration/tunables exact same and the same level of OS patches.
If not thne there are problems. I think that is why SCO and MySQL are not
really supporting OpenServer < 6.
Ok. Trying to compile in FSU-threads-3.14/src:
# ./configure
Please specify the operating system you want to install Pthreads on:
1. SunOS 4.x
2. Solaris 2.x
3. Linux
4. FreeBSD
5. SCO UNIX
6. SCO OpenServer
Enter number:5
Please ignore warnings during compilation
make
Must be a separator on rules line 147 (bu39).
To install Pthreads (as super user), type: make install
and:
144
145 #Linux / SCO port flags
146 CFLAGS = -DSCO5 -DC_CONTEXT_SWITCH -DCLEANUP_HEAP -D_POSIX -DAUTO_INIT
147 CFLAGS += -DNO_INLINE148 #CFLAGS += -DIO_DEBUG
Looks like SCO 5.0.7 make does not like this construct. how do I fix it?
Looks like gwxlibs was installed as part of MP5:
SCO:OSR507SUPP5::5.0.7::44D17CC0/opt/K/SCO/gwxlibs/2.1.0Ce/.softmgmt
But gwxlibs' /usr/gnu/bin does not have gmake.
How do I build FSU-threads-3.14 and Mysql with SCO DEV system?
UNIX Development System component 5.2.0A installed
rs507d - Development System Update rs507d.un applied
rs507d - Development System Update rs507d.un loaded
SCO C++ Development System 3.1.4Ga installed
rs507d - C++ Development System Update rs507d.cp applied
rs507d - C++ Development System Update rs507d.cp loaded
Extended Tcl Development System 7.3.2e installed
Administration Framework Development System 1.0.2Aa installed
Custom Distribution Mastering Toolkit 1.2.0j installed
rs507d - CDMT Patch rs507d.cd applied
rs507d - CDMT Patch rs507d.cd loaded
X11/Motif Development System component 5.2.5j installed
....
GNU Development Tools 5.0.7g partially installed
I followed the instructions in INSTALL-BINARY:
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db --user=mysql
In mysql-4.0.26-pc-sco3.2v5.0.7-i386 (downloaded from Zeniz.com)
scripts/mysql_install_db is zero length ????
shell> chown -R root .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/mysqld_safe --user=mysql &
I found no instructions in the FSU-theads-3.14 tarball so I
I usuall do a make install to get the FSU-threads setup properly.
Is that after "make" completes without error?
Sometimes a link from /usr/local/lib/ to /usr/lib is needed depending on
the LD_LIBRARY_PATH. Also back up /usr/lib/libmalloc... FSU-threads has
to use it's own malloc library.
Backup the link? lrwxrwxrwx 1 root sys 44 May 3 02:16 libmalloc.a -> /opt/K/SCO/unixds/5.2.0A/usr/lib/libmalloc.a
or the target: /opt/K/SCO/unixds/5.2.0A/usr/lib/libmalloc.a
When building MySQL it should have a
-I/usr/local/include and a -L/usr/local/lib.
However, when I run cd /usr/local/mysql; bin/mysqld_safe --user=mysql &
I get the following:
# ./bin/mysqld_safe --user-mysql &
7046
# ./bin/mysqld_safe: 7048 Memory fault - core dumped
./bin/mysqld_safe: 7049 Memory fault - core dumped
Starting mysqld daemon with databases from /usr/local/mysql-4.0.26-pc-sco3.2v5.0
.7-i386/data
./bin/mysqld_safe: 7061 Memory fault - core dumped
STOPPING server from pid file /usr/local/mysql-4.0.26-pc-sco3.2v5.0.7-i386/data/
unix.smfabac.com.pid
061005 00:21:10 mysqld ended
This happens if the FSU-threads, MySQL, and the SCO system are at
different patch level's or tune-able OS parameter's
5.0.7 base install with 5.0.7 DEV system and MP5.
What tunable OS parameters?
custom from my system:
xx Fetchmail - remote mail retrieval and forwarding utility (ver 5.2.7) xx
xx Procmail - autonomous mail processor (ver 3.15) xx
xx SCO OpenServer Development System (ver 5.2.0Aa) xx
xx SCO OpenServer Enterprise System (ver 5.0.7Hw) xx
xx SCO OpenServer Software (ver 5.0.7Hw) xx
xx SCO Symmetrical Multiprocessing (ver 1.1.1Hw) xx
xx Samba 3.0.20a File and Print Server (ver 3.0.20Ab) xx
xx SCO OpenServer Release 5.0.7 Maintenance Pack 5 (ver 1.0.0Mc)
As I said above the OS, FSU-threads and MySQL have to be at the exact same
configuration to run binaries across each other.
What do I need to get this working?
The easiest is to recompile everything on your system. Then it does not
have to match mine.
--
Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
--
Steve Fabac
S.M. Fabac & Associates
816/765-1670
.
- Follow-Ups:
- Re: Problem installing Mysql from Zeniz.com on 5.0.7
- From: Boyd Lynn Gerber
- Re: Problem installing Mysql from Zeniz.com on 5.0.7
- References:
- Problem installing Mysql from Zeniz.com on 5.0.7
- From: Steve M. Fabac, Jr.
- Re: Problem installing Mysql from Zeniz.com on 5.0.7
- From: Boyd Lynn Gerber
- Problem installing Mysql from Zeniz.com on 5.0.7
- Prev by Date: Re: Problem installing Mysql from Zeniz.com on 5.0.7
- Next by Date: Re: Wow, light traffic here
- Previous by thread: Re: Problem installing Mysql from Zeniz.com on 5.0.7
- Next by thread: Re: Problem installing Mysql from Zeniz.com on 5.0.7
- Index(es):
Relevant Pages
|