Solaris 9 assembler
Hi
I am trying to gather information about the assembler in Solaris 9. /usr/ccs/bin/as -V lists Sun Workshop 6 update 2 Compiler Common 6.2 Solaris_9_CBE 2001/04/02. We have Sun Studio 11 loaded on this box - it does not appear as though the assembler is part of the Studio installation. How does one "update" the assembler? We are having some issues with it and want to look at our options.
Thanks.
Lou
According to a thread on Google groups, /usr/ccs/bin/as comes from the SUNWsprot package contained on the original install media. I have read many people request binaries contained within this package, but the overwhelming answer is always "get them from the install CD." This suggests that there is no online, downloadable upgrade to this package. Would someone be able to confirm?
Similar Messages
-
My i message dont work
The minimal version of DB 11G that is certified for Solaris 11.x is the 11.2.0.3.0 version. Then the only required packages for Solaris 11.x are these ones :
pkg://solaris/developer/build/make
pkg://solaris/developer/assembler
The package that you want to install are not required. -
Assembly error on Sun Studio 11 - Solaris 10/amd64
Hi All
I am compiling my source code using cc. My cc version is
cc: Sun C 5.8 2005/10/13
I am using Sun Studio 11 and Solaris 10 on amd64 for my build.
I am getting following Assemply errors when compiling my code.
cc -xarch=amd64 -Kpic gptas.c
Assembler:
"/tmp/yabeAAALdaqGz", line 31 : Illegal mnemonic
"/tmp/yabeAAALdaqGz", line 34 : Syntax error
"/tmp/yabeAAALdaqGz", line 37 : Syntax error
"/tmp/yabeAAALdaqGz", line 50 : Illegal mnemonic
Failure in /opt/ss11/SUNWspro/prod/bin/fbe, status = 0x7f00
Fatal Error exec'ing /opt/ss11/SUNWspro/prod/bin/fbe
cc: acomp failed for gptas.c
The c code which I'm trying to compile:
/*ARGSUSED*/
int
#if defined(__STDC__) || defined(__cplusplus)
gptas(unsigned *x, short flag)
#else
gptas(x,flag)
unsigned *x;
short flag;
#endif
#ifdef __STDC__
volatile int r; /* volatile so optimizers won't get
* rid of variable - some assembly code
* depends on offsets with this on
* the stack.
#else
int r; /* var to return explicitly */
#endif
r = 0; /* always set return to 0 */
asm(" movl $1,%eax"); /* this 1 inworking reg will set x /
asm(" pushl %ebx"); /* save the register; eax already saved */
asm(" movl 8(%ebp),%ebx"); /* move the address of x */
asm(" xchg %eax,(%ebx)"); /* atomic swap a one with x /
asm(" cmp $0,%eax"); /* test what was in x /
asm(" jnz .A9999"); /* jump if x was already set /
r = 1; /* indicate set occurred */
asm(" .A9999:");
asm(" popl %ebx"); /* restore the register */
return(r);
Can someone let me know if this is a Compiler issue or it has something to do with my code .
I'll Appreciate any help on this.
Thanks in Advance
SomakIf you specify -S compiler option, assembly file will be produced and it enables you to look at the code assembler is complaining about. For example:
/ASM
pushl %ebx <== line 31
/ASMEND
I'm not too familiar with AMD64 ABI, but it is possible that you can't use 32-bit registers in 64 bit mode with some operations like memory (including stack) access.
I was able to compile code with the following changes:
asm(" movl $1,%eax"); /* this 1 inworking reg will set x /
asm(" pushl %rbx"); /* save the register; eax already saved */
asm(" movl 8(%rbp),%ebx"); /* move the address of x */
asm(" xchg %eax,(%rbx)"); /* atomic swap a one with x /
asm(" cmp $0,%eax"); /* test what was in x /
asm(" jnz .A9999"); /* jump if x was already set /
r = 1; /* indicate set occurred */
asm(" .A9999:");
asm(" popl %rbx"); /* restore the register */ -
Installation fails on Solaris 10
After downloading and executing the SGD shell script results in a failure.
Same script
worked fine on Solaris 9. Solaris 10 system details:
root[csh]@broncos15[32]# cat /etc/release
Solaris 10 3/05 s10_74L2a SPARC
Assembled 22 January 2005
root[csh]@broncos15[26]#sh ttaspso.shx
Tarantella Secure Global Desktop Enterprise Edition
Setup is verifying the shx file...
Setup is checking for disk space requirements...
Secure Global Desktop for SPARC Solaris 2.8+
Preparing for installation...
/tmp/install6aaaHh/checkinstall8aaaHh: /tmp/ttainst_1/tta.log: cannot
create
Error during installation. Setup will now exit.
Please correct any errors described in /tmp/tta_inst.log, and then try
again.
root[csh]@broncos15[27]#
root[csh]@broncos15[29]# cat tta_inst.log
===========================================================================
Starting Setup
===========================================================================
11+0 records in
11+0 records out
===========================================================================
Installing package <tta>
===========================================================================
3+0 records in
3+0 records out
Pre-request detail for package <tta>
---> tta.prerequest
24997+0 records in
24997+0 records out
Extraction detail for package <tta>
Transferring <tta> package instance
Install detail for package <tta>
Processing package instance <tta> from </tmp/ttainst_1/ttapkg.3491/pkg>
Tarantella Secure Global Desktop Enterprise Edition for SPARC Solaris
2.8+(SPARC) 4.00.903
Tarantella, Inc.
pkgadd: ERROR: request script did not complete successfully
Installation of <tta> failed.
No changes were made to the system.
Script detail for package <tta>
root[csh]@broncos15[30]#Have a look at
http://www.tarantella.com/documentation/sgd/ee/4.0/install.html - search
for "Solaris 10" on that page, and try the workaround described there.
Regards,
Bill Weir, Tarantella Engineer.
Ranjit Reddy wrote on 02/06/2005 00:41:
After downloading and executing the SGD shell script results in a failure.
Same script
worked fine on Solaris 9. Solaris 10 system details:
root[csh]@broncos15[32]# cat /etc/release
Solaris 10 3/05 s10_74L2a SPARC
Assembled 22 January 2005
root[csh]@broncos15[26]#sh ttaspso.shx
Tarantella Secure Global Desktop Enterprise Edition
Setup is verifying the shx file...
Setup is checking for disk space requirements...
Secure Global Desktop for SPARC Solaris 2.8+
Preparing for installation...
/tmp/install6aaaHh/checkinstall8aaaHh: /tmp/ttainst_1/tta.log: cannot
create
Error during installation. Setup will now exit. -
Can�t upgrade Solaris 2.6 to Solaris 9 ? HELP
Hi,
I'm trying to upgrade one Sun Enterprise 3500 with Solaris 2.6 to new Solaris 9.
I've already use SUNINSTALL and WEB START methods, without sucess.
There is no error messages in WEB START method..
When using "suninstall" method, I follow all the manual instructions with CLI mode and the instalation returns "install sucess", but when rebooting, some erros apears and starts a reboot cycle:
------ ERROR WITH SUNINSTALL ----------
Use is subject to license terms.
WARNING: add_spec: No major number for fp
WARNING: add_spec: No major number for fp
WARNING: add_spec: No major number for scsi_vhci
WARNING: add_spec: No major number for fp
WARNING: add_spec: No major number for scsi_vhci
WARNING: mod_installdrv: no major number for fcp
Cannot assemble drivers for root /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000020372b4363,0:a
Cannot mount root on /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000020372b4363,0:a fstype ufs
panic[cpu14]/thread=140a000: vfs_mountroot: cannot mount root
0000000001409970 genunix:vfs_mountroot+70 (0, 0, 0, 200, 14569d8, 0)
%l0-3: 000000000144a400 000000000144a400 0000000001415bc8 0000000001415bd0
%l4-7: 0000000001415800 0000000001411a80 000000000144ac00 000000000144dc00
0000000001409a20 genunix:main+98 (1409ba0, f00584cc, 1409ec0, 32a7af, 2000, 500)
%l0-3: 0000000000000001 0000000000000000 0000000001412b18 0000000078002000
%l4-7: 000000000140a000 0000000000330000 0000000001480dc8 00000000010628d0
skipping system dump - no dump device configured
rebooting...
Resetting...
Software Power ON
When using WEB START, the instalation gives some strange messages at the midle of wizard (using CLI), but continues the instalation. At the end, says "Installing Solaris Software Group", and shows a progression bar, but at same time, changes to prompt and without any error stops the installation. Some process are running but none indicates that install is in progress...
----- WITH WEB START ------ STRANGE MESSAGE:
Reading disc for Solaris Operating Environment...
The system is being initialized, please wait... \
To perform an initial install of the Solaris Operating Environment select
Initial Install. Existing contents of your hard disk will be destroyed.
To perform an upgrade of the Solaris Operating Environment select Upgrade. The
Solaris Operating Environment will be updated and other contents on the hard
disk will be left unchanged. Backing up the existing Solaris Operating
Environment is recommended.
1. Initial Install
2. Upgrade Install
Select Upgrade or Initial install [1] 2
Gathering upgrade information, please wait... \
Could not reinitialize system state. Please exit the installer and restart the
installation.
<Press ENTER to continue|
The system is being initialized, please wait../
To install basic Solaris products into their default directory locations,
select Default Install.
Custom install provides a choice of which Solaris products to install. For each
product, it also provides an option to customize the products install.
Note: Default install is not possible. Default boot disk could not be
determined.
<Press ENTER to continue>
Select the geographic regions and software localizations you want to install.
The English version of Solaris will be installed by default.
[ ] 0 Northern Africa
[ ] 1 Eastern Europe
[ ] 2 Southern Europe
------ AT THE END OF PROCESS -----
Testing the upgrade profile, please wait... /
The following items will be installed:
Solaris Operating Environment: Solaris 9 Software 4/03
Solaris Software Group: Entire Group
Backup Media Type: None
64-Bit Selection: Yes
Region and Locales:
Southern Europe
Portuguese (Portugal) ( pt_PT )
North America
English (United States) ( en_US )
English (POSIX C) ( C )
System Locale: English (United States,ISO8859-1) ( en_US.ISO8
Products:
Solaris 9 Software Supplement CD 385.
Java3D 1.2.1_04 18.3 MB
OpenGL 1.3 105.7 MB
PC launcher 1.0.2 0.9 MB
RSC 2.2.1 8.8 MB
Solaris On Sun Hardware Documentation
SunATM 5.1 9.1 MB
SunForum 3.2 27.1 MB
<--[90%]--[ENTER To Continue]--[n To Finish]-->
SunHSI PCI 3.0 0.5 MB
SunVTS 5.1 PS2 124.4 MB
Enter 'y' to accept these values and start the installation, or 'n' to
return to the beginning and make changes (y/n): y
Installing...
Installing Solaris software group
|-1%--------------25%-----------------50%-----------------75%--------------100%|
# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 0 0 0 17:50:55 ? 0:00 sched
root 1 0 0 17:50:57 ? 0:01 /etc/init -r
root 2 0 0 17:50:57 ? 0:00 pageout
root 3 0 0 17:50:57 ? 0:11 fsflush
root 80 1 0 17:51:57 console 0:00 /bin/ksh /sbin/disk0_install
root 130 1 0 17:52:14 ? 0:00 /usr/sbin/syslogd
root 7407 250 0 19:10:06 console 0:00 ps -ef
root 32 1 0 17:51:01 ? 0:00 /usr/lib/sysevent/syseventd -r /tmp
root 34 1 0 17:51:16 ? 0:00 /usr/lib/devfsadm/devfsadmd -r /tmp -p /tmp/root/etc/path_to_inst
root 242 1 0 17:55:29 ? 0:02 /usr/sbin/nscd
root 250 80 0 17:55:30 console 0:00 sh
root 215 1 0 17:55:29 ? 0:00 /usr/sbin/rpcbind
root 238 1 0 17:55:29 ? 0:00 /usr/sbin/inetd -s
Any ideia whts going wrong?
Thanks for your attention,
Buy
Angelo FariaWell, there is no replys to this, so I presume no one else had this problem...
-
10g R2 RAC on Solaris 10 error when running root.sh
hi, I am installing Oracle 10g rac on Solaris 10 with two nodes. In the end of the installation of RAC when a run root.sh I get the error bellow.
# /opt/crs/oracle/product/10.2.0/crs/root.sh
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Failed to upgrade Oracle Cluster Registry configurationI have done this install using a pair of T2000's and a 65XX SAN. The install doco is not straight forward. I had to compile a number of Metalink notes to eventually get the disk partitions sorted. Of particular help was Note:271621.1.
Since I am not a Solaris admin, the next bit is caveated as "This is how I did it" and maybe not how anyone else would have done it. These things were not explicitly noted, but gleaned through a bit of reading:
1) you need to throw away the first cylinder of each LUN. I did this by creating the first partition as a single cylinder.
2)then create s4 (or whichever slice you desire) as the rest of the space allocated to that LUN.
3) Repeat this for each LUN presented
4) I created a directory /san under which I then created the character mode (raw) interface for each of ocr, vote.
5) For asm, and for no other reason than being self documenting, I created /san/asm and created character mode interfaces to each of the LUN's for datadg and fradg
6) repeat steps 1-5 on the other box
I took quite some time (2 days) to extract all this and assemble it to a working system. But has always been stable.
Regards,
Kevin Crowley
Principal Consultant
Pacific DBMS P/L -
Hi all,
Pre-installation:
I install the oracle with user "oracle" which belongs to "dba" group.
The environment variables are
PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Ultra-80/sbin:/opt/sun/bin:/opt/SUNWexplo/bin
LD_LIBRARY_PATH=/usr/openwin/lib
OPENWINHOME=/usr/openwin
ORACLE_OWNER=oracle
Also, i created /oracle folder for the installation of oracle
Synonym:
While installing oracle, I was encountered the error in invoking target ntcontab.o of makefile /oracle/OraHome92/network/lib/ins_net_client.mk while installing Oracle 9.2.0.1.0 in Solaris 9 unix machine.
The content of /oracle/OraHome92/install/make.log is as follows
/usr/ccs/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/oracle/OraHome92
(if [ "assemble" = "compile" ] ; then \
/oracle/OraHome92/bin/gennttab > ntcontab.c ;\
cc -c ntcontab.c ;\
rm -f /oracle/OraHome92/lib/ntcontab.o ;\
mv ntcontab.o /oracle/OraHome92/lib ;\
/usr/ccs/bin/ar rv /oracle/OraHome92/lib/libn9.a /oracle/OraHome92/lib
/ntcontab.o ; fi)
(if [ "assemble" = "assemble" ] ; then \
/oracle/OraHome92/bin/gennttab > ntcontab.s ;\
/usr/ccs/bin/as -xarch=v9 -P -o ntcontab.o ntcontab.s ;\
rm -f /oracle/OraHome92/lib/ntcontab.o ;\
mv ntcontab.o /oracle/OraHome92/lib ;\
/usr/ccs/bin/ar rv /oracle/OraHome92/lib/libn9.a /oracle/OraHome92/lib
/ntcontab.o ; fi)
Error in finding run directory. Using default /opt/SUNWspro/binerror: Unable to
find current directory
*** Error code 1
make: Fatal error: Command failed for target `ntcontab.o'
Could anyone give me a suggestion how to fix the problem.
It's urgent
Many thanks,
KelvinIf someone having above problem....
umount partitions where installing oracle and then check perrmisions to mount point and mount back.
This work for me.
Thanks -
Unable to install a Solaris OS in a Single disk slice
Hi,
We are unable to install the Solaris-OS on a single slice disk.
We found that, only "Solaris 10 10/08 (U6)" release can support the single slice disk installation, prior release are not. Is it true ?
We found it from "LDoms Community Cookbook " , from given link
http://wikis.sun.com/display/SolarisLogicalDomains/Section+2+-VirtualDevices
Paragraph is
" Before Solaris 10 10/08 (U6), when a backend is exported to a domain as a single slice disk, it will appear in that domain as a disk with a single partition (s0). Such a disk is not visible with the format(1m) command and its partition table can not be changed. A single slice disk will not be visible from the Solaris installer and can not be select as a disk device on which Solaris can be installed. "
Our Configuration are
sc> showhost
System Firmware 6.6.4 Sun Blade[TM] T6300 2008/07/01 02:03
Host flash versions:
OBP 4.28.9 2008/06/30 21:26
Hypervisor 1.6.4 2008/06/06 04:57
Sun Blade T6300 Server Module POST 4.28.6 2008/05/23 12:35
-bash-3.00# cat /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
We Installed a 127127-11 patch also.
-bash-3.00# ldm -V
Logical Domain Manager (v 1.0.3)
Hypervisor control protocol v 1.1
Using Hypervisor MD v 1.1
System PROM:
Hypervisor v. 1.6.4 @(#)Hypervisor 1.6.4 2008/06/06 04:57\015
OpenBoot v. 4.28.9 @(#)OBP 4.28.9 2008/06/30 21:26
Use below command to add single slice disk
*# ldm add-vdsdev options=slice /dev/dsk/c0t1d0s3 vol3@primary-vds0*
Getting error in between installation,
ERROR: No disks found
- Check to make sure disks are cabled and powered up
Please help us to, resolve this issue. Thanks a lot.
Best Regards,
Parvez Memon.Hi,
Whenever i try to installed the patch 137137-09, it required a below patch
0 For patch 137137-09, required patch 138866-01 does not exist.
And try this then
# patchadd 138866-01
The following requested patches will not be installed because
the packages they patch are not installed on this system.
0 No Packages from patch 138866-01 are installed on the system.
No patches to install.
I am not able to install this patch 138866-01, even i try with 138866-02 but not success.
Thanks for your reply, please help to resovle the same.
Regards,
Parvz Memon -
Use of MPSS on Solaris 9 and Java 141_03 - not getting 4M pagesizes
Hi all,
Anyone know how to get MPSS actually using large page sizes in 1.4 / SunOS 5.9 ??
I have a 1.4.1_03-b02 JVM that is using the -XX:+UseMPSS option and using the LD_PRELOAD=/usr/lib/mpss.so.1 and MPSSHEAP=4M but when I use pmap -Fxs <PID> I always see 8k pages. My system is 5.9 Generic_122300-03 sun4u sparc SUNW,Sun-Fire-480R and pagesize -a give me:
8192
65536
524288
4194304
so 4M should be OK to use...
The full JVM options are:
-XX:+TraceClassUnloading -XX:+UseParallelGC -XX:+UseMPSS -XX:-UseAdaptiveSizePolicy -XX:SurvivorRatio=2 -XX:MaxTenuringThreshold=3 -XX:+DisableExplicitGC -Dsun.rmi.server.exceptionTrace=true -Xloggc:gc.log -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -server -ms2560m -mx2560m -Xmn1024m -Dsun.rmi.dgc.client.gcInterval=14400000 -Dsun.rmi.dgc.server.gcInterval=14400000
I have also tried using LD_PRELOAD_32 and LD_PRELOAD_64 but still only see 8k pages in pmap for the heap...
Thanks for any ideas, if I read the doc I should not need to do anything to use the MPSS option on SunOS 5.9...so maybe one of my other JVM options is preventing MPSS from being used?OK, bug 4845026 is giving me a clue:
Bug ID: 4845026
Votes 1
Synopsis MPSS broken on JDK 1.4.1_02
Category hotspot:jvm_interface
Reported Against 1.4.1_02
Release Fixed
State Closed, will not be fixed
Related Bugs
Submit Date 08-APR-2003
Description
I am running SPECjAppServer2002 with WebLogic Server 8.1 and JDK 1.4.1_02.
Here is the version of JDK 1.4.1_02 that I am using:
<gar07.4> /export/VMs/j2sdk1.4.1_02/bin/java -version
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
The system is a V240 with solaris S9U3:
<gar07.5> more /etc/release
Solaris 9 4/03 s9s_u3wos_04 SPARC
Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 December 2002
After rebooting the system I use the following command line to start the appserver:
+ /export/VMs/j2sdk1.4.1_02/bin/java -server -verbose:gc -XX:+PrintGCTimeStamps
-XX:+UseMPSS -XX:+AggressiveHeap -Xms3500m -Xmx3500m -Xmn600m -Dweblogic.oci.sel
ectBlobChunkSize=1600 -classpath ...
The process should have some annon segments mapped to 4M, but it doesn't:
<gar07.7> ps -ef | grep java
ecuser 541 533 12 10:30:33 ? 0:50 /export/VMs/j2sdk1.4.1_02/bin/java -server -verbose:gc -XX:+PrintGCTimeStamps -
ecuser 566 343 0 10:31:24 pts/1 0:00 grep java
<gar07.8> pmap -s 541 | grep 4M
<gar07.9>
If I do exactly the same using JDK 1.4.2 instead of JDK1.4.1_02 I am able to get
4M pages. Here is the command line for 1.4.2:
+ /export/VMs/j2sdk1.4.2/bin/java -server -verbose:gc -XX:+PrintGCTimeStamps -XX
:+PrintGCDetails -XX:+AggressiveHeap -Xms3500m -Xmx3500m -Dweblogic.oci.selectBl
obChunkSize=1600 -classpath ...
And here are my 4M pages:
<gar07.20> pmap -s `pgrep java` | grep 4M
1AC00000 282624K 4M rwx-- [ anon ]
F5800000 16384K 4M rwx-- [ anon ]
F6800000 4096K 4M rwx-- [ anon ]
F6C00000 4096K 4M rwx-- [ anon ]
F7000000 4096K 4M rwx-- [ anon ]
F9C00000 4096K 4M rwx-- [ anon ]
Without large pages the time spent in TLB misses for this benchmark is 25% (!)
Using 4M pages that time is reduce to 3%. WLS8.1 was certified with 1.4.1_02 so
we cannot use 1.4.2 for the benchmark.
thanks for your help,
Fernando Castano
Posted Date : 2006-04-27 23:04:32.0
Work Around
N/A
Evaluation
Mukesh,
Can you get someone to look into back porting this fix. Please see below
attachment for additional info. 4845026 : (P1/S1) New Hotbug Created
Is a new bug that only exists in JDk 1.4.1_x release. Its fixed in 1.4.2
release from code related to bug 4737603.
Thanks Jane & James for the heads up.
Thanks
Gary Collins
Gary,
I think the bug James referred to is
4737603 Using MPSS with Parallel Garbage Collection doesn't yield 4mb
pages
which was fixed in mantis (according to the bug report).
Looks like a simple fix to back-port.
Jane
xxxxx@xxxxx 2003-04-10
This problem is partially because of bug 4737603, mainly because there is code cache mapping to large page in 1.4.1(4772288: New MPSS in mantis). This part of code will be ported into 1.4.1 from mantis.
xxxxx@xxxxx 2003-04-18
There's 2 things. MPSS wasn't used in the parallel GC collector AND not
used for the code cache. Both need to be addressed.
xxxxx@xxxxx 2003-04-21 -
How can I install new versions of Fifefox on Solaris 9 Sparc?
I use Firefox 2.0.0.20 on Solaris 9 Sparc, but I couldn't install any verions of Firefox major version 3.
There is a great site, http://www.sunfreeware.com/mozilla.html, that looks it has a possibles version compatibles whit my OS, but the links don`t work.
Any suggestions?
More detail about my OS:
Solaris 9 9/05 HW s9s_u9wos_06b SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
se is subject to license terms.
Assembled 25 September 2006Hi,
Please also see [http://unixpackages.com/packages/mozilla this] (from http://www.sunfreeware.com/). It looks like 2.0.0.23 is the last supported version for Solaris 9. -
Building eclipse 3.1 on Solaris 10 x86
I found an easy way to build eclipse on solaris x86, as followed:
$ JAVA_HOME=/usr/j2se; export JAVA_HOME
$ ANT_HOME=/home/compl/sfw/apache-ant-1.6.5; export ANT_HOME
$ PATH=$ANT_HOME/bin:$PATH; export PATH
$ mkdir -p ~/farm/eclipse-src
$ cd ~/farm
$ vi regexrename
-----start create script regexrename-----
-enter the following content:
#!/bin/sh
echo Renaming $1 to `echo $1 | sed $2`
mv "$1" "`echo $1 | sed $2`"
-save and quit vi
-----end create script regexrename-----
$ chmod +x regexrename<br />
$ vi regexreplace
-----start create script regexreplace-----
-enter the following content:
#!/bin/sh
echo Replacing file $1...
mv "$1" "$1.replaced"
sed "$2" "$1.replaced" > "$1"
-save and quit vi
-----end create script regexreplace-----
$ chmod +x regexreplace<br />
$ cd eclipse-src
$ unzip ~/Softwares/java/eclipse-sourceBuild-srcIncluded-3.1.zip
$ vi ./build
-----start modify script ./build-----
-change line:
export ANT_OPTS=-Xmx1000M
-to
ANT_OPTS=-Xmx1000M; export ANT_OPTS
-add a blank line at end of file, to regard the last line to sed-----
-----end modify script ./build-----
-----now replace all sparc with i386 in directory and file names,
-----don't change i386 to x86, although x86 seems better follow eclipse src naming conventions,
-----or you have to perform some extra modifications on some scripts to correct x86 to i386,
-----like the awt lib path, that is $JAVA_HOME/jre/lib/sparc on sun machines and
-----$JAVA_HOME/jre/lib/i386 on intel PCs, NOT $JAVA_HOME/jre/lib/x86-----
$ find ./ -name \*sparc\* -exec ../regexrename "{}" 's/sparc/i386/g' \;
Renaming ./plugins/org.eclipse.platform.source.solaris.gtk.sparc to ./plugins/org.eclipse.platform.source.solaris.gtk.i386
find: stat() error ./plugins/org.eclipse.platform.source.solaris.gtk.sparc/frag ment.xml: No such file or directory
find: stat() error ./plugins/org.eclipse.platform.source.solaris.gtk.sparc/META -INF: No such file or directory
find: stat() error ./plugins/org.eclipse.platform.source.solaris.gtk.sparc/buil d.properties: No such file or directory
find: stat() error ./plugins/org.eclipse.platform.source.solaris.gtk.sparc/abou t.html: No such file or directory
Renaming ./plugins/org.eclipse.rcp.source.solaris.gtk.sparc to ./plugins/org.eclipse.rcp.source.solaris.gtk.i386
find: stat() error ./plugins/org.eclipse.rcp.source.solaris.gtk.sparc/build.xml : No such file or directory
Renaming ./assemble.org.eclipse.sdk.solaris.gtk.sparc.xml.replaced to ./assemble.org.eclipse.sdk.solaris.gtk.i386.xml.replaced
-----Regarding the errors above, re-run the command to make sure-----
$ find ./ -name \*sparc\* -exec ../regexrename "{}" 's/sparc/i386/g' \;
$
-----now replace all sparc inside all revelant text files with i386-----
$ find ./ -type f \( -name \*.xml -o -name \*.properties -o -name \*.sh -o -name build \) -exec fgrep -s sparc "{}" \; -exec ../regexreplace "{}" 's/sparc/i386/g' \;
Replacing file ./build...
Replacing file ./plugins/org.eclipse.ui.cheatsheets/build.xml...
Replacing file ./assemble.org.eclipse.sdk.all.xml...
$
-----Perform a normal build-----
$ sh ./build -os solaris -ws gtk -arch i386 -compilelibs
BUILD SUCCESSFUL
Total time: 17 minutes 45 seconds
-----eclipse/eclipse seems remain the one for SPARC arch, update it manually-----
$ cp launchertmp/eclipse eclipse/
-----test run the compiled binary-----
$ eclipse/eclipse
-----eclipse 3.1 should start-----
-----Finally, be careful if you want to keep or distribute result/solaris-gtk-i386-sdk.zip,
-----eclipse/eclipse inside it remains the one for SPARC arch, you may want to
-----update it first.-----bash
may also need to set path to /usr/sfw/bin/gcc.
and don't know why need to cp launchertmp/eclipse to overwrite the old one.
But it do works for us.
*** Date: Fri May 19 08:51:20 CST 2006
*** Platform Details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20060118-1600
eclipse.commands=-os
solaris
-ws
gtk
-arch
sparc
-launcher
/export/home/looric/eclipse/./eclipse
-name
Eclipse
-showsplash
600
-exitdata
17
-vm
/usr/bin/java
eclipse.product=org.eclipse.sdk.ide
eclipse.startTime=1147999845899
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms40m
-Xmx256m
-jar
/export/home/looric/eclipse/./startup.jar
eof=eof
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/export/home/looric/eclipse/./startup.jar
java.class.version=49.0
java.endorsed.dirs=/usr/jdk/instances/jdk1.5.0/jre/lib/endorsed
java.ext.dirs=/usr/jdk/instances/jdk1.5.0/jre/lib/ext
java.home=/usr/jdk/instances/jdk1.5.0/jre
java.io.tmpdir=/var/tmp/
java.library.path=/usr/jdk/instances/jdk1.5.0/jre/lib/i386/client:/usr/jdk/instances/jdk1.5.0/jre/lib/i386:/usr/jdk/instances/jdk1.5.0/jre/../lib/i386:/usr/lib
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_06-b05
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.5
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.5.0_06
java.vm.info=mixed mode, sharing
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.5.0_06-b05
line.separator=
org.osgi.framework.bootdelegation=*
org.osgi.framework.executionenvironment=J2SE-1.5
org.osgi.framework.language=en
org.osgi.framework.os.name=SunOS
org.osgi.framework.os.version=5.10
org.osgi.framework.processor=x86
org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.events,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.3.0
org.osgi.supports.framework.extension=true
os.arch=x86
os.name=SunOS
os.version=5.10
osgi.arch=sparc
osgi.bundles=org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start
osgi.bundlestore=/export/home/looric/eclipse/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:/export/home/looric/eclipse/configuration/
osgi.framework=file:/export/home/looric/eclipse/plugins/org.eclipse.osgi_3.1.2.jar
osgi.framework.beginningstartlevel=1
osgi.framework.shape=jar
osgi.framework.version=3.1.2
osgi.install.area=file:/export/home/looric/eclipse/
osgi.instance.area=file:/export/home/looric/workspace/
osgi.instance.area.default=file:/export/home/looric/workspace/
osgi.logfile=/export/home/looric/workspace/.metadata/.log
osgi.manifest.cache=/export/home/looric/eclipse/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.os=solaris
osgi.splashLocation=/export/home/looric/eclipse/plugins/org.eclipse.platform_3.1.2/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath=/export/home/looric/eclipse/plugins
osgi.ws=gtk
path.separator=:
sun.arch.data.model=32
sun.boot.class.path=/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/i18n.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/sunrsasign.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/jsse.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/jce.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/charsets.jar:/usr/jdk/instances/jdk1.5.0/jre/classes
sun.boot.library.path=/usr/jdk/instances/jdk1.5.0/jre/lib/i386
sun.cpu.endian=little
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeBig
sun.jnu.encoding=UTF-8
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=unknown
user.country=US
user.dir=/export/home/looric/eclipse
user.home=/export/home/looric
user.language=en
user.name=looric
user.timezone=PRC
*** Features:
org.eclipse.jdt (3.1.2) "Eclipse Java Development Tools"
org.eclipse.jdt.source (3.1.2) "Eclipse Java Development Tools SDK"
org.eclipse.pde (3.1.2) "Eclipse Plug-in Development Environment"
org.eclipse.pde.source (3.1.2) "Eclipse Plug-in Development Environment Developer Resources"
org.eclipse.platform (3.1.2) "Eclipse Platform"
org.eclipse.platform.source (3.1.2) "Eclipse Platform Plug-in Developer Resources"
org.eclipse.rcp (3.1.2) "Eclipse RCP"
org.eclipse.rcp.source (3.1.2) "Eclipse RCP Plug-in Developer Resources"
org.eclipse.sdk (3.1.2) "Eclipse Project SDK"
*** Plug-in Registry:
org.apache.ant (1.6.5) "Apache Ant" [Resolved]
org.apache.lucene (1.4.3) "Apache Lucene" [Resolved]
org.eclipse.ant.core (3.1.1) "Ant Build Tool Core" [Resolved]
org.eclipse.ant.ui (3.1.2) "Ant UI" [Resolved]
org.eclipse.compare (3.1.1) "Compare Support" [Resolved]
org.eclipse.core.boot (3.1.0) "Core Boot" [Resolved]
org.eclipse.core.commands (3.1.0) "Commands" [Active]
org.eclipse.core.expressions (3.1.0) "Expression Language" [Active]
org.eclipse.core.filebuffers (3.1.2) "File Buffers" [Active]
org.eclipse.core.resources (3.1.2) "Core Resource Management" [Active]
org.eclipse.core.resources.compatibility (3.1.0) "Core Resource Management Compatibility Fragment" [Resolved]
org.eclipse.core.runtime (3.1.2) "Core Runtime" [Active]
org.eclipse.core.runtime.compatibility (3.1.0) "Core Runtime Plug-in Compatibility" [Active]
org.eclipse.core.variables (3.1.0) "Core Variables" [Resolved]
org.eclipse.debug.core (3.1.2) "Debug Core" [Active]
org.eclipse.debug.ui (3.1.2) "Debug UI" [Active]
org.eclipse.help (3.1.0) "Help System Core" [Active]
org.eclipse.help.appserver (3.1.0) "Help Application Server" [Resolved]
org.eclipse.help.base (3.1.0) "Help System Base" [Resolved]
org.eclipse.help.ui (3.1.1) "Help System UI" [Resolved]
org.eclipse.help.webapp (3.1.0) "Help System Webapp" [Resolved]
org.eclipse.jdt (3.1.0) "Eclipse Java Development Tools" [Resolved]
org.eclipse.jdt.core (3.1.2) "Java Development Tools Core" [Active]
org.eclipse.jdt.debug (3.1.1) "JDI Debug Model" [Resolved]
org.eclipse.jdt.debug.ui (3.1.2) "JDI Debug UI" [Resolved]
org.eclipse.jdt.doc.isv (3.1.2) "Eclipse JDT Plug-in Developer Guide" [Resolved]
org.eclipse.jdt.doc.user (3.1.1) "Eclipse Java Development User Guide" [Resolved]
org.eclipse.jdt.junit (3.1.1) "Java Development Tools JUnit support" [Resolved]
org.eclipse.jdt.junit.runtime (3.1.0) "Java Development Tools JUnit runtime support" [Resolved]
org.eclipse.jdt.launching (3.1.0) "Java Development Tools Launching Support" [Resolved]
org.eclipse.jdt.source (3.1.2) "Eclipse Java Development Tools SDK" [Resolved]
org.eclipse.jdt.ui (3.1.2) "Java Development Tools UI" [Active]
org.eclipse.jface (3.1.1) "JFace" [Active]
org.eclipse.jface.text (3.1.2) "JFace Text" [Active]
org.eclipse.ltk.core.refactoring (3.1.0) "Refactoring Core" [Resolved]
org.eclipse.ltk.ui.refactoring (3.1.1) "Refactoring UI" [Resolved]
org.eclipse.osgi.services (3.1.2) "OSGi Release 3 Services" [Resolved]
org.eclipse.osgi.util (3.1.1) "OSGi R3 Utility Classes" [Resolved]
org.eclipse.pde (3.1.0) "Eclipse Plug-in Development Environment" [Resolved]
org.eclipse.pde.build (3.1.2) "Plug-in Development Environment Build Support" [Resolved]
org.eclipse.pde.core (3.1.1) "Plug-in Development Core" [Resolved]
org.eclipse.pde.doc.user (3.1.2) "Eclipse Plug-in Development User Guide" [Resolved]
org.eclipse.pde.junit.runtime (3.1.0) "PDE JUnit Plug-in Test" [Resolved]
org.eclipse.pde.runtime (3.1.1) "Plug-in Development Environment Runtime" [Resolved]
org.eclipse.pde.source (3.1.2) "Eclipse Plug-in Development Environment Developer Resources" [Resolved]
org.eclipse.pde.ui (3.1.2) "Plug-in Development UI" [Resolved]
org.eclipse.platform (3.1.2) "Eclipse Platform" [Resolved]
org.eclipse.platform.doc.isv (3.1.2) "Eclipse Platform Plug-in Developer Guide" [Resolved]
org.eclipse.platform.doc.user (3.1.1) "Eclipse Workbench User Guide" [Resolved]
org.eclipse.platform.source (3.1.2) "Eclipse Platform Plug-in Developer Resources" [Resolved]
org.eclipse.rcp (3.1.0) "Eclipse RCP" [Resolved]
org.eclipse.rcp.source (3.1.2) "Eclipse RCP Plug-in Developer Resources" [Resolved]
org.eclipse.rcp.source.solaris.gtk.sparc (3.1.2) "Eclipse RCP Plug-in Developer Resources" [Resolved]
org.eclipse.sdk (3.1.2) "Eclipse Project SDK" [Resolved]
org.eclipse.search (3.1.2) "Search Support" [Resolved]
org.eclipse.swt (3.1.0) "Standard Widget Toolkit" [Resolved]
org.eclipse.swt.gtk.solaris.sparc (3.1.1) "Standard Widget Toolkit for GTK 2.0" [Resolved]
org.eclipse.team.core (3.1.1) "Team Support Core" [Active]
org.eclipse.team.cvs.core (3.1.1) "CVS Team Provider Core" [Resolved]
org.eclipse.team.cvs.ssh (3.1.0) "CVS SSH Core" [Resolved]
org.eclipse.team.cvs.ssh2 (3.1.0) "CVS SSH2" [Resolved]
org.eclipse.team.cvs.ui (3.1.1) "CVS Team Provider UI" [Resolved]
org.eclipse.team.ui (3.1.1) "Team Support UI" [Resolved]
org.eclipse.text (3.1.1) "Text" [Active]
org.eclipse.tomcat (4.1.30.1) "Tomcat Wrapper" [Resolved]
org.eclipse.ui (3.1.2) "Eclipse UI" [Active]
org.eclipse.ui.browser (3.1.1) "Browser Support" [Resolved]
org.eclipse.ui.cheatsheets (3.1.1) "Cheat Sheets" [Resolved]
org.eclipse.ui.console (3.1.2) "Console" [Resolved]
org.eclipse.ui.editors (3.1.1) "Default Text Editor" [Active]
org.eclipse.ui.externaltools (3.1.1) "External Tools" [Active]
org.eclipse.ui.forms (3.1.0) "Eclipse Forms" [Resolved]
org.eclipse.ui.ide (3.1.1) "Eclipse IDE UI" [Active]
org.eclipse.ui.intro (3.1.1) "Welcome Framework" [Resolved]
org.eclipse.ui.presentations.r21 (3.1.0) "R21 Presentation Plug-in" [Resolved]
org.eclipse.ui.views (3.1.1) "Views" [Active]
org.eclipse.ui.workbench (3.1.2) "Workbench" [Active]
org.eclipse.ui.workbench.compatibility (3.1.0) "Workbench Compatibility" [Resolved]
org.eclipse.ui.workbench.texteditor (3.1.2) "Text Editor Framework" [Active]
org.eclipse.update.configurator (3.1.0) "Install/Update Configurator" [Active]
org.eclipse.update.core (3.1.2) "Install/Update Core" [Resolved]
org.eclipse.update.scheduler (3.1.0) "Automatic Updates Scheduler" [Active]
org.eclipse.update.ui (3.1.1) "Install/Update UI" [Resolved]
org.junit (3.8.1) "JUnit Testing Framework" [Resolved]
system.bundle (3.1.2) "OSGi System Bundle" [Active]
*** User Preferences:
#Fri May 19 08:51:21 CST 2006
/instance/org.eclipse.jdt.ui/org.eclipse.jface.textfont=1|Monospace|10|0|GTK|1|;
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.formatterprofiles.version=8
/instance/org.eclipse.ui/showIntro=false
@org.eclipse.ui=3.1.2
\!/=
/instance/org.eclipse.ui.ide/platformState=88
/configuration/org.eclipse.ui.ide/SHOW_WORKSPACE_SELECTION_DIALOG=true
/instance/org.eclipse.core.resources/version=1
/instance/org.eclipse.ui.ide/tipsAndTricks=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.editor.tab.width=
@org.eclipse.core.resources=3.1.2
/instance/org.eclipse.jdt.ui/useQuickDiffPrefPage=true
@org.eclipse.ui.ide=3.1.1
@org.eclipse.jdt.ui=3.1.2
/instance/org.eclipse.jdt.ui/tabWidthPropagated=true
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES_PROTOCOL=2
/configuration/org.eclipse.ui.ide/MAX_RECENT_WORKSPACES=5
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES=/export/home/looric/workspace
/instance/org.eclipse.jdt.ui/fontPropagated=true
/instance/org.eclipse.jdt.ui/useAnnotationsPrefPage=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.javadoclocations.migrated=true
/instance/org.eclipse.ui.ide/quickStart=true
file_export_version=3.0
*** Current Install Configuration:
Install configuration:
Last changed on May 19, 2006
Location: file:/export/home/looric/eclipse/configuration/org.eclipse.update/platform.xml
Configured sites:
platform:/base/
Configured features:
ID: org.eclipse.platform, Version: 3.1.2
ID: org.eclipse.rcp, Version: 3.1.2
ID: org.eclipse.platform.source, Version: 3.1.2
ID: org.eclipse.jdt, Version: 3.1.2
ID: org.eclipse.jdt.source, Version: 3.1.2
ID: org.eclipse.pde, Version: 3.1.2
ID: org.eclipse.pde.source, Version: 3.1.2
ID: org.eclipse.sdk, Version: 3.1.2
ID: org.eclipse.rcp.source, Version: 3.1.2
Configured plug-ins:
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.core_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.cheatsheets_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help.base_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ant.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.source_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.team.cvs.ui_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.runtime_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help.webapp_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.workbench_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.build_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.osgi.util_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.apache.lucene_1.4.3/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.resources_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.search_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.update.configurator_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.core.expressions_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.doc.user_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.resources.compatibility_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.tomcat_4.1.30.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.team.cvs.ssh_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.debug_3.1.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.team.cvs.ssh2_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.runtime.compatibility_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.update.core_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.debug.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help.ui_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.presentations.r21_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jface_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.doc.user_3.1.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.commands_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.osgi_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.compare_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.rcp.source.solaris.gtk.i386_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.team.cvs.core_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.sdk_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.update.ui_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.platform.source_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.forms_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.platform.doc.user_3.1.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.pde_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.intro_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.console_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.rcp.source_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.filebuffers_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.editors_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.junit.runtime_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.runtime_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.rcp_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jface.text_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.source_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ltk.core.refactoring_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.junit.runtime_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.views_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.doc.isv_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.text_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.swt_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.platform_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.ltk.ui.refactoring_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.swt.gtk.solaris.i386_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help.appserver_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.apache.ant_1.6.5/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.variables_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.externaltools_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ant.core_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.core.boot_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.team.ui_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.update.scheduler_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.debug.core_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.debug.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.team.core_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.ide_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.osgi.services_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.launching_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.junit_3.1.1/
file:/export/home/looric/eclipse/plugins/org.junit_3.8.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.browser_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.core_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.platform.doc.isv_3.1.2/ -
Solaris 10 x86 Update Manager & smpatch errors
I've recently installed Solaris 10 on two x86 machines and, even after installing patch 121119-15, I'm having Update Manager and smpatch issues. It appears to be due to certificate troubles.
I've followed several sets of instructions (including cacaoadm stop/start and registration) and nothing has seemed to work.
I have successfully connected to:
# telnet sun.com 80
# telnet cns-services.sun.com 443
# telnet getupdates1.sun.com 443
# telnet a248.e.akamai.net 443
I have also tried:
# cacaoadm stop
# cacaoadm status
# /usr/lib/cc-ccr/bin/eraseCCRRepository
# rm /var/scn/persistence/SCN*
# cacaoadm start
Reregistering didn't change anything.
Thanks in advance for everyone's help!
~~~~~~~~
Output of smpatch analyze:
bash-3.00# smpatch analyze -C patchpro.debug=true
Effective proxy host : ""
Effective proxy port : ""
Effective proxy user : ""
Last Modified Date read: Wed Dec 31 19:00:00 EST 1969
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /xml/motd.xml
... ... File path portion of URL is /xml/motd.xml
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 19:00:00 EST 1969
Key 1 : Server = Sun-Java-System-Web-Server/7.0
Key 2 : Date = Mon, 11 May 2009 20:43:31 GMT
Key 3 : Content-disposition = attachment; filename=xml/motd.xml
Key 4 : Content-type = text/xml
Key 5 : Content-length = 10513
Key 6 : Set-Cookie = 01SessionID=0xe2849044; path=/
Last Modified Date value written to /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd is 0
Date format for this value: Wed Dec 31 19:00:00 EST 1969
Last Modified Date file updated : /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd
Last Modified Date read: Wed Dec 31 19:00:00 EST 1969
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /xml/motd.xml
... ... File path portion of URL is /xml/motd.xml
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 19:00:00 EST 1969
Key 1 : Server = Sun-Java-System-Web-Server/7.0
Key 2 : Date = Mon, 11 May 2009 20:43:31 GMT
Key 3 : Content-disposition = attachment; filename=xml/motd.xml
Key 4 : Content-type = text/xml
Key 5 : Content-length = 10513
Key 6 : Set-Cookie = 01SessionID=0xfb9fa105; path=/
Last Modified Date value written to /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd is 0
Date format for this value: Wed Dec 31 19:00:00 EST 1969
Last Modified Date file updated : /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd
Effective proxy host : ""
Effective proxy port : ""
Effective proxy user : ""
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /database/current2.zip
... ... File path portion of URL is /database/current2.zip
Effective proxy host : ""
Effective proxy port : ""
Effective proxy user : ""
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /detector/detectors.jar
... ... File path portion of URL is /detector/detectors.jar
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 19:00:00 EST 1969
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 19:00:00 EST 1969
Failure: Cannot connect to retrieve current2.zip: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
~~~~~~~~~~~~~~~~~~~~~~
Output of suc.sh:
bash-3.00# ./suc.sh
User: root
Logname: root
Mon May 11 16:44:15 EDT 2009
opc-sec-fimdev3
smpatch settings:
patchpro.backout.directory "" ""
patchpro.baseline.directory - /var/sadm/spool
patchpro.download.directory /var/sadm/spool /var/sadm/spool
patchpro.install.types - rebootafter:reconfigafter:standard
patchpro.patch.source - https://getupdates1.sun.com/
patchpro.patchset current2 current2
patchpro.proxy.host "" ""
patchpro.proxy.passwd **** ****
patchpro.proxy.port "" 8080
patchpro.proxy.user "" ""
smpatch analyze:
Failure: Cannot connect to retrieve current2.zip: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Entitlement:
Solaris10Security
SolarisSecurityUpdates
SolarisDataIntegrityUpdates
SolarisHardwareUpdates
SolarisUtilityUpdates
Public
Solaris10
SolarisAllUpdates
ContractRequired
Sun UC patch revision:
119789-09
120336-04
121082-06
121119-13
121119-15
121454-02
123004-03
123006-07
123631-03
123896-05
124187-07
Solaris release:
Solaris 10 10/08 s10x_u6wos_07b X86
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008
Solaris Kernel: Generic_137138-09
Machine Type: i86pc
Platform: i86pc
Java -version:
java version "1.5.0_16"
Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
Cacao Java version:
java-home=/usr/jdk/jdk1.5.0_16
Software Cluster:
CLUSTER=SUNWCall
All ccr properties:
20:
Property not defined: 20
cns.assetid:
8kh0OIj4ADe5LdHlrU88bic3Lps=
cns.br.SunUCenabled:
true
cns.ccr.keyGenPath:
/usr/lib/cc-ccr/bin/ccrKeyGen
cns.clientid:
a1b19f4d-37db-446f-9707-181b8e47f0d6
cns.httpproxy.auth:
cns.httpproxy.ipaddr:
cns.httpproxy.port:
cns.patchsvr.cachelocation:
/var/sadm/spool/patchsvr
cns.patchsvr.patchsource:
https://getupdates.sun.com
cns.regtoken:
1c230c7b-4d6c-43f8-9802-c2c89f96493d:1269820800000:T
cns.security.password:
IJ3RI+p/Cb9M2qyVpqnw7ycp6tXQkSGkhIT/D/0KiPtH
cns.security.privatekey:
-----BEGIN ENCRYPTED PRIVATE KEY-----
REMOVED
-----END ENCRYPTED PRIVATE KEY-----
cns.security.publickey:
-----BEGIN PUBLIC KEY-----
REMOVED
-----END PUBLIC KEY-----
cns.swup.UMautolaunch:
false
cns.swup.autoAnalysis.enabled:
true
cns.swup.checkinInterval:
2
cns.swup.lastCheckin:
0
cns.swup.patchbaseline:
current
cns.swup.regRequired:
true
cns.transport.serverurl:
https://cns-transport.sun.com
patchsvr settings:
Patch source URL: https://getupdates.sun.com
Cache location: /var/sadm/spool/patchsvr
Sun UC package status:
SUNWbreg not installed
SUNWdc not installedI added patch 121082-08 and 123896-10 and modified the entries in /usr/sbin/pprosvc and /usr/bin/updatemanager.
I am now unable to register the system using the Registration Wizard or sconadm (Invalid Sun Online credentials which I know are correct).
Also, smpatch analyze exits with a timeout.
~~~~~reginfo.txt~~~~~~
userName=[obfuscated]
password=[obfuscated]
hostName=
subscriptionKey=
portalEnabled=false
proxyHostName=
proxyPort=
proxyUserName=
proxyPassword=
sconadm register -a -r /tmp/reginfo.txt
~~~~~basicreg.log~~~~~
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir
INFO: properties file loaded from the default config.properties
May 12, 2009 11:46:53 AM com.sun.scn.util.Utils getLocalHostNames
INFO: get hostname 172.28.121.3
May 12, 2009 11:46:53 AM com.sun.scn.util.Utils getLocalHostNames
INFO: first returned hostname 172.28.121.3
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setHost() = null
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setPort() = null
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setUser() = null
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setPassword() = null
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: userName = [obfuscated]
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: password = *****
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: hostName =
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: subscriptionKey = ********
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: portalEnabled =false
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI run
INFO: Authenticating user ...
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getSCNClientSession
INFO: CREATING SCNClientSession
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter$LoginAccountCallbackHandler handle
INFO: account callback setting username: [obfuscated]
May 12, 2009 11:47:14 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
SEVERE: Error: login account exception: AccessDeniedFault
May 12, 2009 11:47:14 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
SEVERE:
com.sun.scn.jmx.impl.UISClientLoginModule.login(UISClientLoginModule.java:216)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
javax.security.auth.login.LoginContext.login(LoginContext.java:575)
com.sun.scn.jmx.impl.UISClientLogin.login(UISClientLogin.java:201)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
javax.management.StandardMBean.invoke(StandardMBean.java:323)
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203)
com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:783)
com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:638)
com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)
com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:126)
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
java.security.AccessController.doPrivileged(Native Method)
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
sun.rmi.transport.Transport$1.run(Transport.java:153)
java.security.AccessController.doPrivileged(Native Method)
sun.rmi.transport.Transport.serviceCall(Transport.java:149)
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
java.lang.Thread.run(Thread.java:595)
May 12, 2009 11:47:14 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getLoginResult
INFO: SCN Fault: AccessDeniedFault
May 12, 2009 11:47:14 AM com.sun.cns.basicreg.BasicRegCLI run
SEVERE: Sun On-line Account authentication failed
~~~~~~~~~~~~ -
Common Agent Container Problem on New Solaris Cluster 3.2 (1/09)
Hi,
I have just installed Solaris Cluster 3.2 u2. Getting following error when run cluster check or sccheck -v 2:
cluster check
cacaocsc: unable to connect: Connection refused by peer
cluster check: (C704199) unable to reach Common Agent Container
sccheck -v 2
sccheck: Requesting explorer data and node report from node1.
sccheck: Requesting explorer data and node report from node1-cl.
sccheck: node1: Additional explorer arguments: -w !default,cluster,disks,etc,messages,nbu,netinfo,patch,pkg,sds,lvm,sonoma,sysconfig,var,vxvm,vxfs,vxfsextended -c "/usr/cluster/lib/sccheck/vfstab-global-mount-points" -c "/usr/cluster/lib/sccheck/netapp-nas-quorum-devices"
sccheck: node1: WARNING: EXP_CONTRACT_ID not set!
sccheck: node1: WARNING: EXP_REPLY not set!
sccheck: node1:
sccheck: node1: 2 warnings found in /etc/opt/SUNWexplo/default/explorer
sccheck: node1:
sccheck: node1: Mar 07 21:56:15 node1[5519] explorer: ERROR explorer
sccheck: node1: Mar 07 21:56:15 node1[5519] explorer: ERROR Module or alias sds does not exist.
sccheck: node1: Explorer run failed:
sccheck: node1-cl: Additional explorer arguments: -w !default,cluster,disks,etc,messages,nbu,netinfo,patch,pkg,sds,lvm,sonoma,sysconfig,var,vxvm,vxfs,vxfsextended -c "/usr/cluster/lib/sccheck/vfstab-global-mount-points" -c "/usr/cluster/lib/sccheck/netapp-nas-quorum-devices"
sccheck: node1-cl: WARNING: EXP_CONTRACT_ID not set!
sccheck: node1-cl: WARNING: EXP_REPLY not set!
sccheck: node1-cl:
sccheck: node1-cl: 2 warnings found in /etc/opt/SUNWexplo/default/explorer
sccheck: node1-cl:
sccheck: node1-cl: Mar 07 21:56:15 node1-cl[3851] explorer: ERROR explorer
sccheck: node1-cl: Mar 07 21:56:15 node1-cl[3851] explorer: ERROR Module or alias sds does not exist.
sccheck: node1-cl: Explorer run failed:
sccheck: node1 error: Unexpected early return from server.
sccheck: node1-cl error: Unexpected early return from server.
sccheck: Unable to run checks on: node1,node1-cl
Even when I try to run Cluster Manager from web I am getting following error:
"A communication problem was encountered by the system"
Following is the version I am using:
root@node1 #
root@node1 # cacaoadm -V
2.2.0.1
root@node1 #
root@node1 # smcwebserver -V
Version 3.1
root@node1 #
root@node1 #
root@node1 # svcs -a | grep container
online 21:30:30 svc:/application/management/common-agent-container-1:default
root@node1 #
root@node1 #
root@node1 # svcs -a | grep webconsole
online 21:20:29 svc:/system/webconsole:console
root@node1 #
root@node1 #
root@node1 #
root@node1 # cat /etc/release
Solaris 10 5/08 s10s_u5wos_10 SPARC
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 24 March 2008
root@node1 #
root@node1 #
root@node1 # cat /etc/cluster/release
Sun Cluster 3.2u2 for Solaris 10 sparc
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
root@node1 #
root@node1 #
Do you have any idea or tips to solve this problem?
Thanks
Edited by: shmozumder on Mar 8, 2009 1:50 AMHi Tim,
Yes - it's running:
default instance is ENABLED at system startup.
Smf monitoring process:
29410
29411
Uptime: 0 day(s), 0:14
dssdbgen03p1 # svcs -a |grep -i comm
disabled 17:03:06 svc:/network/rpc/mdcomm:default
online 13:20:53 svc:/application/management/common-agent-container-2:default
uninitialized 16:58:32 svc:/application/management/common-agent-container-1:default
I also get messages like the following in the /var/adm/messages file when starting cacaoadm :
Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.rmi.impl.RMIModule in module com.sun.cacao.rmi
Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.invoker.impl.InvokerModule in module com.sun.cacao.invoker
Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.snmpv3adaptor.SnmpV3AdaptorModule in module com.sun.cacao.snmpv3_adaptor
Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.dtrace.impl.DTraceModule in module com.sun.cacao.dtrace
Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.rbac.impl.RbacModule in module com.sun.cacao.rbac
Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.instrum.impl.InstrumModule in module com.sun.cacao.instrum
Jul 7 13:20:52 dssdbgen03p1 java.lang.ClassNotFoundException: Cannot find class com.sun.cacao.commandstream.CommandStreamAdaptorModule in module com.sun.cacao.command_stream_adaptor -
Problem with solaris management console
I have installing solaris 9 x86 12/02 on my PC. After start solaris management console 2.1 and after loged in as root, smc display this message:
System Information is not able to connect to the server because the WBEM server daemon does not appear to be running. If it is running, try stopping and restarting it. After restarting the daemon, please also exit and restart the Solaris Management Console.
SMC server is running ok.
# /etc/init.d/init.wbem status
Solaris Management Console server version 2.1.0 running on port 898.
Thank you for help.
lukasHello Senthilkumar,
Here are the outputs from the commands. The other ones that I left out (/var/adm/messages and showrev -p) had a lot of output and I wasn't sure what you needed. Please let me know what to post or if you want me to post the whole things.
# more /etc/release
Solaris 8 7/01 s28x_u5wos_08 INTEL
Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
Assembled 06 June 2001
# java -version
java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_07a, native threads, sunwjit)
Here are the errors that come back when /etc/init.d/init.wbem fails.
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/management/viperimpl/server/ViperServer
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:495)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:110)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:252)
at java.net.URLClassLoader.access$1(URLClassLoader.java:218)
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:193)
at java.lang.ClassLoader.loadClass(ClassLoader.java:300)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:290)
at java.lang.ClassLoader.loadClass(ClassLoader.java:256)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) -
Maybe out of topic, but I had this problem when trying to remove a pkg from a Zone. So I tried the same command in the global zone, and It had the same effect.
We just had a Package named "wd" working on Solaris 7,8 and 9. It istalled nicely on 10, but when I made a pkgrm wd, the result was a little unexpected:
Among a lot of files also these ones go removed:
/kernel/drv/sparcv9/profile
/kernel/drv/sparcv9/lockstat
/kernel/drv/sparcv9/fbt
/kernel/drv/sparcv9/fasttrap
/kernel/drv/sparcv9/dtrace
/kernel/drv/sparcv9/dcam1394
/kernel/drv/sparcv9 <non-empty directory not removed>
/kernel/drv/sdt.conf
/kernel/drv/profile.conf
/kernel/drv/lockstat.conf
/kernel/drv/fbt.conf
/kernel/drv/fasttrap.conf
/kernel/drv/dtrace.conf
/kernel/drv <non-empty directory not removed>
/kernel <non-empty directory not removed>
/etc/rcS.d/K10dtlogin
/etc/rcS.d <non-empty directory not removed>
/etc/rc3.d <non-empty directory not removed>
/etc/rc2.d/S99dtlogin
/etc/rc2.d/S89bdconfig
/etc/rc2.d <non-empty directory not removed>
/etc/rc1.d/K10dtlogin
/etc/rc1.d <non-empty directory not removed>
/etc/rc0.d/K10dtlogin
I suppose that there is a Bug in pkgrm, since also part of SUNWdhcsr got removed:
I think that should be easy to reproduce. You just need to dreate a pkg called wd, and try to install and deinstall it on Solaris 10.Sorry for not beeing so precise. I do not know how to file a bug report, because I have Solaris Express for non commercial use. If you let me know how, I could file a bug repport:
I have this problem with Solaris 10 beta 51 and 54. The Version I use now, which also has the Bug is:
cat /etc/release
Solaris 10 s10_54 SPARC
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 01 March 2004
I have also a problem with mountall in Zones, which is probably also a Bug. Where should I report this one?
Maybe you are looking for
-
My iPod Touch Is Not Getting All My Artwork
I recently made a playlist of songs I want to have on my iPod Touch, since it's to small to hold all of the songs in my iTunes Library (I also have a 30 GB iPod Video). Just because I really hate looking at that ugly music note when a song doesn't ha
-
Outlook 2010 won't sync with iCloud on the web
Outlook 2010 Calendar syncs with the iCloud Calendar in Outlook. Both are visible in Outlook, both are ticked. Calendar Sync is set up in iCloud Control Panel 2 and on settings on my iPhone & iPad. However, appointments don't show in iPhone, iPad or
-
What's a good program to use to make flyers and handouts with?
What's a good program to use to make flyers and handouts with? I'm not a wiz with computers so nothing too sophisticated is needed. Thanks!
-
I'm wondering why when I do stuff on mail on my MBP it does'nt do it on my mail on my iPhone for example it only seems to do it when I flag my emails as important or on going. It talks to each other for read emails, deleting emails and moving them to
-
Is there any "Mobile support in Adobe AIR" ( ie : Can I run my AIR app in Mobile ?) And what is Flash lite? - is it supported in Adobe AIR ? Thanks & Regards, Pravin