When attempting to log into Plesk Control Panel the following error message is received:

DefPackageMng() constructor failed: defpackagemng failed: Access is denied.(Error code 5) at CreateProcess 'C:\\WINDOWS\\system32\\cmd.exe /c ""C:\\Plesk\\admin\\bin\\defpackagemng.exe" --get"' at execUtil C:\\Plesk\\admin\\bin\\defpackagemng.exe --get on C:\\Plesk\\admin(PleskSrvClient::execUtil line 420)at execute console command --get(vconsoleapp::start line 128) at execute C:\\Plesk\\/admin/bin/defpackagemng --get(vconsoleapp::run line 138)

RESOLUTION
Such error occurs when Plesk Control Panel web server service cannot access the C:\Windows\System32\cmd.exe ( C:\Windows\SysWOW64\cmd.exe on 64bit Windows version). This may happen when administrator has manually changes permissions to access the file. User SERVICE should have Read+Execute; Read on the file.

The following permissions should be set on cmd.exe :

- Administrators - Full Control
- System - Full Control
- Service - Read+Execute; Read
- Interactive - Read+Execute; Read

The file owner should also be administrator, otherwise it will not be possible to change these. File owner can be checked in file’s Properties, Security tab, Advanced button, Owner tab.

Illegitimate MSNBC.com News

Hot on the heels of the CNN Alerts: my custom alert email spam comes a new variant: msnbc.com: BREAKING NEWS spam.

The emails follow the same format as the CNN spam, with the link to the supposed featured story going to an unrelated third-party website which attempts to attack the users PC.

Read more on SecurityWatch.


SYMPTOMS
It's impossible to access website - authorization prompt appears.
CAUSE
There may be several reasons of this issue. To determine them, the following conditions need to be checked:

1. There should be read + execute permissions for IUSR_ on the domain index page.

2. Root directory for the domains can be under Plesk protection.

3. Passwords for system user and IIS user can be out of synchronization.
RESOLUTION
1. Go to %plesk_vhosts%\domain.com\httpdocs directory and check permissions for IUSR_ account.

2. It can be checked using Plesk Control Panel. Go to Plesk, domains, domain.com, Protected URLs. If the root directory "/" is present there, it needs to be removed.

3. The password can be synchronized using the following command:


"%plesk_bin%\websrvmng.exe" --update-anon-password --domain-name=

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


Plesk 7.5.5-7.6.1versions support this version of PHP but they are not able to manage PHP4 and PHP5 at the same time only PHP4 or PHP5.
If your Plesk version is 7.5.5 or higher you can follow these steps to install PHP5 at your server:

1. Download PHP5 Windows Binaries:

- PHP 5.x.x zip package
- Collection of PECL modules for PHP 5.x.x

2. Remove current PHP4 extensions from Register Web Service Extensions in IIS:

Open command prompt:


cscript c:\windows\system32\iisext.vbs /RmFile "%plesk_dir%\Additional\php\php.exe"
cscript c:\windows\system32\iisext.vbs /RmFile "%plesk_dir%\Additional\php\sapi\php4isapi.dll"
3. Rename folder "%plesk_dir%Additional\Php" to "%plesk_dir%Additional\Php4"

4. Re-register web service extensions for PHP4.

Open command prompt:


cscript c:\windows\system32\iisext.vbs /AddFile "%plesk_dir%Additional\php4\php.exe" 0 PHP 1 "PHP Extensions"
cscript c:\windows\system32\iisext.vbs /AddFile "%plesk_dir%Additional\php4\sapi\php4isapi.dll" 0 PHP 1 "PHP Extensions"
cscript c:\windows\system32\iisext.vbs /EnFile "%plesk_dir%Additional\php4\php.exe"
cscript c:\windows\system32\iisext.vbs /EnFile "%plesk_dir%Additional\php4\sapi\php4isapi.dll"
5. Unzip PHP 5.x.x package into %plesk_dir%Additional\Php.

6. Unzip Collection of PECL modules into %plesk_dir%Additional\Php\Ext.

7. Register PHP5 extension in IIS manually:

Open command prompt:


cscript c:\windows\system32\iisext.vbs /AddFile "%plesk_dir%Additional\php\php-cgi.exe" 0 PHP 1 "PHP Extensions"
cscript c:\windows\system32\iisext.vbs /AddFile "%plesk_dir%Additional\php\php5isapi.dll" 0 PHP 1 "PHP Extensions"
cscript c:\windows\system32\iisext.vbs /EnFile "%plesk_dir%Additional\php\php-cgi.exe"
cscript c:\windows\system32\iisext.vbs /EnFile "%plesk_dir%Additional\php\php5isapi.dll"
8. Backup or rename C:\Windows\php.ini.

9. Put attached to this article file php.ini to C:\Windows\php.ini.

10. Configure default C:\Windows\php.ini according to Plesk configuration.

Set parameters:

extension_dir = "%plesk_dir%Additional\Php\ext"

Example:

extension_dir ="C:\Program Files\SWsoft\Plesk\Additional\Php\ext"

11. Re-configure webmail in IIS to use PHP4 because HORDE webmail does not work on PHP5.

IIS Management, Web Sites, webmail(default), Properties, Home Directory tab, Configuration button, Application Extensions, edit value for `.php` extension, set to "%plesk_dir%additional\php4\php.exe"

Edit "%plesk_vhosts%webmail\horde\php.ini"

Change parameter:

extension_dir = "%plesk_dir%Additional\Php4\extensions"

Example:

extension_dir ="C:\Program Files\SWsoft\Plesk\Additional\Php4\extensions"

12. Make sure that PHP5 has been detected by Plesk. You can check in Plesk, Server, Components Management, Web Scripting section PHP should be listed there. If not, you need to check whether all the steps were done properly.

13. Reconfigure domains web-sites in IIS to use PHP5.


"%plesk_bin%\websrvmng.exe" --reconfigure-all
Additional information
Please see also Simultaneous PHP 4 and PHP 5 usage

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


Microsoft Windows Server 2003 does not install Collaboration Data Objects (CDO) for NTS (CDONTS). Therefore, applications that use CDONTS do not function on a Windows Server 2003-based computer. Windows Server 2003 provides improved alternatives to CDONTS.

To make CDONTS functioning on a Windows Server 2003-based computer, use one of the following solutions:

1. Download an attached CDONTS.ZIP file. Once you have downloaded it unzip the CDONTS.DLL and put it into %systemroot%\system32 folder (C:\Windows\system32 by default). You can also get CDONTS.DLL from your Windows 2000 CD.

2. Register the CDONTS.DLL component on your server using the following command:


regsvr32 "%systemroot%\system32\cdonts.dll"
For example:


C:\WINDOWS\system32>regsvr32.exe cdonts.dll
3. After you have registered your CDONTS.DLL component you need to check whether your SMTP service is running.

Go to Administrative tools, IIS and expand your local machine. If SMTP service is listed then it is installed, else it's necessary to install this service.

To install SMTP perform the following operation:

Go to Control Panel, Add/Remove Programs, Add/Remove Windows Components, Application Server, IIS, Check on SMTP service, Click OK.

4. Change the port number for SMTP service. Default port is 25. Use 25 only if you don't have another SMTP service running. If another SMTP service is already running on your server you should switch IIS SMTP port to another, for example to 8025.

You can do through IIS management console: Control Panel, IIS, expand `local computer`, SMTP, Properties, General tab, click on Advanced button, Edit.

5. Configure SMTP service. The main things are to set a valid full-qualified domain name for SMTP service: Control Panel, IIS, expand `local computer`, SMTP, Properties, Delivery tab, click on Advanced button and configure Security for SMTP service.

It's necessary to grant permissions to IIS_WPG standard IIS Worker Process Group. Control Panel, IIS , expand `local computer`, SMTP, Properties, Security tab , click on Add button, cick Object types... button, check on Groups item, click OK, type IIS_WPG as object name to add , click OK.

Additional setting: Choose Authentication and tick Anonymous Access and Integrated Windows Authentication. Click OK, and then click CONNECTION. Configure RELAY settings as you wish. Click the DELIVERY tab then click ADVANCED. Set the MAX hop count to whatever you like but we recommend at least 20

Now IIS SMTP service is configured and ready to work.

Additional Notes can be found on Microsoft's website:

http://support.microsoft.com/default.aspx?scid=kb;en-us;324649

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


You may create Service Container on a Virtuozzo hardware node using 'vzsveinstall' utility:

# vzsveinstall -D DISTRIB_DIR -s SERVICE_CT_IP

where
- DISTRIB_DIR - path to Virtuozzo distribution directory hierarchy on a server. F.e. if you have the Virtuozzo distrib on your server in the folder /root/Rel400 then DISTRIB_DIR should be /root/Rel400/;
- SERVICE_CT_IP - IP address to be assigned to Service Container;

Please refer to man page on 'vzsveinstall' utility for additional information.

Please note - OS template 'redhat-as3-minimal' must be installed on a hardware node and cached before Service Container may be created. If you have no that template on a node please do the following:
- install OS template 'redhat-as3-minimal', corresponding RPM package is located in the folder 'virtuozzo/SVE' inside Virtuozzo distrib (in Virtuozzo 3.x it is the folder 'HW/SVE');
- create OS template cache using 'vzpkgcache' command on a node.

If Virtuozzo server has been updated since the very first release (using 'vzup2date' utility or manually) then you need to apply all needed updates to the Service Container as well. Updates downloaded by 'vzup2date' utility are usually located under /vz/vzup2date/3.0.0/TU-3.0.0-* dirs on a Virtuozzo server. You may apply them to the Service Container using 'vzsveupgrade' utility using this simple script:

# for i in `find /vz/vzup2date/$(awk '{print $NF}'

If you need to re-create Service Container then you may destroy the existing one using 'vzctl destroy 1' utility (container must be stopped first), then create it from the scratches and apply available updates as it is described above.


SYMPTOMS
NAT module does not work in container, you get "can't initialize iptables table 'nat'" error:

# iptables -t nat -L -n
iptables v1.2.11: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

The following Iptables modules settings are configured on the hardware node:

# cat /proc/net/ip_tables_targets
LOG
TOS
TCPMSS
REJECT
ERROR
# grep con /etc/modprobe.conf
options ip_conntrack ip_conntrack_disable_ve0=1
RESOLUTION
If order to enable NAT you should perform the following actions on the hardware node:

- stop Virtuozzo service and all containers:

# service vz stop

- reconfigure IPtables module "ip_conntrack":

# sed -i '/ip_conntrack/ d' /etc/modprobe.conf
# echo "options ip_conntrack ip_conntrack_disable_ve0=0" >> /etc/modprobe.conf

- restart IPtables service:

# service iptables restart

- start Vituozzo service and all CTs:

# service vz start

--- http://kb.parallels.com/en/5228


Yeah. Why I haven't thought about it. In the following posts, you will be seeing KB entries from Parallel's Knowledgebase. I will just be posting about the most known problems I've encountered. But please, before you touch anything, make sure that you have a backup. Use this kb's at your own risk.

Cheers.


If you are using a Windows 2008 server, running Plesk 8.6, you might encounter this error on Horde:


502 - Web server received an invalid response while acting as a gateway or proxy server.There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.


Fixes:


1. You need to see the complete details of what is happening in your IMP server. Browse locally or from the server to http://localhost:8425/.


2. Check if CGI Role Service is installed in IIS: Server Manager > Roles > Web Server > Role Services


3. Uncomment the following files on the PHP configuration file from %plesk_vhosts%\webmail\horde\php.ini. - php_fileinfo.dll, php_mysql.dll and bphp_mysqli.dll


4. Do no forget to set cgi.force_redirect = 0 in %plesk_vhosts%\webmail\horde\php.ini.

If you are using a windows 2003 server, apache, this error pops out from the ssl.log files



An operation was attempted on something that is not a socket. : Child
4800: Encountered too many errors accepting client connections. Possible causes:
dynamic address renewal, or incompatible VPN or firewall software. Try using the
Win32DisableAcceptEx directive.




Solution:



Switch Plesk Control Panel to IIS.



Run the following from the command prompt:



"%plesk_bin%\reconfigurator.exe" --switch-plesk-web-server --new-provider=iis


If you are using Ubuntu (Hardy Heron), then you are reading the right article. Have you been wanting to play Windows based games on your Ubuntu desktop? Well, wish come true. Introducing PlayOnLinux. From their definition, PlayOnLinux is a piece of sofware which allow you to install and use easily numerous games and softwares designed to run with Microsoft®'s Windows®. A great piece of software indeed. But I am here to tackle a little bit on how to make PlayonLinux available on your PCs.


First you need to download the package. From the terminal, issue the command


wget -q http://playonlinux.botux.net/pol.gpg -O- sudo apt-key add -

and then add repository to apt sources


sudo wget http://playonlinux.botux.net/playonlinux_hardy.list -O /etc/apt/sources.list.d/playonlinux.list

Run the command


sudo apt-get update


to update the apt sources.


Finally, install PlayOnLinux


sudo apt-get install playonlinux

Alternatively, for non Ubuntu users, you can always visit www.playonlinux.com to acquire the right package for your opensource system.
Enjoy!