Category Archives: Operating Systems

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 »

Mac : MacPorts selfupdate failed on OSX Mavericks

Upgraded to Mac OSX Mavericks lately? Well, you’ll need to update MacPorts once you’re done to keep it working. To update MacPorts, just do the following command in Terminal : sudo port -v selfupdate The terminal will keep working running a bunch of scripts by itself, then you end up with the following output error… 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 : 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 : 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 »