Trying to fix errors related to system-config-securitylevel? We can help you with it.
The common errors include ‘command not found’ and ‘port not found’.
Here at Bobcares, we often receive requests regarding system-config-securitylevel as a part of our Server Management Services.
Today, let’s discuss about this and see how our Support Engineers fix its related errors.
More about system-config-securitylevel
Let’s now discuss in brief about system config securitylevel.
It is a graphical program for configuring firewall and SELinux settings.
An updated packages of this is available and it provides fixes to many old bugs.
This includes providing focus on the port entry every time gets opened. Also, ensures that there is no loss in the port entries if there is a predefined service.
Common errors relating to system-config-securitylevel
Let’s now look into a few common errors. Also, let’s see how our Support Engineers fix the relating errors.
1. Package un-availability
One of the common errors customers face is the ‘command not found’ while configuring the firewall. And the main reason behind this error is the package not being installed on the server.
Recently, one of our customers approached us with the below error message.
He received the error message ‘command not found’ while running the system config securitylevel command.
On checking, our Support Engineers found that the text interface version of the firewall configuration utility was missing. Therefore, we installed it by using yum command as below.
yum install system-config-firewall-tui
After the installation, the error no more appeared.
Finally, this fixed the problem.
2. Package update
One of our customers was having trouble adding custom ports. After adding the custom ports, the applet wouldn’t run instead gave the below error.
File "/usr/share/system-config-securitylevel/securitylevel.py", line 453, in stand_alone
self.readFile()
File "/usr/share/system-config-securitylevel/securitylevel.py", line 353, in readFile
protoname = socket.getservbyport(int(service), protocol)
socket.error: port/proto not found
Our Support Engineers analyzed this problem. Then we suggested our customer to update the system config securitylevel packages to the latest one.
For that, we ran the below command.
yum update system-config-securitylevel
This finally, fixed the error.
[Need any further assistance with this graphical program? – We’ll help you]
Conclusion
In short, the system-config-securitylevel is a graphical program for configuring firewall and SELinux settings. Today, we saw the different errors. Also, we saw how our Support Engineers fixed its related errors.
0 Comments