Contents:
Migrate containers
Containers can be migrated via command line (windows)
Syntax
Simple format
vzmigrate -f container_ID -A Destinationserver_IP -U administrator -P password
More functions
vzmigrate -f 175 -A {DestinationHNaddress} -U {Destination Node Administrative Username} -P {Password for account with rights on Destination Node} -r yes
The -r yes at the end of the command removes the container from the source node after successful migration, it is optional.
Example
vzmigrate -f 100 -A 11.11.11.12 -U administrator -P password
For more information refer
http://forum.parallels.com/pda/index.php/t-89784.html
Prevent synattack in Windows server 2003
To prevent synattack in Windows server 2003 please follow this-
Save the following in synattackprotect.reg and double click it to merge-
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters]
EnableTCPChimney=dword:00000000
SynAttackProtect=dword:00000002
TcpMaxHalfOpen=dword:00000064
TcpMaxHalfOpenRetried=dword:00000050
TcpMaxPortsExhausted=dword:00000005
TcpMaxConnectResponseRetransmissions=dword:00000003
Windows log file locations
Please note the path may differ with respect to the application installed or configured (IIS)
SMTP log files
C:WINDOWSsystem32LogFilesSMTPSVC1
Webalizer other statistics logs
IIS -> domain -> website -> right click -> open -> You can find account name / logs
ex: e:illgateslogs
e:illgatesmicrosoft.com
IIS logs
IIS -> domain -> properties -> Website -> properties -> Log file directory -> ex: c:logfileswww
FTP logs
c:logfilesftp
Reported attack site
To remove “Reported attack site” banner from the website, website should be checked for Malware or malicious links.
The following sites are helpful in identifying the malware in a site.
1. sitecheck.sucuri.net/scanner/
2. unmaskparasites.com
Still the domain needs to be checked with the help of a programmer to remove it thoroughly. Once it is cleared, we can report to Google webmaster tools to remove the listing (or to remove the banner from the site). Also it is highly recommended to change the existing passwords of the domain.
Mssql management studio issues DB in general
Error while opening Mssql 2005 management studio
MMC could not create the snap-in.
MMC could not create the snap-in. The snap-in might not have been installed correctly.
Name: Microsoft SQL Enterprise Manager
CLSID: {00100100-1816-11D0-8EF5-00AA0062C58F}
Fix
Run the following command as shown to fix this. Make sure you have installed the Msql in the path as shown or change it accordingly.
Run -> C:Program FilesMicrosoft SQL Server80Toolsinn>regsvr32 sqldmo.dll
Database showing 0 items in MsSQL mgmt studio
If a working database shows no items then
1. MsSQL mgmt studio -> Right click the database -> Bring it to offline
2. Now bring it back to online after some time. the database will show all the items.
Problem in connecting database using Microsoft SQL server management studio.
1. In connection dialog box -> Connection properties -> Connect to database -> Change to “master”
2. Once this is performed, try connecting to the database again.
Problem with webmail
Webmail is not working
Cause – I
1. Make sure the IME_ADMIN and IME_USER are having permission for the webmail folder. IME_ADMIN should have full control.
2. If still there are problems, change the webmails application pool -> prop -> change to user / network service.
3. Make sure mail enable /Plesk DNS services are running.
4. Do a IISreset .
Cause – 2
1. Login to server
2. Open Computer Management
3. Click Web sites under IIS manager
4. Locate webmail(mewebmail) and right click and click properties
5. Under web site tab click advanced.
6. You will see Ip address, port and host header vales.
7. Click add.
8. Enter Ip address(default or IP ADDRESS), port (80), and webmail.domainname.com.
9. Click OK.
10. Stop and start webmail web site.
Problem in starting Plesk name server service
If the Plesk name service could not start in the server. Then there could be a duplicate entry in the named.conf file
Location of named.conf file
c:program files swsoft plesk dns var named.conf
Solution
1. Backup the named.conf file
2. Check for duplicate domain entries
3. Remove one duplicate entry and save the file
4. Now restart the Plesk name service.
Problem with Webshell (page not found error)
ERROR:
Warning: Invalid argument supplied for foreach() in C:Program FilesHSphere3rdpartyWebShell4includesfunctions.php on line 768
Webshell link not opening from H-sphere control panel.
ex: H-sphere -> user / reseller -> File manager / FTP manager -> Webshell -> login -> Page not found error
Solution:
Goto server -> IIS -> Default site -> properties -> Advanced -> Add the site with port
H-sphere VPS GENERIC ERROR
There is a Generic error while signing up a VPS account
FIX
1. Open the user control panel -> Plans -> Temple directory -> Type as “vz/template” without quotes (type the path as per the template folder available in the system)
2. Once this has been done, error free signup is possible.
Enable Audio from remote machine through RDP
Here are the steps to follow to enable audio from remote machines in windows:
Steps:
1. First check the RDP application has audio enabled
Start ->mstsc ->options in RDC application -> Local resources ->Remote computer sound -> choose Bring to this computer
2. Edit group policy of the remote machine
start ->run ->gepdit.msc ->computer configuration ->administrative templates ->windows components ->Terminal services ->client/server redirection -> make sure toenable Allow audio redirection