-
md raid not rebulding — resync=pending
You have problems with automatic rebuilding raid 1 (md) on debian (resync=PENDING)? mdX : active (auto-read-only) raid1 sdaY[0] sdbY[1] 2000000 blocks [2/2] [UU] resync=PENDING do; mdadm –readwrite /dev/mdX and the process of rebuilding starts [===>…] resync = 16.2% (324736/2000000) finish=0.6min speed=46390K/sec
-
Remove corrupt Rhythmbox database – Ubuntu 10.04
What to do: username@computername:~$ rm .local/share/rhythmbox/rhythmdb.xml I need to downgrade Rhythmbox (Ubuntu downgrade 10.10 –> 10.04) and the new database didnt work with old rhythmbox (Version: 0.12.8-0ubuntu7)
-
cssh – cluster ssh
This package is used to manage multiple pc, servers at once. I use it, for updating multiple servers at once. # cssh computer-group # vim /etc/clusters (configuration file for computer groups) computer-group user@host1 user@host2 user@host3 user@host4 user@host5 From now on all commands that I use are executed on all defined computers.
-
Mount ntfs on linux (debian)
# aptitude install ntfs-3g # mount -t ntfs-3g /dev/xzy /mnt/xzy
-
Mac OS X commands
hdiutil burn -fullerase <— completely erase optical rw media alt + command + p + r <— force reboot macbook pro
-
Reset root password on linux
What do you need? Linux live cd (Ubuntu, Fedora,…) What to do? 1. Boot with linux live cd 2. Start terminal and type; # sudo su # mount /dev/sdaX /mnt X – root partition # chroot /mnt # passwd…
-
Debian 6 + pcman 0.9.7 unable to mount usb drive
PROBLEM debian 6 + pcman 0.9.7 — unable to mount usb drive SOLUTION Install gvfs # aptitude install gvfs
-
Zimbra statistical daemon doesnt running
PROBLEM (zmstatd doesnt run) [zimbra@mail ~]$ zmstatctl status Running: zmstat-cpu Running: zmstat-mysql Running: zmstat-io-x process 16010 in /opt/zimbra/zmstat/pid/zmstat-fd.pid not running Running: zmstat-proc Running: zmstat-df Running: zmstat-vm Running: zmstat-mtaqueue Running: zmstat-allprocs Running: zmstat-io SOLUTION [zimbra@mail ~]$ mv /opt/zimbra/zmstat/pid/zmstat-fd.pid /opt/zimbra/zmstat/pid/zmstat-fd.pid.old [zimbra@mail ~]$ zmcontrol stop && zmcontrol start << restart zimbra server
-
Change registered owner and organization
How to change registered owner`s name on Windown XP: 1. Run regedit 2. Find and go to below key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version 3. Change your name and organization in following subkeys: – RegisteredOwner – RegisteredOrganization URL: http://www.astahost.com/info.php/Change-Registered-Owners-Win-Xp_t2311.html
-
Reset gnome 2 panel
rm -r ~/.gconf/apps/panel or just move the folder elsewhere if you want to back it up. Log out of Gnome, then back in. URL: http://www.celsius1414.com/2006/08/31/how-to-reset-gnome-panel-to-default-in-ubuntugnome2