Debian 12 and Legacy License

swaptoo

Verified User
Joined
May 2, 2016
Messages
9
Hi there,

I get errors with installing a new DA server on Deb12.

Could it be because it is a legacy license?

mkdir: cannot create directory '/etc/csf': File exists
Configuration modified to use iptables-nft
Configuration modified to use ip6tables-nft
Configuration modified for Debian/Ubuntu/Gentoo settings /etc/csf/csf.conf
mkdir: cannot create directory '/var/lib/csf': File exists
mkdir: cannot create directory '/var/lib/csf/backup': File exists
mkdir: cannot create directory '/var/lib/csf/Geo': File exists
mkdir: cannot create directory '/var/lib/csf/ui': File exists
mkdir: cannot create directory '/var/lib/csf/stats': File exists
mkdir: cannot create directory '/var/lib/csf/lock': File exists
mkdir: cannot create directory '/var/lib/csf/webmin': File exists
mkdir: cannot create directory '/var/lib/csf/zone': File exists
mkdir: cannot create directory '/usr/local/csf': File exists
mkdir: cannot create directory '/usr/local/csf/bin': File exists
mkdir: cannot create directory '/usr/local/csf/lib': File exists
mkdir: cannot create directory '/usr/local/csf/tpl': File exists
mkdir: cannot create directory 'webmin/csf/images': File exists
mkdir: cannot create directory 'ui/images': File exists
mkdir: cannot create directory 'da/images': File exists
mkdir: cannot create directory 'interworx/images': File exists
cp: cannot stat 'Geo': No such file or directory
chmod: cannot access '/etc/csf/*.cgi': No such file or directory
chmod: cannot access '/etc/csf/*.php': No such file or directory
chmod: cannot access '/etc/csf/*.py': No such file or directory
csf.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int]
11 | main ()
| ^~~~
csf.c: In function 'main':
csf.c:21:9: warning: implicit declaration of function 'setenv'; did you mean 'setpwent'? [-Wimplicit-function-declaration]
21 | setenv("CSF_RESELLER", "", 1);
| ^~~~~~
| setpwent
Unit /etc/systemd/system/firewalld.service is masked, ignoring.
command_csf: post install checks failed, csf command is not available
 
Could it be because it is a legacy license?
No. Debian 12 is supported for legacy licenses so that should work.

I've seen the same on an Alma 9 box. I would suggest a clean install. Then disable firewalld and maybe remove that one too.
Then -first- update your OS so it has all the newest stuff.

After that, try installation of DA again. Does that fixes things for you?
 
Very strange, i have a clean install.
Only installed Eset antivirus on it.
i run the setup command that is in the manual with my Legacy key.
bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'My-Legacy-key-goes-here'

In first i get errors like: Failed to fetch http://deb.debian.org/debian/pool/main/p/pkgconf/libpkgconf3_1.8.1-1_amd64.deb Cannot initiate the connection to deb.debian.org:80 (2a04:4e42:200::644). - connect (101: Network is unreachable) Cannot initiate the connection to deb.debian.org:80 (2a04:4e42::644). - connect (101: Network is unreachable) Cannot initiate the connection to deb.debian.org:80 (2a04:4e42:400::644). - connect (101: Network is unreachable) Cannot initiate the connection to deb.debian.org:80 (2a04:4e42:600::644). - connect (101: Network is unreachable)

This is because the firewall is active during install. if i do a flush of all and accept traffic that issue is gone.
Im using the latest Deb 12 bookworm.
 
Only installed Eset antivirus on it.
So then it's not a clean install. Clean install means nothing on it.

I would try again and then as said:
1.) Clean install, no virusscanners or other protection.
2.) Disable firewall too, totally, shouldn't be active during install anyway because CSF will take over. So stop firewalld and disable it.
3.) After the install, first run apt to update all packages
4.) Now use your setup command for DA.

I'm sure if you keep this procedure everything will work fine.
 
Back
Top