Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
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.
  1. #21
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307

    Quote Originally Posted by diegosales View Post
    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 to zabbix. What should I do?
    did you install zabbix via RPM? if so, then first look for the binary and the config file like this:

    Code:
    rpm -ql zabbix|egrep 'sbin|conf'
    on my system that turns up:
    Code:
    /etc/zabbix/zabbix_server.conf
    /usr/sbin/zabbix_server
    The config file is the first one, the daemon the second.

    now try it call it manually, and immediately afterwards, echo the return value of the previous command:
    Code:
    # /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
    # echo $?
    You want it to echo back a "0" which means success. anyway, now look for the logfile location in the config file:

    Code:
    grep LogFile= /etc/zabbix/zabbix_server.conf
    on my system, that returns:
    Code:
    LogFile=/var/log/zabbix/zabbix_server.log
    so now look thru that log file for what is going on.

    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.

  2. #22
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    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.

  3. #23
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    Starting ZABBIX agent: zabbix_agentd: daemon.c:158: daemon_start: Assertion `0' failed.
    Thatś what appears...

  4. #24
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by diegosales View Post
    Starting ZABBIX agent: zabbix_agentd: daemon.c:158: daemon_start: Assertion `0' failed.
    Thatś what appears...
    that sounds like the binary is having trouble running.

    i ask again: how did you install it?

    also, what do these commands show:

    Code:
    # does it belong to an RPM package
    rpm -qf `which zabbix_agentd`
    Code:
    # upon which libraries does it rely
    ldd `which zabbix_agentd`

  5. #25
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    I installed using rpm command.

  6. #26
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by diegosales View Post
    I installed using rpm command.
    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

  7. #27
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    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....

  8. #28
    Just Joined!
    Join Date
    Apr 2012
    Posts
    26
    I try to use telnet ip 10050 (zabbix port) and the connection is refused... too

  9. #29
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by diegosales View Post
    zabbix-agent-1.8.2-1 is the version.
    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.:

    Code:
    rpm -e --nodeps zabbix-*
    then install it via yum:
    Code:
    yum install zabbix zabbix-agent
    This presumes that you have the EPEL repo up and running.

    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. #30
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by diegosales View Post
    I try to use telnet ip 10050 (zabbix port) and the connection is refused... too
    yeah, that won't work until zabbix is up and running.

    just so you know, another way to test open ports is using nmap, e.g.:

    Code:
    nmap -n -p 10050 localhost
    note that a firewall running will affect this test.

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •