iptables and firewalld throwing errors, help please

General support questions
Post Reply
javismiles
Posts: 1
Joined: 2018/06/06 12:02:39

iptables and firewalld throwing errors, help please

Post by javismiles » 2018/06/06 12:04:40

Good day, hoping for some help friends,

Yesterday I installed an OVH distribution that has
Centos 7 + Plesk Onyx.

The problem is with the Firewall. I need to open some extra ports.
and both iptables and firewalld report errors.
Iptables complains about this:

libkmod: kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory

and firewalld, if i try that instead, complains about:
ERROR: Exception DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.5981" is not allowed to own the service "org.fedoraproject.FirewallD1" due to security policies in the configuration file

Im using the root user of this dedicated server

I dont understand the problem. Never had such problem with my previous centos 6 plesk server. Any tips? thank you very much

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: iptables and firewalld throwing errors, help please

Post by TrevorH » 2018/06/06 12:21:18

I'm almost sure from your description that you have been sold a system that is not CentOS. From the lack of a /proc/modules I am suspecting that it's an openvz container - if you run uname -r and the output contains the string "stab" then it's openvz and you need to seek support from either openvz or from OVH.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply