Ad Widget

Collapse

/var/run/zabbix-server deleted every reboot

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Scutty
    Junior Member
    • Oct 2007
    • 5

    #1

    /var/run/zabbix-server deleted every reboot

    Help

    I have got Zabbix working fine and am loving it it however, I have an issue where the /var/run/zabbix-server/ directory is deleted everytime I reboot Ubuntu and, of course, Zabbix cannot start up without me creating (and CHOWNing) a new directory in /var/run every time.
    What is deleting this directory every shutdown? How do I stop it?

    Thanks
  • Niels
    Senior Member
    • May 2007
    • 239

    #2
    Is that folder just for a pid file? If so, you can put it somewhere else.

    Comment

    • Scutty
      Junior Member
      • Oct 2007
      • 5

      #3
      Yes

      Its is just for the PID file but it works fine where it is, I just want to stop the directory getting deleted on shut-down. Its just a touch annoying when everything else works 100%

      Comment

      • Scutty
        Junior Member
        • Oct 2007
        • 5

        #4
        bump

        Hi again.

        Can no-one help with this issue?

        Comment

        • tokind
          Member
          • May 2007
          • 47

          #5
          Funny, I am still running server 1.1.6, and my problem is that when I do a restart /var/tmp/zabbix_server.pid is NOT deleted. I have to go in and delete it following reboot and then manually start zabbix_server.

          I wonder why the path you describe is different? And I wonder if the version you are running (1.4 ?) threw out the baby with the bathwater in an effort to resolve the clean exit issue that I have with 1.1.6?

          I would suggest that you edit zabbix_server.conf and seek out PidFile=, and set the path to a standard location for pid files, e.g. /var/tmp/zabbix_server.pid or /var/run/zabbix_server.pid instead of storing the pid in a subdirectory.

          You have a degree of control over where the pid file is written. Eliminating the zabbix_server subdirectory from the equation may resolve the issue.

          Comment

          Working...