Wednesday, December 8, 2010

Important Plesk backend files in linux

Sometimes we must have to look at the backend files. For example in the case of a mail sending is failed we have to look at the mail log. So it is hard to search everytime for the location of files so I am posting the all Plesk backend files together, Enjoy.

Plesk root directory : /usr/local/psa

Version : /usr/local/psa/version

Admin password is stored : /etc/psa/.psa.shadow

Plesk configuration file : /etc/psa/psa.conf

Restart Plesk : /etc/rc.d/init.d/plesk restart


Main httpd configuration file : /etc/httpd/conf/httpd.conf

Plesk httpd : /etc/httpd/conf.d/zz010_psa_httpd.conf

Include conf files are under : /etc/httpd/conf.d (depends on the location specified in main httpd)

Startup script for plesk apache : /usr/local/psa/admin/bin/httpsdctl start

Apache main log files under : /var/log/httpd


Php configuration file : /etc/php.ini

Php extension modules are taken from : /etc/php.d


Conf file located : /var/named/run-root/etc/named.conf

DB record : /var/named/run-root/var/

Log file : /var/log/messages

Service to restart : /etc/init.d/named restart


Conf file : /etc/proftpd.conf

Log file : /var/log/messages


Databases are located at : /var/lib/mysql

Configuration file : /etc/my.cnf

Mysql log : /var/log/mysqld.log

Mail Server

Location of qmail directory : /var/qmail

Mail directory of a domain : /var/qmail/mailnames/

Mail log : /var/log/maillog or /usr/local/psa/var/log/maillog

Home directory of a domain

Home directory : /var/www/vhosts/

Httpd conf file of a domain : /var/www/vhosts/

document root directory : /var/www/vhosts/

Document root directory of secure website : /var/www/vhosts/

Subdomains are created under : /var/www/vhosts/

Domain specific logs are under : /var/www/vhosts/ logs


To log in to plesk use
https: :8443

There are four login levels for plesk
They are
1) Administrator
3) Domain owner
4) Email user

Each level has got its own functions


This login is used to by hosting administators to manage the server items . Client/reseller,Domain owner,Email user creation can be done by using this account.
Note : We cannot use the root password for login to this account as in Cpanel. To login to this account use
Username : admin
Password : (will be stored in fiel /etc/psa/.psa.shadow )


This is the second tier account . Domain owner accounts and Email user accounts can be managed from this account.

Domain owner

Everything related to one domain can be managed by using this account. usually client/reseller creates a Domain owner account.

mail user

This is the fourth tier account. Here users are allowed to manage their mail account. Only mail related functions are allowed here such as sending mails ,seting spam filters etc.
Software componets of plesk.

The following software components are used with plesk.

DNS server : bind
Webserver : Apache
FTP server : proftpd
Mail server : Mysql,mssql,postgresql
IMAP/POP : courier-IMAP
Mailing list: Mailman
Statistical softwares : Webalizer, AWstats

Types of hosting

In plesk, 3 modes of hosting are avaliable
They are
Physical hosting
The domain is actually hosted on that server.
Standard Hosting
Here url is redirected such that browser url will be changed to destination url
Frame forward
Here also redirection takes place. But browser url doesnot change

Plesk has a database called psa. We can use the administrator username(admin) and password to login to psa database.
>Tables in psa database are
1. Domains
2. Clients
3. db_users
5. disk_spaces
8. web_users


> To back up all data
/plesk_installation_directory/bin/pleskbackup all name>
> To back up all user accounts with all users’ sites,
/plesk_installation_directory/bin/pleskbackup clients


  © Blogger templates Newspaper III by 2008

Back to TOP