As I am updating all of my DA servers (remove mod_php) I end up updating php via custombuild/build_software.html (the build in updater). On a VPS it may take up to an hour to do all of the php versions.
Any how, what happens: I am looking at the screen doing the update (compiling php_version1 up to verions4) and in a second tab I have the main screen to DA still open. Then I press F5 to reload, and I get to see that my IP has been blacklisted.
Yeah, right. Why? Doing what? I was just waiting for my update page to say 'done', which takes a long time. And note: the lines do keep coming in, so my session is still running!
As I am doing one after another VPS, I see this is a returning problem and I found that I am being FORCED to always create the whitelist.
Checking directadmin/login.log: Nope, not one failed login.
Checking directadmin/error.log: Nope, no mention of a failed login or IP block
Checking 2022-Dec-06.log
--> The main screen which was open had a javascript and send me to the logout page
06/12/2022:16:15:38 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 admin
06/12/2022:16:15:45 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 admin
06/12/2022:16:15:52 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 admin
06/12/2022:16:15:53 IP.IP.IP.IP GET /CMD_LOGOUT HTTP/1.1 admin
06/12/2022:16:15:53 IP.IP.IP.IP GET / HTTP/1.1 (null)
06/12/2022:16:15:59 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:01 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:03 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:05 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:07 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:09 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:11 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:13 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:15 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
--- many lines come here after, since I am watching the output of the compiling
This is a bug ! ! ! I did not logout, my (open tab) browser did apparently.
And yes, the help text explains you can add this file to your edit_files, however, once kicked out, that is a nogo for me.
I am hereby requesting Direct Admin to STOP blacklisting an admin who is waiting for an update page to load.
OOPS: and the compilation even failed, all things happen at the same time.
/bin/sh /usr/local/directadmin/custombuild/php-8.1.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/php-8.1.12/ext/fileinfo/ -I/usr/local/directadmin/custombuild/php-8.1.12/include -I/usr/local/directadmin/custombuild/php-8.1.12/main -I/usr/local/directadmin/custombuild/php-8.1.12 -I/usr/local/directadmin/custombuild/php-8.1.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/php-8.1.12/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-8.1.12/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-8.1.12/TSRM -I/usr/local/directadmin/custombuild/php-8.1.12/Zend -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -I/usr/local/directadmin/custombuild/php-8.1.12/ext/fileinfo/libmagic -c /usr/local/directadmin/custombuild/php-8.1.12/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo -MMD -MF ext/fileinfo/libmagic/apprentice.dep -MT ext/fileinfo/libmagic/apprentice.lo
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1157: ext/fileinfo/libmagic/apprentice.lo] Error 1
*** The make has failed. Exiting...
Done!
Any how, what happens: I am looking at the screen doing the update (compiling php_version1 up to verions4) and in a second tab I have the main screen to DA still open. Then I press F5 to reload, and I get to see that my IP has been blacklisted.
Yeah, right. Why? Doing what? I was just waiting for my update page to say 'done', which takes a long time. And note: the lines do keep coming in, so my session is still running!
As I am doing one after another VPS, I see this is a returning problem and I found that I am being FORCED to always create the whitelist.
Checking directadmin/login.log: Nope, not one failed login.
Checking directadmin/error.log: Nope, no mention of a failed login or IP block
Checking 2022-Dec-06.log
--> The main screen which was open had a javascript and send me to the logout page
06/12/2022:16:15:38 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 admin
06/12/2022:16:15:45 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 admin
06/12/2022:16:15:52 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 admin
06/12/2022:16:15:53 IP.IP.IP.IP GET /CMD_LOGOUT HTTP/1.1 admin
06/12/2022:16:15:53 IP.IP.IP.IP GET / HTTP/1.1 (null)
06/12/2022:16:15:59 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:01 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:03 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:05 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:07 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:09 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:11 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:13 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
06/12/2022:16:16:15 IP.IP.IP.IP GET /CMD_PLUGINS_ADMIN/custombuild/check_process.raw HTTP/1.1 (null)
--- many lines come here after, since I am watching the output of the compiling
This is a bug ! ! ! I did not logout, my (open tab) browser did apparently.
And yes, the help text explains you can add this file to your edit_files, however, once kicked out, that is a nogo for me.
I am hereby requesting Direct Admin to STOP blacklisting an admin who is waiting for an update page to load.
OOPS: and the compilation even failed, all things happen at the same time.
/bin/sh /usr/local/directadmin/custombuild/php-8.1.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/php-8.1.12/ext/fileinfo/ -I/usr/local/directadmin/custombuild/php-8.1.12/include -I/usr/local/directadmin/custombuild/php-8.1.12/main -I/usr/local/directadmin/custombuild/php-8.1.12 -I/usr/local/directadmin/custombuild/php-8.1.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/local/directadmin/custombuild/php-8.1.12/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-8.1.12/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-8.1.12/TSRM -I/usr/local/directadmin/custombuild/php-8.1.12/Zend -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -I/usr/local/directadmin/custombuild/php-8.1.12/ext/fileinfo/libmagic -c /usr/local/directadmin/custombuild/php-8.1.12/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo -MMD -MF ext/fileinfo/libmagic/apprentice.dep -MT ext/fileinfo/libmagic/apprentice.lo
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1157: ext/fileinfo/libmagic/apprentice.lo] Error 1
*** The make has failed. Exiting...
Done!