I'm trying to do a fresh install of Zabbix 1.1beta5. I've read through the forums, but still I had no luck loading the images into the MySQL database using images.sql.
Here's what I did (I followed the instructions at http://www.zabbix.com/manual/v1.1/install_server.php):
Create zabbix user:
Download zabbix 1.1beta5:
Create database and load schema and data:
Now, I've searched all over for this error, but none of the solutions seem to work for me:
My configuration:
Maybe the docs need some more info on this issue, as I've read many posts from people who have problems loading the images into the database.
Here's what I did (I followed the instructions at http://www.zabbix.com/manual/v1.1/install_server.php):
Create zabbix user:
Code:
# su - # useradd -m zabbix # passwd zabbix # su - zabbix
Code:
# wget http://surfnet.dl.sourceforge.net/sourceforge/zabbix/zabbix-1.1beta5.tar.gz # tar zxvf zabbix-1.1beta5.tar.gz # rm -f zabbix-1.1beta5.tar.gz # mv zabbix-1.1beta5 zabbix # cd zabbix
Code:
# mysql -uroot -p<password> mysql> create database zabbix; mysql> quit # cd create/mysql # cat schema.sql | mysql -uroot -p<password> zabbix # cd ../data # cat data.sql | mysql -uroot -p<password> zabbix # cat images.sql | mysql -uroot -p<password> zabbix ERROR 13 (HY000) at line 24: Can't get stat of '/home/zabbix/zabbix/create/data/images/Hub.png' (Errcode: 13)
- The image.sql file has full paths and they're correct paths too
- The max_allowed_packet variable is set to 16777216 (default for the package I installed), which should be enough (right?)
- The MySQL root user has File_priv
- I tried to copy the images over to /tmp, chmod them 777 and then load them, but still I get this error
My configuration:
- CentOS 4.2
- Mysql 4.1.12
Maybe the docs need some more info on this issue, as I've read many posts from people who have problems loading the images into the database.

bject_r:mysqld_db_t security context, which allows reading by MySQL (there may be others, I don't know, I just read an article on SELinux the other day).
Comment