quality@glassfish.java.net

Re: How to install metro on glassfish.

From: Nouar Garcia-Mardambek <Nouar.Garcia_at_Sun.COM>
Date: Wed, 02 Jul 2008 10:47:49 +0200

Smitha Prabhu wrote:

Hi Smitha,

Can you give me more details on your Linux Red Hat box, is it a 64 bits
box ? which red hat version ?

Actually, in UC 2.0 for Linux 64 bits distributions we need to have the
32bits compatibility libraries installed on the host.
For RHEL 5.0 u5 64 bits (Red Hat Enterprise Linux AS release 4 (Nahant
Update 5) Kernel 2.6.9-55.ELsmp on an x86_64), here the levels we tested
against:

# rpm -qa | grep compat
compat-glibc-headers-2.3.2-95.30
compat-gcc-32-3.2.3-47.3
compat-libstdc++-33-3.2.3-47.3
compat-libgcc-296-2.96-132.7.2
compat-libstdc++-33-3.2.3-47.3
compat-glibc-2.3.2-95.30
compat-gcc-32-c++-3.2.3-47.3
compat-libstdc++-296-2.96-132.7.2
compat-glibc-2.3.2-95.30


For Solaris sparc box, the Traceback error tells that the repository to
which you are trying to connect is not accessible from your box.
Did you need a proxy setting to connect to the internet ?

regards,
nouar.
----
Nouar Garcia * 33-(0)4-76-18-81-07 * (SWI-qa / update center 2.0 qa)
mailto:nouar.garcia_at_sun.com
Sun microsystems: 180,avenue de l'Europe (ZIRST MontBonnot)
38334 St-Ismier - FRANCE
> Hi,
> I installed the latest glassfish and then try to install metro using 
> ./pkg install metro
> On Red Hat Linux machine, I see
> /space/smitha/v3/glassfishv3-tp2/pkg/bin/../python2.4-minimal/bin/python: error                                                         while loading shared libraries: libstdc++.so.6: cannot open shared object file:
>
>   
> On Sol sparc I see,
> -bash-3.00# ./pkg install metro
> DOWNLOAD                                    PKGS       FILES     XFER (MB)
> metro                                        0/1         0/6    
> 0.00/13.30client.py: An unexpected error happened during installation: 
> <urlopen error (8, 'node name or service name not known')>
> Traceback (most recent call last):
>   File "/space/smitha/glassfishv3-tp2/pkg/bin/client.py", line 1440, in ?
>     ret = main_func()
>   File "/space/smitha/glassfishv3-tp2/pkg/bin/client.py", line 1406, 
> in main_func
>     return install(img, pargs)
>   File "/space/smitha/glassfishv3-tp2/pkg/bin/client.py", line 469, in 
> install
>     img.imageplan.execute()
>   File 
> "/space/smitha/glassfishv3-tp2/pkg/vendor-packages/pkg/client/imageplan.py", 
> line 405, in execute
>     p.preexecute()
>   File 
> "/space/smitha/glassfishv3-tp2/pkg/vendor-packages/pkg/client/pkgplan.py", 
> line 242, in preexecute
>     flist.get_files()
>   File 
> "/space/smitha/glassfishv3-tp2/pkg/vendor-packages/pkg/client/filelist.py", 
> line 139, in get_files
>     imgtype = self.image.type)
>   File 
> "/space/smitha/glassfishv3-tp2/pkg/vendor-packages/pkg/misc.py", line 
> 107, in versioned_urlopen
>     c = url_opener(req)
>   File "/python2.4/lib/python2.4/urllib2.py", line 358, in open
>   File "/python2.4/lib/python2.4/urllib2.py", line 376, in _open
>   File "/python2.4/lib/python2.4/urllib2.py", line 337, in _call_chain
>   File "/python2.4/lib/python2.4/urllib2.py", line 1021, in http_open
>   File "/python2.4/lib/python2.4/urllib2.py", line 996, in do_open
> URLError: <urlopen error (8, 'node name or service name not known')>
>
>
> Please let me know how I can go about installing metro.
>
> Thanks,
> Smitha
>
>