updating: not sure who's dealing with this one

m4ri00sh

Verified User
Joined
May 20, 2007
Messages
215
I am trying to do some update_versions now and it can't connect:
hmmm... 9:54AM 1/11/2010
I figured I can notify you in case it was some major issue.

Code:
--10:12:17--  http://files.directadmin.com/services/all/mysql/debian/mysql-5.0.89-linux-i686.tar.gz
  (try: 9) => `mysql-5.0.89-linux-i686.tar.gz'
Connecting to files.directadmin.com|72.35.85.222|:80... failed: Connection timed out.
Retrying.

--10:13:11--  http://files.directadmin.com/services/all/mysql/debian/mysql-5.0.89-linux-i686.tar.gz
  (try:10) => `mysql-5.0.89-linux-i686.tar.gz'
Connecting to files.directadmin.com|72.35.85.222|:80...


Code:
--10:21:47--  http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
  (try: 4) => `./custombuild.tar.gz'
Connecting to files.directadmin.com|72.35.85.222|:80... failed: Connection timed out.
Retrying.

--10:22:36--  http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
  (try: 5) => `./custombuild.tar.gz'
Connecting to files.directadmin.com|72.35.85.222|:80...
 

m4ri00sh

Verified User
Joined
May 20, 2007
Messages
215
and I get this:

Code:
s1:/usr/local/directadmin/custombuild# ./build clean_old_tarballs
Skipping httpd tarball, needs more arguments in doclean_old_tarballs().
Skipping mod_perl tarball, needs more arguments in doclean_old_tarballs().
Skipping curl tarball, needs more arguments in doclean_old_tarballs().
Skipping pcre tarball, needs more arguments in doclean_old_tarballs().
Skipping zlib tarball, needs more arguments in doclean_old_tarballs().
Skipping libpng tarball, needs more arguments in doclean_old_tarballs().
Skipping libmcrypt tarball, needs more arguments in doclean_old_tarballs().
Skipping mhash tarball, needs more arguments in doclean_old_tarballs().
Skipping freetype tarball, needs more arguments in doclean_old_tarballs().
Skipping libiconv tarball, needs more arguments in doclean_old_tarballs().
Skipping libxslt tarball, needs more arguments in doclean_old_tarballs().
Skipping libxml2 tarball, needs more arguments in doclean_old_tarballs().
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Skipping ZendOptimizer tarball, needs more arguments in doclean_old_tarballs().
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Skipping proftpd tarball, needs more arguments in doclean_old_tarballs().
Skipping mod_perl2 tarball, needs more arguments in doclean_old_tarballs().
Skipping dovecot tarball, needs more arguments in doclean_old_tarballs().
Skipping suphp tarball, needs more arguments in doclean_old_tarballs().
Skipping autoconf tarball, needs more arguments in doclean_old_tarballs().
Skipping m4 tarball, needs more arguments in doclean_old_tarballs().
Skipping automake tarball, needs more arguments in doclean_old_tarballs().
Skipping libtool tarball, needs more arguments in doclean_old_tarballs().
Skipping coreutils tarball, needs more arguments in doclean_old_tarballs().
Skipping roundcubemail tarball, needs more arguments in doclean_old_tarballs().
Skipping squirrelmail tarball, needs more arguments in doclean_old_tarballs().
Skipping awstats tarball, needs more arguments in doclean_old_tarballs().
Skipping atmail tarball, needs more arguments in doclean_old_tarballs().
Skipping phpMyAdmin tarball, needs more arguments in doclean_old_tarballs().
Skipping httpd tarball, needs more arguments in doclean_old_tarballs().
Skipping mod_perl tarball, needs more arguments in doclean_old_tarballs().
Skipping curl tarball, needs more arguments in doclean_old_tarballs().
Skipping pcre tarball, needs more arguments in doclean_old_tarballs().
Skipping zlib tarball, needs more arguments in doclean_old_tarballs().
Skipping libpng tarball, needs more arguments in doclean_old_tarballs().
Skipping libmcrypt tarball, needs more arguments in doclean_old_tarballs().
Skipping mhash tarball, needs more arguments in doclean_old_tarballs().
Skipping freetype tarball, needs more arguments in doclean_old_tarballs().
Skipping libiconv tarball, needs more arguments in doclean_old_tarballs().
Skipping libxslt tarball, needs more arguments in doclean_old_tarballs().
Skipping libxml2 tarball, needs more arguments in doclean_old_tarballs().
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Skipping ZendOptimizer tarball, needs more arguments in doclean_old_tarballs().
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Skipping proftpd tarball, needs more arguments in doclean_old_tarballs().
Skipping mod_perl2 tarball, needs more arguments in doclean_old_tarballs().
Skipping dovecot tarball, needs more arguments in doclean_old_tarballs().
Skipping suphp tarball, needs more arguments in doclean_old_tarballs().
Skipping autoconf tarball, needs more arguments in doclean_old_tarballs().
Skipping m4 tarball, needs more arguments in doclean_old_tarballs().
Skipping automake tarball, needs more arguments in doclean_old_tarballs().
Skipping libtool tarball, needs more arguments in doclean_old_tarballs().
Skipping coreutils tarball, needs more arguments in doclean_old_tarballs().
Skipping roundcubemail tarball, needs more arguments in doclean_old_tarballs().
Skipping squirrelmail tarball, needs more arguments in doclean_old_tarballs().
Skipping awstats tarball, needs more arguments in doclean_old_tarballs().
Skipping atmail tarball, needs more arguments in doclean_old_tarballs().
Skipping phpMyAdmin tarball, needs more arguments in doclean_old_tarballs().
Skipping httpd tarball, needs more arguments in doclean_old_tarballs().
Skipping mod_perl tarball, needs more arguments in doclean_old_tarballs().
Skipping curl tarball, needs more arguments in doclean_old_tarballs().
Skipping pcre tarball, needs more arguments in doclean_old_tarballs().
Skipping zlib tarball, needs more arguments in doclean_old_tarballs().
Skipping libpng tarball, needs more arguments in doclean_old_tarballs().
Skipping libmcrypt tarball, needs more arguments in doclean_old_tarballs().
Skipping mhash tarball, needs more arguments in doclean_old_tarballs().
Skipping freetype tarball, needs more arguments in doclean_old_tarballs().
Skipping libiconv tarball, needs more arguments in doclean_old_tarballs().
Skipping libxslt tarball, needs more arguments in doclean_old_tarballs().
Skipping libxml2 tarball, needs more arguments in doclean_old_tarballs().
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Skipping ZendOptimizer tarball, needs more arguments in doclean_old_tarballs().
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Skipping proftpd tarball, needs more arguments in doclean_old_tarballs().
Skipping mod_perl2 tarball, needs more arguments in doclean_old_tarballs().
Skipping dovecot tarball, needs more arguments in doclean_old_tarballs().
Skipping suphp tarball, needs more arguments in doclean_old_tarballs().
Skipping autoconf tarball, needs more arguments in doclean_old_tarballs().
Skipping m4 tarball, needs more arguments in doclean_old_tarballs().
Skipping automake tarball, needs more arguments in doclean_old_tarballs().
Skipping libtool tarball, needs more arguments in doclean_old_tarballs().
Skipping coreutils tarball, needs more arguments in doclean_old_tarballs().
Skipping roundcubemail tarball, needs more arguments in doclean_old_tarballs().
Skipping squirrelmail tarball, needs more arguments in doclean_old_tarballs().
Skipping awstats tarball, needs more arguments in doclean_old_tarballs().
Skipping atmail tarball, needs more arguments in doclean_old_tarballs().
Skipping phpMyAdmin tarball, needs more arguments in doclean_old_tarballs().
 

m4ri00sh

Verified User
Joined
May 20, 2007
Messages
215
BTW: I am using custombuild 1.1, and I see custombuild 1.2 has an option of fileserver that I can change to europe server. This will happen after I move to Custombuild 1.2.
Is custombuild 1.2v ready to go? and the easiest part to migrate would be?

thank you for into
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,077
Location
LT, EU
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set custombuild 1.2
./build update
 

sky

Verified User
Joined
Nov 12, 2004
Messages
338
Hello

Im getting the same error.

Wen i do what you say smtalk, it still outputs the same :
[root@server custombuild]# ./build update
Skipping httpd tarball, needs more arguments in doclean_old_tarballs().
Skipping mod_perl tarball, needs more arguments in doclean_old_tarballs().
Skipping curl tarball, needs more arguments in doclean_old_tarballs().
Skipping pcre tarball, needs more arguments in doclean_old_tarballs().
Skipping zlib tarball, needs more arguments in doclean_old_tarballs().
Skipping libpng tarball, needs more arguments in doclean_old_tarballs().
Skipping libmcrypt tarball, needs more arguments in doclean_old_tarballs().
Skipping mhash tarball, needs more arguments in doclean_old_tarballs().
Skipping freetype tarball, needs more arguments in doclean_old_tarballs().
Skipping libiconv tarball, needs more arguments in doclean_old_tarballs().
Skipping libxslt tarball, needs more arguments in doclean_old_tarballs().
Skipping libxml2 tarball, needs more arguments in doclean_old_tarballs().
Usage: grep [OPTION]... PATRON [FICHIER]...
Pour en savoir davantage, faites: « grep --help ».
Skipping ZendOptimizer tarball, needs more arguments in doclean_old_tarballs().
Usage: grep [OPTION]... PATRON [FICHIER]...

(i cut it short...)

Im using 1.2

Tjx for help.
Sky
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,077
Location
LT, EU
I guess you have an empty versions.txt file then. Please post the output of:
Code:
cat /usr/local/directadmin/custombuild/versions.txt

If it's not the cause - I can take a look at your server and find the problem, just let me know.
 

sky

Verified User
Joined
Nov 12, 2004
Messages
338
Hello

Thx for help.

There is no output, the file is empty.

How can i recreate that file ?

Thx again for your help,
Sky
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,077
Location
LT, EU
Code:
cd /usr/local/directadmin/custombuild
wget -O versions.txt http://files.directadmin.com/services/custombuild/versions.txt
 

sky

Verified User
Joined
Nov 12, 2004
Messages
338
Hello

Thx.
I do not know why, but the resolv.conf file had namserver set to 127.0.0.1... causes some problems with wget and da updates.

Doing general update to get thing back working ok.

Email where also having problems ^^

Thx and nice day.
Sky
 

m4ri00sh

Verified User
Joined
May 20, 2007
Messages
215
so the versions.txt was empty, and the wget command given above fixed it.
Then I ran that custombuild update commands 1.1 to 1.2.
and tried to do ./build versions and ./build update_versions
and I got this:
Code:
s1:/usr/local/directadmin/custombuild# ./build update_versions
Updating MySQL.
       Dumping database admin_1
       Dumping database admin_2
       Dumping database admin_f
       Dumping database admin_F
       Dumping database admin_k
       Dumping database admin_l
       Dumping database admin_w
       Dumping database admin_w
       Dumping database da_r
       Dumping database ma
       Dumping database my
       Dumping database t
Stopping mysqld ...
Stopping mysqld:                [ OK ]

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Giving mysqld a few seconds to start up...
Restarting MySQL.
Stopping mysqld:                [ FAILED ]
It is recommended to do "./build php n" after MySQL update.
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

then I tried again and:

Code:
s1:/usr/local/directadmin/custombuild# ./build versions
Latest version of DirectAdmin: 1.34.5
Installed version of DirectAdmin: 1.34.5

Latest version of Apache: 2.2.14
Installed version of Apache: 2.2.14

Latest version of PCRE: 8.00
Installed version of PCRE: 8.00

Latest version of curl: 7.19.7
Installed version of curl: 7.19.7

Latest version of FreeType: 2.3.11
Installed version of FreeType: 2.3.11

Latest version of dovecot: 1.2.9
Installed version of dovecot: 1.2.9

/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
Installed version of PHP (CLI):

/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
Latest version of RoundCube webmail: 0.3.1
Installed version of RoundCube webmail: 0.3.1

Latest version of phpMyAdmin: 3.2.5-all-languages
Installed version of phpMyAdmin: 3.2.5-all-languages

If you want to update all the available versions run: ./build update_versions
s1:/usr/local/directadmin/custombuild# mc

s1:/usr/local/directadmin/custombuild# ./build update_versions
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
s1:/usr/local/directadmin/custombuild#

oops. help.
 

m4ri00sh

Verified User
Joined
May 20, 2007
Messages
215
and databases were dumped? I checked my websites and non of them work. :eek::confused:

Update1:
httpd and mysqld are down.
 
Last edited:

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,077
Location
LT, EU
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

It seems the server had a corrupted MySQL package. Try:
Code:
cd /usr/local/directadmin/custombuild
rm -f mysql*.tar.gz
./build mysql
./build php n
 

m4ri00sh

Verified User
Joined
May 20, 2007
Messages
215
hmm:
Code:
s1:/usr/local/directadmin/custombuild# rm -f mysql*.tar.gz
s1:/usr/local/directadmin/custombuild# ./build mysql
Cannot find /usr/bin/mysqldump
Stopping mysqld ...
Stopping mysqld:                [ FAILED ]

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Giving mysqld a few seconds to start up...
Restarting MySQL.
Stopping mysqld:                [ FAILED ]
It is recommended to do "./build php n" after MySQL update.
s1:/usr/local/directadmin/custombuild# ./build php n
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.
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
Found /usr/local/directadmin/custombuild/php-5.2.12.tar.gz
Extracting ...
Done.
File already exists:    php-5.2.12-mail-header.patch
patching file php-5.2.12/ext/standard/mail.c
Hunk #1 succeeded at 210 with fuzz 2 (offset 9 lines).
Hunk #2 succeeded at 315 (offset 26 lines).
Configuring php-5.2.12...
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E

.........


Code:
checking for mcrypt_module_open in -lmcrypt... yes
checking for mhash support... yes
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file


?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,077
Location
LT, EU
What's your OS? Please contact me on any IM if it's an emergency.
 

prale

Verified User
Joined
Nov 21, 2008
Messages
31
It seems the server had a corrupted MySQL package. Try:
Code:
cd /usr/local/directadmin/custombuild
rm -f mysql*.tar.gz
./build mysql
./build php n

Same problem here, how did you fixed it?
I can't find any mysql*.tar.gz files in /usr/local/directadmin/custombuild, seems like they are in /usr/local/ ?

Code:
/usr/local/directadmin/custombuild# ./build mysql
       Dumping database db_001
mysqldump: Got error: 1016: Can't open file: './db_002/wp_1053_commentmeta.frm' (errno: 24) when using LOCK TABLES
       Dumping database db_003
       Dumping database db_004
mysqldump: Got error: 1016: Can't open file: './db_005/wp_1058_comments.frm' (errno: 24) when using LOCK TABLES
       Dumping database db_006
Stopping mysqld ...
Stopping mysqld:                [ OK ]

gzip: stdin: unexpected end of file
tar: Onverwacht einde-van-bestand in archief
tar: Onverwacht einde-van-bestand in archief
tar: Fout is niet herstelbaar -- tar sluit nu af.
Giving mysqld a few seconds to start up...
Restarting MySQL.
Stopping mysqld:                [ FAILED ]
It is recommended to do "./build php n" after MySQL update.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,077
Location
LT, EU
Try:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set mysql 5.1
./build mysql
 

prale

Verified User
Joined
Nov 21, 2008
Messages
31
Try:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set mysql 5.1
./build mysql

I already have:

Code:
mysql=5.1
mysql_inst=yes
mysql_backup=yes

in options.conf, and I already tried ./build clean and ./build update before ./build mysql, so I don't think this will fix my problem.

I can't find any mysql packages in /usr/local/directadmin/custombuild.
Seems like they are here:

Code:
#cd /usr/local/
#ls

bfd          installatron             mysql-5.0.67-linux-i686.tar.gz  mysql-5.0.88-linux-i686.tar.gz  mysql-5.1.34-linux-i686.tar.gz  src
bin          ioncube                  mysql-5.0.77-linux-i686         mysql-5.0.89-linux-i686         mysql-5.1.43-linux-i686         suphp
directadmin  lib                      mysql-5.0.77-linux-i686.tar.gz  mysql-5.0.89-linux-i686.tar.gz  mysql-5.1.43-linux-i686.tar.gz  sysbk
etc          man                      mysql-5.0.81-linux-i686         mysql-5.0.90-linux-i686         php5                            Zend
games        mysql                    mysql-5.0.81-linux-i686.tar.gz  mysql-5.0.90-linux-i686.tar.gz  sbin
include      mysql-5.0.67-linux-i686  mysql-5.0.88-linux-i686         mysql-5.1.34-linux-i686         share

The error reports that the tar package is corrupt, so I need to figure out how to download fresh copies to the right folder.

[edit]
I forgot to say the server runs 5.0.90 now, this problems occurs when I want to update to 5.1
[/edit]
 
Last edited:

tnuz

Verified User
Joined
Jan 12, 2006
Messages
23
Location
Canada
First remove the corrupted files
Code:
rm -Rf /usr/local/directadmin/custombuild/mysql
Then follow the instructions by smtalk
 
Top