# 1 Error and warning messages

Zabbix daemons generate error and warning messages in case of any
problems. The messages are written to log files depending on
configuration parameters.

Some of the messages are numbered.

The table contains complete list of numbered messages with additional
details.

|Error|Message|Details|
|-----|-------|-------|
|**Z3001**|Connection to database '%s' failed: \[%d\] %s|Zabbix daemon is unable to establish connection to the database. Additional information:<br>database name<br>database error code<br>database error string|
|**Z3002**|Cannot create database '%s': \[%d\] %s|Zabbix daemon is unable to create database. Additional information:<br>database name<br>database error code<br>database error string|
|**Z3003**|No connection to the database.|This should never happen. Report to Zabbix Team.|
|**Z3004**|Cannot close database: \[%d\] %s|Zabbix daemon is unable to close connection to the database. Additional information:<br>database error code<br>database error string|
|**Z3005**|Query failed: \[%d\] %s \[%s\]|SQL query execution failed. Additional information:<br>database error code<br>database error string<br>SQL query string|
|**Z3006**|Fetch failed: \[%d\] %s|Record fetch failed. Additional information:<br>database error code<br>database error string|

::: noteclassic
The numbered error messages are supported starting from
Zabbix 1.8.
:::
