updating: not sure who's dealing with this one

First remove the corrupted files
Code:
rm -Rf /usr/local/directadmin/custombuild/mysql
Then follow the instructions by smtalk

There is no "mysql" folder in /usr/local/directadmin/custombuild to be deleted.

Code:
/usr/local/directadmin/custombuild# ls -a
.                       exim.conf.dovecot.patch  mod_perl-2.0.4.tar.gz                  php-.tar.gz
..                      freetype-2.3.12.tar.gz   options                                proftpd
atmailopen-1.02.tgz     httpd_2                  options.conf                           proftpd-1.3.1
atmailopen-1.03.tgz     httpd-2.2.14.tar.gz      pcre-8.01.tar.gz                       proftpd-1.3.2d.tar.gz
atmailopen-.tgz         httpd_2_debian           php-5.2.10-mail-header.patch           proftpd_debian
autoconf-2.65.tar.gz    httpd_2_freebsd          php-5.2.10.tar.gz                      proftpd_freebsd
automake-1.11.1.tar.gz  icu4c-4_2_1-src.tgz      php-5.2.11-mail-header.patch           roundcubemail-0.3.1.tar.gz
build                   jpegsrc.v6b.tar.gz       php-5.2.11.tar.gz                      squirrelmail-1.4.20-RC2.tar.gz
configure               libiconv-1.13.1.tar.gz   php-5.2.12-mail-header.patch           suphp-0.7.1.tar.gz
curl-7.19.7.tar.gz      libmcrypt-2.5.8.tar.gz   php-5.2.12.tar.gz                      versions.txt
custom                  libpng-1.2.33            php-5.2.8-mail-header.patch            webalizer-2.21-02-src.tgz
dovecot-1.1.7           libtool-2.2.6b.tar.gz    php-5.2.8.tar.gz                       webmail-3.11.tar.gz
dovecot-1.2.10.tar.gz   libxml2-2.7.6.tar.gz     php-5.2.9-mail-header.patch            ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
dovecot.boot            libxslt-1.1.26.tar.gz    php-5.2.9.tar.gz                       zlib-1.2.3.tar.gz
dovecot.boot.debian     m4-1.4.13.tar.gz         php--mail-header.patch
dovecot.boot.freebsd    mhash-0.9.9.9.tar.gz     phpMyAdmin-3.2.5-all-languages.tar.gz
dovecot.conf            mime.types               phpopt

?
 
Last edited:
There is on my servers. Are you installing mysql through custombuild? Or are you using your distributions' installation method?

Or are you installing it manually?

Jeff
 
There is on my servers. Are you installing mysql through custombuild? Or are you using your distributions' installation method?

Or are you installing it manually?

Jeff

Yes, I try to install trough custombuild. (#17)
OS=Debian

I've accidently installed mysql-common with apt-get some time ago.
I removed it this week and also deleted the "empty" folder /etc/mysql/ because my.cnf is located in /etc and the /etc/mysql/conf.d folder was deleted by
Code:
#apt-get remove mysql-common

So it's possible that there some mysql packages left from earlier installs.

Mysql 5.0.90 (upgraded trough custombuild short time ago) is running fine at the moment, but I want a fresh build/upgrade to 5.1.xx to make sure it is installed perfectly again.

The error log (#17) doesn't gives me a clue were the tar package is, and I've searched everywere in the custombuild directory, it's not there for sure.

However I did fixed the backup errors with --singe-transaction, so the only problem left is the damaged tar package used by custombuild and the mysterious location of it.
 
Last edited:
You can find it this way:
Code:
# find / -name "*tar.gz"
that will give you a list of the paths to all the tarballs (files ending in .tar.gz) on your server.

Jeff
 
Code:
# find / -name "*mysql*.tar.gz"
/usr/local/mysql-5.0.90-linux-i686.tar.gz
/usr/local/mysql-5.0.88-linux-i686.tar.gz
/usr/local/mysql-5.0.81-linux-i686.tar.gz
/usr/local/mysql-5.0.77-linux-i686.tar.gz
/usr/local/mysql-5.0.89-linux-i686.tar.gz
/usr/local/mysql-5.1.34-linux-i686.tar.gz
/usr/local/mysql-5.0.67-linux-i686.tar.gz
/usr/local/directadmin/scripts/packages/mysql-5.0.67-linux-i686.tar.gz
/usr/local/mysql-5.1.43-linux-i686.tar.gz

Ok, I'm going to delete all mysql tarballs, and check if
Code:
./build clean
./build update
downloads the fresh copies.

I also see some extracted folders, but I'm afraid to delete them and mess up the server.
Code:
platform32:/usr/local# ls
bfd           man                             mysql-5.0.88-linux-i686.tar.gz  php5
bin           mysql                           mysql-5.0.89-linux-i686         sbin
directadmin   mysql-5.0.67-linux-i686         mysql-5.0.89-linux-i686.tar.gz  share
etc           mysql-5.0.67-linux-i686.tar.gz  mysql-5.0.90-linux-i686         src
games         mysql-5.0.77-linux-i686         mysql-5.0.90-linux-i686.tar.gz  suphp
include       mysql-5.0.77-linux-i686.tar.gz  mysql-5.1.34-linux-i686         sysbk
installatron  mysql-5.0.81-linux-i686         mysql-5.1.34-linux-i686.tar.gz  Zend
ioncube       mysql-5.0.81-linux-i686.tar.gz  mysql-5.1.43-linux-i686
lib           mysql-5.0.88-linux-i686         mysql-5.1.43-linux-i686.tar.gz

I also see that the mysql dbfiles and pidfile are in /usr/local/mysql/data/ and /usr/local/mysql-5.0.90-linux-i686/data/, possibly they are symlinked?

UPDATE:
it doesn't seems like the custombuild script is checking and/or downloading any mysql packages:

Code:
# ./build update
--03:48:06--  http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
           => `./custombuild.tar.gz'
Herleiden van files.directadmin.com... 72.35.85.222
Verbinding maken met files.directadmin.com|72.35.85.222|:80... verbonden.
HTTP-verzoek is verzonden, wachten op antwoord... 200 OK
Lengte: 97,826 (96K) [application/x-gzip]

100%[=========================================================>] 97,826       156.01K/s

03:48:07 (155.78 KB/s) - './custombuild.tar.gz' opgeslagen [97826/97826]

extracting custombuild.tar.gz for 1.1 ...
custombuild/
custombuild/build
custombuild/configure/
custombuild/configure/ap1/
custombuild/configure/ap1/configure.php5
custombuild/configure/ap1/configure.apache_ssl
custombuild/configure/ap1/conf/
custombuild/configure/ap1/conf/mime.types
custombuild/configure/ap1/conf/httpd.conf
custombuild/configure/ap1/conf/extra/
custombuild/configure/ap1/conf/extra/httpd-vhosts.conf
custombuild/configure/ap1/conf/extra/httpd-deflate.conf
custombuild/configure/ap1/conf/extra/httpd-multilang-errordoc.conf
custombuild/configure/ap1/conf/extra/httpd-info.conf
custombuild/configure/ap1/conf/extra/httpd-alias.conf
custombuild/configure/ap1/conf/extra/httpd-userdir.conf
custombuild/configure/ap1/conf/extra/httpd-languages.conf
custombuild/configure/ap1/conf/extra/httpd-default.conf
custombuild/configure/ap1/conf/extra/httpd-autoindex.conf
custombuild/configure/ap1/conf/extra/directadmin-vhosts.conf
custombuild/configure/ap1/conf/extra/httpd-ssl.conf
custombuild/configure/ap1/conf/magic
custombuild/configure/ap1/configure.php4
custombuild/configure/ap2/
custombuild/configure/ap2/configure.php5
custombuild/configure/ap2/conf/
custombuild/configure/ap2/conf/httpd.conf_2.0
custombuild/configure/ap2/conf/mime.types
custombuild/configure/ap2/conf/httpd.conf
custombuild/configure/ap2/conf/extra/
custombuild/configure/ap2/conf/extra/httpd-vhosts.conf
custombuild/configure/ap2/conf/extra/httpd-deflate.conf
custombuild/configure/ap2/conf/extra/httpd-mpm.conf
custombuild/configure/ap2/conf/extra/httpd-multilang-errordoc.conf
custombuild/configure/ap2/conf/extra/httpd-mpm.conf_2.0
custombuild/configure/ap2/conf/extra/httpd-info.conf
custombuild/configure/ap2/conf/extra/httpd-alias.conf
custombuild/configure/ap2/conf/extra/httpd-userdir.conf
custombuild/configure/ap2/conf/extra/httpd-languages.conf
custombuild/configure/ap2/conf/extra/httpd-dav.conf
custombuild/configure/ap2/conf/extra/httpd-default.conf
custombuild/configure/ap2/conf/extra/httpd-autoindex.conf
custombuild/configure/ap2/conf/extra/directadmin-vhosts.conf
custombuild/configure/ap2/conf/extra/httpd-ssl.conf
custombuild/configure/ap2/conf/extra/httpd-manual.conf
custombuild/configure/ap2/conf/magic
custombuild/configure/ap2/cert_config
custombuild/configure/ap2/configure.apache
custombuild/configure/ap2/configure.php4
custombuild/configure/dovecot/
custombuild/configure/dovecot/dovecot.conf
custombuild/configure/proftpd/
custombuild/configure/proftpd/configure.proftpd
custombuild/configure/suphp/
custombuild/configure/suphp/configure.php5
custombuild/configure/suphp/configure.suphp
custombuild/configure/suphp/configure.php4
--03:48:07--  http://files.directadmin.com/services/custombuild/versions.txt
           => `./versions.txt'
Herleiden van files.directadmin.com... 72.35.85.222
Verbinding maken met files.directadmin.com|72.35.85.222|:80... verbonden.
HTTP-verzoek is verzonden, wachten op antwoord... 200 OK
Lengte: 3,639 (3.6K) [text/plain]

100%[=========================================================>] 3,639         --.--K/s

03:48:07 (380.15 MB/s) - './versions.txt' opgeslagen [3639/3639]

File already exists:    httpd-2.2.14.tar.gz
MD5 Checksum on httpd-2.2.14.tar.gz passed.
File already exists:    httpd_2
File already exists:    httpd_2_freebsd
File already exists:    httpd_2_debian
File already exists:    mime.types
File already exists:    mod_perl-2.0.4.tar.gz
MD5 Checksum on mod_perl-2.0.4.tar.gz passed.
File already exists:    curl-7.19.7.tar.gz
MD5 Checksum on curl-7.19.7.tar.gz passed.
File already exists:    pcre-8.01.tar.gz
MD5 Checksum on pcre-8.01.tar.gz passed.
File already exists:    libmcrypt-2.5.8.tar.gz
MD5 Checksum on libmcrypt-2.5.8.tar.gz passed.
File already exists:    mhash-0.9.9.9.tar.gz
MD5 Checksum on mhash-0.9.9.9.tar.gz passed.
File already exists:    freetype-2.3.12.tar.gz
MD5 Checksum on freetype-2.3.12.tar.gz passed.
File already exists:    libiconv-1.13.1.tar.gz
MD5 Checksum on libiconv-1.13.1.tar.gz passed.
File already exists:    libxml2-2.7.6.tar.gz
MD5 Checksum on libxml2-2.7.6.tar.gz passed.
File already exists:    libxslt-1.1.26.tar.gz
MD5 Checksum on libxslt-1.1.26.tar.gz passed.
File already exists:    icu4c-4_2_1-src.tgz
MD5 Checksum on icu4c-4_2_1-src.tgz passed.
File already exists:    php-5.2.12.tar.gz
MD5 Checksum on php-5.2.12.tar.gz passed.
File already exists:    php-5.2.12-mail-header.patch
MD5 Checksum on php-5.2.12-mail-header.patch passed.
File already exists:    webalizer-2.21-02-src.tgz
File already exists:    proftpd-1.3.2d.tar.gz
MD5 Checksum on proftpd-1.3.2d.tar.gz passed.
File already exists:    suphp-0.7.1.tar.gz
MD5 Checksum on suphp-0.7.1.tar.gz passed.
File already exists:    dovecot-1.2.10.tar.gz
MD5 Checksum on dovecot-1.2.10.tar.gz passed.
File already exists:    dovecot.boot
File already exists:    dovecot.boot.freebsd
File already exists:    dovecot.boot.debian
File already exists:    dovecot.conf
File already exists:    exim.conf.dovecot.patch
MD5 Checksum on exim.conf.dovecot.patch passed.
File already exists:    autoconf-2.65.tar.gz
MD5 Checksum on autoconf-2.65.tar.gz passed.
File already exists:    m4-1.4.13.tar.gz
MD5 Checksum on m4-1.4.13.tar.gz passed.
File already exists:    automake-1.11.1.tar.gz
MD5 Checksum on automake-1.11.1.tar.gz passed.
File already exists:    libtool-2.2.6b.tar.gz
MD5 Checksum on libtool-2.2.6b.tar.gz passed.
File already exists:    ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
 
Last edited:
I'm not an expert on CustomBuild (I have one on staff). However it's my understanding that if you don't have a directory for the version that CustomBuild is trying to install, it will look for the tarball, and untar it to create the directory.

And if you don't have a tarball that customBuild is trying to unpack, it will download it and unpack it.

You need to make sure that MySQL isn't installed through your OS Distribution's package manager on your system (if it is, uninstall it), and you need to check your CustomBuild configuration file to see if it's set to install MySQL.

Jeff
 
Fixed, after deleting:

/usr/local/mysql-5.1.43-linux-i686/
and
/usr/local/mysql-5.1.43-linux-i686.tar.gz

Code:
./build mysql
downloaded a new tarball
 
Back
Top