Ad Widget

Collapse

Help checkinstall error zabbix!!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tuantu711211
    Junior Member
    • Sep 2011
    • 6

    #1

    Help checkinstall error zabbix!!!

    when i can use checkinstall to make a RPM and install it.
    # cd zabbix-1.8.1
    # checkinstall --nodoc --install=yes -y
    -------------------------------------
    error: unpacking of archive failed on file /selinux/context;4e78cd83: cpio: open failed - Permission denied

    Pls help me
    tks
  • tuantu711211
    Junior Member
    • Sep 2011
    • 6

    #2
    help

    help me!!

    Comment

    • masteinhauser
      Junior Member
      • Sep 2011
      • 10

      #3
      I'm not sure about SUSE as I'm on CentOS, but my guess is that you're not running this as root or using sudo. That's why it's giving you the permission denied error.

      HTH

      Comment

      • tuantu711211
        Junior Member
        • Sep 2011
        • 6

        #4
        Error openipmi

        hi all,
        when i run this command, then it alarm error ,
        Pls help me...i try reinstall but still not successfull.

        ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --with-openipmi --enable-agent


        checking for libcurl >= version 7.13.1... yes
        checking for main in -lcurl... yes
        checking whether libcurl is usable... yes
        checking for curl_free... yes
        checking for curl_easy_escape... yes
        checking for net-snmp-config... /usr/bin/net-snmp-config
        checking for main in -lnetsnmp ... yes
        checking for localname in struct snmp_session... yes
        checking for OPENIPMI support... no
        configure: error: Invalid OPENIPMI directory - unable to find ipmiif.h

        Comment

        • tuantu711211
          Junior Member
          • Sep 2011
          • 6

          #5
          help checkinstall --nodoc --install=yes –y.

          I'm using user root to excute. but it still error.
          it's error when i using checkinstall --nodoc --install=yes –y.

          error: unpacking of archive failed on file /selinux/context;4e7f58eb: cpio: open
          failed - Permission denied

          Comment

          • masteinhauser
            Junior Member
            • Sep 2011
            • 10

            #6
            Looks like the advice here pertains to your problem. Try it and let us know, it should help fix it.




            Also copying here to retain information in the future:
            On 8/28/05, Paul Smith <[email protected]> wrote:
            > > >I am trying to install remind, whose rpm I have produced with
            > > >checkinstall, but I get the following error:
            > > >
            > > ># rpm -ivh remind-03.00.23-1.i386.rpm
            > > >Preparing... ########################################### [100%]
            > > > 1:remind ########################################### [100%]
            > > >error: unpacking of archive failed on file /selinux/context;4311e2f9:
            > > >cpio: open failed - Permission denied
            > > >#
            > > >
            > > Checkout this list instead:
            > > http://asic-linux.com.mx/~izto/check...ling-lists.php
            >
            > Thanks, Philip. Meanwhile, I used the rpm I had built for Mandriva and
            > it also works fine on FC4.

            On the mailing list of checkinstall, I was taught of two solutions,
            which I am posting for the sake of helping other people experiencing
            the same problem:

            1. add the options below to the command checkinstall
            checkinstall --fstrans=no --exclude=/selinux

            2. add the line
            EXCLUDE="/selinux"
            to /usr/local/lib/checkinstall/checkinstallrc

            Regards,
            Paul

            Comment

            Working...