Quick permissions question.

Discussion in 'Server Operation' started by badgerbox76, Jul 21, 2007.

  1. badgerbox76

    badgerbox76 New Member

    Just got Zabbix running and it seems that it does the have the permission to read the configuration file. How can i correct this.

    View the error here:
    http://www.atlbricks.com/zabbix/index.php

    Thanks for the advice.
     
  2. badgerbox76

    badgerbox76 New Member

  3. falko

    falko Super Moderator

    What's the output of
    Code:
    ls -la /etc/zabbix
    ?
     
  4. badgerbox76

    badgerbox76 New Member


    admin@webserver:~$ ls -la /etc/zabbix
    total 40
    drwxr-xr-x 3 root root 4096 Jul 20 23:50 .
    drwxr-xr-x 104 root root 4096 Jul 21 01:28 ..
    drwxr-xr-x 2 root root 4096 Feb 7 08:38 alert.d
    -rw-r--r-- 1 root root 115 Feb 7 08:37 apache.conf
    -rw-r----- 1 root root 120 Jul 20 18:28 dbconfig.php
    -rw------- 1 root root 134 Jul 20 23:50 dbconfig.php.save
    -rw------- 1 root root 133 Jul 20 23:50 dbconfig.php.save.1
    -rw-r--r-- 1 root root 1121 Jul 20 18:11 zabbix_agent.conf
    -rw-r--r-- 1 root root 2397 Jul 20 18:27 zabbix_agentd.conf
    -rw-r----- 1 zabbix root 2260 Jul 20 18:20 zabbix_server.conf
    admin@webserver:~$
     
  5. falko

    falko Super Moderator

    Please run
    Code:
    chmod 644 /etc/zabbix/dbconfig.php
    chmod 644 /etc/zabbix/zabbix_server.conf
     

Share This Page