Author Archives: Kaven Gagnon

avatar

About Kaven Gagnon

System & Network Architect

Mac : Wireshark won’t start and ask for X11 with OSX Mavericks

With the latest OSX Mavericks 10.9 release, Wireshark refuse to open and complain about X11. First, make sure you have the latest XQuartz installed. It can be found at : http://xquartz.macosforge.org/ (Make sure to logoff/login again to your session once you installed it.) Then, if you attempt to open up Wireshark, you’ll end up with… Read More »

Category: Mac

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

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 »