Solaris 9 I386, Ntop 3.2 failure
Hello,
If i want compile Ntop-3.2 on me Solaris 9 i386 machine i become every time
this error and i dont see me mistake,
# gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as<br />
with-ld=/usr/ccs/bin/ld disable-nls --disable-libgcj<br />
--enable-languages=c,c+ : (reconfigured) ../configure<br />
with-as=/usr/ccs/bin/as with-ld=/usr/ccs/bin/ld --disable-nls<br />
disable-libgcj enable-languages=c,c++>Thread model: posix gcc version
3.4.2
GNU ld version 2.16.1
GNU assembler version 2.16.1 (i386-pc-solaris2.9) using BFD version 2.16.1
GNU Make 3.80
This is your ntop 3.2 configuration:
Host System Type : i386-pc-solaris2.9
Preprocessor (cppflags) : -DSOLARIS -I/usr/local/include -I/opt/sfw/include -I/usr/local/include
Compiler (cflags) : gcc -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fPIC -DPIC
Defines : -DHAVE_CONFIG_H
Loader (ldflags) : -L/opt/sfw/lib -L/usr/local/lib -R/opt/sfw/lib -R/usr/local/lib -L/usr/local/lib
Include path :
System Libs : -lxml2 -lposix4 -lpthread -lresolv -lxnet -lc -liconv -lnsl -lsocket -lpcap -lgdbm -lgd -lpng -lz
Locale : /usr/lib/locale
gmake
[snip]
.libs/ntop ntop-main.o ntop-admin.o -L/opt/sfw/lib -L/usr/local/lib
./.libs/libntopreport.so -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib -L/usr/lib
./.libs/libntop.so myrrd/.libs/libmyrrd.so /usr/local/lib/libxml2.so
-lposix4 -lpthread -lresolv -lxnet -lc /usr/local/lib/libiconv.so -lnsl
-lsocket -lpcap /usr/local/lib/libgdbm.so /usr/local/lib/libgd.so -lXpm
-lX11 /usr/local/lib/libjpeg.so /usr/local/lib/libfontconfig.so
/usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lpng12 -lm -lpng
-lz -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/opt/sfw/lib
./.libs/libntopreport.so: undefined reference to `listen at SUNW_1.1'
./.libs/libntop.so: undefined reference to `ntohs at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `accept at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `recv at SUNW_1.1'
./.libs/libntop.so: undefined reference to `gethostname at SUNW_1.1'
./.libs/libntop.so: undefined reference to `endservent at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `setsockopt at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `bind at SUNW_1.1'
./.libs/libntop.so: undefined reference to `htonl at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `send at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `ntohl at SUNW_1.1'
./.libs/libntop.so: undefined reference to `gethostbyaddr at SUNW_1.1'
./.libs/libntop.so: undefined reference to `connect at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `socket at SUNW_1.1'
./.libs/libntop.so: undefined reference to `gethostbyname at SUNW_1.1'
./.libs/libntop.so: undefined reference to `htons at SUNW_1.1'
collect2: ld returned 1 exit status
gmake[2]: *** [ntop] Error 1
gmake[2]: Leaving directory `/usr/source/ntop-3.2'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/source/ntop-3.2'
gmake: *** [all] Error 2
please let me know so i can see and understanding me mistake
for any help iam happy
best regards
Maurizio
Hi,
I'm having a problem with ACLs option under solaris
9. I want to set up a Samba 3 file server with Active
Directory authentication. I compiled samba with good
options. "wbinfo -u" and "getent passwd" works well.
BTW, I'm able to authenticaiton an AD user by using
"su" command.
What i gotta do now is to activate ACLs option on my
"/" mount point. (my file system is UFS)Why do you think that they're not active? Solaris 9 UFS has ACL support (although it's not identical to windows ACLs).
I can't modify /etc/mnttab file which seems to be
generated automatically.Right. But what would modifying mnttab do? Perhaps you mean to modify the /etc/vfstab? Either way there's no mount option for acls. You can see all the mount options in the mount_ufs man page.
I just wanna know how can i modify the mount table
by adding "acl" option.You can't, and you shouldn't have to.
Darren
Similar Messages
-
Hi -
When I use memcmp() function in Solaris 10 i386, it does not seem to work.
When I convert the arguments to strings and then use strcmp, they seem to work fine. Is there something I am missing.
The same code with memcmp etc works fine on Solaris 10 SPARC machines.
Your help and pointers will be of great help
With Regardsworks fine for me, please post small example code that fails.
tim -
How to make proxy settings in solaris 10 i386
Dear Sir,
I need your help in making proxy settings in solaris 10 x86, as well as on SPARC.
i installed on virtual machine, and later i wanted to do the same on M4000 server. please help.
Why I need to set proxy?
I am on a co-orporate network, and it requires proxy to use internet to download packages for sun directly from sun machine.
What package I want to download?
I want to dowload CUPS to configure LINE PRINTER(ALIS5180).
What did i do to configure line printer?
1, i installed sun solaris 10 on a dell server to make it as a "print server"
2, with the print manager I configure "alis5180"
3, give the print command to test the printing.
4, I did not got success, coz it is not printing the document i want, it is printing junk.
5, i clear the cache of alis5180 printer.
6, reset all the emulations ANSI, IBM Proprinter III XL, Epson FX-1180, Printronix® P600 & P 5000/6000, DEC® LG01, HP 2564C, Tally line/dot matrix printer, Epson FX 1180,
MTPL, contextual arabic, Twinax (IBM 4234/4210/5225)/Coax(IBM4234), HP LineJet HPLP Series, HP 256X no success.
Conclusion:-
This is why I want to configure cups. and I need internet access on the print server to download the this package, and it require internet connection.
Regards,
Mky
Edited by: user9007339 on Jan 22, 2012 3:29 AMYou could try the Dell site, but I doublt if they will have a driver for Solaris, Linux maybe but not Solaris. Otherwise try the DriverGuide web site. http://www.driverguide.com/
You could also try installing OpenSolaris if you don't specifically need Solaris 10. Better chance that OpenSolaris will support the NIC. -
Gtk2 on Solaris 10u7 i386 64bit
Hi, a few days ago I post the following message to r-devl mailing list,
We have tried to build rattle on Solaris 10 X86 platform, and the results are :
1. Package XML and pmml can be built.
2. Package RGtk2 can be built but can’t be installed because the installer can’t find GTK on Solaris, but it seems GTK has been preinstalled on Solaris 10, but I don’t know how to configure it.
3. There are errors when building the cairoDevice package , the error message is
-bash-3.00$ R CMD INSTALL cairoDevice
installing to library '/opt/R/R2-11-1/lib/R/library'
installing source package 'cairoDevice' ...
checking for pkg-config... pkg-config
configure: creating ./config.status
config.status: creating src/Makevars
libs
/opt/sunstudio12.1/bin/cc -xc99=all -I/opt/R/R2-11-1/lib/R/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -I/opt/R/R2-11-1/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/openwin/share/include -KPIC -xO3 -c cairoDevice.c -o cairoDevice.o
"cairoDevice.h", line 3: cannot find include file: <cairo.h>
"cairoDevice.h", line 6: unexpected "("
"cairoDevice.h", line 7: cannot find include file: <cairo-pdf.h>
"cairoDevice.h", line 8: cannot find include file: <cairo-ps.h>
"cairoDevice.h", line 9: cannot find include file: <cairo-svg.h>
"cairoDevice.h", line 38: syntax error before or at: cairo_t
"cairoDevice.c", line 71: improper member use: pixmap
"cairoDevice.c", line 1330: undefined symbol: cairo_t
"cairoDevice.c", line 1330: syntax error before or at: )
"cairoDevice.c", line 1367: improper member use: drawing
"cairoDevice.c", line 1367: improper member use: drawing
cc: acomp failed for cairoDevice.c
*** Error code 1
Then a Professor pointed out that:
Our experience is+
- the X11 installation on Solaris is too old for these packages. We use the one from OpenCSW (see the R-admin manual). cairographics in particular has moved on a lot since the 2005 release of Solaris 10 (cairo reached version 1.0 after that).+
- we failed to build RGtk2 with the SunStudio compiler, and had to use gcc.+
Does anyone can help me to build RGtk2, perhapers first to update to a new version of X11 .Hi alan,
The pixman library can be built with sunstudio12.1, but the configure script of cairo 1.8.10 does not pass with sunstudio12.1, then I change to gcc, configure script does not pass neigher, the error messages is:
configure:16707: gcc -c -g -O2 -I/opt/R/R2-11-1/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/openwin/share/include -I/usr/pixman/lib conftest.c >&5
conftest.c:20:1: warning: "PACKAGE_VERSION" redefined
conftest.c:4:1: warning: this is the location of the previous definition
conftest.c:21:1: warning: "PACKAGE_STRING" redefined
conftest.c:5:1: warning: this is the location of the previous definition
conftest.c:22:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
conftest.c:23:1: warning: "PACKAGE_TARNAME" redefined
conftest.c:3:1: warning: this is the location of the previous definition
conftest.c:26: error: syntax error before "a"
conftest.c:28: error: syntax error before "typedef"
configure:16707: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.8.10"
| #define PACKAGE_STRING "cairo 1.8.10"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE_VERSION USE_cairo_version_OR_cairo_version_string_INSTEAD
| #define PACKAGE_STRING USE_cairo_version_OR_cairo_version_string_INSTEAD
| #define PACKAGE_NAME USE_cairo_INSTEAD
| #define PACKAGE_TARNAME USE_cairo_INSTEAD
| / end confdefs.h. /
| #ifndef __APPLE_CC__
| not a universal capable compiler
| #endif
| typedef int dummy;
configure:16752: gcc -c -g -O2 -I/opt/R/R2-11-1/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/openwin/share/include -I/usr/pixman/lib conftest.c >&5
conftest.c:20:1: warning: "PACKAGE_VERSION" redefined
conftest.c:4:1: warning: this is the location of the previous definition
conftest.c:21:1: warning: "PACKAGE_STRING" redefined
conftest.c:5:1: warning: this is the location of the previous definition
conftest.c:22:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
conftest.c:23:1: warning: "PACKAGE_TARNAME" redefined
conftest.c:3:1: warning: this is the location of the previous definition
conftest.c: In function `main':
conftest.c:32: error: `bogus' undeclared (first use in this function)
conftest.c:32: error: (Each undeclared identifier is reported only once
conftest.c:32: error: for each function it appears in.)
conftest.c:32: error: syntax error before "endian"
configure:16752: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.8.10"
| #define PACKAGE_STRING "cairo 1.8.10"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE_VERSION USE_cairo_version_OR_cairo_version_string_INSTEAD
| #define PACKAGE_STRING USE_cairo_version_OR_cairo_version_string_INSTEAD
| #define PACKAGE_NAME USE_cairo_INSTEAD
| #define PACKAGE_TARNAME USE_cairo_INSTEAD
| / end confdefs.h. /
| #include <sys/types.h>
| #include <sys/param.h>
| int
| main ()
| {
| #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
| bogus endian macros
| #endif
| ;
| return 0;
| } -
Install oracle 8.1.7 on Solaris(x86) 10 b72
Has anyone Installed oracle 8.1.7 on Solaris(x86) 10 b72???
When I run runInstaller I have
135$ Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8.10/1/DataFiles/Expanded/jre/solaris/bin/jre. Please wait...
ld.so.1: /ora_inst/stage/Components/oracle.swd.jre/1.1.8.10/1/DataFiles/Expanded/jre/solaris/bin/i386/native_threads/jre: fatal: relocation error: file /ora_inst/install/../stage/Components/oracle.swd.jre/1.1.8.10/1/DataFiles/Expanded/jre/solaris/bin/../lib/i386/native_threads/libawt.so: symbol XShmQueryExtension: referenced symbol not found (/ora_inst/install/../stage/Components/oracle.swd.jre/1.1.8.10/1/DataFiles/Expanded/jre/solaris/bin/../lib/i386/native_threads/libawt.so)
ld.so.1: /ora_inst/stage/Components/oracle.swd.jre/1.1.8.10/1/DataFiles/Expanded/jre/solaris/bin/i386/native_threads/jre: fatal: relocation error: file /ora_inst/install/../stage/Components/oracle.swd.jre/1.1.8.10/1/DataFiles/Expanded/jre/solaris/bin/../lib/i386/native_threads/libawt.so: symbol XShmQueryExtension: referenced symbol not found (/ora_inst/install/../stage/Components/oracle.swd.jre/1.1.8.10/1/DataFiles/Expanded/jre/solaris/bin/../lib/i386/native_threads/libawt.so)
java.lang.UnsatisfiedLinkError:try this:
LD_PRELOAD="libX11.so libXext.so" ; export LD_PRELOAD
./runInstaller -
I am trying (and failing) to utilize large page sizes on a Solaris 9 machine.
# uname -a
SunOS machinename.lucent.com 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Blade-1000
I am using as my reference "Supporting Multiple Page Sizes in the Solaris� Operating System" http://www.sun.com/blueprints/0304/817-6242.pdf
and
"Taming Your Emu to Improve Application Performance (February 2004)"
http://www.sun.com/blueprints/0204/817-5489.pdf
The machine claims it supports 4M page sizes:
# pagesize -a
8192
65536
524288
4194304
I've written a very simple program:
main()
int sz = 10*1024*1024;
int x = (int)malloc(sz);
print_info((void**)&x, 1);
while (1) {
int i = 0;
while (i < (sz/sizeof(int))) {
x[i++]++;
I run it specifying a 4M heap size:
# ppgsz -o heap=4M ./malloc_and_sleep
address 0x21260 is backed by physical page 0x300f5260 of size 8192
pmap also shows it has an 8K page:
pmap -sx `pgrep malloc` | more
10394: ./malloc_and_sleep
Address Kbytes RSS Anon Locked Pgsz Mode Mapped File
00010000 8 8 - - 8K r-x-- malloc_and_sleep
00020000 8 8 8 - 8K rwx-- malloc_and_sleep
00022000 3960 3960 3960 - 8K rwx-- [ heap ]
00400000 6288 6288 6288 - 8K rwx-- [ heap ]
(The last 2 lines above show about 10M of heap, with a pgsz of 8K.)
I'm running this as root.
In addition to the ppgsz approach, I have also tried using memcntl and mmap'ing ANON memory (and others). Memcntl gives an error for 2MB page sizes, but reports success with a 4MB page size - but still, pmap reports the memcntl'd memory as using an 8K page size.
Here's the output from sysinfo:
General Information
Host Name is machinename.lucent.com
Host Aliases is loghost
Host Address(es) is xxxxxxxx
Host ID is xxxxxxxxx
/opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
Manufacturer is Sun (Sun Microsystems)
/opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
/opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
System Model is Blade 1000
/opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
ROM Version is OBP 4.10.11 2003/09/25 11:53
Number of CPUs is 2
CPU Type is sparc
App Architecture is sparc
Kernel Architecture is sun4u
OS Name is SunOS
OS Version is 5.9
Kernel Version is SunOS Release 5.9 Version Generic_112233-11 [UNIX(R) System V Release 4.0]
/opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
Kernel Information
/opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
SysConf Information
Max combined size of argv[] and envp[] is 1048320
Max processes allowed to any UID is 29995
Clock ticks per second is 100
Max simultaneous groups per user is 16
Max open files per process is 256
System memory page size is 8192
Job control supported is TRUE
Savid ids (seteuid()) supported is TRUE
Version of POSIX.1 standard supported is 199506
Version of the X/Open standard supported is 3
Max log name is 8
Max password length is 8
Number of processors (CPUs) configured is 2
Number of processors (CPUs) online is 2
Total number of pages of physical memory is 262144
Number of pages of physical memory not currently in use is 4368
Max number of I/O operations in single list I/O call is 4096
Max amount a process can decrease its async I/O priority level is 0
Max number of timer expiration overruns is 2147483647
Max number of open message queue descriptors per process is 32
Max number of message priorities supported is 32
Max number of realtime signals is 8
Max number of semaphores per process is 2147483647
Max value a semaphore may have is 2147483647
Max number of queued signals per process is 32
Max number of timers per process is 32
Supports asyncronous I/O is TRUE
Supports File Synchronization is TRUE
Supports memory mapped files is TRUE
Supports process memory locking is TRUE
Supports range memory locking is TRUE
Supports memory protection is TRUE
Supports message passing is TRUE
Supports process scheduling is TRUE
Supports realtime signals is TRUE
Supports semaphores is TRUE
Supports shared memory objects is TRUE
Supports syncronized I/O is TRUE
Supports timers is TRUE
/opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
Device Information
SUNW,Sun-Blade-1000
cpu0 is a "900 MHz SUNW,UltraSPARC-III+" CPU
cpu1 is a "900 MHz SUNW,UltraSPARC-III+" CPU
Does anyone have any idea as to what the problem might be?
Thanks in advance.
MikeI ran your program on Solaris 10 (yet to be released) and it works.
Address Kbytes RSS Anon Locked Pgsz Mode Mapped File
00010000 8 8 - - 8K r-x-- mm
00020000 8 8 8 - 8K rwx-- mm
00022000 3960 3960 3960 - 8K rwx-- [ heap ]
00400000 8192 8192 8192 - 4M rwx-- [ heap ]
I think you don't this patch for Solaris 9
i386 114433-03
sparc 113471-04
Let me know if you encounter problem even after installing this patch.
Saurabh Mishra -
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/ -
ASM Instance down in Solaris due to missing ocr.loc file
We had to restart our solaris machine due to a hardware failure.
When i tried to start to ASM instance, i got the error.
SQL> startup mount;
ORA-29701: unable to connect to Cluster Manager
The css daemons were not started. I checked it using
$ ps -ef | grep css
After logging in as ROOT and setting Oracle's bin directory in its path, i tried to run
#./localconfig . But i didn't succeed.
Then I came to know that you can start css by executing init.cssd script in ($ORACLE_HOME/css/admin)
/u01/oracle/10g/css/admin
$ ./init.cssd start
./init.cssd: /var/opt/oracle/ocr.loc: cannot open
There is no such file called ocr.loc in this location. I confirmed it by
So I looked for /var/opt/oracle/ocr.loc
$ file /var/opt/oracle/ocr.loc
/var/opt/oracle/ocr.loc: cannot open: No such file or directory
What do i do?Boutet,
Before you go ahead and restore the OCR, for that matter even to restore it successfully, you would need to restore/recreate the file /var/opt/oracle/ocr.loc. This file has the location of the OCR file, without this file, you will not be able to restore the OCR.
The contents of the ocr.loc file would be something like this (I am including this information so that you may like to use it to recreate the file, in case you lost the original one).
cat /etc/oracle/ocr.loc
ocrconfig_loc=/<path>/cdata/localhost/local.ocr
local_only=TRUE
Hope this help.
Thanks
Chandra Pabba -
WARNING: init(1M) exited on fatal signal 11: restarting automatically
Hi,
Today I did a blunder.
I had to apply the patch "121208-02 SunOS 5.10_x86: ld & libc.so.1 Patch" .
I downloaded it from www.sunsolve.sun.com.
It was downloaded to /tmp/patches and unziped. After this I entered the following command:
pkgadd -d /tmp/patches/121208-02
instead of
patchadd /tmp/patches/121208-02 121208-02
I answered to install all of the below packages when asked.
1 SUNWbtool CCS tools bundled with SunOS
(i386) 11.10.0,REV=2005.01.21.16.34
2 SUNWcsl Core Solaris, (Shared Libs)
(i386) 11.10.0,REV=2005.01.21.16.34
3 SUNWcslr Core Solaris Libraries (Root)
(i386) 11.10.0,REV=2005.01.21.16.34
4 SUNWcsr Core Solaris, (Root)
(i386) 11.10.0,REV=2005.01.21.16.34
5 SUNWcsu Core Solaris, (Usr)
(i386) 11.10.0,REV=2005.01.21.16.34
6 SUNWhea SunOS Header Files
(i386) 11.10.0,REV=2005.01.21.16.34
7 SUNWtoo Programming Tools
(i386) 11.10.0,REV=2005.01.21.16.34
It threw the below error message:
Installing Core Solaris Libraries (Root) as <SUNWcslr>
## Executing preinstall script.
## Installing part 1 of 1.
Segmentation Fault - core dumped
Segmentation Fault - core dumped
Segmentation Fault - core dumped
pkgadd: ERROR: Unable to release package administration lock for this system; try again later
pkgadd: ERROR: Unable to release package administration lock for this system; try again later
-bash-3.00# man init
Segmentation Fault (core dumped)
-bash-3.00# init 1
Segmentation Fault (core dumped)
-bash-3.00# shutdown -r now
Segmentation Fault (core dumped)
I powered off the server and powered on. Now I am unable to boot, even in single user mode
It is giving the message:
WARNING: init(1M) exited on fatal signal 11: restarting automatically
I agree, I was out of my mind, but please suggest a way to restore my system.
Thanks & RegardsWhat about booting into single-user mode from network or cdrom, mount your root filesystem and then add the patch using patchadd -R?
7/M. -
Hi All,
I'm Trying to Install A solaris 9 I386 on a Virtual PC.
When boot using the Installation CD Setup loop on configuration Assistant and installation is not possible.
When I'm using installation softaware CD1 I'm hanging after the interactive (or jumpstart) choice. A white screen appear and nothing happen more.
I try to boot using b kadb -v to have more information but I don't understand what happen .
Please find following the trace I receive . If anybody have and idea .... Thanks in advance
Select type of installation: b kadb -v
Boot file: kadb
Arguments: kernel/unix -v
Size: 273739 + 21920 + 150160 Bytes
/platform/i86pc/kernel/unix loaded - 0xab000 bytes used
SunOS Release 5.9 Version Generic_112234-03 32-bit
Copyright 1983-2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using default device instance data
ACPI detected: -1 0 0 0
mem = 523836K (0x1ff8f000)
avail mem = 510320640
root nexus = i86pc
pci0 at root: space 0 offset 0
pci0 is /pci@0,0
IDE device at targ 0, lun 0 lastlun 0x0
model Virtual HD, stat 50, err 0
cfg 0x45a, cyl 12190, hd 16, sec/trk 63
mult1 0x8080, mult2 0x180, dwcap 0x0, cap 0xf00
piomode 0x200, dmamode 0x200, advpiomode 0x3
minpio 333, minpioflow 120
valid 0x3, dwdma 0x407, majver 0x0
PCI-device: ide@0, ata0
ata0 is /pci@0,0/pci-ide@7,1/ide@0
ATAPI device at targ 0, lun 0 lastlun 0x0
model Virtual CD, stat 50, err 0
cfg 0x85c0, cyl 0, hd 0, sec/trk 0
mult1 0x0, mult2 0x180, dwcap 0x0, cap 0x300
piomode 0x200, dmamode 0x200, advpiomode 0x3
minpio 508, minpioflow 180
valid 0x3, dwdma 0x407, majver 0x0
PCI-device: ide@1, ata1
ata1 is /pci@0,0/pci-ide@7,1/ide@1
sd0 at ata1: target 0 lun 0
sd0 is /pci@0,0/pci-ide@7,1/ide@1/sd@0,0
root on /pci@0,0/pci-ide@7,1/ide@1/sd@0,0:a fstype ufs
isa0 at root
NOTICE: Kernel debugger present: disabling console power management.
8042 device: keyboard@0, kb8042 # 0
kb80420 is /isa/i8042@1,60/keyboard@0Please give more info, so I could give some advice.
-
Strange pkg-get problem help!!
Hello all,
I am trying to update my pkg-get catalog and I get the following error. Its a fresh install from a day ago.
# /opt/csw/bin/pkg-get -U
WARNING: gpg not found
Getting catalog...
--12:44:38-- http://www.ibiblio.org/pub/packages/solaris/csw/i386/5.10/catalog
=> `catalog'
Resolving www.ibiblio.org... 152.46.7.80
Connecting to www.ibiblio.org[152.46.7.80]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
12:44:40 ERROR 404: Not Found.
ERROR: could not get catalog file
Looks like the catalog file does not exist on the host. How can I change the path to the catalog file?
Cheers,
RobVery strange,
The catalog path when launching the pkg-get -U is : http://www.ibiblio.org/pub/packages/solaris/csw/i386/5.10/catalog
In my /opt/csw/etc/pkg-get.conf . Looks like its getting the catalog path from somewhere else?
#pwd
# /opt/csw/etc
# cat pkg-get.conf
# Configuration file for "pkg-get"
# man pkg-get for details on the program
# This config file has been pre-customized for use with CSW packages.
# The latest set of CSW mirrors is always available at
# http://www.blastwave.org/mirrors.html
# default site, in USA:
url=http://usesolaris.org/pub/csw/unstable/
# secondary US mirror
#url=http://mirrors.usc.edu/pub/blastwave/unstable
url=http://www.ibiblio.org/pub/packages/solaris/csw
# See above url for other sites to use.
# If you are behind a firewall, set one of these as appropriate
#ftp_proxy=http://your-proxy:8023
#http_proxy=http://your-proxy:8023
#export http_proxy ftp_proxy
# You may also set PROXYFLAGS in your environment to set flags
# for wget like
# export PROXYFLAGS="--proxy-user=xxxx --proxy-passwd=yyy"
# Or set them here. but make sure the perms are readable.
# And consider that anyone on the machine can check your environment
# and grab the user/password combo.
# Solaris 10: If you wish to limit pkg-get to installing packages
# ONLY to the global zone, then uncomment this line
#PKGADDFLAGS=-G
# pkg-get now defaults to downloading to /var/pkg-get/downloads
# If you'd like it somewhere else, change it here
# PKGGET_DOWNLOAD_DIR=/some/large/dir/pkg-get
# By default, pkg-get keeps downloaded files, in PKGGET_DOWNLOAD_DIR,
# but removes them once they have been successfully pkgadd'd to the system.
# IF you set the following var to something, it will keep the
# downloaded file around, even after add.
#PKGGET_CACHE_FILES=true
# To disable use of gpg or md5, uncomment these
#use_gpg=false
#use_md5=false
# -
Production Environment for weblogic
Hi ,
I like to know , is it possible to run weblogic on solaris of I386(Intel
3).
Please help me some one.
Thanks,
SenthilThat configuration is currently not supported. If you would like to have it
supported, you should lobby your account manager.
Michael Girdley
WLS Product Manager
Senthil <[email protected]> wrote in message
news:[email protected]..
Hi ,
I like to know , is it possible to run weblogic on solaris of I386(Intel
3).
Please help me some one.
Thanks,
Senthil -
Urgent help oracle 9i on redhat el3 AS
ive tried to install oracle 9i on redhat el3 AS all the kernel parameters has been changed as given in
http://www.oracle-base.com/articles/9i/Oracle9iInstallationOnRedHatAS3.php
and i set the my enironment variable in oracle.bash_profile as
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/9.2.0.1.0; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=$ORACLE_HOME/bin:$PATH; export PATH
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_SID=TSH1; export ORACLE_SID
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib; export CLASSPATH
LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
touch /var/run/console/oracle
chmod 600 /var/run/console/oracle
xhost+172.xx.xx.xx:0.0
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
after checking with set | more i had result
~
[oracle@solar oracle]$ vi .bash_profile
[oracle@solar oracle]$ se | more
bash: se: command not found
[oracle@solar oracle]$ set | more
BASH=/bin/bash
BASH_ENV=/root/.bashrc
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i386-redhat-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
COLORS=/etc/DIR_COLORS.xterm
COLORTERM=gnome-terminal
COLUMNS=80
DIRSTACK=()
DISPALY=172.17.0.153
DISPLAY=:0.0
EUID=502
GDMSESSION=Default
GNOME_DESKTOP_SESSION_ID=Default
GROUPS=()
GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2
G_BROKEN_FILENAMES=1
HISTFILE=/home/oracle/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=solar
HOSTTYPE=i386
IFS=$' \t\n'
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LANGVAR=en_US.UTF-8
LESSOPEN='|/usr/bin/lesspipe.sh %s'
LINES=32
LOGNAME=oracle
LS_COLORS='no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:'
MACHTYPE=i386-redhat-linux-gnu
MAIL=/var/spool/mail/root
MAILCHECK=60
OLDPWD=/
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
PIPESTATUS=([0]="0")
PPID=4670
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'
PS1='[\u@\h \W]\$ '
PS2='> '
PS4='+ '
PWD=/home/oracle
QTDIR=/usr/lib/qt-3.1
SESSION_MANAGER=local/solar:/tmp/.ICE-unix/3990
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=3
SSH_AGENT_PID=4056
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-TDmv3990/agent.3990
SUPPORTED=en_US.UTF-8:en_US:en
TERM=xterm
UID=502
USER=oracle
USERNAME=root
WINDOWID=29391105
XAUTHORITY=/root/.Xauthority
XMODIFIERS=@im=none
_=
i=/etc/profile.d/which-2.sh
when i try to install the following error
[oracle@solar Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2005-05-03_11-23-56PM/jre/bin/java. Please wait...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.<init>(Window.java:188)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:262)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)Run the "xhost +" command as root before you run the installer.
-
ERROR when configuring zone clusters
Hi,
I have installed:
Oracle Solaris 10 9/10 s10x_u9wos_14a X86
Sun Cluster 3.2u3 for Solaris 10 i386
And I have my public network on the 11.0.0.0/24 network on e1000g2 on both nodes
vm1:
e1000g2: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER> mtu 1500 index 2
inet 11.0.0.101 netmask ffffff00 broadcast 11.0.0.255
groupname sc_ipmp0
ether 8:0:27:6:df:2b
vm2:
e1000g2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 11.0.0.102 netmask ffffff00 broadcast 11.0.0.255
groupname sc_ipmp0
ether 8:0:27:1d:69:a9
I am configuring a zone cluster with this config file:
#cat zonecreate.file
create -b
set zonepath=/zones/clzone1
set brand=cluster
set enable_priv_net=true
set autoboot=true
set ip-type=shared
add node
set physical-host=vm1
set hostname=clzone1
add net
set address=11.0.0.130
set physical=e1000g2
end
end
add sysid
set system_locale=C
set terminal=xterm
set security_policy=NONE
set nfs4_domain=dynamic
set timezone=MET
set root_password=/LB7sdasada
end
add node
set physical-host=vm2
set hostname=clzone2
add net
set address=11.0.0.131
set physical=e1000g2
end
end
commit
exit
# clzc configure -f zonecreate.file zc1
On line 32 of zonecreate.file:
zc1: CCR transaction error
Failed to assign a subnet for zone zc1.
zc1: failed to verify
zc1: CCR transaction error
zc1: CCR transaction error
Failed to assign a subnet for zone zc1.
zc1: failed to verify
zc1: CCR transaction error
Configuration not saved.
Any idea where the error is coming from ?Hi,
Thanks for your quick answer. I tried no luck..., just to point out I have normal native zone working ok on the same node:
[root@vm2:/zones]# zoneadm list -cv (10-14 16:47)
ID NAME STATUS PATH BRAND IP
0 global running / native shared
1 zone1 running /zones/zone1 native shared
Modified the File:
create -b
set zonepath=/zones/clzone1
set brand=cluster
set enable_priv_net=true
set autoboot=true
set ip-type=shared
add node
set physical-host=vm1
set hostname=clzone1
add net
set address=11.0.0.130/24
set physical=e1000g2
end
end
add sysid
set system_locale=C
set terminal=xterm
set security_policy=NONE
set nfs4_domain=dynamic
set timezone=MET
set root_password=/LB7qgfbUTwks
end
add node
set physical-host=vm2
set hostname=clzone2
add net
set address=11.0.0.131/24
set physical=e1000g2
end
end
commit
exit
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"zonecreate.file" 33 lines, 512 characters
[root@vm2:/zones]# clzc configure -f zonecreate.file zc1 (10-14 16:46)
On line 32 of zonecreate.file:
zc1: CCR transaction error
Failed to assign a subnet for zone zc1.
zc1: failed to verify
zc1: CCR transaction error
zc1: CCR transaction error
Failed to assign a subnet for zone zc1.
zc1: failed to verify
zc1: CCR transaction error
Configuration not saved.
[root@vm2:/zones]# (10-14 16:46)
[root@vm2:/zones]# cat /etc/netmasks (10-14 16:46)
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
# network-number netmask
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
# 128.32.0.0 255.255.255.0
11.0.0.0 255.255.255.0
a full ifconfig, in case it helps:
[root@vm2:/zones]# ifconfig -a (10-14 16:46)
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
zone zone1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 5
inet 172.16.0.130 netmask ffffff80 broadcast 172.16.0.255
ether 8:0:27:b2:3d:f
e1000g1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
inet 172.16.1.2 netmask ffffff80 broadcast 172.16.1.127
ether 8:0:27:25:f5:c8
e1000g2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 11.0.0.102 netmask ffffff00 broadcast 11.0.0.255
groupname sc_ipmp0
ether 8:0:27:1d:69:a9
e1000g2:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet 11.0.0.110 netmask ffffff00 broadcast 11.0.0.255
e1000g2:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
zone zone1
inet 11.0.0.107 netmask ffffff00 broadcast 11.0.0.255
e1000g2:3: flags=1001040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,FIXEDMTU> mtu 1500 index 2
inet 11.0.0.105 netmask ffffff00 broadcast 11.0.0.255
e1000g3: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 3
inet 11.0.0.111 netmask ffffff00 broadcast 11.0.0.255
groupname sc_ipmp0
ether 8:0:27:9e:57:93
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 6
inet 172.16.4.2 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:2
clprivnet0:1: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 6
zone zone1
inet 172.16.4.66 netmask fffffe00 broadcast 172.16.5.255
Thnx again -
As oracle says voting disk is used for avoiding split brain syandrome.
Can any one please explain me in details how voting disk is used for avoiding split brain syndrome.
Can i use Solaris ipmp concept to avoid interconnect failure and split brain syandrome...if yes then why to use voting disk
Regards,
Yasser.The oracle clusterware is responsible for maintaining cluster health.
In order to do so, the cluster daemons keep track of local and remote health.
Local health means the cluster deamons can use a kernel module to see if it got 'lost time' which means the system is too busy (and can stable in a cluster). Also if the machine can not write to the voting disk, the machine is rebooted to avoid erroneous writings to disks. the rebooting is called 'stonith' (shoot the other node in the head) and the prevention of writing erroneous information is called 'fencing'.
Remote health is determined by sending network packets through the private network, and by writing in the voting disk or voting disks.
Also, the machines in a cluster do a voting every time the number of machines in a cluster modifies, and determine a master. The results of the voting a written to the voting disk, and every machine in the cluster keeps on writing it is still available in the cluster. that way a dead machine can be both by the network and by looking at the voting disk.
If the network between two machines in a cluster is disturbed, the cluster is said to have a 'split brain'.
Because of the voting disk or disks, the split brain can be solved by the master by terminating the other or others.
Since oracle 10, the only clusterware supported for RAC is the oracle clusterware. the network and voting disk are mandatory components in oracle clusterware.
this means the voting disk is needed, even with ip multipathing (ipmp)
Maybe you are looking for
-
Why can't I shut down my MacBook unless I hold down the power key?
Hi all, I have had this problem my MacBook Pro using both Leopard and Jaguar. It is a problem when I shut down using either the drop down menu or by the power key menu. It appears to shut down but when I close the lid the "sleep" light comes on and i
-
JVM Coredump with libengine.so as the problematic frame
Hi Experts, Our application is running over Tuxedo 9.0, and JVM 1.5.0_07-b03 mixed mode. We are experiencing coredumps frequently in production environment. The hs_err file shows the following information: # An unexpected error has been detected by H
-
Why won't my computer download Firefox?
I am unable to download Firefox. The window opens, I click on the "free download". A security scan is run, and then it shows that Firefox is downloading. The install wizard window never appears, etc. I had Firefox on the computer, but it said it "cra
-
Guys, I am trying to upload a new document using PRC API's. Below is required code snippet that i am using. IRemoteDocument remoteDoc = documentManager.createRemoteDocument(folderID,dataSourceID,document.getPath()); remoteDoc.setOverrideName(document
-
Itouch events become Outlook meetings after synching
I'm having a nagging little problem with my calendar. I create an event on the touch but after synching with Outlook 2007, it becomes a meeting in the calendar. If I open it, it wants me to invite someone and send an update. I had someone else who wo