cat /usr/local/directadmin/data/task.queue
Category Archives: Hosting
phpmyadmin error token mismatch cpanel
If you are using Cloudlinux cPanel and have some problems with phpmyadmin: error token mismatch
You need check users tmp folder permissions. like this:
ls -lad /home/username/tmp
It should be chmod 755 /home/username/tmp
check ssl crt
openssl x509 -in certificate.crt -text -noout
exim remove all mail spool queue
cd /var/spool
mv exim exim.old
mkdir -p exim/input
mkdir -p exim/msglog
mkdir -p exim/db
chown -R mail:mail exim
/sbin/service exim restart
remove nginx from cpanel
find / -ianme nginxinstaller
./nginxinstaller uninstall
service httpd restart
unknown variable ‘default-character-set=utf8’
Fix.
Remove default-character-set=utf8 from /etc/my.cnf
disable cphulk over ssh
/usr/local/cpanel/etc/init/stopcphulkd stop
mysql cphulkd
delete from brutes;
delete from logins;
directadmin – /usr/local/lib/libz.so.1: no version information available (required by python)
Everything is ok, don’t worry. Or:
cd /usr/local/directadmin/custombuild
./build update
./build set new_zlib yes
./build update_data
./build zlib
./build libxml2
./build php n
zabbix: less than 25% free in the configuration cache
vi /etc/zabbix/zabbix_server.conf
CacheSize=24M
service zabbix-server restart
#Default CacheSize size is 8M
info [buildhttpdconf] Missing IP for domain, using
cd /var/cpanel/userdata/nobody/
ls
main main.cache server.domainname.com server.domainname.com.cache
vim server.domainname.com
group: nobody
ip: “*”
port: 80
serveradmin: [email protected]
serveralias: www.server.domainname.com
servername: server.domainname.com
usecanonicalname: ‘Off’
user: nobody
owner: ‘nobody’
/scripts/rebuildhttpdconf
lvectl – TypeError: int() argument must be a string or a number, not ‘NoneType’
Fix.
Please check /etc/container/ve.cfg config
maybe you also check /etc/container/ve.cfg.rpmnew configuration
then try lvectl apply all
reinstall roundcube on cpanel from source
cd /usr/local/cpanel/base
rm -rf roundcube*
mysql mysql>drop database roundcube;
cd /usr/local/cpanel/base
wget http://easynews.dl.sourceforge.net/sourceforge/roundcubemail/roundcubemail-0.1beta2.1.tar.gz
tar -zxvf roundcubemail-0.1beta2.1.tar.gz
mv -f roundcubemail-0.1beta2 roundcube
cd roundcube
chmod -R 777 temp
chmod -R 777 logs
mysql>CREATE DATABASE roundcube;
mysql>use roundcube;
mysql>source SQL/mysql.initial.sql;
mysql>>quit
cd config
mv db.inc.php.dist db.inc.php
mv main.inc.php.dist main.inc.php
vi db.inc.php
$rcmail_config[‘db_dsnw’] = ‘mysql://roundcube:pass@localhost/roundcubemail’;
vi main.inc.php
$rcmail_config[‘localhost’] = “localhost”;
cd /usr/local/cpanel/base/roundcube/skins/default/images/
cp roundcube_logo.png /usr/local/cpanel/base/frontend/x/images/roundcube_logo.png
cp roundcube_logo.png /usr/local/cpanel/base/webmail/x/images/roundcube_logo.png
wget http://www.yourserverguide.com/Files/HGpatch-roundcube-1.0BETA2.1
patch -p0 < HGpatch-roundcube-1.0BETA2.1
roundcube – database error: connection failed
grep db_dsnw /usr/local/cpanel/base/3rdparty/roundcube/config/db.inc.php
mysql> update user set Password = PASSWORD(‘good_password’) where User = ’roundcube’;
Native table ‘performance_schema’ has the wrong structure
Fix.
mysql_upgrade -h localhost
ERROR 1010 (HY000): Error dropping database (can’t rmdir ‘./roundcube’, errno: 30)
cd /var/lib/mysql
mv roundcube /tmp
mysql> drop database roundcube;
ERROR 1008 (HY000): Can’t drop database ’roundcube’; database doesn’t exist
mysql> create database roundcube;