Results 21 to 30 of 30
Originally Posted by diegosales
I am running as root already. I try to start like this: /etc/init.d/zabbix-agentd start . There is no /var/log/zabbix messages. In /var/log/messages, there is nothing related ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-18-2012 #21Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,694
did you install zabbix via RPM? if so, then first look for the binary and the config file like this:
on my system that turns up:Code:rpm -ql zabbix|egrep 'sbin|conf'
The config file is the first one, the daemon the second.Code:/etc/zabbix/zabbix_server.conf /usr/sbin/zabbix_server
now try it call it manually, and immediately afterwards, echo the return value of the previous command:
You want it to echo back a "0" which means success. anyway, now look for the logfile location in the config file:Code:# /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf # echo $?
on my system, that returns:Code:grep LogFile= /etc/zabbix/zabbix_server.conf
so now look thru that log file for what is going on.Code:LogFile=/var/log/zabbix/zabbix_server.log
it is likely that you do not have mysql up and running, or don't have the proper authentication to log in, or the zabbix db does not exist, or something like that.
- 10-22-2012 #22Just Joined!
- Join Date
- Apr 2012
- Posts
- 24
Hi, man.
Unfortunately it did not work yet. In my server there is no logfile. Thre is zabbix directory log, but it is empty.
My server does not shut down yet. I am getting this message: Interrupted system call.
- 10-22-2012 #23Just Joined!
- Join Date
- Apr 2012
- Posts
- 24
Starting ZABBIX agent: zabbix_agentd: daemon.c:158: daemon_start: Assertion `0' failed.
Thatś what appears...
- 10-23-2012 #24Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,694
- 10-23-2012 #25Just Joined!
- Join Date
- Apr 2012
- Posts
- 24
I installed using rpm command.
- 10-24-2012 #26Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,694
So you downloaded an RPM and then installed it? It is better to use yum when you can. It ensures that you are installing a package that has been compiled for your architecture and using libraries provided by your distro.
Can you supply the name of the RPM?
You can also query the version of the installed package:
Code:rpm -vq zabbix-agent
- 10-24-2012 #27Just Joined!
- Join Date
- Apr 2012
- Posts
- 24
zabbix-agent-1.8.2-1 is the version.
I used yum to install 2 libraries: openssl-devel and OpenIPMI-libs using YUM.
The message is still the same....
- 10-24-2012 #28Just Joined!
- Join Date
- Apr 2012
- Posts
- 24
I try to use telnet ip 10050 (zabbix port) and the connection is refused... too
- 10-25-2012 #29Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,694
Where did u get that RPM, do you know? The version of zabbix-agent in the EPEL repos that I see is version 1.4.7.
I would try to remove the version of zabbix-agent that you've installed, and try it w/yum, e.g.:
then install it via yum:Code:rpm -e --nodeps zabbix-*
This presumes that you have the EPEL repo up and running.Code:yum install zabbix zabbix-agent
Also, show the output of these commands:
Code:# Linux distro info cat /etc/redhat-release
Code:# Linux kernel info uname -a
Code:# platform architecture arch
- 10-25-2012 #30Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,694



Reply With Quote
