Online Promoters™ :: Web Development made simple

Category Archives: Linux

bind-chroot rpm update error: unpacking of archive failed on file /var/named/chroot/etc: cpio: lsetfilecon

While updating your bind-chroot rpm package you might enconunter the following error: "error: unpacking of archive failed on file /var/named/chroot/etc: cpio: lsetfilecon" This happens because the subfolders /etc and /var from the chroot folder are set as immutable. Being immutable the folder cannot be removed (deleted) by the package manager (yum) when uninstalling the previous version. In order to solve this issue you need to...

by Webmaster

Named Bind SELinux error: dumping master file: tmp-xxx: open: permission denied

When configuring DNS servers running BIND (named), on a slave server you might encounter the following error when the slave is trying to update its zones from the master server: named[25319]: zone tlthost.net/IN: Transfer started. named[25319]: transfer of 'tlthost.net/IN' from 192.168.xx.xxx#53: connected using 192.168.xx.xxx#59827 named[25319]: dumping master file: tmp-NrfJj6zM6s: open: permission denied named[25319]: transfer of 'tlthost.net/IN' from 192.168.xx.xxx#53: failed while receiving responses: permission denied named[25319]:...

by Webmaster

Linux basic network configuration tools

Linux basic network configuration tools Here are some network configuration tools (depending on your system you might not have some of them) Check their availabillity with the whereis command, ex: [root@linux hack]# whereis netconf netconf A GUI interactive interface available on Redhat 6.1 linuxconf A GUI interactive interface available on Redhat 6.1 which includes netconf configuration. netconfig A GUI step by step interface ifconfig A...

by Webmaster

RTNETLINK answers: Invalid argument

While setting up the network in a linux environment you may encounter this error: RTNETLINK answers: Invalid argument First check your /etc/sysconfig/network-scripts/ifcfg-ethX script ... For more linux networking commands check this post. If you use static IP addressing you might want to check out the following commands: - check out the network adapters: [root@linux hack]# /sbin/ifconfig - Use Linux 'netstat' command to display or view kernel...

by Webmaster