11 Replies Latest reply on Dec 19, 2014 3:56 PM by Rob Slattery

    RHEL Downloader Tool Error Message

    Rob Slattery

      I'm running the below command on a BladeLogic App Server.

      Linux Engineers used reposync to create the repositories and we've copied those files to the BladeLogic App Server.

      We receive the following error: No rpm found in source location for os-arch: RHES6-X86_64 skipping

       

      Is this error due to having a missing rpm or, is this error more common to an acdtual incorrect architecture specified in the command?

       

      ./redhat_downloader.sh -createRepo -srcLocation "/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common,RHES6-x86_64;/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common/HighAvailability,RHES6-x86_64;/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common/LoadBalancer,RHES6-x86_64;/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common/ResilientStorage,RHES6-x86_64;/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common/ScalableFileSystem,RHES6-x86_64" -repoLocation "/bladelogic/content_framework/patch_management/linux"

        • 1. Re: RHEL Downloader Tool Error Message

          What is the command being run inside the script to do the copy

          • 2. Re: RHEL Downloader Tool Error Message
            Rob Slattery

            Well, the download.sh script (if that's what you're referring too) is as follows:

             

            #!/bin/sh

            push_pwd=`pwd` cd `dirname "$0"`chmod +x jre/bin/*jre/bin/java -Xms256m -Xmx1024m -jar libs/downloader-1.0-SNAPSHOT.jar -os redhat -linux "$@" 2> error.log cd $push_pwd

            This was what I pulled down from BMC site

             

            Might there be a specific version of the .sh script that needs to be run or maybe a verison of the createrepo file that must be run?

            • 4. Re: RHEL Downloader Tool Error Message
              Bill Robinson

              are there rpms in the dirs you pass ?

              • 5. Re: RHEL Downloader Tool Error Message
                Rob Slattery

                We're using version 8.3.3.170.

                 

                As far as the files, we have files such as these:

                      audispd-plugins-2.2-..> 2014-11-28 10:56   39K 
                      audit-2.2-4.el6_5.x8..> 2014-05-28 10:14  226K 
                      audit-libs-2.2-4.el6..> 2014-11-21 06:25   61K 
                      audit-libs-2.2-4.el6..> 2014-11-21 06:25   60K 
                      audit-libs-devel-2.2..> 2014-11-21 06:25   62K 
                      audit-libs-devel-2.2..> 2014-11-21 06:25   62K 
                      audit-libs-python-2...> 2014-11-21 06:25   59K 
                      boost-1.41.0-18.el6...> 2013-09-02 03:30   18K 

                 

                      189ad6ace394ef22204e..> 2014-12-02 11:31  203K 
                      21dd2baf681d2ca192c5..> 2014-12-11 05:25  2.2M 
                      42afd7a480ce3a4d5385..> 2014-11-21 11:51  201K 
                      54c299bdccc9aff2172d..> 2014-12-11 05:25  1.9M 
                      5d25d13d593a4543b512..> 2014-12-05 06:21  205K 
                      a8f9c2ec1f1350d89438..> 2014-12-11 05:26  206K 
                      ab7d3d13f7a36a2fb55b..> 2014-11-26 04:33  202K 
                      ca8fd6050bb77bc81685..> 2014-12-11 05:25  1.9M 

                • 6. Re: RHEL Downloader Tool Error Message
                  Jim Wilson

                  The message is:

                  No rpm found in source location for os-arch: RHES6-X86_64

                  Are any of those files RHES6-X86_64?

                  • 7. Re: RHEL Downloader Tool Error Message
                    Rob Slattery

                    RHEL6.5 x86_64.  Will the command need to change because it's 6.5 or using this format (;RHES6-x86_64) fine?

                     

                    ./redhat_downloader.sh -createRepo -srcLocation "/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common,RHES6-x86_64;......

                    • 8. Re: RHEL Downloader Tool Error Message
                      Jim Wilson

                      I think it should be included in the full file name - your samples above appear to be truncated

                      Here's an example:

                      a2ps-4.13b-57.2.el5.x86_64.rpm

                       

                      Also, can you give the full commands used in the creation of the -srcLocation files?

                      • 9. Re: RHEL Downloader Tool Error Message
                        Rob Slattery

                        Sure, here's what we're running:  ./redhat_downloader.sh -createRepo -srcLocation "/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common,RHES6-x86_64;/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common/HighAvailability,RHES6-x86_64;/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common/LoadBalancer,RHES6-x86_64;/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common/ResilientStorage,RHES6-x86_64;/bladelogic/content_framework/patch_management/linux2/SOE-RHEL-6.5-dist/common/ScalableFileSystem,RHES6-x86_64" -repoLocation "/bladelogic/content_framework/patch_management/linux"

                        • 10. Re: Re: RHEL Downloader Tool Error Message
                          Rob Slattery

                          I have another question.  When you run the downloader tool from a specific directory, will the tool traverser through the directory tree to find rpm's or do you have to run the downloader from a directory where the actual .rpm's reside?

                          • 11. Re: RHEL Downloader Tool Error Message
                            Rob Slattery

                            So, we got the downloader tool working and, I think I answered my own question through trial and error.

                             

                            For some reason, the downloader tool will not recurse down through the directory tree, we have to add the exact path to where the .rpm's reside - no problem.

                             

                            I also found out that if we're listing multiple directories when running the downloader tool, and let's say rpm's do not exist in all directories, the downloader will give us the error I mentioned earlier in this thread (No rpm found in source location for os-arch: RHES6-X86_64), the downloader.sh command will not skip the directories and move on to the next.