Hello all-
I'm having some significant trouble getting Zabbix 1.4 setup and i'm not sure what to do next. I'm following the 1.4 (007) manual and running through the pre-install part:
adding zabbix as user. did this (from http://www.howtoforge.com/zabbix_network_monitoring )
It is an older version but im new and thought the initial bits were prob the same. Didn't give zabbix a password. Is that right?
1 - Make the zabbix user and group
groupadd zabbix
useradd -c 'Zabbix' -d /home/zabbix -g zabbix -s /bin/bash zabbix
mkdir /home/zabbix
chown -R zabbix.zabbix /home/zabbix
2 - Untar the sources
cd /home/zabbix
tar zxvpf zabbix-1.1beta8.tar.gz
mv zabbix-1.1beta7 zabbix
cd zabbix
chown -R zabbix.zabbix .
su - zabbix
and then i'm at the part on page 37 where it's setting up the MySQL db.
[I]For MySQL:
shell> mysql -u<username> -p<password>
mysql> create database zabbix;
mysql> quit;
shell> cd create/mysql
shell> cat schema.sql |mysql -u<username> -p<password> zabbix
shell> cd ../data
shell> cat data.sql |mysql -u<username> -p<password> zabbix
shell> cat images_mysql.sql |mysql -u<username> -p<password> zabbix
I created the db but problem is I keep getting this then when I try to
cd create/mysql
No such file or directory. I heard from someone on this forum that the paths for MySQL were messed up in config or something. It seems that it's configuring the schema so I
cd create
cd schema
can't find schema.sql as per the manual, but I do find mysql.sql which looks like a configuration file (or something controlling the schema for mysql) so I try
cat mysql.sql |mysql -u zabbix zabbix (as I have not set a zabbix user pw)
and get
"ERROR 1045 (28000): Access is denied for user 'zabbix'@'localhost' (using password:NO)
What's the problem? I need to set a password for zabbix user? I can do that but then i'm wondering where in zabbix and/or mysql config files do I need to enter that password for it to authenticate?
I'm running debian etch and my path for zabbix install is /home/zabbix if it helps.
I'm having some significant trouble getting Zabbix 1.4 setup and i'm not sure what to do next. I'm following the 1.4 (007) manual and running through the pre-install part:
adding zabbix as user. did this (from http://www.howtoforge.com/zabbix_network_monitoring )
It is an older version but im new and thought the initial bits were prob the same. Didn't give zabbix a password. Is that right?
1 - Make the zabbix user and group
groupadd zabbix
useradd -c 'Zabbix' -d /home/zabbix -g zabbix -s /bin/bash zabbix
mkdir /home/zabbix
chown -R zabbix.zabbix /home/zabbix
2 - Untar the sources
cd /home/zabbix
tar zxvpf zabbix-1.1beta8.tar.gz
mv zabbix-1.1beta7 zabbix
cd zabbix
chown -R zabbix.zabbix .
su - zabbix
and then i'm at the part on page 37 where it's setting up the MySQL db.
[I]For MySQL:
shell> mysql -u<username> -p<password>
mysql> create database zabbix;
mysql> quit;
shell> cd create/mysql
shell> cat schema.sql |mysql -u<username> -p<password> zabbix
shell> cd ../data
shell> cat data.sql |mysql -u<username> -p<password> zabbix
shell> cat images_mysql.sql |mysql -u<username> -p<password> zabbix
I created the db but problem is I keep getting this then when I try to
cd create/mysql
No such file or directory. I heard from someone on this forum that the paths for MySQL were messed up in config or something. It seems that it's configuring the schema so I
cd create
cd schema
can't find schema.sql as per the manual, but I do find mysql.sql which looks like a configuration file (or something controlling the schema for mysql) so I try
cat mysql.sql |mysql -u zabbix zabbix (as I have not set a zabbix user pw)
and get
"ERROR 1045 (28000): Access is denied for user 'zabbix'@'localhost' (using password:NO)
What's the problem? I need to set a password for zabbix user? I can do that but then i'm wondering where in zabbix and/or mysql config files do I need to enter that password for it to authenticate?
I'm running debian etch and my path for zabbix install is /home/zabbix if it helps.

Comment