I'm guessing the output of rpm -qa|grep nbfs on management node says that
is there.  rpm -qa|grep -i genesis will not show that present is my guess.
I think upgrading to genesis will allow stuff like this to proceed.



From:   "Stagneth, Andre" <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   03/03/2014 04:38 PM
Subject:        Re: [xcat-user] runimage didn't find the binary for execution



My binary cli was originally MegaCli

There are a 32bit and a 64bit executable
file MegaCli
MegaCli: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
file MegaCli64
MegaCli64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for
GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped

# uname -a
Linux xcatimg 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64
unknown
# ls –lsa /tmp
   0 drwxrwxrwt    3 root     root          220 Mar  3 15:15 .
   0 drwx------   15 root     root            0 Mar  3 14:47 ..
2424 -rwx------    1 root     root      2469692 Mar  3 15:13 MegaCli
2668 -rwx------    1 root     root      2716224 Mar  3 15:13 MegaCli64
   4 -rw-r--r--    1 root     root          392 Mar  3 14:47 destiny
   4 -rw-r--r--    1 root     root           13 Mar  3 14:47 dhcpserver
508 -r-x------    1 root     root       510200 Mar  3 15:15
libstorelibir-2.so.13.05-0
   4 -rw-r--r--    1 root     root           99 Mar  3 14:47 resolv.conf
   0 -rw-------    1 root     root            0 Mar  3 14:47 sshd
   4 -rw-------    1 root     root            5 Mar  3 14:47 sshd.pid
   0 drwxr-xr-x    2 root     root           60 Mar  3 14:47 subsys
# ldd MegaCli64
MegaCli64: not an ELF file.
# ldd MegaCli
checking sub-depends for '/lib/libpthread.so.0'
checking sub-depends for '/lib/libncurses.so.5'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for '/lib/libgcc_s.so.1'
checking sub-depends for 'not found'
checking sub-depends for '/lib/libc.so.0'
        libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x00000000)
        libdl.so.2 => not found (0x00000000)
        libstdc++.so.6 => not found (0x00000000)
        libm.so.6 => not found (0x00000000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
        libc.so.6 => not found (0x00000000)
        libc.so.0 => /lib/libc.so.0 (0x00000000)
        /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)



From: David D Johnson [mailto:[email protected]]
Sent: Montag, 3. März 2014 22:02
To: xCAT Users Mailing list
Subject: Re: [xcat-user] runimage didn't find the binary for execution

Can you check with ldd or file on ./cli -- if it's a 32 bit binary and you
only have 64 bit libraries, there might be a disconnect.

 -- ddj

On Mar 3, 2014, at 3:55 PM, Stagneth, Andre wrote:


Path isn’t the problem

nodeset comp430 shell
rpower comp430 reset
scp cli comp430:/tmp
ssh comp430

# ls -lsa /tmp
   0 drwxrwxrwt    3 root     root          180 Mar  3 14:50 .
   0 drwx------   15 root     root            0 Mar  3 14:47 ..
2424 -rwxrwxrwx    1 root     root      2469692 Mar  3 14:50 cli
   4 -rw-r--r--    1 root     root          392 Mar  3 14:47 destiny
   4 -rw-r--r--    1 root     root           13 Mar  3 14:47 dhcpserver
   4 -rw-r--r--    1 root     root           99 Mar  3 14:47 resolv.conf
   0 -rw-------    1 root     root            0 Mar  3 14:47 sshd
   4 -rw-------    1 root     root            5 Mar  3 14:47 sshd.pid
   0 drwxr-xr-x    2 root     root           60 Mar  3 14:47 subsys
# /tmp/cli
-sh: /tmp/cli: not found

From: Russell Jones [mailto:[email protected]]
Sent: Montag, 3. März 2014 20:52
To: [email protected]
Subject: Re: [xcat-user] runimage didn't find the binary for execution

Try having the script output pwd first so you know where it's looking.

In addition, verify your binary can run inside the nbfs / genesis image
manually before trying to automate it.



On 3/3/2014 1:42 PM, Stagneth, Andre wrote:
      Hello,

      Why the script do not execute the binary?

      Content of tar:
            tar tvf run.tgz
            -rwxr-xr-x root/root   2469692 2014-03-03 20:28 cli
            -rwxr-xr-x root/root        21 2014-03-03 20:35 runme.sh

      Content of the script:
            cat runme.sh
            ls -lsa cli
            ./cli –h

      Output in rcons:
            run.tgz              100% |*****************************|   661
            KB --:--:-- ETA
            cli
            runme.sh
            2424 -rwxr-xr-x    1 root     root      2469692 Mar  3 12:28
            cli
            ./runme.sh: line 2: ./cli: not found

      Used version of xCat:
            lsxcatd -v
            Version 2.7 (svn r11882, built Fri Mar 16 06:32:39 EDT 2012)

      Thanks in advance
      André

      From: Russell Jones [mailto:[email protected]]
      Sent: Freitag, 28. Februar 2014 20:13
      To: [email protected]
      Subject: Re: [xcat-user] setup RAID controller before installing OS



      We do exactly this using runimage's first. We just chain it so that
      the nodes configure their controller and partitions how we need it,
      reboot, then either install / download the OS





      On 28.02.2014 10:45, Jonathan Mills wrote:
       I've briefly looked into this.

       You can't do it within a kickstart's %pre section because the
       environment doesn't have enough libraries loaded to allow MegaCli to
       run.

       You can do it within a kickstart's %post section, which means you
       can
       create raid volumes for secondary drives, and format those.  But you
       still have to have something like a /dev/sda to begin with.

       Obviously, it's also easy to do this with an xCAT postbootscript,
       and
       add the script to the postscripts table or the osimage table.
       That's
       what I currently do to create all my secondary drives.

       If you want to use MegaCli to create all of the raid disks though, I
       imagine you'd need to boot off the Genesis kernel first.  Perhaps as
       part of the node discovery process.

       On 02/28/2014 11:35 AM, Stagneth, Andre wrote:
       Hello, Is there a possibility to integrate a RAID configuration of
       LSI Controller before installation the OS (SLES11). MegaCli64 cfgclr
       force a0 MegaCli64 -cfgforeign -clear -a0 MegaCli64 -CfgLdAdd -r1
       [$ENC:1,$ENC:2,$ENC:3,$ENC:4] WB RA Cached CachedBadBBU -Cache -a0
       (where $ENC is set to the enclosure number – use “./MegaCli64
       –pdlist –a0” to find it) MegaCli64 -CfgCacheCadeAdd -r0 -Physdrv
       [$ENC:0] WT a0 MegaCli64 -LDSetProp NORA –L1 -a0 Thanks in advance,
       André
       --
       Jonathan Mills
       Systems Administrator
       Renaissance Computing Institute
       UNC-Chapel Hill

       
------------------------------------------------------------------------------
       Flow-based real-time traffic analytics software. Cisco certified
       tool.
       Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow
       Analyzer
       Customize your own dashboards, set traffic alerts and generate
       reports.
       Network behavioral analysis & security monitoring. All-in-one tool.
       
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
       _______________________________________________
       xCAT-user mailing list
       [email protected]
       https://lists.sourceforge.net/lists/listinfo/xcat-user






      
------------------------------------------------------------------------------
      Subversion Kills Productivity. Get off Subversion & Make the Move to
      Perforce.
      With Perforce, you get hassle-free workflows. Merge that actually
      works.
      Faster operations. Version large binaries.  Built-in WAN optimization
      and the
      freedom to use Git, Perforce or both. Make the move to Perforce.
      
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk




      _______________________________________________
      xCAT-user mailing list
      [email protected]
      https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------

Subversion Kills Productivity. Get off Subversion & Make the Move to
Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and
the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk_______________________________________________

xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------

Subversion Kills Productivity. Get off Subversion & Make the Move to
Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and
the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to