echo “filemanager_du=0” >> /usr/local/directadmin/conf/directadmin.conf
service directadmin restart
Category Archives: Hosting
directadmin domain pointer blacklist
cp -v /usr/local/directadmin/data/templates/forbidden_domains.list /usr/local/directadmin/data/templates/custom/forbidden_domains.list
vi /usr/local/directadmin/data/templates/custom/forbidden_domains.list
directadmin list user domains
cat /usr/local/directadmin/data/users/*/domains.list
force installatron update
wget http://dal01.installatron.com/installatron-plugin.sh
chmod +x installatron-plugin.sh
./installatron-plugin.sh -f
error installatron is temporarily disabled
This error usually means problem with installatron license and you should update it.
Webmin: Error – Bad Request This web server is running in SSL mode. Try the URL instead.
sed --in-place "s/ssl=1/ssl=0/g" /etc/webmin/miniserv.conf && service webmin restart
Zabbix icmp pinger processes more than 75% busy
vi /etc/zabbix/zabbix_server.conf
StartPingers=100
service zabbix_server restart
R=dkim_lookuphost T=dkim_remote_smtp defer (-46) H=hostname [xx.xx.xx.xx]: SMTP error from remote mail server after end of data: 451 Local Error
Exim error: R=dkim_lookuphost T=dkim_remote_smtp defer (-46) H=hostname [xx.xx.xx.xx]: SMTP error from remote mail server after end of data: 451 Local Error or something like this: dkim_lookuphost T=dkim_remote_smtp defer (111): Connection refused
If you are getting this error on cPanel server, you should try disable dkim on your existing users accounts. To do this you can in your WHM panel or using API.
innodb_force_recovery oprions
Mode 1 – Doesn’t crash MySQL when it sees a corrupt page
Mode 2 – Doesn’t run background operations
Mode 3 – Doesn’t attempt to roll back transactions
Mode 4 – Doesn’t calculate stats or apply stored/buffered changes
Mode 5 – Doesn’t look at the undo logs during start-up
Mode 6 – Doesn’t roll-forward from the redo logs (ib_logfiles) during start-up
directadmin find user sent email count
cat /etc/virtual/usage/*
directadmin 550 Verification failed for 550 Unrouteable address 550 Sender verify failed
This message can mean user sent emails limit is reached, maybe some user send spam messages. Also it can be really DNS issues.
directadmin spam user apache
cd /home/username/domains/example.com/public_html
find . -name '*.php' | while read FILE; do if grep 'eval(base64_decode' "$FILE"; then echo "$FILE" >> maybeinfected; fi ; done
[FATAL ERROR] Lock already exists: /var/run/munin/munin-update.lock. Dying.
rm -rf /var/run/munin/munin-update.lock
next:
su – munin –shell=/bin/bash
munin-cron
mysql check config
Simple type: mysqld –help
nfo [cpses_tool] MYSQL: Remove dbuser cpses blank screen
1) I ran a grep for the sessions that were currently in effect:
# grep “cpses_” /var/cpanel/databases/
2) I removed the following sections from any user’s yaml that matched the
cpses_########”:
dbs: {}
server: X.X.X.X
3) I removed each of the cpses_######## lines from /var/cpanel/databases/users.db
4) I ran the following command to update the user-data:
# /scripts/update_db_cache
5) I then removed all of the cpses_######## users from the mysql.user table to remove the users from mysql. This can be accomplished from the command line or from WHM>> PhpMyAdmin