January 24th, 2012 |
How to change cPanel theme for multiple accounts? The cPanel theme for an account is specified in the /var/cpanel/users/username file in the format RS=value For example: BWLIMIT=unlimited DEMO=0 DNS=domainname.com FEATURELIST=default HASCGI=1 IP=IPHERE LANG=english LOCALE=en MAXADDON=0 MAXFTP=0 MAXLST=0 MAXPARK=0 MAXPOP=5 MAXSQL=0 MAXSUB=0 MTIME=1271068514 OWNER=root PLAN=default STARTDATE=1228721668 USER=username RS=x3 where, x3 is the theme. WHM only provides [...]
January 23rd, 2012 |
Your Ftp server rejects your access to the server on providing the username and do not prompt for a password as well and you may see the following error in the your server logs: Jan 10 11:22:33 mai1 pure-ftpd: (?@xx.xx.xx.xx) [WARNING] Sorry, cleartext sessions are not accepted on this server. Please reconnect using SSL/TLS security [...]
January 23rd, 2012 |
Shell Script to search Failed Ftp Login Attempts This Shell script will search the server logs on daily basis and will email you the Failed Ftp Login Attempts of the day. The ftp logs are saved in the /var/log/messages file as by default there is no separate log file for Ftp in Linux. Create a [...]
January 22nd, 2012 |
Shell Script for Disk Space Notification The Disk Space Notification script can be scheduled to run once in a week which will check the Disk Space Usage on the server. The Shell script will send out an email to the admin if the Disk Space Usage is greater than the Threshold. Create a file /home/diskspace.sh [...]
January 22nd, 2012 |
By default, phpMyAdmin shows all databases available to a user. So, in addition to the databases that belong to the user, the information_schema database is also visible to them. To hide the information_schema database from phpMyAdmin on a particular MySQL logical server, add the following line to the phpMyAdmin config.inc.php file: $cfg['Servers'][$i]['hide_db'] = ‘information_schema’; Please [...]
January 22nd, 2012 |
In Parallels Plesk Panel 10.0.1 installed on RedHat 4 OS try upgrading any component through Autoinstaller in Parallels Plesk interface. The following error is shown: There was an error downloading: …… …… …… An error has occurred: exceptions.UnboundLocalError See /var/log/up2date for more information Error: The up2date utility failed to install the required packages. Attention! Your [...]
January 22nd, 2012 |
If you receive the error message “vzquota : (error) Quota is running, stop it first” while restarting a VPS, you will first have to turn off it’s quota and then drop it vzquota off VEID vzquota drop VEID Once done, restart the VPS and it will re-initialize the quota for the VPS and will start [...]
January 21st, 2012 |
You may receive the following message on accessing a VPS from the host server: # vzctl enter 101 enter into VE 101 failed Unable to open pty: No such file or directory The reason behind is the missing tty/pty files OR the udev devices. There are two ways of creating them, using the ‘MAKEDEV’ program [...]
January 21st, 2012 |
How about backing up all the databases in the server? That’s an easy one, just use the –all-databases parameter to backup all the databases in the server in one step. mysqldump –all-databases> alldatabases.sql How to Backing up only the Database Structure in MySQL You can backup only the database structure by telling mysqldump not to [...]
January 20th, 2012 |
There are two ways to install micro-updates for Parallels Plesk Panel. Using the Command Line Interface: #$PRODUCT_ROOT_D/admin/sbin/autoinstaller Note: The “$PRODUCT_ROOT_D” variable in the command should be replaced with its value according to Plesk variables. The exact value of path variables can be known from /etc/psa/psa.conf file on Parallels Plesk Panel server. Or use the following [...]