Build process stucking.

needhelppp

Verified User
Joined
Jul 1, 2020
Messages
88
Hi. I've been reinstalling my system many times now, and i noticed strange thing. When I select certain option in Edit Options tab (for example ModSecurity and Modsecurity ruleset) upon new installation, and I try to Update or Build it after, it opens a process window "Executing process". In it it downloads something the script needs (or sometimes stucks in the beginning), and then everything stucks. One example of the TAIL text is:

```

  • Executing /usr/local/directadmin/plugins/custombuild/admin/build modsecurity_rules...
  • Installing Comodo Rule Set for ModSecurity...
  • Downloading cwaf_rules-1.230.tgz...
  • --2020-07-08 02:49:47-- https://waf.comodo.com/api/da_vendor?file=cwaf_rules-1.230.tgz
  • Resolving waf.comodo.com (waf.comodo.com)... 178.255.86.135
  • Connecting to waf.comodo.com (waf.comodo.com)|178.255.86.135|:443... connected.
  • WARNING: The certificate of 'waf.comodo.com' is not trusted.
  • WARNING: The certificate of 'waf.comodo.com' has expired.
  • HTTP request sent, awaiting response... 200 OK
  • Length: 363567 (355K) [application/x-gzip]
  • Saving to: '/usr/local/directadmin/custombuild/cwaf_rules-1.230.tgz'
  • 0K .......... .......... .......... .......... .......... 14% 745K 0s
  • 50K .......... .......... .......... .......... .......... 28% 2.15M 0s
  • 100K .......... .......... .......... .......... .......... 42% 2.02M 0s
  • 150K .......... .......... .......... .......... .......... 56% 2.31M 0s
  • 200K .......... .......... .......... .......... .......... 70% 12.6M 0s
  • 250K .......... .......... .......... .......... .......... 84% 2.78M 0s
  • 300K .......... .......... .......... .......... .......... 98% 11.6M 0s
  • 350K ..... 100% 32.0M=0.2s
  • 2020-07-08 02:49:47 (2.15 MB/s) - '/usr/local/directadmin/custombuild/cwaf_rules-1.230.tgz' saved [363567/363567]
  • 0K .......... .......... .......... .......... .......... 14% 753K 0s
  • 50K .......... .......... .......... .......... .......... 28% 2.03M 0s
  • 100K .......... .......... .......... .......... .......... 42% 2.31M 0s
  • 150K .......... .......... .......... .......... .......... 56% 2.60M 0s
  • 200K .......... .......... .......... .......... .......... 70% 11.9M 0s
  • 250K .......... .......... .......... .......... .......... 84% 2.66M 0s
  • 300K .......... .......... .......... .......... .......... 98% 12.2M 0s
  • 350K ..... 100% 21.0M=0.2s
  • 2020-07-08 02:49:47 (2.21 MB/s) - '/usr/local/directadmin/custombuild/cwaf_rules-1.230.tgz' saved [363567/363567]

```
Then I have a button Close and Kill process. I press Close, then the screen becomes darker and everything is stuck - nothing can be done. So i have to refresh the page and do it again. Typically on second try it works as indtended. But Im not sure if it builds everything correctly and if it is done only once with no unneeded processes and files. So its messy and thats really annoying.
Anyone else noticed that BUG?And Maybe somone has some suggestions on how to avoid this/fix this?
Server has 4GB of RAM and plenty of CPU power. (KVM virtualisation).
Keep in mind that this happens not only with ModSecurity, but pretty much with any option selected and building afterwards.


Thanks
 
Last night all installation was ended, when I tried to build Awstats. And it messed everything up, after stuck nothing was able to load (DA was not loading anymore at all). I think it deleted options.conf, reset everything (including port), but I was not able to confirm, since i had to restore a server from backup...
Today Im at the same point of installation. I selected Awstats, Then started build version 7.8, and I got this:

  • Executing /usr/local/directadmin/plugins/custombuild/admin/build awstats...
  • Downloading awstats-7.8.tar.gz...
  • --2020-07-08 03:19:42-- https://files-de.directadmin.com/services/custombuild/all/awstats/awstats-7.8.tar.gz
  • Resolving files-de.directadmin.com (files-de.directadmin.com)... 2a01:4f8:10a:6db::4, 46.4.143.169
  • Connecting to files-de.directadmin.com (files-de.directadmin.com)|2a01:4f8:10a:6db::4|:443... connected.
  • HTTP request sent, awaiting response... 200 OK
  • Length: 2938878 (2.8M) [application/octet-stream]
  • Saving to: '/usr/local/directadmin/custombuild/awstats-7.8.tar.gz'
  • 0K .......... .......... .......... .......... .......... 1% 6.24M 0s
  • 50K .......... .......... .......... .......... .......... 3% 8.08M 0s
  • 100K .......... .......... .......... .......... .......... 5% 11.7M 0s
  • 150K .......... .......... .......... .......... .......... 6% 11.5M 0s
  • 200K .......... .......... .......... .......... .......... 8% 11.9M 0s
  • 250K .......... .......... .......... .......... .......... 10% 11.6M 0s
  • 300K .......... .......... .......... .......... .......... 12% 12.0M 0s
  • 350K .......... .......... .......... .......... .......... 13% 8.72M 0s
  • 400K .......... .......... .......... .......... .......... 15% 11.5M 0s
  • 450K .......... .......... .......... .......... .......... 17% 11.8M 0s
  • 500K .......... .......... .......... .......... .......... 19% 11.6M 0s
  • 550K .......... .......... .......... .......... .......... 20% 11.7M 0s
  • 600K .......... .......... .......... .......... .......... 22% 11.6M 0s
  • 650K .......... .......... .......... .......... .......... 24% 11.7M 0s
  • 700K .......... .......... .......... .......... .......... 26% 11.6M 0s
  • 750K .......... .......... .......... .......... .......... 27% 9.05M 0s
  • 800K .......... .......... .......... .......... .......... 29% 11.5M 0s
  • 850K .......... .......... .......... .......... .......... 31% 11.5M 0s
  • 900K .......... .......... .......... .......... .......... 33% 11.8M 0s
  • 950K .......... .......... .......... .......... .......... 34% 11.4M 0s
  • 1000K .......... .......... .......... .......... .......... 36% 11.6M 0s
  • 1050K .......... .......... .......... .......... .......... 38% 11.9M 0s
  • 1100K .......... .......... .......... .......... .......... 40% 12.1M 0s
  • 1150K .......... .......... .......... .......... .......... 41% 8.68M 0s
  • 1200K .......... .......... .......... .......... .......... 43% 11.2M 0s
  • 1250K .......... .......... .......... .......... .......... 45% 12.5M 0s
  • 1300K .......... .......... .......... .......... .......... 47% 11.5M 0s
  • 1350K .......... .......... .......... .......... .......... 48% 11.4M 0s
  • 1400K .......... .......... .......... .......... .......... 50% 12.3M 0s
  • 1450K .......... .......... .......... .......... .......... 52% 11.2M 0s
  • 1500K .......... .......... .......... .......... .......... 54% 11.9M 0s
  • 1550K .......... .......... .......... .......... .......... 55% 8.82M 0s
  • 1600K .......... .......... .......... .......... .......... 57% 11.5M 0s
  • 1650K .......... .......... .......... .......... .......... 59% 11.8M 0s
  • 1700K .......... .......... .......... .......... .......... 60% 11.6M 0s
  • 1750K .......... .......... .......... .......... .......... 62% 11.8M 0s
  • 1800K .......... .......... .......... .......... .......... 64% 11.6M 0s
  • 1850K .......... .......... .......... .......... .......... 66% 11.8M 0s
  • 1900K .......... .......... .......... .......... .......... 67% 11.4M 0s
  • 1950K .......... .......... .......... .......... .......... 69% 9.30M 0s
  • 2000K .......... .......... .......... .......... .......... 71% 11.2M 0s
  • 2050K .......... .......... .......... .......... .......... 73% 11.8M 0s
  • 2100K .......... .......... .......... .......... .......... 74% 11.5M 0s
  • 2150K .......... .......... .......... .......... .......... 76% 11.5M 0s
  • 2200K .......... .......... .......... .......... .......... 78% 11.9M 0s
  • 2250K .......... .......... .......... .......... .......... 80% 11.5M 0s
  • 2300K .......... .......... .......... .......... .......... 81% 11.7M 0s
  • 2350K .......... .......... .......... .......... .......... 83% 8.67M 0s
  • 2400K .......... .......... .......... .......... .......... 85% 12.0M 0s
  • 2450K .......... .......... .......... .......... .......... 87% 12.1M 0s
  • 2500K .......... .......... .......... .......... .......... 88% 11.5M 0s
  • 2550K .......... .......... .......... .......... .......... 90% 11.4M 0s
  • 2600K .......... .......... .......... .......... .......... 92% 12.0M 0s
  • 2650K .......... .......... .......... .......... .......... 94% 11.4M 0s
  • 2700K .......... .......... .......... .......... .......... 95% 11.8M 0s
  • 2750K .......... .......... .......... .......... .......... 97% 8.85M 0s
  • 2800K .......... .......... .......... .......... .......... 99% 11.4M 0s
  • 2850K .......... ......... 100% 47.8M=0.3s
  • 2020-07-08 03:19:42 (11.0 MB/s) - '/usr/local/directadmin/custombuild/awstats-7.8.tar.gz' saved [2938878/2938878]
  • Downloading patches/awstats_url.patch...
  • --2020-07-08 03:19:42-- https://files-de.directadmin.com/services/custombuild/patches/awstats_url.patch
  • Resolving files-de.directadmin.com (files-de.directadmin.com)... 2a01:4f8:10a:6db::4, 46.4.143.169
  • Connecting to files-de.directadmin.com (files-de.directadmin.com)|2a01:4f8:10a:6db::4|:443... connected.
  • HTTP request sent, awaiting response... 200 OK
  • Length: 995 [application/octet-stream]
  • Saving to: '/usr/local/directadmin/custombuild/patches/awstats_url.patch'
  • 0K 100% 67.3M=0s
  • 2020-07-08 03:19:43 (67.3 MB/s) - '/usr/local/directadmin/custombuild/patches/awstats_url.patch' saved [995/995]

Stuck again. reloaded the page. At least this time everything did not went soure yet... Im trying rebuilding it again now.

Got NOTHING:
Executing /usr/local/directadmin/plugins/custombuild/admin/build awstats...
Thats it. nothing works. really weird stuff... AWstats is NOT building at all.. There must be some bug.
 
Last edited:
Will Skip Awstats building at this point. Hopefully some DA admin/programmer will look into it, because it is too much. One bug after other in one week...
 
Same thing trying to build clamd:

  • 12800K .......... .......... .......... .......... .......... 99% 12.2M 0s
  • 12850K .......... .......... .......... .......... .......... 99% 10.7M 0s
  • 12900K .......... ...... 100% 80.3M=2.2s
  • 2020-07-08 04:38:20 (5.68 MB/s) - '/usr/local/directadmin/custombuild/clamav-0.102.3.tar.gz' saved [13226108/13226108]
  • Downloading clamd...
  • --2020-07-08 04:38:20-- https://files-de.directadmin.com/services/custombuild/clamd
  • Resolving files-de.directadmin.com (files-de.directadmin.com)... 2a01:4f8:10a:6db::4, 46.4.143.169
  • Connecting to files-de.directadmin.com (files-de.directadmin.com)|2a01:4f8:10a:6db::4|:443... connected.
STUCK.
 
Back
Top