Is this genesis or nbfs?  genesis included both 32 and 64 bit libraries...
nbfs did not do 64 bit...



From:   David D Johnson <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   03/03/2014 04:07 PM
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