5 Replies Latest reply: Apr 8, 2013 12:10 PM by Sherry Lamonica-Oracle RSS

    R Distribution 2.15.1 for Solaris x64

    maxijazz
      Hi,
      I have tried to install the R Distribution for Solaris x64 on my test box (as preparation to production upgrade).
      My release is vanilla Solaris10 u10 (per readme file for the R distribution):
      Oracle Solaris 10 8/11 s10x_u10wos_17b X86

      I have received following errors (in fact there are over 30k lines with errors, all "same") during installation:
      ./install.sh
      Transferring <ORD> package instance
      Done
      You need root privilege to proceed ......
      Processing package instance <ORD> from </tmp/pkgs>
      Oracle R Distribution(x86_64) 2.15.1
      Oracle
      Using </usr/lib/64> as the package base directory.
      ## Processing package information.
      ## Processing system information.
      ## Verifying disk space requirements.
      ## Checking for conflicts with packages already installed.
      ## Checking for setuid/setgid programs.
      This package contains scripts which will be executed with super-user
      permission during the process of installing this package.
      Do you want to continue with the installation of <ORD> [y,n,?] y
      Installing Oracle R Distribution as <ORD>

      ## Installing part 1 of 1.
      pkgadd: ERROR: unable to create package object </usr/lib/64/R>.
      pathname does not exist
      group name <svrtech> not found in group table(s)
      owner name <aime> not found in passwd table(s)
      /usr/lib/64/R
      /usr/lib/64/R/COPYING
      ERROR: attribute verification of </usr/lib/64/R/COPYING> failed
      group name <svrtech> not found in group table(s)
      owner name <aime> not found in passwd table(s)
      /usr/lib/64/R/NEWS
      ERROR: attribute verification of </usr/lib/64/R/NEWS> failed
      group name <svrtech> not found in group table(s)
      owner name <aime> not found in passwd table(s)
      /usr/lib/64/R/SVN-REVISION
      ERROR: attribute verification of </usr/lib/64/R/SVN-REVISION> failed
      group name <svrtech> not found in group table(s)
      owner name <aime> not found in passwd table(s)
      pkgadd: ERROR: unable to create package object </usr/lib/64/R/bin>.
      pathname does not exist
      group name <svrtech> not found in group table(s)
      owner name <aime> not found in passwd table(s)
      /usr/lib/64/R/bin
      /usr/lib/64/R/bin/BATCH
      ERROR: attribute verification of </usr/lib/64/R/bin/BATCH> failed
      group name <svrtech> not found in group table(s)
      owner name <aime> not found in passwd table(s)
      /usr/lib/64/R/bin/COMPILE
      ...
      ...
      ERROR: attribute verification of </usr/lib/64/R/share/texmf/tex/latex/upquote.sty> failed
      group name <svrtech> not found in group table(s)
      owner name <aime> not found in passwd table(s)
      ## Executing postinstall script.



      Despite the errors i did extract supporting libraries to $LD_LIBRARY_PATH and to my surprise i was able to start R without an error:
      R
      Oracle Distribution of R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
      Copyright (C) 2012 The R Foundation for Statistical Computing
      ISBN 3-900051-07-0
      Platform: x86_64-pc-solaris2.10 (64-bit)
      ...
      ...



      I don't understand what those errors received during installation mean. What could be a reason for? A fix?
      Do you think i could safely ignore them?
      Any help much appreciated.


      Regards,


      PS. I have a flash of enlightenment. Are those <svrtech> and <aime> in error messages a group and an user name of the account the package was prepared with (or something like that)??

      Edited by: maxijazz on Mar 15, 2013 4:50 PM

      Edited by: maxijazz on Mar 15, 2013 4:55 PM
        • 1. Re: R Distribution 2.15.1 for Solaris x64
          Sherry Lamonica-Oracle
          Maxjazz,

          The errors appear to be the result from installing Oracle R Distribution as a non-root user. Root privilege is required to install Oracle R Distribution.

          Sherry
          • 2. Re: R Distribution 2.15.1 for Solaris x64
            maxijazz
            Sherry,
            It was installed as root.
            Right after installation all directories/files are owned by root user. Example
            ls -lh /usr/lib/64/R/
            total 534
            drwxrwxr-x 3 root root 512 Mar 16 00:00 bin
            -rw-r--r-- 1 root root 18K Dec 14 22:34 COPYING
            drwxrwxr-x 4 root root 512 Mar 16 00:00 doc
            drwxrwxr-x 2 root root 512 Mar 16 00:00 etc
            drwxrwxr-x 3 root root 512 Mar 16 00:00 include
            drwxrwxr-x 2 root root 512 Mar 16 00:00 lib
            drwxrwxr-x 31 root root 1.0K Mar 16 00:00 library
            drwxrwxr-x 2 root root 512 Mar 16 00:00 modules
            -rw-r--r-- 1 root root 228K Dec 14 22:34 NEWS
            drwxrwxr-x 10 root root 512 Mar 16 00:00 share
            -rw-r--r-- 1 root root 46 Dec 14 22:34 SVN-REVISION

            and the installation works fine (so far).

            Regards,
            Max
            • 3. Re: R Distribution 2.15.1 for Solaris x64
              Sherry Lamonica-Oracle
              Max,

              I'll take a closer look. In the meantime, can you tell me if /usr/lib/64/R directory exists?

              Thanks,

              Sherry
              • 4. Re: R Distribution 2.15.1 for Solaris x64
                maxijazz
                Thank you Sherry,
                Yes, it exists:
                # ls -alh /usr/lib/64/R
                total 568
                drwxrwxr-x 10 root root 512 Mar 18 12:31 .
                drwxr-xr-x 13 root bin 16K Mar 18 12:31 ..
                drwxrwxr-x 3 root root 512 Mar 18 12:31 bin
                -rw-r--r-- 1 root root 18K Dec 14 22:34 COPYING
                drwxrwxr-x 4 root root 512 Mar 18 12:31 doc
                drwxrwxr-x 2 root root 512 Mar 18 12:31 etc
                drwxrwxr-x 3 root root 512 Mar 18 12:31 include
                drwxrwxr-x 2 root root 512 Mar 18 12:31 lib
                drwxrwxr-x 31 root root 1.0K Mar 18 12:31 library
                drwxrwxr-x 2 root root 512 Mar 18 12:31 modules
                -rw-r--r-- 1 root root 228K Dec 14 22:34 NEWS
                drwxrwxr-x 10 root root 512 Mar 18 12:31 share
                -rw-r--r-- 1 root root 46 Dec 14 22:34 SVN-REVISION

                I did follow rest of installation procedure (installed supporting libraries for R, and then ORE Server and ORE supporting libraries) and everything works fine, so far.
                I am just cautious before deploying in production.

                Regards,
                • 5. Re: R Distribution 2.15.1 for Solaris x64
                  Sherry Lamonica-Oracle
                  We confirmed that this will not be an issue deploying to production and will remove these messages for a future release of Oracle R Distribution on Solaris.

                  Sherry