Keitaro is working weirdly. How can I find the reason?

  • Go to Service > Status page. Find the error log and check if there are errors.
  • Check php error log /var/log/errors.log (path from Keitaro root);

Some descriptions of errors you'll find below. Also, you can contact us at

Cannot get licenses, the connection to the servers fails

Here are some reasons:

  1. Nameserver, that set in /etc/resolve.conf, is not available;
  2. Firewall is configured so that it blocks all outbound connections;
  3. The server is not available.

The solution for hostings:

The solution for servers:

1. Open in your browser. If the website is not available email us at

2. If you have shared hosting contact the hosting support team and ask them “Why the connection to is blocked?”.

2. If you have your own server, send a ping to from the server console.


If there is an error “Unknown host” check which ns-servers are contained in the file /etc/resolve.conf of the server. You can add there DNS from Google;


If you still have an “Unknown host” error write at /etc/hosts

If there is an error “Timed out” check your firewall settings. Contact a hosting support team if necessary.

"Connection attempt failed: SQLSTATE[08004] [1040] Too many connections"

The maximum limit of connections set in MySQL configuration is exceeded. Increase the max_connections value in /etc/my.cnf and reload MySQL.

"Got error 28 from storage engine"

It means “not enough disk space”.

To show disc space in server console, use command below

$ df -h

"Error while connecting redis: Redis server went away"

For hostings

  1. Open the page Maintenance > Settings > Performance.
  2. Set “Files” at the “Storage for draft data” option.

For servers

1. Check if Redis is running:

$ service redis status

2. If it is stopped run it

$ service redis start

3. Add to autoload (CentOS)

$ chkconfig redis on

Test Redis by this script:

$redis = new Redis();
$redis->connect('', 6379);

"1286: Unknown storage engine 'InnoDB'"

For hostings Contact a hoster support team to help resolve this error.

For owners of the servers Add in my.cnf:


and reboot MySQL:

service mysql restart

"Got error -1 from storage engine"

Open the MySQL configuration file my.cnf (at /etc/my.cnf or /etc/mysql/my.cnf). Replace the directive value:

innodb_force_recovery = 0

Restart MySQL

service mysql restart

Data is not stored in Redis

Try to clear Redis: redis-cli -r FLUSHALL

If it helped you, check the memory limit at the Redis configuration.

Error "MySQL server has gone away" (or "No file or directory")

1. Check if there is wait_timeout.

You can do this in a terminal:

mysql -e "show variables like 'wait_timeout';"

| Variable_name | Value |
| wait_timeout  | 30 |

To disable, delete or comment in a config /etc/my.cnf line


Then restart MySQL.

service mysqld restart
service mysql restart
service mariadb restart

2. Make sure that “Files” or “Redis” are chosen in database settings.

3. If there is an opportunity, install Redis.

4. If there is less than 1GB of memory on a server, OOMKiller can work out. OOMKiller is a system utility, which kills processes if there's a lack of memory. The creating of swap-file can help

Define which web-server is installed.


Check if mod_rewrite extension is on, and there is the following directive in domain settings (httpd.conf):

AllowOverride All


Open the domain configuration in nginx (/etc/nginx/nginx.conf or in /etc/nginx/vhosts/). Find the “location / {…}” section and add:

try_files $uri $uri/ /index.php?$args;

Unable to save the updated license

Check the available free space. For example, using the console:

df -h

You will see something like this result:

Filesystem      Size   Used  Avail Capacity   iused    ifree %iused  Mounted on
/dev/disk1     465Gi  407Gi   57Gi    88% 106779354 15058244   88%   /

The penultimate column shows the percentage of used space.

Check the user quota:

quota -u USERNAME

User 'xxx' has exceeded the 'max_connections_per_hour'

The user has the limit number of connections per hour.


1. Remove or increase the limit


2. Switch the handler storage to Files or Redis (Maintenance > Settings > Performance).

1054: Unknown column 'conversions' in 'field list'

Open the page “Maintenance > Migrations” and run the migration 95.

Redis is LOADING the dataset.

That solution drop all the temp stats, but restores tracker stability. Run these commands in server terminal:

rm -rf /var/lib/redis/*
service redis restart

How to get rid of "[IPv6]" in reports

We need to disable IPv6 on a server for this. All visitors will connect to the server with IPv4. In CentOS edit the /etc/sysctl.conf file:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

Then execute:

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1


Cloudflare imposes IPv6 on all new domains. To disable this, you need some tech knowledge and experience with the terminal.

1. Go to “Network”. Find “IPv6 Compatibility” domain settings. It is in “On” position and you can't disable it.

2. Copy the code below to the notepad:

curl -X PATCH "" \
     -H "X-Auth-Email: EMAIL" \
     -H "X-Auth-Key: API_KEY" \
     -H "Content-Type: application/json" \
     --data '{"value":"off"}'

3. Change ZONEID to the zone, which can be taken on “Overview” page.

4. Change EMAIL to your account's email.

And API_KEY to the key, which can be found on “My Profile” page - “Global API Key”.

4. Now copy the edited code from a notepad and launch this code in any terminal.

5. Check if the domain's “IPv6 Compatibility” settings are Off.

IPv6 for each domain is disabled separately, which means you need to repeat the steps for every domain.