Tuesday, 30 July 2013

Solution: Bind Failed Permission Denied error in Linux

if you get Bind Failed Permission Denied error in Linux
for different application like "iperf" etc
Solution is :  Disable SeLinux


Below steps show how to disable SELINUX

To test SeLinux is running or not
[root@center /]# selinuxenabled && echo enabled || echo disabled
enabled

So SELINUX is Enabled

To stop temporary
[root@xyz~] sudo setenforce 0

To stop SELINUX permanently
[root@center /]# vim /etc/selinux/config

#And change
SELINUX=enforcing

to

SELINUX=disabled

Save the File and Restart the system to take effect

Share This!



1 comment:

  1. Or you could read the AVC and use semanage port -a to add the right port labeling and not disable your system security,

    ReplyDelete

Here We Write The Problems we face at different situations and Solutions to those problems.