Ad Widget

Collapse

Zabbix_server won't start, no .pid file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alwaysin
    Junior Member
    • Jan 2012
    • 27

    #1

    Zabbix_server won't start, no .pid file

    Hello,

    When I try to restart zabbix-server by using "/etc/init.d/zabbix-server restart" command, I have :

    Code:
    * Stopping Zabbix server zabbix_server
    No /usr/sbin/zabbix_server found running; none killed.
                                                                             [ OK ]
     * Starting Zabbix server zabbix_server
    When I use start :

    Code:
     * Starting Zabbix server zabbix_server
    and stop :

    Code:
    * Stopping Zabbix server zabbix_server                                        
    No /usr/sbin/zabbix_server found running; none killed.
                                                                             [ OK ]
    When I run "ps fax | grep zabbix" I don't see the process running (only zabbix-agentd and not zabbix-server).

    My config file (/etc/zabbix/zabbix_server.conf) has

    Code:
    PidFile=/var/run/zabbix-server/zabbix_server.pid
    Permissions are as follow :

    Code:
    drwxr-xr-x  2 zabbix zabbix   40 2012-02-16 13:26 zabbix-server
    but the directory /var/run/zabbix-server/ is empty !
    I guess I miss the .pid file.

    I tried restarting the machine, still the same thing.

    Thank you in advance.

    Edit : in my logfile (/var/log/zabbix-server/) I have :

    Code:
     21666:20120216:113547.121 One child process died (PID:21678). Exiting ...
     21666:20120216:113549.122 Syncing history data...
     21666:20120216:113549.130 Syncing history data...done.
     21666:20120216:113549.130 Syncing trends data...
     21666:20120216:113549.405 Syncing trends data...done.
     21666:20120216:113549.405 Zabbix Server stopped. Zabbix 1.8.1 (revision 9702).
    But I think it was the result of when I tried to restart for the first time.

    Now I don't have anything that writes in the log.

    I resolved the problem. For those who could run into the same one, here is what I did : I simply deleted the extra setting I have added in /etc/zabbix/zabbix-server.conf. In my case, it was "CacheSize=16M" or something like that. I saw it was a "tune" but dunno what, it messed all up.
    Last edited by Alwaysin; 16-02-2012, 18:57.
Working...