buy tb500

Archive for the ‘Windows’ Category

FileList::init() failed: ls_dir_wrapper() failed: Unable to logon user (PLESK900W2K3\USER1): (1326) Logon failure: unknown user name or bad password.

Sunday, October 2nd, 2011

Resolution

Make sure that the account associated with the domain is active on the server. If it is disabled, you need to enable it by modifying properties of the account.

If account is enabled, the most possible reason of the issue is that the password of domain owner account is not synchronized with corresponding record in Parallels Panel database.
To fix that take the following steps:

1. Retrieve the password of the domain owner from Parallels Panel database with the command below (where USER1 is an owner of the domain, it can be taken from the error):

C:\> "%plesk_bin%"\dbclient --direct-sql --sql="select su.login, a.password from accounts a, sys_users su  where a.id=su.account_id and su.login='USER1'"

login       password
USER1  p@ssw0rd

2. Synchronize system password with accordance of retrieved one as follow:

C:\> net user USER1  p@ssw0rd
References
http://kb.parallels.com/6649

Reset Windows server 2008 administrator password

Wednesday, July 13th, 2011

use this command in command prompt

net user administrator 123456

reference

http://www.petri.co.il/change_user_password_from_the_command_prompt.htm

Increase ASP upload file size

Wednesday, July 13th, 2011

ncrease File Upload Size in ASP & ASP.NET

There is no GUI option in Server 2003 to increase the ASP upload size limit. This guide will show you how this can be accomplished via the command line.

  • The default server size is 204,800 bytes (200k).
  1. Connect to your server via Remote Desktop. You can follow this guide on How do I connect to my Windows VPS?
  2. Open the command prompt. You can follow this guide on How do I open a command prompt?
  3. At the command prompt type “cd C:\Inetpub\AdminScripts” and press enter:
  4. Type the following command and press enter to check the upload limit:
  5. cscript adsutil.vbs get w3svc/ASPMaxRequestEntityAllowed

  6. To change the value to say 100mb, run the following command:
  7. cscript adsutil.vbs set w3svc/AspMaxRequestEntityAllowed 104857600

  8. Run the IIS restart command by typing: iisreset /restart and you are done.

550 550 5.7.1 Unable to relay for

Friday, June 17th, 2011

If you found this error in the Smartermail logs and you are using IIS 7 and IIS 6, find below for the solution:
1. RDC to the server and go to IIS 6
2. Right click on the SMTP and stop the service
3. Right click SMTP and then open Properties, change the port number to 587
4. Restared Smartermail service for the server and later start the SMTP service in IIS 6
That’s it.

How to create local php.ini in Windows server

Friday, June 17th, 2011

To create local php.ini in Registry Editor, please follow to stepas below:
1. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PHP\5\Per Directory
Values\C\inetpub\vhosts\<domain name>
2. Add the domain if it does not listed yet
3. Add the value that you want to change “binary data”. For example, register_globals and the value in ON/OFF

Error : An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode

Friday, June 17th, 2011

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. If
you see the above error, you can simply fix it by issuing the command below in command prompt:
%SystemRoot%\system32\inetsrv\appcmd migrate config “Path to the application/site/”.
Example:
%SystemRoot%\system32\inetsrv\appcmd migrate config “abc.com.my/abc/”.
Another solution is to edit web.config and then amended the code below:
<system.webServer>
<validation validateIntegratedModeConfiguration=”false” />
</system.webServer>

Reconfigure vhost in Plesk server

Friday, June 17th, 2011

Sometimes you might have the issue whereby the website going haywire and not viewable. We can solve the issue
by reconfiguring again vhost for the domain by using the steps below:
Open command prompt and hit:
cd %plesk_bin%
After that:
websrvmng.exe –reconfigure-vhost –vhost-name=domain.com
You need to wait for a while for it to finish.

Website requsted for username and password

Friday, June 17th, 2011

Sometimes we face the website requested for username and password when we did some changes in Plesk CP.
To solve the issue follow the steps below:
RDC to the server and then:
cd %plesk_bin%
Hit the command below:
websrvmng.exe –update-anon-password –domain-name=domain.com

Mail Server Configuration Restore: mchk.exe (domains missing from smartermail)

Sunday, June 5th, 2011

his command checks and restores the missing mail configuration data for all domains, and, if errors are found in the existing domain settings, reconfigures them:

In order to run the command you need to go to RUN in start then run this %plesk_bin%

then go to command prompt and CD :/ to that directory

then run the command

mchk.exe –all-domains –fix=local

The command will take time to restore all the domains in smartermail

Thank you.

Install IonCube in Windows server

Thursday, May 26th, 2011

1- go to this URL and download the zip file http://www.ioncube.com/loaders.php

2- extract the zip file and copy this file  loader-wizard.php from the zip file to the localhost which mean to

vhost/default/httpdocs

3- open the locahost in side the server   localhost/loader-wizard.php then you will guide you what you need to do, for example copy the ioncube 5.x.x .dll to C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5 or othes direction , is diffrent from server to server

then edit php ini ,  all the info u will see in http://www.ioncube.com/loaders.php

Thank you.