Stuff…

I know I will forget.

Stuff… header image 4

Entries Tagged as 'Windows'

Plesk backup temporary file filling disk

February 10th, 2009 · No Comments

It appears that the Plesk backup utility (pleskbackup Linux) writes to a temporary file prior to moving it to the final destination you’ve specified on the command line.
ie. When running:
/usr/local/psa/bin/pleskbackup all /mnt/nfsshare/pleskbackup.bak
Plesk writes the whole backup file to the local disk in /var/lib/psa/dumps/tmp/:
# ls -lah /var/lib/psa/dumps/tmp/
total 1.9G
drwx—— 2 psaadm psaadm 4.0K 2009-02-09 18:38 .
drwxr-xr-x 3 [...]

[Read more →]

Tags: Coding · Control Panels · Linux · Windows

Windows VE/CT EFD mount/check

February 1st, 2009 · No Comments

Was having a problem with a Windows Virtuozzo VE/CT and needed to check the VE/CT virtual disk for file system corruption.
URLs:

http://kb.parallels.com/en/1008

Commands issued to check the virtual disk file for errors:
C:\Documents and Settings\Administrator>vzcfgt get 100 GUID
{A88D866B-0382-47FC-9BFB-37056F286745}
C:\Documents and Settings\Administrator>vzdskctl mount d:\vz\private\100\root.ef
d {A88D866B-0382-47FC-9BFB-37056F286745}
SUCCESS
C:\Documents and Settings\Administrator>chkdsk /f \\?\Volume{A88D866B-0382-47FC-
9BFB-37056F286745}
C:\Documents and Settings\Administrator>vzdskctl umount {A88D866B-0382-47FC-9BFB
-37056F286745}
SUCCESS
Whilst the virtual disk is mounted you can [...]

[Read more →]

Tags: Virtualisation · Windows

IIS6 and passive mode FTP

October 8th, 2008 · No Comments

http://clintm.esria.com/2006/11/20/configuring-windows-2003-firewall-and-iis-6-for-pasv-ftp-port-range/
http://support.microsoft.com/?id=555022

Make sure that IIS is setup to allow the meta base to be edited whilst running and then run:
cd Inetpub\AdminScripts
adsutil.vbs set /MSFTPSVC/PassivePortRange “5500-5520″
iisreset
Then you need to open the ports in the firewall.  If using the inbuilt firewall you can add the manually like:
C:\Inetpub\AdminScripts>NETSH FIREWALL ADD PORTOPENING TCP 5500 PassFTP
Ok.
C:\Inetpub\AdminScripts>NETSH FIREWALL ADD PORTOPENING TCP 5501 PassFTP
Ok.
etc.

[Read more →]

Tags: Operating System · Uncategorized · Windows

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