Archive for the ‘hosting’ Category
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 | 4 Comments »
Friday, July 11th, 2008
ffmpeg is a popular audio/video encoder and decoder . If you are planning to roll out a website that does video conversion like the popular youtube this document is for you . Now if you allow your users to upload content shot using mobile phones inoder to decode the same you may need AMR codec [...]
Tags: ffmpeg, hosting
Posted in ffmpeg, hosting | 5 Comments »
Monday, June 30th, 2008
Latency is network delay for a packet to reach from its source to the destination
Inoder for you to understand this ; i am comparing the time taken for an ICMP echo (ping) packet to 2 destinations that are geographically seperated
The source IP is located at KOCHI,INDIA (BSNL National Internet Bachbone) and the destination 1 is [...]
Tags: hosting
Posted in hosting | 1 Comment »
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 | 1 Comment »
Monday, May 26th, 2008
1. Document everything you do ; You or someone else would come accross the same issue sometime else and from my long experiance; if you dont document you probably would have to start over again!
2. Face the issue from the head and tackle it from the tail! . The best sysadmin practice would be [...]
Posted in Security, hosting | 1 Comment »
Sunday, May 25th, 2008
This bash script is very useful if you are planning to do cpanel account migrations purely from the commandline and automate the process of the migration . This scripts extracts the names of all reseller users in the server to the file
/opt/reseller_list
and correspondingly for all users in this list extract the cpanel usernames to the [...]
Tags: cpanel, hosting
Posted in cpanel, hosting | 3 Comments »
Thursday, May 22nd, 2008
A slight change in the setup and now i can see the user who is executing the scripts in my website
Before when apache intrepets a php script it calls fastcgi which inturn calls the php cgi binary.But still the php binary is executed as the calling user which in our case is the user [...]
Tags: Apache, php, Security
Posted in Apache, Security, hosting, php | No Comments »