gabrielnoc
14-01-2009, 12:25
Hello people.
I'm getting a couple of errors while installing zabbix. I've already configured it and compiled it. But when I try to go to http://ip/zabbix/ there are a lot of errors on screen. I will put them here and some screenshots too. I've already configured the DB(MYSQL).
First on login screen:
http://img73.imageshack.us/img73/3758/26960443ow9.th.jpg (http://img73.imageshack.us/my.php?image=26960443ow9.jpg)
Error in query [select * from rights where userid=2] [Unknown column 'userid' in 'where clause']
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/share/zabbix/include/db.inc.php on line 104
After login > Monitoring > Triggers:
http://img165.imageshack.us/img165/8760/61844727wa7.th.jpg (http://img165.imageshack.us/my.php?image=61844727wa7.jpg)
SQL error: Unknown column 'value' in 'field list'
Query: insert into profiles (userid,idx,value,valuetype) values (1,'web.tr_status.hostid','0',0)
SQL error: Unknown column 'value' in 'field list'
Query: insert into profiles (userid,idx,value,valuetype) values (1,'web.tr_status.groupid','0',0)
I don't know what to do anymore. If anyone has a light to give me, I would appreciate.
Another thing that when I compiled it, it didn't create the zabbix_server.conf in the appropriate folder. So I copied from the source to the folder, so I could run the executable(./zabbix_server). Otherwise it didn't run.
http://img407.imageshack.us/img407/1111/27067933jn9.th.jpg (http://img407.imageshack.us/my.php?image=27067933jn9.jpg)
Thanks.
I'm getting a couple of errors while installing zabbix. I've already configured it and compiled it. But when I try to go to http://ip/zabbix/ there are a lot of errors on screen. I will put them here and some screenshots too. I've already configured the DB(MYSQL).
First on login screen:
http://img73.imageshack.us/img73/3758/26960443ow9.th.jpg (http://img73.imageshack.us/my.php?image=26960443ow9.jpg)
Error in query [select * from rights where userid=2] [Unknown column 'userid' in 'where clause']
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/share/zabbix/include/db.inc.php on line 104
After login > Monitoring > Triggers:
http://img165.imageshack.us/img165/8760/61844727wa7.th.jpg (http://img165.imageshack.us/my.php?image=61844727wa7.jpg)
SQL error: Unknown column 'value' in 'field list'
Query: insert into profiles (userid,idx,value,valuetype) values (1,'web.tr_status.hostid','0',0)
SQL error: Unknown column 'value' in 'field list'
Query: insert into profiles (userid,idx,value,valuetype) values (1,'web.tr_status.groupid','0',0)
I don't know what to do anymore. If anyone has a light to give me, I would appreciate.
Another thing that when I compiled it, it didn't create the zabbix_server.conf in the appropriate folder. So I copied from the source to the folder, so I could run the executable(./zabbix_server). Otherwise it didn't run.
http://img407.imageshack.us/img407/1111/27067933jn9.th.jpg (http://img407.imageshack.us/my.php?image=27067933jn9.jpg)
Thanks.