Archive for the ‘plesk’ Category
Monday, January 26th, 2009
Note: It is good practice to back up your data before installing any new version of software. Although MySQL has done its best to ensure a high level of quality, you should protect your data by making a backup. MySQL generally recommends that you dump and reload your tables from any previous version to upgrade [...]
Tags: mysql, plesk
Posted in mysql, plesk | No Comments »
Friday, January 2nd, 2009
This arcticle desribes how we can implement custom mail filtering in a plesk9 server having postfix as the MTA. This can be used for mailfiltering tasks like moving over spam messages to a spam or .Spam folder at delivery time etc.This is only a single use that i have described here..but you can devise do [...]
Tags: plesk, postfix.procmail
Posted in hosting, plesk, postfix | 12 Comments »
Tuesday, July 15th, 2008
Sometimes you get the following error when accessing DBWebadmin (phpMyadmin ) in plesk
====
#1045 - Access denied for user ‘pma_tUuzljY3KmgS’@’localhost’ (using password: YES)
====
pma_tUuzljY3KmgS may vary according to your system
To fix this
vi /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/config.default.php
and change the values of controluser , controlpass , pmadb to null
thats it ;save the file and now everything should work fine
Ref: http://forum.swsoft.com/showthread.php?s=&postid=167179#post167179
Tags: hosting, plesk
Posted in Uncategorized, hosting, plesk | No Comments »
Saturday, July 12th, 2008
You can use third party programs like qmail-remove http://www.linuxmagic.com/opensource/qmail/qmail-remove to accomplish queue management in plesk control panel managed qmail
The Plesk control panel itself provides a modified version od qmHandle ( http://qmhandle.sourceforge.net/ )along with it that can be used with ease to manage the queue
To see the statistics of the queue:
–
/usr/local/psa/admin/bin/mailqueuemng -s
Messages in local queue: 0
Messages [...]
Tags: hosting, plesk, qmail
Posted in hosting, plesk, qmail | 3 Comments »
Tuesday, June 17th, 2008
This script is useful in extracting the Parallels Plesk control panel client/reseller login ,password and email address.An quick script to aid in troubleshooting plesk login problems
wget http://gnusys.net/downloads/psaclientpass.bash
bash psaclientpass.bash
Tags: hosting, plesk
Posted in hosting, plesk | No Comments »
Tuesday, June 17th, 2008
This script comes handy to anyone who wants to extract the passwords for ftp users for a plesk domain.
OfCourse the username can be obtained from the Plesk control panel
The script also retrieves the home directory to which the user logs in when he authenticates successfully to the ftp daemon
wget http://gnusys.net/downloads/psaftppass.bash
bash psaftppass.bash
Tags: hosting, plesk
Posted in hosting, plesk | No Comments »
Tuesday, June 17th, 2008
The following script is very useful if you are planning to migrate or sync all database of a paticular reseller.I made it to aid in database recovery of a client from a failed Plesk Migration Manager (PMM) migration
Script has been tested to work on Parallels Plesk upto version 8.3.The output of the script is self [...]
Tags: hosting, plesk
Posted in hosting, plesk | No Comments »
Thursday, May 15th, 2008
You can change the php memory_limit value for a particular domain or on a per virtual host basis by the following way
Add the following line to the file
/home/httpd/vhosts/gnusys.net/conf/vhost.conf
php_admin_value memory_limit “128M”
Reconfigure the vhost by running the following command
/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=gnusys.net
and restart the webserver using the command
/usr/local/psa/admin/sbin/websrvmng –restart
Check if the setting is correct using phpinfo(); function
Tags: php, plesk
Posted in php, plesk | No Comments »
Thursday, May 15th, 2008
The following script retrieves the password of a mailname given the mail account name as input
This is version.2.0 of the same .The previous one i had written was very complex and created many files in /tmp which was useless.Version 2.0 is an elegant approach and will not create any stale files!
wget http://gnusys.net/downloads/psamailpass.bash
bash psamailpass.bash
Tags: plesk
Posted in hosting, plesk | 1 Comment »
Tuesday, May 13th, 2008
If you get the following error while managing a domain in parallels plesk control panel
=====
0: /usr/local/psa/admin/plib/dns/DNSZone.php:49
DNSZone->DNSZone(string ‘1′)
1: /usr/local/psa/admin/plib/common_func.php3:2875
objectMaker(string ‘DNSZone’, string ‘1′)
2: /usr/local/psa/admin/plib/dns/DNSManager.php:39
DNSManager::getDNSZone(string ‘1′)
3: /usr/local/psa/admin/plib/dns/DNSManager.php:75
DNSManager::getDefaultDNSZone()
4: /usr/local/psa/admin/plib/dns/DNSManager.php:104
DNSManager::syncDNSZoneAdminEmail(string ‘plesk@white.nl’, string ‘plesk2@white.nl’)
5: /usr/local/psa/admin/htdocs/server/admin_ed.php3:88
admin_ed(array, array, array)
6: /usr/local/psa/admin/htdocs/server/admin_ed.php3:171
====
chances are that you have manually removed some entry from the psa database
Please insert the following into the psa database dns_zone table
mysql -uadmin -p`cat [...]
Tags: mysql, plesk
Posted in plesk | No Comments »