Ad Widget

Collapse

installation error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • francly
    Junior Member
    • Jun 2014
    • 6

    #1

    installation error

    Hi, I need help to take a look the problem on the installation, I have tried change the permission but still no luck.

    first is the open base dir error
    second is the config file error

    I installed this on the zpanel, I make the soft link to the webroot.

    [root@ web]# ls -als
    total 12
    4 drwxrwxrwx 2 root root 4096 Jun 8 12:45 .
    4 drwxrwxrwx 4 root root 4096 Jun 8 12:46 ..
    4 -rwxrwxrwx 1 root root 429 Jun 8 12:45 zabbix.conf.php
    [root@do1 web]# pwd
    /etc/zabbix/web
    [root@ web]# cd /var/zpanel/hostdata/zadmin/public_html/
    [root@ public_html]# ls -als
    total 16
    4 drwxrwx--- 4 apache apache 4096 Jun 8 12:20 .
    4 drwxrwx--- 4 apache apache 4096 Jun 2 01:13 ..
    0 lrwxrwxrwx 1 root root 18 Jun 8 12:20 zabbix -> /usr/share/zabbix/
    [root@do1 public_html]#

  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello and welcome!

    Why are you trying to install the very old Zabbix version 1.8.20 when there is much better version 2.2.3 available?

    Best Regards,
    Ingus

    Comment

    • francly
      Junior Member
      • Jun 2014
      • 6

      #3
      Originally posted by ingus.vilnis
      Hello and welcome!

      Why are you trying to install the very old Zabbix version 1.8.20 when there is much better version 2.2.3 available?

      Best Regards,
      Ingus
      Thanks, I install through the yum install.

      So the new version can resolve the problem?

      Comment

      • bagni
        Senior Member
        Zabbix Certified Specialist
        • Mar 2012
        • 164

        #4
        Hi,
        you must put the config path within the allowed path:
        /var/zpanel/hostdata/zadmin/public_html/zabbix/

        Fix your config file (<zabbix web path>/include/config.config.php):
        PHP Code:
        $ZBX_CONFIGURATION_FILE './conf/zabbix.conf.php'
        and check the write capability for webserver's user into /usr/share/zabbix/

        Bye Lorenzo
        p.s.: you are using a quite old zabbix version, latest release cannot let to define the zabbix.conf.php because must reside into web directory.

        Comment

        • ingus.vilnis
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Mar 2014
          • 908

          #5
          Here is pretty good manual on how to install the very latest version. (https://www.zabbix.com/documentation..._from_packages)

          Best Regards,
          Ingus

          Comment

          • francly
            Junior Member
            • Jun 2014
            • 6

            #6
            Originally posted by ingus.vilnis
            Here is pretty good manual on how to install the very latest version. (https://www.zabbix.com/documentation..._from_packages)

            Best Regards,
            Ingus
            Thanks all of you, I follow the instruction and I can complete the setup.

            Comment

            Working...