CSF error on CentOS 9

Dauser2007

Verified User
Joined
Dec 5, 2007
Messages
188
[root@secure custombuild]# da build csf

Installed:
iptables-legacy-1.8.10-5.1.el9.next.x86_64
iptables-legacy-libs-1.8.10-5.1.el9.next.x86_64

Installing CSF...
############################################################################################################################# 100.0%
mkdir: cannot create directory '/etc/csf': File exists
Using configuration defaults
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.
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled or disabled using systemctl.

Possible reasons for having this kind of units are:
* A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
* A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
* A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
* In case of template units, the unit is meant to be enabled with some
instance name specified.
CSF installation has finished.
[root@secure custombuild]# yum update
Last metadata expiration check: 0:00:15 ago on Sun 24 Nov 2024 08:17:47 AM UTC.
Error:
Problem: package iptables-legacy-1.8.10-5.1.el9.next.x86_64 from @System requires (iptables-libs(x86-64) = 1.8.10-4.el9 or iptables-libs(x86-64) = 1.8.10-4.el9_4), but none of the providers can be installed
- cannot install both iptables-libs-1.8.10-5.el9.x86_64 from baseos and iptables-libs-1.8.10-4.el9.x86_64 from @System
- cannot install both iptables-libs-1.8.10-5.el9.x86_64 from baseos and iptables-libs-1.8.10-4.el9.x86_64 from baseos
- cannot install the best update candidate for package iptables-libs-1.8.10-4.el9.x86_64
- cannot install the best update candidate for package iptables-legacy-1.8.10-5.1.el9.next.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


It seems that CSF will cause iptable problems on centos 9, has anyone encountered the same situation?
 
[root@secure directadmin]# rpm -qa | grep -i iptables-libs
iptables-libs-1.8.10-4.el9.x86_64

but yum update , show same issue
 
Back
Top