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 “”

Mac OSX : Get full system information through terminal

Gathering information through the GUI option “About this Mac” can be annoying and not reveal all the information you wanted. Fortunately, there is an existing command line that can provide what you are looking for. Terminal can be launched through : Go > Utilities > Terminal Then several commands exist to either gather full system… Read More »

Category: Mac

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 : How to show boot progress on CentOS6/RHEL6

Since CentOS6/RHEL6, boot messages are hidden behind a splash screen that display a progress bar. To show the boot progression, simply press the “arrow up“ key. To make the change permanently, edit the Grub configuration file : /boot/grub/grub.conf And remove the following : rhgb quiet

Windows : BSOD 0x0000006B Process1_Initialization_Failed

Windows 7 or Server 2008 might display a blue screen of death booting your system such as : PROCESS1_INITIALIZATION_FAILED *** STOP: 0x0000006B This can be a filesystem issue or hardware related such as ; bad disks, bad or incorrect cables. The first steps for resolution would be : – Boot in recovery and open the Command tool… 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 »

JunOS : Interface must already be defined commit error

Getting this error trying to add a layer 3 routing interface (l3-interface) to a VLan on JunOS? root@EX4200# set vlans v1000 l3-interface vlan.1000 root@EX4200# commit comment “add l3-iface to vlan 1000” [edit vlans v1000 l3-interface] ‘l3-interface vlan.1000’ Interface must already be defined under [edit interfaces] error: commit failed: (statements constraint check failed) [edit] root@EX4200#  … Read More »