Category Archives: Servers

Linux : How to reallocate swap into memory

Use the following script if you want to reallocate the content of your swap area back to RAM. Before doing this, make sure you have enough free memory. #!/bin/bash echo -e “\nOutput of free before:” free swapoff -a ; swapon -a echo -e “\nOutput of free after:” free echo “”

Linux : Call Trace security_ops_task_setrlimit

Did you noticed the following message booting up CentOS/RHEL 5.9? You need to implement a remote task_setrlimit in your security module and call it directly from this functionWARNING: at security/security.c:51 security_ops_task_setrlimit() Call Trace: [<ffffffff8012f117>] security_ops_task_setrlimit+0x87/0x96 [<ffffffff8009dcd6>] do_prlimit+0xd7/0x1d2 [<ffffffff8009ee1f>] sys_setrlimit+0x36/0x43 [<ffffffff8005d29e>] tracesys+0xd5/0xdf According to RedHat, this message is harmless and can be safely ignored unless you’re defining… Read More »

Linux : VirtualHost 0.0.0.0:443 overlaps perhaps you need a NameVirtualHost directive

Getting this message after adding a new VirtualHost using a dedicated IP address? [warn] VirtualHost 0.0.0.0:443 overlaps with VirtualHost 0.0.0.0:443, the first has precedence, perhaps you need a NameVirtualHost directive Well, you probably forgot a NameVirtualHost directive with the dedicated IP as followed, before the declaration of any VirtualHost in the config : NameVirtualHost 0.0.0.0:443… Read More »

Windows : Active Directory install failed error 2147021879

While trying to install Active Directory Domain Service though Server Manager on Windows 2008 R2, the installation failed without much detail. If you have a look at : %appdata%\Local\Temp\ServerManager.Log %appdata%\Microsoft\Windows\ServerManager\ServerManagerExceptions.log You will find something like this : 2404: 2013-08-21 20:41:59.643 [CbsUIHandler] Error: -2147021879 : 2404: 2013-08-21 20:41:59.643 [CbsUIHandler] Terminate: 2404: 2013-08-21 20:41:59.706 [InstallationProgressPage] Verifying installation…… Read More »

Linux : Error reloading named domain.tld.hosts:0: ignoring out-of-zone data (domain.tld)

Getting this error reloading named on your secondary name server after creating a new zone? domain.tld.hosts:0: ignoring out-of-zone data (domain.tld) domain.tld/IN: has 0 SOA records domain.tld/IN: has no NS records domain.tld/IN: not loaded due to errors. _default/domain.tld/IN: bad zone This probably mean you are missing server “type” for one zone somewhere in your named.conf :… Read More »

Linux : ata: failed command: READ FPDMA QUEUED

Got “READ FPDMA QUEUED” errors from “dmesg” output on your Linux machine? ata2.00: status: { DRDY ERR } ata2.00: error: { UNC } ata2.00: failed command: READ FPDMA QUEUED ata2.00: cmd 60/28:70:28:19:89/00:00:6c:01:00/40 tag 14 ncq 20480 in res 41/40:00:00:00:00/00:00:00:00:00/00 Emask 0x9 (media error) This probably mean you have controller driver issue. Some controllers have known… Read More »

Debian : Resume apt-get after SSH timeout

Your SSH connection get cut or timeout while you were either updating or installing an application with apt-get? Don’t worry, these easy steps will get you out of trouble! 1. Try to run your command again : root@server:~# apt-get install <app_name> E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable) E: Unable… Read More »

Linux : DirectAdmin Cannot find /usr/include/et/com_err.h

Get the following error installing DirectAdmin? *** Cannot find /usr/include/et/com_err.h. (yum install libcom_err-devel) *** Installation didn’t pass, halting install. Once requirements are met, run the following to continue the install: cd /usr/local/directadmin/scripts ./install.sh As suggested by the installer, you need to install “libcom_err-devel” package as followed : yum install libcom_err-devel libcom_err To resume the installation,… Read More »