vzlist -a
To set directory listing
To set directory listing to 15000
vi /etc/ftpd.con
Edit line :
LimitRecursion 15000 8
To view Plesk admin password
cat /etc/psa/.psa.shadow
For Plesk 10.2 onwards
[ /usr/local/psa/bin/admin --show-password ]
Increase disk quota
WHM >> Quota Modification >> Pull out the domain name >> Click on Modify.
Find mail server
If an entry present in
/etc/localdomains
Mail server will be the currents server
If mail server set as remote server, then entry will be present on
/etc/remoteserver
Apache logs
tail -f /usr/local/apache/logs/error_log –> In cpanel
tail -f /usr/local/apache/logs/error_log | grep domain name OR our IP etc —-> To search a particular domain`s log continiously
View Exim log (mail log)
tail -f 100 /var/log/exim_mainlog
RESTART MYSQL (Forceful restart included)
/etc/init.d/mysql restart
/etc/init.d/mysqld restart
/scripts restartsrv mysql
/scripts/mysqlup –force –> Forceful restart for cpanel severs





