Stuff…

I know I will forget.

Stuff… header image 4

Entries from June 2008

Killing processes in windows via command line

June 25th, 2008 · No Comments

For some reason I couldn’t login to RDP of a Virtuozzo CT/VE so I had to go in via the VZ hardware node.
URL: http://www.tech-recipes.com/rx/446/xp_kill_windows_process_command_line_taskkill
tasklist
Listed all the tasks.  It appears that EXCEL.EXE had 100s of processes running so I needed to kill them.  I tried:
 taskkill /IM EXCEL.EXE
But, it warned me that it needed to be forcefully [...]

[Read more →]

Tags: Operating System · Windows

Windows services

June 25th, 2008 · No Comments

For some reason I couldn’t login to RDP on a machine and needed to restart a service.  The following commands were useful:
sc query
sc query PleskControlPanel
sc start PleskControlPanel

[Read more →]

Tags: Operating System · Windows

Virtuozzo for Linux VE/CT was locked for some reason and couldn’t start it

June 18th, 2008 · No Comments

A VE/CT on Linux started and then stopped mysteriously. I couldn’t manually restart it with vzctl start 101. The following URL showed how to determine which PID had locked the VE/CT:

http://faq.swsoft.com/article_133_655_en.html

In this case running cat /vz/lock/101.lck showed that vzquota was recalculating the quota for the virtual environment.

[Read more →]

Tags: Operating System · Virtualisation

Linux Software RAID 1

June 14th, 2008 · No Comments

I was in the situation where the primary disk (hda) had dropped out of the RAID arrays it was in due to seek errors so needed to replace the primary disk.
URLs:

http://www.royong.com/showthread.php?t=16
http://www.linuxselfhelp.com/gnu/grub/html_chapter/grub_3.html
http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/Set_up_Grub_by_hand

Needed to install the boot loader onto the secondary disk as no doubt it hadn’t been setup.
Tried the grub-install command:
grub-install /dev/hdc
Thinking that this would [...]

[Read more →]

Tags: Linux · Operating System

Plesk restore didn’t work

June 14th, 2008 · No Comments

Having a 12GB Plesk backup file is all well and good except if the domain you want to restore is 7GB in size (Plesk 8.1 Linux).  The Plesk restore died every time I tried to restore this specific domain.
URL: http://kb.parallels.com/en/1757
Explains 3 different methods for restoring data from the plesk backup file manually.  Method 1 was [...]

[Read more →]

Tags: Control Panels · Linux