Category Archives: Operating Systems

Linux : Changing process priority

Here is a quicky how to change/modify the priority of a process on your system task scheduler. I will first explain how to change the priority of an existing process and then for new processes. 1. Find out the current priority either using “top” or with the specific process ID : ps -o pid,comm,nice -p… Read More »

Linux : How to hard reset remotely

If like a lot of sysadmin, you manage servers in a remote location and usual clean shutdown dosen’t work but you still have console access, there is a workaround to send an interrupt that will do exactly the same as you push the reset button. Since a reset on a heavy used server is never… Read More »

Linux : Dell OpenManage update srvadmin-omcommon failed

The latest update of Dell OpenManage for package srvadmin-omcommon-7.2.0-4.459.1 failed, ending with the following error : cp: cannot stat `/opt/dell/srvadmin/etc/openmanage/wwwroot/oem/data/ini/*ini’: No such file or directory Error in PREIN scriptlet in rpm package srvadmin-omcommon-7.2.0-4.459.1.el5.x86_64 error: %pre(srvadmin-omcommon-7.2.0-4.459.1.el5.x86_64) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping srvadmin-omcommon-7.2.0-4.459.1.el5 The updater is looking for some ini file… Read More »

Windows : BSOD 0x0000007B [inaccessible boot device]

If your computer briefly show blue screen “A problem has been detected and Windows has been shut down to prevent any damage to your computer” with stop code “0x0000007B” and then reboot, this usually mean your boot device is inaccessible. To troubleshoot and hopefully fix this, you need to access the “System Recovery Console” include in your… Read More »

Windows : Add entire subnet in a batch

Adding a bunch of IP to windows through the GUI is a nightmare! Fortunately, you can enter a single command that will add them in a second. Simply open the command prompt and type the following command : FOR /L %I IN (<IP_START>,1,<IP_END>) DO netsh interface ip add address “Local Area Connection” <IP_SUBNET>.%I <IP_NETMASK> Let’s… Read More »

Linux : ip_conntrack: table full, dropping packet

Having slow network performances, packet loss and noticed this message in the logs or dmesg output under heavy load on your Linux box? ip_conntrack: table full, dropping packet This is because you reach the limit set for connection tracking. To display the current usage, use the following command : wc -l /proc/net/ip_conntrack In such case,… Read More »

Linux : How to create swap area on a live system

This article is about how to create swap space on a live RHEL/CentOS Linux system. However you can still follow that procedure in case you messed up your filesystem and swap is now non-existent (e.g.: swap show 0M). First, use fdisk to edit the partition table and create a partition (this step might be skipped… Read More »