IPMI – Cannot connect to IPMI host: [33554436] Unknown error 33554436

By default OpenIPMI is compiled with OpenSSL enabled which enables working with any privilege level: “callback” (1), “user” (2), “operator” (3), or “admin” (4).

Unfortunately Debian (and Ubuntu) OpenIPMI packages are compiled with ssl turned off which leads to only one available privilege level – “callback”.

 

Steps to fix on Debian, Ubuntu, Mint:

  1. cd /tmp
  2. apt-get source openipmi
  3. cd openipmi-2*
  4. edit file debian/rules
  5. find ./configure in section “config.status:”
    CFLAGS=”$(CFLAGS)” ./configure –host=$(DEB_HOST_GNU_TYPE) \
    add --with-openssl to ./configure:
    CFLAGS=”$(CFLAGS)” ./configure –with-openssl –host=$(DEB_HOST_GNU_TYPE) \
    also remove --without-openssl if that exists
  6. Optional: if you want to be debug openipmi library then comment out dh_strip, dh_compress lines.
  7. save file
  8. sudo dpkg-buildpackage
  9. cd ..
  10. sudo dpkg -i openipmi*.deb libopenipmi*.deb
  11. restart zabbix server

 

Credits: dimir

Source: https://support.zabbix.com/browse/ZBX-6139

Advertisements

2 comments

  1. dpkg-buildpackage: source package openipmi
    dpkg-buildpackage: source version 2.0.18-0ubuntu7.2
    dpkg-buildpackage: source distribution trusty
    dpkg-buildpackage: source changed by Nishanth Aravamudan
    sh: 1: gcc: not found
    dpkg-architecture: warning: couldn’t determine gcc system type, falling back to default (native compilation)
    dpkg-buildpackage: host architecture amd64
    dpkg-source –before-build openipmi-2.0.18
    dpkg-checkbuilddeps: Unmet build dependencies: build-essential:native debhelper (>> 5.0.0)
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)

    Like

    1. dpkg-checkbuilddeps: Unmet build dependencies: build-essential:native debhelper (>> 5.0.0)
      dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting

      As stated, some dependencies are missing. You need to install them first 🙂

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s