Ad Widget

Collapse

Problem with zabbix mysql install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tieulong043
    Junior Member
    • Apr 2014
    • 3

    #1

    Problem with zabbix mysql install

    I try to install ZABBIX with tut: https://www.zabbix.com/documentation..._from_packages
    But in this step:
    PHP Code:
    # apt-get install zabbix-server-mysql zabbix-frontend-php 
    I get error:
    PHP Code:
    The following packages have unmet dependencies:
    zabbix-server-mysql Dependslibsnmp15 (>= 5.4.3~dfsgbut it is not installable
    E
    Unable to correct problemsyou have held broken packages
    Then, i install libsnmp15, but it shows:
    PHP Code:
    Package libsnmp15 is not availablebut is referred to by another package.
    This may mean that the package is missinghas been obsoleted, or
    is only available from another source
    However the following packages replace it
    :
      
    libsnmp30:i386 libsnmp30 libsnmp-base

    E
    Package 'libsnmp15' has no installation candidate 
    I use ubuntu 13.10, and already installed libsnmp30, Zabbix require libsnmp15.

    Any solutions for me?
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello!

    Just curious, are you installing the older Zabbix 2.0 version on purpose since the latest one is 2.2.3 now?

    Best Regards,
    Ingus

    Comment

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

      #3
      Try installing this:
      Code:
      sudo apt-get install libsnmp-dev
      then run again
      Code:
      # apt-get install zabbix-server-mysql zabbix-frontend-php
      and see if it helps.

      Comment

      • tieulong043
        Junior Member
        • Apr 2014
        • 3

        #4
        Originally posted by ingus.vilnis
        Try installing this:
        Code:
        sudo apt-get install libsnmp-dev
        then run again
        Code:
        # apt-get install zabbix-server-mysql zabbix-frontend-php
        and see if it helps.
        Thanks for your suggets, but it's still not work.

        Comment

        • tieulong043
          Junior Member
          • Apr 2014
          • 3

          #5
          Originally posted by ingus.vilnis
          Hello!

          Just curious, are you installing the older Zabbix 2.0 version on purpose since the latest one is 2.2.3 now?

          Best Regards,
          Ingus
          I try to install zabbix 2.2, but get the same error.

          Comment

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

            #6
            I wonder what is causing this issue. I could successfully accomplish this task yesterday on my virtual Ubuntu 13.10 desktop.

            Is your Ubuntu up to date?

            Code:
            sudo apt-get update && sudo apt-get upgrade

            Comment

            • MediaServe
              Junior Member
              • Sep 2014
              • 1

              #7
              For me, the following worked to update Zabbix without libsnmp15:

              Code:
              cd /usr/local/src/
              apt-get build-dep zabbix
              apt-get source zabbix
              cd zabbix-*
              dpkg-buildpackage -uc -b -j2
              cd ..
              dpkg -i zabbix-server-mysql*.deb zabbix-agent*.deb zabbix-frontend-php*.deb

              Comment

              • jjbarrows
                Junior Member
                • Jan 2015
                • 1

                #8
                Originally posted by tieulong043
                I try to install ZABBIX with tut: https://www.zabbix.com/documentation..._from_packages
                But in this step:
                PHP Code:
                # apt-get install zabbix-server-mysql zabbix-frontend-php 
                I get error:
                PHP Code:
                The following packages have unmet dependencies:
                zabbix-server-mysql Dependslibsnmp15 (>= 5.4.3~dfsgbut it is not installable
                E
                Unable to correct problemsyou have held broken packages
                Then, i install libsnmp15, but it shows:
                PHP Code:
                Package libsnmp15 is not availablebut is referred to by another package.
                This may mean that the package is missinghas been obsoleted, or
                is only available from another source
                However the following packages replace it
                :
                  
                libsnmp30:i386 libsnmp30 libsnmp-base

                E
                Package 'libsnmp15' has no installation candidate 
                I use ubuntu 13.10, and already installed libsnmp30, Zabbix require libsnmp15.

                Any solutions for me?

                Hi,
                I had this same error and realised I had set up the APT source for debian instead of for ubuntu - you may have a similar misconfiguration

                Comment

                • sagarbirla
                  Junior Member
                  • Feb 2016
                  • 1

                  #9
                  Create a link to libsnmp30

                  sudo ln -s <location to libsnmp.so.30> /usr/local/lobsnmp.sp.30
                  should work

                  Comment

                  Working...