DA not Completing Update?

davidc

Verified User
Joined
Jun 19, 2020
Messages
85
This is a Debian 11 OS.

So, there was a 10 (maybe a 7) in the CustomBuild > Software > Updates.

I pressed Update and the attached output appeared in the terminal. Essentially if stopped at (last few lines):

Code:
insserv: warning: current start runlevel(s) (empty) of script `apache-htcacheclean' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `apache-htcacheclean' overrides LSB defaults (0 1 6).
insserv: script bind9: service bind9 already provided!
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
apache-htcacheclean.service is a disabled or a static unit not running, not starting it.
Processing triggers for man-db (2.9.4-2) ...

I don't think it's completing, yet the update is gone.

This is a week old server that I've had plenty of weird incidents with.

Related: Following the above, I attempted ./build all and the output stops very early on with a repeatedly seen error with CSF (recently discussed in the Debian area). See 2nd attached file. Last few lines:

Code:
Installing CSF...
############################################################################################################################################### 100.0%
open3: exec of /sbin/iptables -I OUTPUT -p tcp --dport 9999 -j ACCEPT failed: No such file or directory at /usr/local/directadmin/custombuild/tmp/tmp.RvKk2aU5RS.csf/csftest.pl line 144.
command_csf: preliminary test failed, CSF is missing some modules
2024/07/13 14:33:36  info executing task            task=action=notify&message=CustomBuild+installation+has+failed%2C+please+check+the+following+file+for+more+information%3A%0A%2Fvar%2Flog%2Fdirectadmin%2Fcustombuild.1720895613.428231.YWxsAA.log&subject=CustomBuild+installation+has+failed&value=admin
2024/07/13 14:33:36  info finished task             duration=35.534569ms task=action=notify&message=CustomBuild+installation+has+failed%2C+please+check+the+following+file+for+more+information%3A%0A%2Fvar%2Flog%2Fdirectadmin%2Fcustombuild.1720895613.428231.YWxsAA.log&subject=CustomBuild+installation+has+failed&value=admin
Thoughts? Remedy?
 

Attachments

CSF is in the Plugin Manager. Should it be in there?

I think it shouldn't.
 
I can't answer all questions but something fishy is going on with that system every time. However I don't have a clue about the cause.
As advised before, I think you need to send in a ticket so DA can have a good look what can be going wrong here. This all should certainly not happen.
I presume you did not install things yourself.

The command:
systemctl status apache2.service
and
journalctl -xe
should shed some information on why that service exited.

As for the updates, be aware that in Custombuild there are 2 updates viewable. One are the DA updates and theo ther is the OS updates.

I think it shouldn't.
It's a plugin, So where do you think it should be?
 
Code:
root@vps:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2024-07-13 14:21:06 EDT; 4h 5min ago
       Docs: https://httpd.apache.org/docs/2.4/

Jul 13 14:21:06 vps.software.com systemd[1]: Starting The Apache HTTP Server...
Jul 13 14:21:06 vps.software.com apachectl[425610]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0>
Jul 13 14:21:06 vps.software.com apachectl[425610]: no listening sockets available, shutting down
Jul 13 14:21:06 vps.software.com apachectl[425610]: AH00015: Unable to open logs
Jul 13 14:21:06 vps.software.com apachectl[425600]: Action 'start' failed.
Jul 13 14:21:06 vps.software.com apachectl[425600]: The Apache error log may have more information.
Jul 13 14:21:06 vps.software.com systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jul 13 14:21:06 vps.software.com systemd[1]: apache2.service: Failed with result 'exit-code'.
Jul 13 14:21:06 vps.software.com systemd[1]: Failed to start The Apache HTTP Server.

Code:
root@vps:~# journalctl -xe
Jul 12 15:46:03 vps.software.com sshd[1743636]: Received disconnect from xxx.xxx.xxx.x port 57921:11: cleanup
Jul 12 15:46:03 vps.software.com sshd[1743636]: Disconnected from user someuser xxx.xxx.xxx.x port 57921
.... many more pairs of these ....

It's a plugin, So where do you think it should be?
Set to yes or no in the CustomBuild options.

As advised before, I think you need to send in a ticket so DA can have a good look what can be going wrong here. This all should certainly not happen.
I presume you did not install things yourself.
Opening a ticket now.
 
Last edited:
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0>
You might want to check the apache log, I don't know of any address 0.0 maybe something old is in use like a removed openlitespeed or something else on apache's address.

Custombuild is now part of Directadmin so not switchable and only visible for admin in Evo skin, build in by default. So its'working as designed.

.... many more pairs of these ....
Must be something else there too, other then your logins to SSH.

Anyway I hope the ticket response will shed some light on the case.
 
Back
Top