2 Replies Latest reply: Sep 26, 2012 5:23 AM by Suraj.R RSS

    Error when setting locale

    Suraj.R
      Hello,

      I'm installing locale nam (en_US.UTF-8) from solaris 10 DVD as follows in a non-global zone:


      localeadm -a nam -d /cdrom/sol_10_807_sparc/s0/Solaris_10/Product

      It does install some packages and then prompts :

      No solaris3 image has been found in
      /cdrom/sol_10_807_sparc/s0/Solaris_10/Product
      Please enter the path to this image/disk, or enter 'q' to quit:
      (if this image is on CD-ROM, please mount the disk and give the path to the CD-ROM drive e.g. /cdrom/cdrom0)

      But i dont know which DVD to insert because i have only one.

      I select quit and then type locale -a:

      # locale -a
      C
      POSIX
      en_AU.ISO8859-1
      en_AU.UTF-8
      en_CA
      en_CA.ISO8859-1
      en_CA.UTF-8
      en_NZ.ISO8859-1
      en_NZ.UTF-8
      en_US
      en_US.ISO8859-1
      en_US.ISO8859-15
      en_US.ISO8859-15@euro
      en_US.UTF-8
      es
      es_MX
      es_MX.ISO8859-1
      fr
      fr_CA
      fr_CA.ISO8859-1
      iso_8859_1

      Then i set LANG and LC_ALL variables for a user to en_US.UTF-8 and i get the error:
      couldn't set locale correctly

      Please advise how to correct this. Is it due to the additional DVD required...