Archive for April, 2010

reactivating websites

Monday, April 26th, 2010

On a PLESK for windows installation, there was a problem reactivating websites, everything seems fine when you activate, then you refresh the page and it is inactive, the answer was in activating the domains from the command line after activating the client’s account

cd c:\Parallels\Plesk\admin\bin

Then

domain.exe –on domainname.com

(Type it in yourself, and notice that — is 2 consecutive dashes)

You should see

SUCCESS: Changing status of domain ‘domainname.com’ completed.

PLESK 9.5.1 is out

Monday, April 26th, 2010

Today, after logging in to the Linux Plesk server (CentOS), i found that PLESK 9.5.1 is out, before updating, i noticed that there is a new module, Parallels Premium Antivirus which turned out to be Dr. Web Antivirus.

Anyway, the complete list is as follows

You have an up-to-date version

Apache ASP support    Oct 8, 2008
Apache mod_python module    Jan 6, 2007
Bandwidth Limiter For Apache support (mod_bw)    Nov 7, 2007
Plesk billing    June 24, 2009    June 24, 2009
PostgreSQL server support    Oct 26, 2009    Oct 26, 2009
SiteBuilder module migration suite    Sept 8, 2008    Sept 8, 2008
SiteBuilder publishing support for Plesk    May 22, 2007    May 22, 2007
SSHTerm – SSH Terminal java applet    Nov 30, 2008    Nov 30, 2008

An update is available

Base packages of Plesk    Dec 29, 2009    April 14, 2010
ColdFusion support for Plesk    Dec 29, 2009    April 9, 2010
Horde webmail support    Dec 29, 2009    April 9, 2010
Kaspersky antivirus module    Dec 29, 2009    April 9, 2010
Mailman mailing list manager support    Dec 29, 2009    April 9, 2010
MIVA Empresa support    Dec 29, 2009    April 9, 2010
Parallels Premium Antivirus    Dec 29, 2009    April 9, 2010
Plesk API [former Plesk Agent]    Dec 29, 2009    April 9, 2010
Plesk Backup Manager    Dec 29, 2009    April 9, 2010
Plesk Firewall module    Dec 29, 2009    April 9, 2010
Plesk migration manager    Dec 29, 2009    April 9, 2010
Plesk Professional Web Site Editor    Dec 29, 2009    April 9, 2010
Plesk Updater    Aug 17, 2009    April 7, 2010
Plesk VPN module    Dec 29, 2009    April 9, 2010
Ruby on Rails support    Dec 29, 2009    April 9, 2010
SpamAssassin support    Dec 29, 2009    April 9, 2010
Tomcat Java Servlets support    Dec 29, 2009    April 9, 2010
Watchdog (System monitoring module)    Dec 29, 2009    April 9, 2010

Not installed

Application vault packages    9.5.1-cos5.build95100410.11    April 9, 2010
AtMail webmail support    1:1.02-cos5.build95100410.11    April 9, 2010
Chinese language pack for China    9.5.1-2010032917    Mar 29, 2010
Chinese language pack for Taiwan    9.5.1-2010032917    Mar 29, 2010
Dutch language pack for Netherlands    9.5.1-2010032917    Mar 29, 2010
French language pack    9.5.1-2010032917    Mar 29, 2010
German language pack    9.5.1-2010032917    Mar 29, 2010
Italian language pack    9.5.1-2010032917    Mar 29, 2010
Japanese language pack    9.5.1-2010032917    Mar 29, 2010
Plesk Battlefield 1942 game server module    1.0.0-cos5.build95100410.11    April 9, 2010
Plesk Battlefield2 game server module    1.0.0-cos5.build95100410.11    April 9, 2010
Plesk Counter-Strike game server module    2.0.0-cos5.build95100410.11    April 9, 2010
Plesk Fileserver module and SMB file server package    0:3.0.33-3.15.el5_4.1    April 9, 2010
Russian language pack    9.5.1-2010032917    Mar 29, 2010
Spanish language pack    9.5.1-2010032917    Mar 29, 2010

Upgrading from 9.3.0 to 9.5.1 went smooth, unlike what you see in the post below on upgrading from 9.2.3 to 9.3.0, in the upgrade below, i had not reinstalled application vault applications because of an MD5 checksum check error in the downloaded package.

plesk update hell

Sunday, April 11th, 2010

Again, Parallels gives me a hard day when there CP refuses to update, and it’s vulnerability is getting websites hacked.

My current installation of plesk is an outdated 9.2.3, the objective is to upgrade it to 9.3.0

Before jumping to upgrading 9_2_3 to 9_3_0, i will first try to bring 9.2.3 to latest then upgrade to 9.3.0

The reason i need to update now is that I got complaints about hacked websites that redirected elsewhere ( Bublik.biz
that redirects in turn to searchresultsdirect ).

So I go to the Web GUI / UI and click on the update / Upgrade, i find my release and the newer release, My release is 9.2.3 and the new release is 9.3.0 so i select the first 9.2.3 and upgrade, the process fails, but not only does the upgrade fail, but web hosting also fails, when opening any website, you will get the @mail (atMail) page in place of the website.

so clicking on My Release 9.2.3 and select everything with an update, right after the update, i get an unpleasant surprise.

it added to my problems that all websites were opening atmail (@mail) and the Web GUI updater to 9.3.0 did not work, now the situation was really bad.

Websites were down (compared to a few had been hacked), and now i had to start working fast, the challenge is to have them online in 5 minutes.

To begin with, Although now you find nothing to update when you open the Web GUI to update and click on the 9.2.3 release, packages (PHP5 and QMAIL) are not really up to date, we need to do that manually.

So i had to start with

/usr/local/psa/admin/sbin/autoinstaller --select-release-id PLESK_9_2_3 --show-components 2>1 | grep upgrade

Followed by

/usr/local/psa/admin/sbin/autoinstaller  --select-release-current --upgrade-installed-components

The above are what Parallels prescribed here

kb.parallels.com/en/6360

That put a tick beside the current plesk release in the Web GUI, and websites were opening again, but did not really resolve my problems, still, i can not update to 9.3.0

Here are some of the WEB UI attempts and the command line attempts (They yield same results and error messages)

Warning! Not all packages were installed.

Please check if your system services are operable.

Please, contact product technical support.

Then, to try and do the same thing from the command line, i run the command

/usr/local/psa/admin/sbin/autoinstaller –select-release-latest –install-everything

And again, the error messages are as follows

ERROR: Unable to install the requested packages because either there is
         not enough free disk space left, or there are package dependency problems.
         Warning! Not all packages were installed.
         Please check if your system services are operable.
         Please, contact product technical support.

So what i did now was Deleted all files in /var/lib/rpm/ , followed by the command “rpm -rebuilddb” without the quotes, then I deleted PSA_9.3.0 in /root/parallels/ , followed by the command

/usr/local/psa/admin/sbin/autoinstaller --select-release-latest --install-everything
         ERROR: The MD5 checksum of the
         /root/parallels/PSA_9.3.0/dist-rpm-CentOS-5-i386/opt/vault/psa-appvault-knowledgetreeoss-3.4.5-8200820080409010953.noarch.rpm
         file does not match the value specified in the configuration file.
         Not all packages were installed.
         Please, resolve the above problem and try installing the packages again.
         If you cannot resolve the problem on your own, contact product technical support for assistance.

And there is no use re-downloading the file, it is probably a problem on parallel’s side

And since it seems Qmail send is not working, I have attempted to set the permissionsas follows just in case

chmod 2511 /var/qmail/bin/qmail-queue

Now that the complete update all does not work, i tried to update each package alone, So i begin by requesting the latest version of the base system by issuing this command on the command line

/usr/local/psa/admin/sbin/autoinstaller –select-release-latest –install-component base

A big load of text is displayed in my terminal window, but generally the plesk messages are of one of the following formats

* Downloading the file…

*warning: /root/parallels/PSA_9.3.0/update-rpm-CentOS-5-i386/SOME_FILE: Header V3 DSA signature: NOKEY, key ID e8562897

*warning: /etc/PACKAGE/FILENAME created as /etc/PACKAGE/FILENAME.rpmnew

*Installing the package iproute-2.6.18-10.el5.i386

Warnings are probably no big deal, and emails i have been trying to send are arriving in my inbox as the process goes on, and finally, a message that reads.

Congratulations!
Plesk has been successfully installed on your server.
To complete the system configuration, please proceed to URL:
https://ip-97-74-196-212.ip.secureserver.net:8443/ or

https://97.74.196.212:8443/

Use the login name 'admin' and password '<YOUR ADMIN PASSWORD>'.

Further, use the following commands to start and stop Plesk:
"/etc/init.d/psa start" and
"/etc/init.d/psa stop" respectively.

All Plesk control panel documentation is available at

http://www.parallels.com/en/products/plesk/docs

*****************************************************************************
*                                                                           *
*      NOTE:   You have a default key file with limited functionality       *
*              currently installed for Plesk, which allows                  *
*              creating one client account, one domain, one mail name and   *
*              one web user.                                                *
*              To extend the limits of your license key and enable          *
*              additional features, please contact the Parallels sales      *
*              department: sales@parallels.com                              *
*                                                                           *
*      Thank you for choosing our products!                                 *
*****************************************************************************
Trying to register service psa...  using /sbin/chkconfig
done

GNow we probably want to check if the update shows in the Web UI,

To my surprize, most of plesk was not installed, i do not know what effect this has on existing ruby or python websites, but surely, they need to be installed again before we go any further

So i ran the AutoInstaller with no parameters as follows

/usr/local/psa/admin/sbin/autoinstaller

and then selected The auto installer package

Once the Auto installer is installed, i went on to install everything but the Application Vault packages since there is a problem with the MD5 sum of the downloaded file from parallels

vault/psa-appvault-knowledgetreeoss-3.4.5-8200820080409010953.noarch.rpm

Good luck with your plesk