HTTPD LOGS
/etc/httpd/logs/error_log
EMAIL LOG
/usr/local/psa/var/log/maillog
PLESK ERROR LOG
/var/log/sw-cp-server/error_log
HTTPD LOGS
/etc/httpd/logs/error_log
EMAIL LOG
/usr/local/psa/var/log/maillog
PLESK ERROR LOG
/var/log/sw-cp-server/error_log
Solution :
[ vzctl set VEID –save –offline_management yes –offline_service vzpp ]
yum install ntp
chkconfig ntpd on
ntpdate pool.ntp.org
/etc/init.d/ntpd start
http://admin.webhostingdevelopment.com/viewtopic.php?f=92&t=81&p=94#p94
Below command will cut lines 90 to 154 from file.txt and copy that to cut_file.txt
sed -n ‘90,154p’ file.txt > cut_file.txt
[ /scripts/generate_maildirsize –confirm –verbose USERNAME ]
Login to mysql.
mysql -u root -p
In mysql prompt use
mysql> use mysql;
Now change the password for user “arun” to “secret123″ as below :
[ mysql> update user set password=PASSWORD(“secret123″) where User=’arun'; ]
/var/log/dcpumon/toplog…..
While trying to access the plesk admin page we get the below error :
ERROR: PleskFatalException Unable to connect to database: saved admin password is incorrect.
Solution :
Try resetting the admin password from within mysql.
You can get the details about resetting root mysql password using the link below. Change the commands accordingly an reset the password for user “admin”
root@vps [~]# httpd -l
-bash: httpd: command not found
root@vps [~]#
Solution :
root@vps1 [/usr/bin]# ln -s /usr/local/apache/bin/httpd
root@vps1 [/usr/bin]# cd
/etc/cron.weekly/chkrootkit.sh:
/etc/cron.weekly/chkrootkit.sh: line 3: mail: command not found
/etc/cron.weekly/rkhunter.sh:
/etc/cron.weekly/rkhunter.sh: line 2: rkhunter: command not found
Solution :
yum install mailx.x86_64
Getting the below error in apache error logs and the website giving a Internal server error 500
Solution :
Check RLimitMEM is enabled. If so disable and restart apache.
vi /usr/local/apache/conf/httpd.conf
Plesk mail directory path :
/var/qmail/mailnames/DOMAIN.com/USERNAME
When we create a folder from within the webmail its created at the backend on
/var/qmail/mailnames/DOMAIN.com/USERNAME/Maildir/.FOLDER_NAME
ITS A HIDDEN FILE