Archive for the ‘hosting’ Category

plesk DBWebadmin Access denied for user error

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

Howto manage qmail queue in Plesk linux

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 [...]

Install ffmpeg with amr-nb and amr-wb support

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 [...]

how important is latency in hosting

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 [...]

parallels plesk extras; script to extract plesk login and password

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

parallels plesk extras; script to extract ftp password from psa

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

Parallels plesk extra;script to extract database details of a client

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 [...]

Seven golden sysadmin rules

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 [...]

cpanel script to extract reseller users and domain names

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 [...]

apache2 mod_suphp php-cgi

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 [...]