Ad Widget

Collapse

zabbix-server service not starting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hrswift
    Junior Member
    • Feb 2015
    • 6

    #1

    zabbix-server service not starting

    Hi all,

    I'm new to the site and fairly new to Zabbix. I was able to build a Zabbix 2.4 server running on SUSE 13.1. When I reboot the server I have to go in to the /var/run/zabbix and the /var/run/zabbixs directories and apply R W X permissions to Others. Only after that am I able to start the zabbix-server service. the error message in the log file says it "cannot create the zabbix-server.pid file access denied". My question is where might I find the process or config file that creates this directory during the boot or startup process? I am hopeful that I can alter that process and have it apply the proper permissions.

    Thanks
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    The pid file directory is defined on your Zabbix server in zabbix_server.conf

    Comment

    • hrswift
      Junior Member
      • Feb 2015
      • 6

      #3
      Keep getting this in the log file.

      "zabbix-server [3034]: cannot create PID file [/var/run/zabbix/zabbix-server.pid]: [13] Permission denied"


      When I assign R, W and X to Owner, Group and Others to the /var/run/zabbix directory the service starts and the permission denied error goes away.

      How can I assign these permissions automatically during a boot up?
      Last edited by hrswift; 16-02-2015, 15:59. Reason: Completion

      Comment

      • akhundof
        Junior Member
        Zabbix Certified Specialist
        • Feb 2015
        • 7

        #4
        You can create script to give permissions on boot. But it is not the right solution. I think that you have some restrictions on your Suse with saving syste configuration.

        Comment

        • hrswift
          Junior Member
          • Feb 2015
          • 6

          #5
          Thanks for the reply akhundof,

          How may I track down that restriction in SUSE?

          Comment

          Working...