PDA

View Full Version : Custombuild 1.1



smtalk
08-15-2007, 01:44 AM
Hello :)

Custombuild 1.1 has been released. Now it can update phpMyAdmin, SquirrelMail and RoundCube webmail (included in "./build all"). More suggestions and opinions are welcome.

jlandes
08-15-2007, 10:17 PM
Will the config file for custombuild allow you to specify which programs, phpMyAdmin, SquirrelMail, Roundcube, etc. get installed? I have not installed RoundCube on my server, since it is still beta software and also the enhanced skin does not have any link for it. So, can we optionally select whether any of these get installed or not?

smtalk
08-16-2007, 01:57 AM
No, there is no option to select. I don't know if it's really needed :) You can create a poll for it. Thank you.

smtalk
08-16-2007, 06:09 AM
Version 1.1.1 will be realeased after few hours. New features:
New function "./build options"
New option "clean"
Added check to see if any version of "PHP" is selected in options.conf, if no - show: "You do not have any PHP version set in options.conf.""./build options" shows what's set in options.conf, e.g.:


Apache: 1.3.37
Dovecot: 1.0.3
MySQL: 5.0.45
PHP: 5.2.3 as CLI with mail() header patch
Run "clean" every time: yes
clean in options.conf means "run clean every time" (you won't need to run "./build clean", because it will be executed automatically), by default it's set to "yes".

If you want to test it now:


cd /usr/local/directadmin/custombuild; rm -rf build; wget http://www.servermonkeys.com/projects/els/directadmin/build; chmod 755 build;


Let me know what do you think about this version :) Thank you.

skruf
08-16-2007, 07:39 AM
Hey,

Appears to be a problem with updating mysql...

./build update_versions pulls down the necessary mysql rpms...

but, after grabbing the files...

*** Cannot find /usr/local/directadmin/custombuild/MySQL-client-5.0.45-0.i386.rpm. Aborting ***

The files are in:

/usr/local/directadmin/custombuild/mysql...

David

smtalk
08-16-2007, 08:05 AM
Find:


FILE1=${CWD}/${MYSQLCLIENT}
FILE2=${CWD}/${MYSQLDEVEL}
FILE3=${CWD}/${MYSQLSERVER}
FILE4=${CWD}/${MYSQLSHARED}Replace with:


FILE1=${CWD}/mysql/${MYSQLCLIENT}
FILE2=${CWD}/mysql/${MYSQLDEVEL}
FILE3=${CWD}/mysql/${MYSQLSERVER}
FILE4=${CWD}/mysql/${MYSQLSHARED}Thank you for the report.

skruf
08-16-2007, 08:16 AM
Hey,

Thanks... Works with one error:


/usr/bin/mysqlcheck: Got error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FOR UPGRADE' at line 1 when executing 'CHECK TABLE ... FOR UPGRADE'

That was from ./build update_versions...

Ran ./build mysql and did not get that error...

Thanks again,
David

smtalk
08-16-2007, 08:33 AM
This was because of
/usr/bin/mysqlcheck --check-upgrade --all-databases --auto-repair -u${MYSQLUSER} -p${MYSQLPASSWORD}
You can simply ignore it :) I'll fix it in later versions of the custombuild script (this is not a bug).

smtalk
08-16-2007, 12:37 PM
Will the config file for custombuild allow you to specify which programs, phpMyAdmin, SquirrelMail, Roundcube, etc. get installed? I have not installed RoundCube on my server, since it is still beta software and also the enhanced skin does not have any link for it. So, can we optionally select whether any of these get installed or not?

For RoundCube: http://www.directadmin.com/features.php?id=808 :) Will be included into the next release of DirectAdmin.

smtalk
08-16-2007, 01:03 PM
Hey,

Thanks... Works with one error:



That was from ./build update_versions...

Ran ./build mysql and did not get that error...

Thanks again,
David

Fixed :) " *** Cannot find /usr/local/directadmin/custombuild/MySQL-client-5.0.45-0.i386.rpm. Aborting ***" issue is fixed too :) You used a "test" version of it, that wasn't uploaded on DirectAdmin servers, now 1.1.1 is on DirectAdmin servers, and it's bug (known) free. Everyone, who wants to have Custombuild v1.1.1 on their servers just needs to run: "./build update".

wondermind
08-16-2007, 01:26 PM
I've tried ./build mysql, but got error :
Asked for 196608 thread stack, but got 126976
......

Then the upgrading process stop.

The bad thing this current mysql version doesn't work now.

Please help, cause i did it on working server. :eek:

smtalk
08-16-2007, 01:32 PM
It's described here: http://bugs.mysql.com/bug.php?id=11603
Here: http://bugs.mysql.com/bug.php?id=14663
And here: http://forums.mysql.com/read.php?22,67967,67967

You can also try:
export TMPDIR=/tmp and then restart mysql.

wondermind
08-16-2007, 03:24 PM
Thanks, i tried adding thread-stack=96K in my.cnf and it works

Finally upgraded to mysql5 succesfully.

Thanks alot

smtalk
08-16-2007, 03:25 PM
You're welcome :) Have a good day!

millerdesign
08-20-2007, 07:36 PM
Help!

Updated mysql 5 and to apache 2.2 got this error during compile and apache won't restart.

Got this error:
gcc: /usr/lib/mysql/libmysqlclient.so: No such file or directory
make: *** [sapi/cgi/php-cgi] Error 1

opps found this, will try: http://www.directadmin.com/forum/showpost.php?p=105308&postcount=26

smtalk
08-20-2007, 11:34 PM
It was said in Custombuild FAQ too.