The XFS filesystem is broken in RHEL/CentOS 6.x – What can I do about it?
Recent versions of RHEL/CentOS (EL6) brought some interesting changes to the XFS filesystem I’ve depended on heavily for over a decade. I spent part of last summer chasing down an XFS sparse file situation resulting from a poorly-documented kernel backport. Others have had unfortunate performance issues or inconsistent behavior since moving to EL6. XFS was my default filesystem for data and growth-partitions, as it offered stability, scalability and a good performance boost over the default [...]
Continue Reading »cannot use any yum command: no space left on device
if i use any yum command, i get Loaded plugins: fastestmirror Traceback (most recent call last): File “/usr/bin/yum”, line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File “/usr/share/yum-cli/yummain.py”, line 285, in user_main errcode = main(args) File “/usr/share/yum-cli/yummain.py”, line 114, in main base.doLock() File “/usr/lib/python2.6/site-packages/yum/__init__.py”, line 1791, in doLock while not self._lock(lockfile, mypid, 0644): File “/usr/lib/python2.6/site-packages/yum/__init__.py”, line 1861, in _lock os.write(fd, contents) OSError: [Errno 28] No space left on device If i use the top command i see [...]
Continue Reading »iptables returns me “no chain/target/match by that name”
Been trying to run iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0:0 -j MASQUERADE and I keep getting the above error message. Trying to set up openvpn on my server. Does anyone have any idea how to solve this? Asked by laurenceputra firstly, venet0:0 is not valid, just use venet0, iptables does not care about interface labels. The error itself is down to the fact that either you do not have the nat table [...]
Continue Reading »How to install CentOs 5.8 on 3TB disk with RAID 1 on Hetzner EX 4S (10 TB) server?
I have installed centos 5.8 with Hetzner server rescue mode but its disk parttion table is in MSDOS formate which does not support more than 2 TB space of disk so i need to change the partition table into GPT formate.but enable to install os in Gpt formate how can i cange parttion table formate from dos to gpt. Thanks in advance. Asked by user133916 You don’t. GPT support is available on EL6, but not [...]
Continue Reading »Apachectl Missing from Apache HTTPD Binary
I extracted the httpd…tar.gz from here, but I don’t see apachectl. [vagrant@centos48 opt]$ ls httpd-2.2.23 httpd-2.2.23.tar.gz [vagrant@centos48 httpd-2.2.23]$ find . -name apachectl [vagrant@centos48 httpd-2.2.23]$ Asked by Kevin This is because you did not build the code. You downloaded the source code. So, you need to build it first to create the binaries and libraries. Answered by Khaled Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit [...]
Continue Reading »Yum Hangs on “Setting up repositories”
When running the following command, yum hangs on Setting up repositories. [vagrant@centos48 yum.repos.d]$ sudo yum install emacs Setting up Install Process Setting up repositories yum.conf [vagrant@centos48 ~]$ cat /etc/yum.conf [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel kernel-largesmp kernel-largesmp-devel kernel-hugemem kernel-hugemem-devel distroverpkg=centos-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 plugins=1proxy= [intentionally not listed]# PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d CentOS-Base.repo Note that I got the same error as before [...]
Continue Reading »oidentd properly configured yet not properly working on CentOS 6
I’ve been experiencing this problem with oidentd for a couple of days and I can’t seem to be able to find a solution to this yet. oidentd seems to give me headaches every time I want to get it work on different servers. I have to mention I’ve installed oidentd using rpm package (oidentd-2.0.8-8.el6.i686 more exactly) because directly typing yum install oidentd didn’t work for some unknown reason. I want to use it in order [...]
Continue Reading »SFTP Access on CentOS Server
I have a CentOS server with a plesk control panel installed, I used to login using SFTP with the root password to manage the files. However, and all of a sudden, I am not able to access the server using SFTP and I get this error when using CuteFTP ERROR:> [4/18/2012 5:18:31 PM] Connection to the server was lost, and the operation could not be performed. ERROR:> [4/18/2012 5:18:31 PM] Can’t connect to localkicks.com:22. SFTP21 [...]
Continue Reading »stop Centos 6.3 loading ‘Text Mode Setup Utility’ at restart
I’ve just puppetted a virtual machine and from scratch (based on Centos 6.3 minimal). That install process does a variety of things, but one annoying side effect is that when the VM reboots, it automatically opens a tool called: Text Mode Setup Utility 1.19.9 (c) 1999-200 Red Hat, Inc. Is says “Choose a Tool” with options for “Authentication configuration”, “Firewall configuration”, “Keyboard configuration”, “Network configuration”. I don’t think it serves a purpose as the VM [...]
Continue Reading »Centos access.conf setting not working well
I have centos machinesand below I set this in my access.conf – : root : ALL yet I can login via root and do all the stuff. So what is the job of access.conf then? Is there anything wrong done here? Asked by new14 Here you go and get to know how to activate access.conf I did add following in my access.conf file [root@lcoalhost ~]# tail -1 /etc/security/access.conf -:user1:ALL I added the following in the [...]
Continue Reading »Recent Posts
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?



