Plesk auto package updates when everything is completely broken

ARUN Posted in PLESK BACKEND, PLESK FRONTEND
0

Use the below at your own risk. I have not done this before.  This can be used to install the plesk base packages when everything is broken

/usr/local/psa/admin/sbin/autoinstaller –select-product-id plesk –select-release-id PLESK_10_1_1 –install-component base

Or

/usr/local/psa/admin/bin/autoinstaller –select-product-id plesk –select-release-id PLESK_10_1_1 –install-component base

Prefork or worker

ARUN Posted in PLESK BACKEND
0
=========================
[root@server ~]# grep worker /etc/sysconfig/httpd
# ‘prefork’ model.  A thread-based model, ‘worker’, is also
#HTTPD=/usr/sbin/httpd.worker
[root@server ~]#

[root@server ~]# grep worker /etc/sysconfig/httpd# ‘prefork’ model.  A thread-based model, ‘worker’, is also#HTTPD=/usr/sbin/httpd.worker[root@server ~]#

===================================

How to enable open_basedir for particular domain in plesk

ARUN Posted in PLESK BACKEND
0

SSH into your Plesk machine as “root” and cd to the conf directory for the domain.

Create a “vhost.conf” file in “/var/www/vhosts/<domain name>/conf/”

<Directory /var/www/vhosts/<domain name>/httpdocs>
php_admin_value safe_mode on
php_admin_value open_basedir none
</Directory>

Rebuild the domain configs for the particular host via::–

[    #/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<domain name>   ]

or rebuild all via :

#/usr/local/psa/admin/sbin/websrvmng -a

#service httpd reload

Error: Connection to the database server failed: Table ‘mysql.servers’ doesn’t exist on plesk server

ARUN Posted in MYSQL, PLESK BACKEND, PLESK FRONTEND
0

Getting the error  Error: Connection to the database server failed:  Table ‘mysql.servers’ doesn’t exist

when I try to add a database user to a database.

Solution :

Execute the command after login to shell
mysql_fix_privilege_tables --user=admin --password=<admin passord> --verbose
Now try adding the users

VPS Plesk 10 upgrade error “This Panel instance is installed in a PVC Container. The current Container offline management settings make the Panel unavailable.”

ARUN Posted in PLESK BACKEND, PLESK FRONTEND
0

“This Panel instance is installed in a PVC Container. The current Container offline management settings make the Panel unavailable. If you have sufficient privileges to modify the Container configuration, change the offline management settings. Otherwise, contact your provider to do this.”

SOLUTION :

Disable offline management and try

vzctl set VEID –offline_management=no –save

If it dont fix then try adding the VPS IP to node Server firewall.

There was an error sending your message: sendmail returned error code 111

ARUN Posted in PLESK BACKEND, PLESK FRONTEND, QMAIL
0

While trying to send mails using QMAIL and PLESK I am getting the error below :

There was an error sending your message: sendmail returned error code 111

Solution :

If any error try stopping QMAIL.

cd /var/qmail/bin

cp -p qmail-local.moved qmail-local
cp -p qmail-remote.moved qmail-remote
cp -p qmail-queue.moved qmail-queue
killall qmail-remote qmail-queue qmail-local
ls -la qmail-queue qmail-local qmail-remote
-r-xr-xr-x 1 root qmail 44060 Jun 13 2006 qmail-local
-r-s--x--x 1 qmailq qmail 15784 Jan 26 14:06 qmail-queue
-r-xr-xr-x 1 root qmail 43364 Jun 13 2006 qmail-remote
Or for other email errors like :
Plesk Qmail error – 451 qq internal bug (#4.3.0)
or
qmail-inject: fatal: qq internal bug (#4.3.0)
we can try the above fix

How to change plesk default backup location

ARUN Posted in BACKUP, PLESK BACKEND
0
vi /etc/psa/psa.conf
# Backups directory
DUMP_D /var/lib/psa/dumps     –> Change this….and try
Note : I never got a chance to try this

Where is default plesk backup location

ARUN Posted in BACKUP, PLESK BACKEND
0

/var/lib/psa/dump

Plesk wont load getting message “Plesk diagnostics “

ARUN Posted in PLESK BACKEND, PLESK FRONTEND
0

After login to plesk we get the following

=========
Plesk diagnostics
=========
Solution :      This mainly happens in VPS with apf installed
1 )
Open port 8880 in IG_TCP_CPORTS IG_UDP_CPORTS EG_TCP_CPORTS EG_UDP_CPORTS
Try reloading plesk
2 )
If it dont work then login to NODE and add vps IP in its firewall
Login to VPS  and add NODE IP address( eth0) to afp allow list.
3 )
vzctl set VEID –offline_management=no –save
4)

Check if firewall is installed. If so open inbound port : 11444 in apf.conf or csf.conf

NOTE :  Also make sure the ports : 8880, 8443, 11222 are made open and tested.

If the above dont work try to disable sso.

5 )

/usr/local/psa/bin/sso –disable to fix plesk panel 10 404 error.

Find running mailserver in plesk

ARUN Posted in LINUX COMMANDS, PLESK BACKEND
0

[  /usr/local/psa/admin/sbin/mailmng --features | grep SMTP_Server     –> Will show the running MTA   ]

How to install POSTFIX in plesk server

ARUN Posted in MAIL, PLESK BACKEND, PLESK FRONTEND, POSTFIX
0

/usr/local/psa/admin/sbin/autoinstaller –select-release-current –install-component postfix    –> Install postfix in plesk

Path to email accounts in qmail server

ARUN Posted in MAIL, PLESK BACKEND, PLESK FRONTEND, QMAIL
0
/var/qmail/mailnames/domainname

Install qmail in plesk

ARUN Posted in INSTALLATION, MAIL, PLESK BACKEND, PLESK FRONTEND, QMAIL
0

[  /usr/local/psa/admin/sbin/mailmng --features | grep SMTP_Server     --> Will show the running MTA    ]

[  /usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component qmail    --> Install qmail in plesk     ]]

[   Finally,  /usr/local/psa/admin/sbin/mailmng --reload-service     --> To restart service    ]

Qmail commands

ARUN Posted in MAIL, PLESK BACKEND, PLESK FRONTEND, QMAIL
0

/var/qmail/bin/qmail-qstat   --> List messages in queue

/usr/local/psa/admin/bin/mailqueuemng -s    --> Show mail queue statistics
/var/qmail/bin/qmail-qread   --> Command to see mails in queue

What is the root mysql password in plesk server.

ARUN Posted in MYSQL, PLESK BACKEND, PLESK FRONTEND
0

Parallels Plesk Panel renames ‘root’ account to ‘admin’ when the Panel is installed.

To get root privileges simply login with the ‘admin’ username instead. The password is the same as the admin password in Plesk. You can find it in /etc/psa/.psa.shadow.