Re: [indiana-discuss] en_US.UTF-8: unknown locale

2009-05-06 Thread Suresh Chandrasekharan

Hi Gerard,

Pl check if
methods_en_US.UTF-8.so.3 - ../common/methods_unicode.so.3
exists under /usr/lib/locale/en_US.UTF-8/ and the linked file 
methods_unicode.so.3 exists, this file is a part of SUNWlang-common package.


Regards,
Suresh

solarg wrote:

hello all,
in os2008.11, b101, i have this problem:
en_US.UTF-8: unknown locale

according to the bug 
http://defect.opensolaris.org/bz/show_bug.cgi?id=5935:


he...@antigone:/export# ls -l 
/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3

/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3: No such file or directory

he...@antigone:/export# LANG=C pfexec pkg uninstall SUNWlang-enUS
he...@antigone:/export# LANG=C pfexec pkg install SUNWlang-enUS
he...@antigone:/export# ls -l 
/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3
-r-xr-xr-x 1 root bin 2482668 May 6 13:53 
/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3


but even after, the problem persists:
en_US.UTF-8: unknown locale

anybody can help?

thanks

gerard

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] en_US.UTF-8: unknown locale

2009-05-06 Thread solarg

Suresh Chandrasekharan wrote:


Hi Gerard,

Pl check if
methods_en_US.UTF-8.so.3 - ../common/methods_unicode.so.3
exists under /usr/lib/locale/en_US.UTF-8/ and the linked file 
methods_unicode.so.3 exists, this file is a part of SUNWlang-common 
package.




yes:

he...@antigone:/usr/lib/locale/en_US.UTF-8# ls -l methods_en_US.UTF-8.so.3
lrwxrwxrwx   1 root root  30 May  6 13:53 
methods_en_US.UTF-8.so.3 - ../common/methods_unicode.so.3



___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] en_US.UTF-8: unknown locale

2009-05-06 Thread Suresh Chandrasekharan

Hi Gerard,

Should be corrupted shared objects. Pl attach the output of
LC_ALL=en_US.UTF-8 truss -t open,access ls -la /dev/null

Regards,
Suresh

solarg wrote:

Suresh Chandrasekharan wrote:


Hi Gerard,

Pl check if
methods_en_US.UTF-8.so.3 - ../common/methods_unicode.so.3
exists under /usr/lib/locale/en_US.UTF-8/ and the linked file 
methods_unicode.so.3 exists, this file is a part of SUNWlang-common 
package.




yes:

he...@antigone:/usr/lib/locale/en_US.UTF-8# ls -l 
methods_en_US.UTF-8.so.3
lrwxrwxrwx   1 root root  30 May  6 13:53 
methods_en_US.UTF-8.so.3 - ../common/methods_unicode.so.3





___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] en_US.UTF-8: unknown locale

2009-05-06 Thread Suresh Chandrasekharan

Pl give

$ cd /usr/lib/locale/en_US.UTF-8/
$ file en_US.UTF-8.so.3
en_US.UTF-8.so.3:ELF 32-bit LSB dynamic lib 80386 Version 1, 
dynamically linked, not stripped

$ file methods_en_US.UTF-8.so.3
methods_en_US.UTF-8.so.3:ELF 32-bit LSB dynamic lib 80386 Version 1, 
dynamically linked, not stripped


and make sure that the architecture is right. I'm pretty sure that it 
will be wrong...


Make sure to install the right packages.

Regards,
Suresh
solarg wrote:
he...@antigone:/usr/lib/locale/en_US.UTF-8# LC_ALL=en_US.UTF-8 truss 
-t open,access ls -la /dev/null

open(/var/ld/ld.config, O_RDONLY) Err#2 ENOENT
open(/lib/libc.so.1, O_RDONLY)= 3
open(/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_SGS.mo, 
O_RDONLY) Err#2 ENOENT
open(/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSLIB.mo, 
O_RDONLY) Err#2 ENOENT

open(/lib/libsec.so.1, O_RDONLY)  = 3
open(/proc/26392/psinfo, O_RDONLY)= 3
open64(/var/run/name_service_door, O_RDONLY)  = 3
open(/usr/share/lib/zoneinfo/Europe/Paris, O_RDONLY) = 4


Suresh Chandrasekharan wrote:


Hi Gerard,

Should be corrupted shared objects. Pl attach the output of
LC_ALL=en_US.UTF-8 truss -t open,access ls -la /dev/null

Regards,
Suresh

solarg wrote:

Suresh Chandrasekharan wrote:


Hi Gerard,

Pl check if
methods_en_US.UTF-8.so.3 - ../common/methods_unicode.so.3
exists under /usr/lib/locale/en_US.UTF-8/ and the linked file 
methods_unicode.so.3 exists, this file is a part of SUNWlang-common 
package.




yes:

he...@antigone:/usr/lib/locale/en_US.UTF-8# ls -l 
methods_en_US.UTF-8.so.3
lrwxrwxrwx   1 root root  30 May  6 13:53 
methods_en_US.UTF-8.so.3 - ../common/methods_unicode.so.3











___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] en_US.UTF-8: unknown locale

2009-05-06 Thread solarg

Suresh Chandrasekharan wrote:


Pl give

$ cd /usr/lib/locale/en_US.UTF-8/
$ file en_US.UTF-8.so.3
en_US.UTF-8.so.3:ELF 32-bit LSB dynamic lib 80386 Version 1, 
dynamically linked, not stripped

$ file methods_en_US.UTF-8.so.3
methods_en_US.UTF-8.so.3:ELF 32-bit LSB dynamic lib 80386 Version 1, 
dynamically linked, not stripped


and make sure that the architecture is right. I'm pretty sure that it 
will be wrong...


Make sure to install the right packages.



i don't understand, i don't have the choice of architecture.
And now, files have disappeared, and i'm unable to fix:
he...@antigone:/usr/lib/locale/en_US.UTF-8# LC_ALL=C pfexec pkg fix 
SUNWlang-enUS

Verifying: pkg:/SUNWlang-enUS   ERROR
link: usr/lib/locale/en_US.UTF-8/32
usr/lib/locale/en_US.UTF-8/32 is not symbolic link
link: usr/lib/locale/en_US.UTF-8/64
usr/lib/locale/en_US.UTF-8/64 is not symbolic link
dir: usr/lib/locale/en_US.UTF-8/LC_COLLATE
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LC_CTYPE
Directory does not exist
link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/32
usr/lib/locale/en_US.UTF-8/LC_CTYPE/32 is not symbolic link
link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/64
usr/lib/locale/en_US.UTF-8/LC_CTYPE/64 is not symbolic link
link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/LCL_DEF
usr/lib/locale/en_US.UTF-8/LC_CTYPE/LCL_DEF is not 
symbolic link

dir: usr/lib/locale/en_US.UTF-8/LC_CTYPE/amd64
Directory does not exist
link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/amd64/wdresolve.so
usr/lib/locale/en_US.UTF-8/LC_CTYPE/amd64/wdresolve.so 
is not symbolic link

link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/ldterm.dat
usr/lib/locale/en_US.UTF-8/LC_CTYPE/ldterm.dat is not 
symbolic link

link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/wdresolve.so
usr/lib/locale/en_US.UTF-8/LC_CTYPE/wdresolve.so is not 
symbolic link

dir: usr/lib/locale/en_US.UTF-8/LC_MESSAGES
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LC_MONETARY
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LC_NUMERIC
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LC_TIME
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LO_LTYPE
Directory does not exist
link: usr/lib/locale/en_US.UTF-8/LO_LTYPE/32
usr/lib/locale/en_US.UTF-8/LO_LTYPE/32 is not symbolic link
link: usr/lib/locale/en_US.UTF-8/LO_LTYPE/64
usr/lib/locale/en_US.UTF-8/LO_LTYPE/64 is not symbolic link
dir: usr/lib/locale/en_US.UTF-8/LO_LTYPE/amd64
Directory does not exist
link: 
usr/lib/locale/en_US.UTF-8/LO_LTYPE/amd64/en_US.UTF-8.layout.so.1


usr/lib/locale/en_US.UTF-8/LO_LTYPE/amd64/en_US.UTF-8.layout.so.1 is not 
symbolic link

link: usr/lib/locale/en_US.UTF-8/LO_LTYPE/en_US.UTF-8.layout.so.1

usr/lib/locale/en_US.UTF-8/LO_LTYPE/en_US.UTF-8.layout.so.1 is not 
symbolic link

dir: usr/lib/locale/en_US.UTF-8/amd64
Directory does not exist
link: usr/lib/locale/en_US.UTF-8/amd64/methods_en_US.UTF-8.so.3

usr/lib/locale/en_US.UTF-8/amd64/methods_en_US.UTF-8.so.3 is not 
symbolic link

link: usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3
usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3 is 
not symbolic link

file: usr/lib/locale/en_US.UTF-8/amd64/en_US.UTF-8.so.3
File does not exist
file: usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3
File does not exist
file: usr/lib/locale/en_US.UTF-8/geo_map
File does not exist
file: usr/lib/locale/en_US.UTF-8/locale_description
File does not exist
file: usr/lib/locale/en_US.UTF-8/locale_map
File does not exist
legacy: SUNWlang-enUS
Missing directory var/sadm/pkg/SUNWlang-enUS
Created ZFS snapshot: 2009-05-06-15:03:54
Repairing: pkg:/SUNWlang-enUS
DOWNLOADPKGS   FILES XFER (MB)
Completed1/1 6/6 0.91/0.91

PHASEACTIONS
Update Phase   13/31 Action upgrade 
failed for 'SUNWlang-enUS' (pkg:/SUNWlang-enUS):

 KeyError: 'version'
Traceback (most recent call last):
  File /usr/bin/pkg, line 2228, in ?
__ret = main_func()
  File /usr/bin/pkg, line 2191, in main_func
return fix_image(img, pargs)
  File /usr/bin/pkg, line 407, in fix_image
success = img.repair(repairs, progresstracker)
  File /usr/lib/python2.4/vendor-packages/pkg/client/image.py, line 
752, in repair

ip.execute()
  File 

Re: [indiana-discuss] en_US.UTF-8: unknown locale

2009-05-06 Thread solarg

solarg wrote:

Suresh Chandrasekharan wrote:


Pl give

$ cd /usr/lib/locale/en_US.UTF-8/
$ file en_US.UTF-8.so.3
en_US.UTF-8.so.3:ELF 32-bit LSB dynamic lib 80386 Version 1, 
dynamically linked, not stripped

$ file methods_en_US.UTF-8.so.3
methods_en_US.UTF-8.so.3:ELF 32-bit LSB dynamic lib 80386 Version 
1, dynamically linked, not stripped


and make sure that the architecture is right. I'm pretty sure that it 
will be wrong...


Make sure to install the right packages.



i don't understand, i don't have the choice of architecture.
And now, files have disappeared, and i'm unable to fix:


fortunately, i was able to get missing file 
(/var/sadm/pkg/SUNWlang-enUS/pkginfo) from old BE, and now everything is 
ok!?

it seems that pkg fix SUNWlang-enUS repaired correctly

thanks for your help,

gerard



___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


Re: [indiana-discuss] en_US.UTF-8: unknown locale

2009-05-06 Thread Suresh Chandrasekharan

Hi Gerard,

You must have hit this issue with b101
http://defect.opensolaris.org/bz/show_bug.cgi?id=5630



Assuming this is duplicate of bug 6767074 (man command bug),
closing this bug. 6767074 was fixed in snv_104 SUNWdoc.


Pl. try installing SUNWdoc from snv_104 to see if this helps.

I have cc'ed the pkg-discuss your pkg fix issue for their comments

So pl. reinstall SUNWdoc and then reinstalll SUNWlang-enUS to see if 
that helps.


(If SUNWdoc is not reinstalled and if you invoke man as root, then the 
locale shared object will be deleted, you may encounter this issue again)


Regards,
Suresh

solarg wrote:

Suresh Chandrasekharan wrote:


Pl give

$ cd /usr/lib/locale/en_US.UTF-8/
$ file en_US.UTF-8.so.3
en_US.UTF-8.so.3:ELF 32-bit LSB dynamic lib 80386 Version 1, 
dynamically linked, not stripped

$ file methods_en_US.UTF-8.so.3
methods_en_US.UTF-8.so.3:ELF 32-bit LSB dynamic lib 80386 Version 
1, dynamically linked, not stripped


and make sure that the architecture is right. I'm pretty sure that it 
will be wrong...


Make sure to install the right packages.



i don't understand, i don't have the choice of architecture.
And now, files have disappeared, and i'm unable to fix:
he...@antigone:/usr/lib/locale/en_US.UTF-8# LC_ALL=C pfexec pkg fix 
SUNWlang-enUS

Verifying: pkg:/SUNWlang-enUS   ERROR
link: usr/lib/locale/en_US.UTF-8/32
usr/lib/locale/en_US.UTF-8/32 is not symbolic link
link: usr/lib/locale/en_US.UTF-8/64
usr/lib/locale/en_US.UTF-8/64 is not symbolic link
dir: usr/lib/locale/en_US.UTF-8/LC_COLLATE
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LC_CTYPE
Directory does not exist
link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/32
usr/lib/locale/en_US.UTF-8/LC_CTYPE/32 is not symbolic 
link

link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/64
usr/lib/locale/en_US.UTF-8/LC_CTYPE/64 is not symbolic 
link

link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/LCL_DEF
usr/lib/locale/en_US.UTF-8/LC_CTYPE/LCL_DEF is not 
symbolic link

dir: usr/lib/locale/en_US.UTF-8/LC_CTYPE/amd64
Directory does not exist
link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/amd64/wdresolve.so
usr/lib/locale/en_US.UTF-8/LC_CTYPE/amd64/wdresolve.so 
is not symbolic link

link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/ldterm.dat
usr/lib/locale/en_US.UTF-8/LC_CTYPE/ldterm.dat is not 
symbolic link

link: usr/lib/locale/en_US.UTF-8/LC_CTYPE/wdresolve.so
usr/lib/locale/en_US.UTF-8/LC_CTYPE/wdresolve.so is 
not symbolic link

dir: usr/lib/locale/en_US.UTF-8/LC_MESSAGES
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LC_MONETARY
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LC_NUMERIC
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LC_TIME
Directory does not exist
dir: usr/lib/locale/en_US.UTF-8/LO_LTYPE
Directory does not exist
link: usr/lib/locale/en_US.UTF-8/LO_LTYPE/32
usr/lib/locale/en_US.UTF-8/LO_LTYPE/32 is not symbolic 
link

link: usr/lib/locale/en_US.UTF-8/LO_LTYPE/64
usr/lib/locale/en_US.UTF-8/LO_LTYPE/64 is not symbolic 
link

dir: usr/lib/locale/en_US.UTF-8/LO_LTYPE/amd64
Directory does not exist
link: 
usr/lib/locale/en_US.UTF-8/LO_LTYPE/amd64/en_US.UTF-8.layout.so.1


usr/lib/locale/en_US.UTF-8/LO_LTYPE/amd64/en_US.UTF-8.layout.so.1 is 
not symbolic link

link: usr/lib/locale/en_US.UTF-8/LO_LTYPE/en_US.UTF-8.layout.so.1

usr/lib/locale/en_US.UTF-8/LO_LTYPE/en_US.UTF-8.layout.so.1 is not 
symbolic link

dir: usr/lib/locale/en_US.UTF-8/amd64
Directory does not exist
link: usr/lib/locale/en_US.UTF-8/amd64/methods_en_US.UTF-8.so.3

usr/lib/locale/en_US.UTF-8/amd64/methods_en_US.UTF-8.so.3 is not 
symbolic link

link: usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3
usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3 is 
not symbolic link

file: usr/lib/locale/en_US.UTF-8/amd64/en_US.UTF-8.so.3
File does not exist
file: usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3
File does not exist
file: usr/lib/locale/en_US.UTF-8/geo_map
File does not exist
file: usr/lib/locale/en_US.UTF-8/locale_description
File does not exist
file: usr/lib/locale/en_US.UTF-8/locale_map
File does not exist
legacy: SUNWlang-enUS
Missing directory var/sadm/pkg/SUNWlang-enUS
Created ZFS snapshot: 2009-05-06-15:03:54
Repairing: pkg:/SUNWlang-enUS
DOWNLOADPKGS   FILES XFER 
(MB)
Completed 

Re: [indiana-discuss] en_US.UTF-8: unknown locale

2008-12-16 Thread Suresh Chandrasekharan
Hi Gerard,

SUNWlang-common and SUNWlang-en should be sufficient for en_US.UTF-8 
support.

Suresh

Free wrote:
 hello all,
 do i have to add a package to not have this message?

 thanks,

 gerard
 ___
 indiana-discuss mailing list
 indiana-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
   

___
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss