Can't install Custom Build - Error with script?

enkrypt

Verified User
Joined
Feb 3, 2011
Messages
38
Hello guys,

I have installed CustomBuild 2.0 numerous times without any problems, however I am installing and compiling this on a clients server and ran into an error I have never seen before. When I run it on my server, everything works.

Any insight into the problem would be greatly appreciated!

Code:
cd /usr/local/directadmin
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build all d

This is what the output is after the build command.

Code:
./build: line 1943: [: : integer expression expected

Thanks!
 
Please try executing installation commands again. If you still experience the problem, may you post line 1943 from the builg file? Thank you! :)
 
Please try executing installation commands again. If you still experience the problem, may you post line 1943 from the builg file? Thank you! :)

I tried reinstalling the script, still am getting the error!

Line 1943 is:

Code:
                if [ "${AP2_MINOR_VER}" -lt 9 ]; then
                        do_exit 1 "Minimal required version of Apache is 2.4.9. Please uncustomize your versions.txt file."
                fi
 
Would you mind letting me check why it happens on your server? (free of charge)
 
You should follow #2 of http://forum.directadmin.com/showthread.php?t=44743. Currently your options.conf file looks like:
Code:
#PHP settings. default_php possible values - 5 or 6, php5_ver - 5.2, 5.3, 5.4 or 5.5
default_php=5
php5_ver=5.3
php5_cli=yes
php5_cgi=no
php6_cli=no
php6_cgi=no
php_ini=no
#Possible values - recommended or dist
php_ini_type=recommended
ioncube=no
zend=no

It means that CustomBuild hasn't been updated properly. All of your issues should be gone after following the FAQ :) Thank you!
 
You should follow #2 of http://forum.directadmin.com/showthread.php?t=44743. Currently your options.conf file looks like:

It means that CustomBuild hasn't been updated properly. All of your issues should be gone after following the FAQ :) Thank you!

I guess I am a bit confused, I am not updating from the old version.

Doing step #2 works - But still don't understand how I had the old custombuild version, I never downloaded it.
 
Last edited:
Probably your client was trying to do so :) CB 2.0 doesn't even have the code you have in your options.conf file, so it means CustomBuild 1.x existed on the system. Please follow #2 section of FAQ, it will fix that for you. It even has Apache 2.2 installed, which is not available (supported) by CB 2.0, so that's another proof of it:
Code:
[root@koios ~]# httpd -v
Server version: Apache/2.2.26 (Unix)
Server built:   Mar 19 2014 17:32:40

Please let me know how the upgrade process goes :)
 
Ahh, well in any case - everything is upgraded and working.

Thanks for you help SMTalk :)
 
Back
Top