Solved Custombuild is not honored

pcburakq

Verified User
Joined
Feb 6, 2015
Messages
30
Hello,

I've installed a new DirectAdmin with the new method, license key. (I'm always using pre-installed directadmin images so didn't had to do a fresh install for a while)

Custombuild 2.0 plugin and csf comes pre-installed, sure, doesn't bothers me.

But,

I set php mode to lsphp in custombuild 2.0 plugin, it says saved, i can see it is saves. BUT, something changes it back to php-fpm.

I set the webserver to litespeed and input my install key, save it. Says it is saved, and i can see yes it is saved, when i go to build menu and tried to build litespeed i can see something reverted webserver selection back to apache.

I uninstall custombuild plugin altogether, restart the server to ensure it won't meddle, set it manually in the options.conf but something, again, rewrites options.conf file and sets the webserver to apache.

I hotfix the problem by locking the options.conf file so it won't be changed but when i want to compile something else or upgrade/add a new php version it will create a major problem to me.

Also curl is not compileable.

I think new installation has major flaws, or am i missing something?

Why does my options.conf file gets overwritten ?

checking if writev can be linked... yes checking if writev is prototyped... yes checking if writev is compilable... yes checking if writev usage allowed... yes checking if writev might be used... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether getpwuid_r is declared... yes checking for fnmatch... yes checking for geteuid... sed: can't read conftest.c: No such file or directory no checking deeper for geteuid... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for getpass_r... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for getpass_r... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for getppid... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for getppid... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for getpwuid... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for getpwuid... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for getpwuid_r... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for getpwuid_r... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for getrlimit... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for getrlimit... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for gettimeofday... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for gettimeofday... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for if_nametoindex... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for if_nametoindex... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for mach_absolute_time... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for mach_absolute_time... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for pipe... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for pipe... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for setlocale... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for setlocale... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for setmode... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for setmode... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for setrlimit... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for setrlimit... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for usleep... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for usleep... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for utime... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for utime... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking for utimes... ./configure: line 2416: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no checking deeper for utimes... ./configure: line 44628: conftest.c: No such file or directory ./configure: line 2328: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory but still no checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK checking for perl... /usr/bin/perl checking for gnroff... /usr/bin/gnroff checking how to use *nroff to get plain text from man pages... -man ./configure: line 44832: confdefs.h: No such file or directory checking whether to enable the threaded resolver... yes checking whether to use POSIX threads for threaded resolver... auto checking for pthread.h... ./configure: line 2384: conftest.c: No such file or directory ./configure: line 2251: conftest.err: No such file or directory sed: can't read conftest.c: No such file or directory no configure: error: Threaded resolver enabled but no thread library found *** There was an error while trying to configure cURL.

When i set curl to yes and ./build curl it fails.

Regards
 
LiteSpeed has their own script for changing the mode back to php-fpm and webserver to apache in case there are problems with their licensing. It is not CustomBuild/DirectAdmin doing it.
 
Oooh so there must be something wrong with the license and that's why it sets back?

Thats is an awful detail, thank you for the information. Maybe it could pring information in such a case?

Also 've started the installation with;

DA_SKIP_CSF=true ./setup.sh l1r6oiBZLW2MyhKU7Bf3FatnwnuHNu7yhfjXYo32UUY=

Command and ps aux shows custombuild is running.

[root@bash ~]# ps aux |grep custombuild root 17379 0.0 0.5 242024 22764 pts/0 S 13:41 0:00 /bin/sh /usr/local/directadmin/custombuild/build all d root 22025 0.0 0.0 221928 1036 pts/0 S+ 14:28 0:00 grep --color=auto custombuild

It's been hours but it doesn't seems like it is going to be completed. I've done a few other installations on the same server and their custombuild compilation was done rather quick.

custombuild.log shows nothing, how can i check if it is compiling or is just stuck?

Regards
 
It shows you the command to check the status (tail of install.txt file).
 
It's been stuck like this for the last hour, at this poing i've given up.

[root@bash custombuild]# tail -f install.txt Downloading dovecot.boot... ######################################################################## 100.0% Downloading dovecot.boot.freebsd... ######################################################################## 100.0% Downloading dovecot.boot.debian... ######################################################################## 100.0% Downloading dovecot.conf... ######################################################################## 100.0% Downloading exim.conf.dovecot.patch... ######################################################################## 100.0%

Killed it and started ./build all d by myself.

Seems to be going fine for now. I'll update on the result.
 
It compiled whitout any problems when i ran custombuild by myself.

I'm even able to compile curl whitout any problem now.

Thanks for the heads up.
 
Back
Top