Archive for the ‘Plesk’ Category



Plesk windows: Domain is not working with www

Monday, March 9th, 2009

On a plesk windows dedicated server, a domain worked without www but for some reason it did not work with www.

Login with administrator to the windows server.

Goto Start> Run > and type “inetmgr” (this opens IIS)

Right click on the domain and check properties

At the Website tab click on advanced and add the following there:

IP Port www.YourDomain.Com

For ex. xx.xx.xx.xx 80 www.YourDomain.com

Restart IIS and now check in your favourite browser and it should be working now.

That’s it!

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Plesk paths on a linux dedicated server

Tuesday, December 9th, 2008

Within the psa.conf all the Plesk paths are declared, you can see this below. This file is used to declare the location of different utilities, services, and/or packages within Plesk

# Plesk tree
PRODUCT_ROOT_D /usr/local/psa

# Directory of SysV-like Plesk initscripts
PRODUCT_RC_D /etc/init.d

# Directory for config files
PRODUCT_ETC_D /usr/local/psa/etc

# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts

# Apache configuration files directory
HTTPD_CONF_D /etc/httpd/conf

# Apache include files directory
HTTPD_INCLUDE_D /etc/httpd/conf.d

# Apache binary files directory
HTTPD_BIN_D /usr/bin

#Apache log files directory
HTTPD_LOG_D /var/log/httpd

#apache startup script
HTTPD_SERVICE httpd

# Qmail directory
QMAIL_ROOT_D /var/qmail

# Location of qmail maildirs
QMAIL_MAILNAMES_D /var/qmail/mailnames

# Path to rblsmtpd
RBLSMTPD /usr/sbin/rblsmtpd

# Courier-IMAP
COURIER_IMAP_ROOT_D /

# Proftpd
FTPD_CONF /etc/proftpd.conf
FTPD_CONF_INC /etc/proftpd.include
FTPD_BIN_D /usr/bin
FTPD_VAR_D /var/run/proftpd
FTPD_SCOREBOARD /var/run/proftpd/scoreboard

# Bind
NAMED_RUN_ROOT_D /var/named/run-root

# Webalizer
WEB_STAT /usr/bin/webalizer

# Logrotate
LOGROTATE /usr/local/psa/logrotate/sbin/logrotate

# MySQL
MYSQL_VAR_D /var/lib/mysql
MYSQL_BIN_D /usr/bin

# PostgreSQL
PGSQL_DATA_D /var/lib/pgsql/data
PGSQL_BIN_D /usr/bin

# Backups directory
DUMP_D /var/lib/psa/dumps

# Mailman directories
MAILMAN_ROOT_D /usr/lib/mailman
MAILMAN_VAR_D /var/lib/mailman

# Python binary
PYTHON_BIN /usr/bin/python2.4

# Tomcat root directory
CATALINA_HOME /usr/share/tomcat5

# DrWeb
DRWEB_ROOT_D /opt/drweb
DRWEB_ETC_D  /etc/drweb

# GnuPG binary
GPG_BIN /usr/bin/gpg

# Tar binary
TAR_BIN /bin/tar

# Curl certificates
CURL_CA_BUNDLE_FILE /usr/share/curl/curl-ca-bundle.crt

# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /var/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /var/www/html/awstats

# openssl binary
OPENSSL_BIN /usr/bin/openssl

LIB_SSL_PATH /lib/libssl.so
LIB_CRYPTO_PATH /lib/libcrypto.so

CLIENT_PHP_BIN /usr/local/psa/bin/php-cli

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Repair and rebuild Qmail configuration files on plesk

Sunday, December 7th, 2008

If for some reasons you’re having problems with the mail issues related to qmail server, you can repair and rebuild the qmail configuration files on your linux plesk dedicated server and at the same time restore settings for all the mailboxes which are present on your server.

To get this done, plesk have an utility named mchk and you can use it as below:

Restore all settings except for SpamAssassin configuration

root# /usr/local/psa/admin/bin/mchk --without-spam

Restore all settings

root# /usr/local/psa/admin/bin/mchk --with-spam

Restore only SpamAssassin settings

root# /usr/local/psa/admin/bin/mchk --spam-only

That’s it!

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Upgrade Plesk from 7.0 to 7.5.6+ on windows dedicated server

Sunday, December 7th, 2008

Now, if you’re looking to upgrade your plesk version 7.0 to 7.5.6+ do the following: First of all you will have to download setup file from here . Once this is downloaded, you can start with the installation process.

During the installation plesk will ask whether to do a clean installation or keep the existing hosting accounts – here we proceeded with keeping the existing clients and hosting accounts – during the process it asks for a key which you can ignore and get it later from your server provider. Just follow with the installation steps and once this is installed the system will ask for reboot twice. Once, all this process is done – you can login to your plesk and add the key which you will get from your server provider.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Backup and Restore accounts from plesk 7.0 to 8.x ( Windows )

Saturday, December 6th, 2008

If you have a windows dedicated server which has plesk 7.0 version on it and you need to migrate it to a newer server which has the latest plesk version 8.6 , normally you will try to backup the hosting accounts with Plesk Migration Manager or the Plesk backup utility.

The unfortunate part is that it will not work on plesk 7.0 , to get this done you will have to upgrade windows plesk from 7.0 to 8.6 . For this you will have to go step wise, so you will have to first upgrade to version 7.5.6+ and then proceed to upgrade to 8.6. During the upgrade plesk will ask for key which you will have to opt from your server provider. Once this is upgraded, you can add the key and can login to your upgraded plesk version. Later your can start with the backup and restore process.

Did this help you? Please leave a comment for us to bring more information to this industry.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Windows plesk error: get_config_string failed

Wednesday, December 3rd, 2008

On a windows dedicated server with plesk control panel , while configuring I have come across an error which is as below:

get_config_string failed: PRODUCT_DATA_D: Unexpected end of data when read C-string from serializer

To get this fixed, I followed the below steps:

cd Program Files\SWsoft\Plesk\admin\bin
websrvmng --reconfigure-all

That’s it!

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Horde login failed on linux plesk

Friday, November 21st, 2008

Today, while logging to webmail got an error “Horde login failed” , had tried to reset the password of the email address but that did not fix the issue. After further investigating what I found is that I was unable to telnet the IMAP port – the command used for this is:

root# telnet localhost 143

Then, checked with ifconfig and got the output:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128

The line “inet 127.0.0.1 netmask 0xff000000” was missing, to get this fixed I executed the below command:

root# ifconfig lo0 127.0.0.1 netmask 255.0.0.0

Then, I have tried to login using Horde and it worked perfectly fine.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Plesk : Configure qmail to use alternate SMTP port 26

Thursday, September 25th, 2008

You have a plesk dedicated server and having issues related to SMTP port 25. There are issues where ISP blocks SMTP port 25, in this case we can use alternate port (I will use port 26).
Kindly follow the below steps to change SMTP port on your plesk dedicated (linux) server to 26.

Login to your server as root

root# cd /etc/xinetd.d
root# ls -l | grep smtp*
root# cat smtp_psa
service smtp
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
server = /var/qmail/bin/tcp-env
server_args = /usr/sbin/rblsmtpd -r bl.spamcop.net /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}
root# nano /etc/services

Add the below lines

smtp_psa_new 26/tcp mail
smtp_psa_new 26/udp mail
root# cp smtp_psa smtp_psa_new

Change the service line in the new file “smtp_psa_new” to be this:

service smtp_psa_new
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
server = /var/qmail/bin/tcp-env
server_args = /usr/sbin/rblsmtpd -r bl.spamcop.net /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}
root# /etc/init.d/xinetd restart

And you should see smtp listening on ports 25, and 26:

root# netstat -anp | grep xinetd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 6989/xinetd
tcp 0 0 0.0.0.0:26 0.0.0.0:* LISTEN 6989/xinetd

That’s it!

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


How to install qmHandle on plesk server ?

Wednesday, September 24th, 2008

On your plesk dedicated server you already have qmail as your mail server and now you’re looking to manage the qmail message queue. qmHandle is the simple program for this.

Install qmHandle on plesk dedicated server using the below steps:

Login to the sever as root.

Download the tar from here using the following command:

root# wget
http://jaist.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.3.2.tar.gz
root# tar -zxvf qmhandle-1.3.2.tar.gz
root# chmod 755 qmHandle
root# ./qmHandle –h

Few commands of qmhandle :

List help for qmhandle commands.

qmHandle -h

Show statistics for qmail mail queue

qmHandle -s

Deliver all mails in mail queue.

qmHandle -a

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


FTP failed on plesk server

Wednesday, September 10th, 2008

On a plesk server I could not connect to ftp so when I checked the logs I found

- warning: unable to determine IP address of ‘myhostname.server.com’
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'

Then, I checked the /etc/hosts and found hostname entry missing:

[root]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost

So to get this fixed I added the below entry in the /etc/hosts file

xx.xx.xx.xx   myhostname.server.com

And, then restarted xinetd which fixed the issue.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.