After Initial Install on Debian 11, Several Services 'Not found' or 'Failed'

that's backward. you should make it access from "/sbin/" and jump into "/usr/sbin"
 
ok did you install iptables as root?

because mine is installed in /sbin/

you need to install iptables before installing CSF or DA

also if you reinstall first clean custombuild.

da build clean

How I do it is this:

Fresh OS and i do this as root:
apt update && apt upgrade
service ufw stop
service ufw disable
apt install file libio-socket-inet6-perl libsocket6-perl sendmail dnsutils unzip libio-socket-ssl-perl libcrypt-ssleay-perl git perl iptables libnet-libidn-perl libwww-perl liblwp-protocol-https-perl libgd-graph-perl


And then install DA with CSF yes. Or I install DA with CSF no and afterwards I install CSF

I do not have symbolic links. I have everything in /sbin/ on my Debian.
 
ok did you install iptables as root?

because mine is installed in /sbin/

you need to install iptables before installing CSF or DA
I did not install iptables
also if you reinstall first clean custombuild.

da build clean
I wiped the VPS and reinstalled Debian 11.0
How I do it is this:

Fresh OS and i do this as root:
apt update && apt upgrade
I did this now, but not the previous times.
service ufw stop

service ufw disable
unrecognized service
apt install file libio-socket-inet6-perl libsocket6-perl sendmail dnsutils unzip libio-socket-ssl-perl libcrypt-ssleay-perl git perl iptables libnet-libidn-perl libwww-perl liblwp-protocol-https-perl libgd-graph-perl
Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
file is already the newest version (1:5.39-3+deb11u1).
iptables is already the newest version (1.8.7-1).                <--- 
perl is already the newest version (5.32.1-4+deb11u3).    <---
unzip is already the newest version (6.0-26+deb11u1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 exim4-config : Conflicts: sendmail-bin but 8.15.2-22+deb11u3 is to be installed.      <---
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
iptables are good, but something else is wrong

And then install DA with CSF yes. Or I install DA with CSF no and afterwards I install CSF

I do not have symbolic links. I have everything in /sbin/ on my Debian.
I removed the symbolic link (from above) and am going to attempt the DA Install
 
@Ohm J @Stije

Whoa!
Problem?

On my system iptables are a symlink to /etc/alternatives/iptables

Code:
root@vps:/usr/sbin# ls -l ipta*
lrwxrwxrwx 1 root root   26 Dec  1  2021 iptables -> /etc/alternatives/iptables           <----
-rwxr-xr-x 1 root root 7057 Jan 15  2021 iptables-apply
lrwxrwxrwx 1 root root   20 Jan 17  2021 iptables-legacy -> xtables-legacy-multi
lrwxrwxrwx 1 root root   20 Jan 17  2021 iptables-legacy-restore -> xtables-legacy-multi
lrwxrwxrwx 1 root root   20 Jan 17  2021 iptables-legacy-save -> xtables-legacy-multi
lrwxrwxrwx 1 root root   17 Jan 17  2021 iptables-nft -> xtables-nft-multi
lrwxrwxrwx 1 root root   17 Jan 17  2021 iptables-nft-restore -> xtables-nft-multi
lrwxrwxrwx 1 root root   17 Jan 17  2021 iptables-nft-save -> xtables-nft-multi
lrwxrwxrwx 1 root root   34 Dec  1  2021 iptables-restore -> /etc/alternatives/iptables-restore
lrwxrwxrwx 1 root root   17 Jan 17  2021 iptables-restore-translate -> xtables-nft-multi
lrwxrwxrwx 1 root root   31 Dec  1  2021 iptables-save -> /etc/alternatives/iptables-save
lrwxrwxrwx 1 root root   17 Jan 17  2021 iptables-translate -> xtables-nft-multi

** EDIT **
Code:
root@vps:/# which iptables
/usr/sbin/iptables
 
Last edited:
that's normal, new OS will replace iptables with nftables, but it's will keep backwards comparative thing for command line.

csf installing script call binary from "/sbin/iptables". without this, it would be fail anyways.

you can testing it by yourself.
Code:
/sbin/iptables --version

We not sure. how's your cloud provider generate this Debian 11 template. If just upgrade from old version 8-9-10-11, could cause issued like this.
 
that's normal, new OS will replace iptables with nftables, but it's will keep backwards comparative thing for command line.

csf installing script call binary from "/sbin/iptables". without this, it would be fail anyways.

you can testing it by yourself.
Code:
/sbin/iptables --version
Code:
root@vps:/# /sbin/iptables --version
-bash: /sbin/iptables: No such file or directory
So, here is the problem. The iptables are not where they are expected to be.

We not sure. how's your cloud provider generate this Debian 11 template. If just upgrade from old version 8-9-10-11, could cause issued like this.
I do not know what they're doing. The Debian reinstall options are

debian-9.12-x86_64
debian-10.0-x86_64
debian-11.0-x86_64
 
Started the DA install with options.conf copied. A couple of interesting things

1. Near the end of DA install was a line:
[setup.sh] Failed to start CustomBuild installer, please run command 'da build all d' manually
Entered that on command line manually and the installation continued
2. Seen several times through the log output
license is expired, task is added to the queue file to be executed later
3. Login to web UI, license key is missing.

Updated the license key with da license-set '.... key .....'
Ran da build all d (for good measure)

So, now, it seems that the server is running smoothly. It's time to install csf. 🤞
 
Back
Top