Category Archives: Servers

Linux : Cacti the image cache directory does not exist

Getting this error trying to use the real time graph usage with Cacti? The Image Cache Directory directory does not exist. Please first create it and set permissions and then attempt to open another realtime graph. OR : The Image Cache Directory is not writable. Please set permissions and then attempt to open another realtime… Read More »

Linux : Could not get shadow information for user

Having problems connecting to your server with SSH and get this error messages in the system logs? sshd[0000]: input_userauth_request: invalid user <user> sshd[0000]: error: Could not get shadow information for <user> sshd[0000]: Failed password for invalid user <user> from 0.0.0.0 port 00000 ssh2 This mean you are missing “UsePAM” directive and/or the directive is set… Read More »

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 »