Libc/stdio bug in Solaris!?

Hello,
I was testing the following code using gcc + cc on Solaris 10 x86 & Solaris 8 sparc, both times it breaks. It breaks inside a call to fprintf. According to the man-pages I should not do a read after write without a flush/position change (which is done). I should not do a write after read without a position change or if the input reached the end of the file (which is the case here). So I assume that either I overlooked something or there is a subtle bug in the implementation stdio.
Greeting
Matthias Kretschmer
The "bad guy":
#include <stdlib.h>
#include <stdio.h>
int
main(int argc, char **argv)
FILE *fp;
int i, j, k;
int values[37];
char buf[256];
/* initialize values to bullshit */
for (i=0; i<37; i++)
values[i] = rand() % 32;
/* open file */
if ((fp = fopen("test.txt", "a+")) == NULL) {
perror("fopen");
exit(1);
/* loop to write and then read all */
for (j=0; j<100; j++) {
printf("j=%d\n", j);
/* loop for writing all */
for (i=0; i<10000; i++) {
for (k=0; k<37; k++)
if (fprintf(fp, " %d", values[k]) < 0) {
perror("fprintf");
exit(1);
if (fprintf(fp, "\n") < 0) {
perror("fprintf");
exit(1);
printf("write done\n");
/* seek to beginning */
if (fseek(fp, 0, SEEK_SET) < 0) {
perror("fseek");
exit(1);
printf("seek done\n");
/* read in everything */
while (fgets(buf, 256, fp) != NULL) ;
/* with the following code it doesn't crash for me on Solaris */
#if 0
if (fseek(fp, 0, SEEK_END) < 0) {
perror("fseek");
exit(1);
#endif
printf("read done\n");
}

Hello.
Please try if the "printf("seek done\n");" line has been reached by adding an "fflush(stdout);" after that line - otherwise you will not get the message if the program crashes. (If the program crashes the data written by successful fprintf()s will also be gone.)
Maybe the "fgets(buf, 256, fp)" is the problem because buf is 256 bytes long - but it must be 257 (258 ?) bytes long due to the trailing NUL byte.
Martin

Similar Messages

  • 64-bit libC.so.5 in Solaris 9

    Any alternative for the 64-bit libC.so.5 in Solaris 9? I could not find in in the directory /usr/lib/sparcv9. Or any patch or new packages should I install? Thanks,
    Qinghuai

    Library libC.so.5 provides the runtime support for code compiled by C++ 4.x, or by C++ 5.x using the -compat=4 option. Neither C++ 4.x nor C++ 5.x in compatibility mode generates 64-bit code. That's why there is no 64-bit version of libC.so.5.
    I sometimes see old makefiles or scripts left over from C++ 4.x days that use the -lC option (link with libC.so) explicitly. When you try to use -lC with -xarch=v9, the link fails because there is no 64-bit libC.
    The option -lC is not appropriate when using C++ 5.x in default standard mode, because that library cannot be used with standard-mode code.
    If you are building an executable, do not use -l options for the standard support libraries. The CC driver will link the appropriate libraries automatically for you, based on the other options you supply, such as -library=xxx or -xia or -compat=xxx options.
    If you are building a shared library, you need to mention any shared libraries that you want your library to depend on. You can use the -library=xxx option, or -l options. The -library=xxx option is usually more convenient, because the CC driver adjusts automatically for other options that might affect which library version you need.
    In default standard mode, basic C++ runtime support is in library libCrun. If you want a shared library to depend on libCrun, you can add "-library=Crun" or "-lCrun" to the "CC -G" command line.

  • F90 bug on solaris x86

    Hello,
    I have a short code to show a curious bug on solaris x86 when i compil it with f90 -O3.
    Where can i send it to show this bug ?
    Thanks

    The bug ID for this problem is 6413443. It has been fixed in both the development release and the patch release. Fix should be available in the upcoming patches for Studio 11 and in the next release of Sun Studio Express - SSX3.
    Best regards,
    Boris

  • TextArea bug on Solaris

    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4972534
    My app is getting hit by this bug on Solaris - Java Plugin Version is
    1.5.0_01.
    My component is a TextArea not a TextField, but I am still getting hit
    by it.
    The workaround given on the webpage works - i.e. clicking on the Java
    Console & then on my textArea gives it keyboard focus - but it has to
    be done everytime - i.e. if you click elsewhere & lose focus again, the
    workaround has to be repeated before you can edit the textarea - this
    isn't a good workaround, IMHO.
    Does anyone know any better workarounds, mitigations.
    The page says
    "This bug had been fixed on JRE1.5.0_beat2-b37 on Solaris10-b51."
    What is JRE1.5.0_beat2-b37? Is it downloadable?

    The bug ID for this problem is 6413443. It has been fixed in both the development release and the patch release. Fix should be available in the upcoming patches for Studio 11 and in the next release of Sun Studio Express - SSX3.
    Best regards,
    Boris

  • BIA 7.9.5 - DAC Server keeps crashing - libc.so SIGBUS error (Solaris)

    Can you help me solving the following issue or provide me hints please?
    At the customer site we have BIA 7.9.5 running on Solaris 10 (SPARC). Unfortunately, the DAC server is crashing quite frequently with the following error:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGBUS (0xa) at pc=0xff256514, pid=14595, tid=443
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_16-b02 mixed mode)
    # Problematic frame:
    # C [libc.so.1+0x56514]
    (See below, one of many crash logs…)
    Reconstruction:
    The dac server is started with the OOTB startserver.sh command. A custom execution plan is started. After a while and completely random a (random) workflows fail with the DAC logging as shown below. So, it has nothing to do with a specific workflow. Restarting the DAC server and restarting the execution plan makes the DAC server to continue the execution plan.
    The consistent part is the ‘SIGBUS’ error referring to libc.so.1. The number behind it (memory address?) differs per crash.
    Specifications:
    •     Solaris (5.)10 64b SPARC (Solaris 10 5/08 s10s_u5wos_10 SPARC)
    •     DAC 10.1.3.4.1 (updated with patch 6849481)
    •     Informatica 8.1.1 SP5
    DAC server log:
    <DAC running fine…>
    ***snip***
    Feb 5, 2010 10:20:16 AM com.siebel.etl.engine.core.AttachToInformaticaProcess executeWorkFlow
    SEVERE: pmcmd startworkflow -u Administrator -p **** -s sz0061.app.gen.local:5105 -f SDE_SBL_Vert_80_Adaptor -lpf /tools/informatica/PowerCenter8.1.1/server/infa_shared/SrcFiles/SDE_SBL_Vert_80_Adaptor.SDE_SalesStageDimension.txt SDE_SalesStageDimension
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    81 SEVERE Fri Feb 05 10:20:16 CET 2010 Request to start workflow : 'SDE_SBL_Vert_80_Adaptor:SDE_ProductCategoryDimension' has completed with error code 0
    Feb 5, 2010 10:20:16 AM global
    SEVERE: Request to start workflow : 'SDE_SBL_Vert_80_Adaptor:SDE_ProductCategoryDimension' has completed with error code 0
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGBUS (0xa) at pc=0xff257028, pid=8047, tid=660
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_16-b02 mixed mode)
    # Problematic frame:
    # C [libc.so.1+0x57028]
    # An error report file with more information is saved as hs_err_pid8047.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    TIA,
    Greg
    hs_err_picXXXXX.log in the DAC directory
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGBUS (0xa) at pc=0xff256514, pid=14595, tid=443
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_16-b02 mixed mode)
    # Problematic frame:
    # C [libc.so.1+0x56514]
    --------------- T H R E A D ---------------
    Current thread (0x014b4950): JavaThread "SESSION: VisibilityAccountParty" [_thread_in_native, id=443]
    siginfo:si_signo=10, si_errno=0, si_code=1, si_addr=0x68a8bd8b
    Registers:
    O0=0x00000000 O1=0x00000000 O2=0x000d90ac O3=0xff2c1e40
    O4=0xff3303a8 O5=0xff3392a4 O6=0xb797dc58 O7=0xff2564a4
    G1=0xff25638c G2=0x00000001 G3=0x00001ffc G4=0x0052d254
    G5=0xff030fa0 G6=0x00000000 G7=0xc1fc6a00 Y=0x00000000
    PC=0xff256514 nPC=0xff2564d8
    Top of Stack: (sp=0xb797dc58)
    0xb797dc58: 000000a8 019f58a8 68a8bd8b 00000041
    0xb797dc68: 00000041 022c8530 ffffdc00 ff3392a4
    0xb797dc78: 00000040 00000000 0067bb30 ff2563a0
    0xb797dc88: 68a8bd8b ff2563a0 b797dcb8 ff256394
    0xb797dc98: 65637469 6e672066 726f6d20 496e7465
    0xb797dca8: 67726174 696f6e20 53657276 6963650a
    0xb797dcb8: 0050adc4 0050a9d8 00000042 0050aa18
    0xb797dcc8: c1fc6a00 000000a8 ff0310b8 0060f22a
    Instructions: (pc=0xff256514)
    0xff256504: 02 80 00 0c 80 a6 a0 00 a4 10 00 1c 10 bf ff f2
    0xff256514: e8 04 a0 00 ea 04 a0 18 80 a5 60 00 02 80 00 05
    Stack: [0xb7900000,0xb7980000), sp=0xb797dc58, free space=503k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libc.so.1+0x56514]
    C [libc.so.1+0x5639c] malloc+0x54
    C [libzip.so+0x2d18]
    C [libzip.so+0x2af8] ZIP_GetEntry+0xe0
    C [libzip.so+0x348c] Java_java_util_zip_ZipFile_getEntry+0xc4
    J java.util.zip.ZipFile.getEntry(JLjava/lang/String;Z)J
    J sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
    J sun.misc.URLClassPath.findResource(Ljava/lang/String;Z)Ljava/net/URL;
    v ~I2CAdapter
    j java.net.URLClassLoader$2.run()Ljava/lang/Object;+12
    v ~StubRoutines::call_stub
    V [libjvm.so+0x19b65c]
    V [libjvm.so+0x225ea0]
    C [libjava.so+0xf7bc] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2Ljava_security_AccessControlContext_2+0x1c
    j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
    j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
    j java.net.URLClassLoader.findResource(Ljava/lang/String;)Ljava/net/URL;+13
    j java.lang.ClassLoader.getResource(Ljava/lang/String;)Ljava/net/URL;+30
    j java.lang.ClassLoader.getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;+2
    j javax.xml.parsers.SecuritySupport$4.run()Ljava/lang/Object;+26
    v ~StubRoutines::call_stub
    V [libjvm.so+0x19b65c]
    V [libjvm.so+0x225ea0]
    C [libjava.so+0x9c2c] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x1c
    j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+1
    j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
    j javax.xml.parsers.SecuritySupport.getResourceAsStream(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;+10
    v ~C2IAdapter
    J javax.xml.parsers.FactoryFinder.findJarServiceProvider(Ljava/lang/String;)Ljava/lang/Object;
    v ~I2CAdapter
    j javax.xml.parsers.FactoryFinder.find(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;+291
    j javax.xml.parsers.DocumentBuilderFactory.newInstance()Ljavax/xml/parsers/DocumentBuilderFactory;+4
    j com.siebel.etl.parser.OutputParser.execute()Z+13
    j com.siebel.etl.engine.core.AttachToInformaticaProcess.executeWorkFlow(I)I+947
    j com.siebel.etl.engine.core.Session$Task.executeThisSession()Z+503
    j com.siebel.etl.engine.core.Session$Task.execute()V+149
    j com.siebel.etl.engine.core.Session.executeTasks()Z+876
    j com.siebel.etl.engine.core.Session.run()V+308
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    V [libjvm.so+0x19b65c]
    V [libjvm.so+0x2c0794]
    V [libjvm.so+0x2dfd7c]
    V [libjvm.so+0x2db918]
    V [libjvm.so+0x67cef0]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    J java.util.zip.ZipFile.getEntry(JLjava/lang/String;Z)J
    J sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
    J sun.misc.URLClassPath.findResource(Ljava/lang/String;Z)Ljava/net/URL;
    v ~I2CAdapter
    j java.net.URLClassLoader$2.run()Ljava/lang/Object;+12
    v ~StubRoutines::call_stub
    j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
    j java.net.URLClassLoader.findResource(Ljava/lang/String;)Ljava/net/URL;+13
    j java.lang.ClassLoader.getResource(Ljava/lang/String;)Ljava/net/URL;+30
    j java.lang.ClassLoader.getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;+2
    j javax.xml.parsers.SecuritySupport$4.run()Ljava/lang/Object;+26
    v ~StubRoutines::call_stub
    j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
    j javax.xml.parsers.SecuritySupport.getResourceAsStream(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;+10
    v ~C2IAdapter
    J javax.xml.parsers.FactoryFinder.findJarServiceProvider(Ljava/lang/String;)Ljava/lang/Object;
    v ~I2CAdapter
    j javax.xml.parsers.FactoryFinder.find(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;+291
    j javax.xml.parsers.DocumentBuilderFactory.newInstance()Ljavax/xml/parsers/DocumentBuilderFactory;+4
    j com.siebel.etl.parser.OutputParser.execute()Z+13
    j com.siebel.etl.engine.core.AttachToInformaticaProcess.executeWorkFlow(I)I+947
    j com.siebel.etl.engine.core.Session$Task.executeThisSession()Z+503
    j com.siebel.etl.engine.core.Session$Task.execute()V+149
    j com.siebel.etl.engine.core.Session.executeTasks()Z+876
    j com.siebel.etl.engine.core.Session.run()V+308
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x020a7748 JavaThread "SESSION: SIL_CopyListOfValuesToOLTP" [_thread_in_Java, id=536]
    0x008b0ae8 JavaThread "XTask Processing Thread: [CREATE INDEX, DataWarehouse]::XThread-24" [_thread_in_native, id=535]
    0x01684268 JavaThread "XTask Processing Thread: [CREATE INDEX, DataWarehouse]::XThread-23" [_thread_in_native, id=534]
    0x019f3288 JavaThread "SESSION: VisibilityContactParty" [_thread_in_Java, id=518]
    0x00fce3b0 JavaThread "SESSION: VisibilityOpportunityParty" [_thread_blocked, id=493]
    0x013dc6f8 JavaThread "SESSION: VisibilitySegmentParty" [_thread_blocked, id=444]
    =>0x014b4950 JavaThread "SESSION: VisibilityAccountParty" [_thread_in_native, id=443]
    0x00e4f260 JavaThread "XThread-22" [_thread_blocked, id=442]
    0x0138db40 JavaThread "SESSION: VisibilityOrderParty" [_thread_in_native, id=441]
    0x0157ce68 JavaThread "SESSION: VisibilityQuoteParty" [_thread_in_native, id=440]
    0x0097f450 JavaThread "SESSION: SDE_CostList_LoadCosts" [_thread_in_vm, id=435]
    0x008edca8 JavaThread "XThread-21" [_thread_blocked, id=433]
    0x014a2d28 JavaThread "SESSION: FINS_VisibilityClaimParty" [_thread_blocked, id=409]
    0x016ba380 JavaThread "SESSION: FINS_VisibilityAssetParty" [_thread_blocked, id=365]
    0x00eed888 JavaThread "XThread-20" [_thread_blocked, id=319]
    0x00eed6c0 JavaThread "XThread-19" [_thread_blocked, id=318]
    0x017fcef8 JavaThread "XThread-18" [_thread_blocked, id=317]
    0x00a508c8 JavaThread "XThread-17" [_thread_blocked, id=316]
    0x00859db8 JavaThread "XThread-16" [_thread_blocked, id=315]
    0x012b47e0 JavaThread "XThread-15" [_thread_blocked, id=314]
    0x003d8f20 JavaThread "XThread-14" [_thread_blocked, id=313]
    0x014bd7c8 JavaThread "XThread-13" [_thread_blocked, id=312]
    0x017be948 JavaThread "XThread-12" [_thread_blocked, id=311]
    0x0116bf00 JavaThread "XThread-11" [_thread_blocked, id=310]
    0x01f7b690 JavaThread "SESSION: SDE_AssetFact" [_thread_blocked, id=277]
    0x007261d0 JavaThread "XThread-10" [_thread_blocked, id=266]
    0x01492968 JavaThread "XThread-9" [_thread_blocked, id=265]
    0x01793ec0 JavaThread "XThread-8" [_thread_blocked, id=258]
    0x01142f20 JavaThread "SESSION: SDE_ActivityFact" [_thread_blocked, id=229]
    0x020d4530 JavaThread "XThread-7" [_thread_blocked, id=147]
    0x02277fb0 JavaThread "XThread-6" [_thread_blocked, id=146]
    0x0087ac10 JavaThread "XThread-5" [_thread_blocked, id=145]
    0x01bab428 JavaThread "XThread-4" [_thread_blocked, id=144]
    0x0050b828 JavaThread "XThread-3" [_thread_blocked, id=143]
    0x020d4368 JavaThread "XThread-2" [_thread_blocked, id=142]
    0x017e1c30 JavaThread "XThread-1" [_thread_blocked, id=141]
    0x0097ee88 JavaThread "XTASK HARVESTOR" [_thread_blocked, id=140]
    0x00d58720 JavaThread "Thread-14" [_thread_blocked, id=98]
    0x00cbb048 JavaThread "Thread-13" [_thread_blocked, id=97]
    0x01eb4320 JavaThread "ETL DISPATCHER THREAD" [_thread_blocked, id=96]
    0x006a6ca8 JavaThread "Timer-3" [_thread_blocked, id=89]
    0x00ed77a0 JavaThread "Timer-2" [_thread_blocked, id=88]
    0x011d41a0 JavaThread "EVENT DISPATCHER THREAD" [_thread_blocked, id=87]
    0x00ed75d8 JavaThread "Timer-1" [_thread_blocked, id=86]
    0x00037820 JavaThread "DestroyJavaVM" [_thread_blocked, id=1]
    0x0075db08 JavaThread "Thread-5" [_thread_in_native, id=85]
    0x00edb1d0 JavaThread "Default Scheduler Thread" [_thread_blocked, id=84]
    0x00edab08 JavaThread "SCHEDULER-EXECUTOR WORKER THREAD" [_thread_blocked, id=83]
    0x0088f2d8 JavaThread "SERVER MONITOR" [_thread_blocked, id=82]
    0x0075f5a8 JavaThread "EXECUTION MANAGER: WORKER THREAD" [_thread_blocked, id=81]
    0x01fa3670 JavaThread "HeartBeat Manager" [_thread_blocked, id=80]
    0x014bdc10 JavaThread "QSERVER WORKER THREAD: 19934057" [_thread_blocked, id=79]
    0x01f86c78 JavaThread "QSERVER WORKER THREAD: 32459563" [_thread_blocked, id=78]
    0x01a40268 JavaThread "ROWID GENERATOR THREAD" [_thread_in_Java, id=77]
    0x01188590 JavaThread "Thread-2" [_thread_blocked, id=76]
    0x00c58a58 JavaThread "Timer-0" [_thread_blocked, id=75]
    0x00369630 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=73]
    0x00367dc8 JavaThread "CompilerThread1" daemon [_thread_blocked, id=72]
    0x00367028 JavaThread "CompilerThread0" daemon [_thread_blocked, id=71]
    0x00366168 JavaThread "AdapterThread" daemon [_thread_blocked, id=70]
    0x00365450 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=69]
    0x00358900 JavaThread "Finalizer" daemon [_thread_blocked, id=68]
    0x00358560 JavaThread "Reference Handler" daemon [_thread_blocked, id=67]
    Other Threads:
    0x00356480 VMThread [id=66]
    0x000b09b8 WatcherThread [id=74]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x00036d10/0x00036d40] Threads_lock - owner thread: 0x0097f450
    Heap
    PSYoungGen total 235264K, used 10875K [0xe7c00000, 0xf7400000, 0xf8800000)
    eden space 230400K, 4% used [0xe7c00000,0xe869ef78,0xf5d00000)
    from space 4864K, 0% used [0xf6a80000,0xf6a80000,0xf6f40000)
    to space 4544K, 0% used [0xf6f90000,0xf6f90000,0xf7400000)
    PSOldGen total 352256K, used 38867K [0xc6400000, 0xdbc00000, 0xe7c00000)
    object space 352256K, 11% used [0xc6400000,0xc89f4f58,0xdbc00000)
    PSPermGen total 20480K, used 16712K [0xc2400000, 0xc3800000, 0xc6400000)
    object space 20480K, 81% used [0xc2400000,0xc34523f8,0xc3800000)
    Dynamic libraries:
    0x00010000      /tools/oraclebi/java/jdk1.5.0_16/bin/java
    0xff3a0000      /lib/libthread.so.1
    0xff370000      /lib/libdl.so.1
    0xff200000      /lib/libc.so.1
    0xff390000      /platform/SUNW,SPARC-Enterprise/lib/libc_psr.so.1
    0xfe800000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/server/libjvm.so
    0xff1e0000      /lib/libsocket.so.1
    0xff350000      /usr/lib/libsched.so.1
    0xff1b0000      /usr/lib/libCrun.so.1
    0xff190000      /lib/libm.so.1
    0xff080000      /lib/libnsl.so.1
    0xfe700000      /lib/libm.so.2
    0xff160000      /lib/libscf.so.1
    0xff140000      /lib/libdoor.so.1
    0xff060000      /lib/libuutil.so.1
    0xfe7e0000      /lib/libgen.so.1
    0xfe6d0000      /lib/libmd.so.1
    0xfe6b0000      /lib/libmp.so.2
    0xfe690000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/native_threads/libhpi.so
    0xfe630000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/libverify.so
    0xfe5f0000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/libjava.so
    0xfe5d0000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/libzip.so
    0xbd200000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/libawt.so
    0xbd080000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/libmlib_image.so
    0xf89b0000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/headless/libmawt.so
    0xf8850000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/libnet.so
    0xf8990000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/libnio.so
    0xf8830000      /lib/librt.so.1
    0xf8810000      /lib/libaio.so.1
    0xc23e0000      /usr/lib/libsendfile.so.1
    0xc23c0000      /tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/libj2pkcs11.so
    0xc2390000      /usr/lib/libpkcs11.so
    0xc22e0000      /usr/lib/libcryptoutil.so.1
    0xc21a0000      /usr/lib/security/pkcs11_softtoken.so
    0xc22b0000      /SIWH_APP_D1043T_SW/app/oracle/product/10.2.0/client10g/lib32/libocijdbc10.so
    0xbc000000      /SIWH_APP_D1043T_SW/app/oracle/product/10.2.0/client10g/lib32/libclntsh.so.10.1
    0xbbe00000      /SIWH_APP_D1043T_SW/app/oracle/product/10.2.0/client10g/lib32/libnnz10.so
    0xc2290000      /lib/libkstat.so.1
    VM Arguments:
    jvm_args: -Xms512m -Xmx800m
    java_command: com.siebel.etl.net.QServer
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/tools/oraclebi/java/jdk1.5.0_16
    PATH=/SIWH_APP_D1048T_SW/app/oracle/product/10.2.0/client10g/bin:/SIWH_APP_D1048T_SW/app/oracle/product/10.2.0/client10g/opmn/bin:/usr/bin:/SIWH_APP_D1043T_SW/oracle/tools/MOT:/SIWH_APP_D1043T_SW/oracle/tools/MOT/exe:/SIWH_APP_D1043T_SW/oracle/tools/MOT/rman/exe:/var/sdmi_adm/sdmiprd/current/exe:/var/tools/bin:/usr/bin:/appl/usf/perl/cur/bin:/appl/usf/sdi/cur/bin:/appl/usf/stu_common/cur/bin:/appl/usf/sysinfo/cur/bin:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:.:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:.:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:.:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:.
    LD_LIBRARY_PATH=/tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/server:/tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc:/tools/oraclebi/java/jdk1.5.0_16/jre/../lib/sparc:/SIWH_APP_D1043T_SW/app/oracle/product/10.2.0/client10g/lib32:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/oraclebi/OracleBI/web/bin:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server/bin
    SHELL=/bin/ksh
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x70d110], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGBUS: [libjvm.so+0x70d110], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGFPE: [libjvm.so+0x27325c], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGILL: [libjvm.so+0x27325c], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGHUP: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0x67e3cc], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGTERM: [libjvm.so+0x67e3cc], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    --------------- S Y S T E M ---------------
    OS: 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
    uname:SunOS 5.10 Generic_141414-01 sun4u (T2 libthread)
    rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
    load average:18.86 16.56 15.52
    CPU:total 64 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
    Memory: 8k page, physical 268435456k(13421704k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_16-b02) for solaris-sparc, built on May 28 2008 01:27:30 by unknown with unknown Workshop:0x550

    Hi all... I have reviewed posts by Greg Rakers, ttc1 and user11306733 and this is my contribution:
    I assume you have the following requirements:
    1. Solaris 8, 9 or 10.
    2. SPARC 64-bit
    3. DAC 10.1.3.4.1. OBI Apps 7.9.6 and 7.9.6.1 required DAC 10.1.3.4.1 with Patch 8760212. OBI Apps 7.9.6.2 required DAC 10.1.3.4.1 with Patch 10052370. OBI Apps 7.9.6.3 required DAC 10.1.3.4.1 with Patch 12381656 *(Customers on all versions of OBI Apps using DAC 10.1.3.4.1 are recommended to upgrade to this patch)*. Patch is available for download on the Patches and Updates tab in My Oracle Support at http://support.oracle.com.
    4. Informatica 7.1.4, 8.1.1 SP4, 8.1.1 SP5, 8.6.0 or 8.6.1.
    5. JDK Standard Edition 1.6.x. for Solaris SPARC 64-bit_
    I've noticed the following:
    -> Greg Rakers
    +#+
    +# An unexpected error has been detected by HotSpot Virtual Machine:+
    +#+
    +# SIGBUS (0xa) at pc=0xff256514, pid=14595, tid=443+
    +#+
    +# Java VM: Java HotSpot(TM) Server VM (1.5.0_16-b02 mixed mode)+
    +# Problematic frame:+
    +# C [libc.so.1+0x56514]+
    +#+
    Environment Variables:
    JAVA_HOME=/tools/oraclebi/java/jdk1.5.0_16
    PATH=/SIWH_APP_D1048T_SW/app/oracle/product/10.2.0/client10g/bin:/SIWH_APP_D1048T_SW/app/oracle/product/10.2.0/client10g/opmn/bin:/usr/bin:/SIWH_APP_D1043T_SW/oracle/tools/MOT:/SIWH_APP_D1043T_SW/oracle/tools/MOT/exe:/SIWH_APP_D1043T_SW/oracle/tools/MOT/rman/exe:/var/sdmi_adm/sdmiprd/current/exe:/var/tools/bin:/usr/bin:/appl/usf/perl/cur/bin:/appl/usf/sdi/cur/bin:/appl/usf/stu_common/cur/bin:/appl/usf/sysinfo/cur/bin:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:.:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:.:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:.:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server:.
    LD_LIBRARY_PATH=/tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc/server:/tools/oraclebi/java/jdk1.5.0_16/jre/lib/sparc:/tools/oraclebi/java/jdk1.5.0_16/jre/../lib/sparc:/SIWH_APP_D1043T_SW/app/oracle/product/10.2.0/client10g/lib32:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/oraclebi/OracleBI/web/bin:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server/bin:/tools/informatica/PowerCenter8.1.1/server/bin
    SHELL=/bin/ksh
    1. You're using JDK 1.5.x. I think this is the problem.
    2. PATH variable is set with INFA_HOME/server and INFA_HOME/server/bin paths several times.
    3. LD_LIBRARY_PATH variable does not neeed to include java paths.
    4. LD_LIBRARY_PATH is set with INFA_HOME/server/bin path several times.
    5. You are using Korn shell (ksh).
    -> ttc1
    my LD_LIBRARY_PATH is pointing to oracle Home and Informatica home.
    ie. /opt/oracle/product/10.2.0/client:/opt/biee/prd1/Informatica/PowerCenter8.1.1/server/bin
    1. Your oracle path is incorrectly set in LD_LIBRARY_PATH variable. INFA_HOME/server/bin is ok.
    -> user11306733
    +#+
    +# An unexpected error has been detected by HotSpot Virtual Machine:+
    +#+
    +# SIGBUS (0xa) at pc=0xff2567fc, pid=16515, tid=201+
    +#+
    +# Java VM: Java HotSpot(TM) Server VM (1.5.0_09-b03 mixed mode)+
    +# Problematic frame:+
    +# C [libc.so.1+0x567fc]+
    +#+1. You're using JDK 1.5.x. I think this is the problem.
    You need to fix the following:
    -> Greg Rakers
    1. You must install and use JDK 1.6.x.
    2. You must set INFA_HOME/server and INFA_HOME/server/bin paths once in the PATH variable (recommended).
    3. You must delete java paths from LD_LIBRARY_PATH variable (recommended) or change them for the new ones (JDK1.6.x) if you need them.
    4. You must set INFA_HOME/server/bin path once in the LD_LIBRARY_PATH variable (recommended).
    5. You must use unix shell (sh) to run startserver.sh command
    -> ttc1
    1. You must set LD_LIBRARY_PATH variable with $ORACLE_HOME/lib32.
    -> user11306733
    1. You must install and use JDK 1.6.x.
    I will waiting for your feedback.
    best regards.
    PD: If this helps you, please mark it as correct/helpful.

  • Bug with Solaris man page on dlsym

    I hope someone at Sun working on Solaris is reading this. There are bugs in the Solaris 10 man page on dlsym - there are a couple of places that says "see the .". Apparently soemthing is missing. My version of man pages is "Last change: 26 Sep 2005".

    The prototype of pthread_create() is correct on Solaris 10 man page (SunOS 5.10 Last change: 23 Mar 2005):
    int pthread_create(pthread_t *restrict   thread,   const
    pthread_attr_t *restrict         attr,         void
    *(*start_routine)(void*), void *restrict arg);
    But the prototype of pthread_cleanup_push() is correct on Solaris 10 man page (SunOS 5.10 Last change: 4 Oct 2005) is incorrect:
    void pthread_cleanup_push(void (*handler, void *),void *arg);
    I guess Sun simply has to check all the man pages of the pthread functions carefully one by one to make sure this error is fixed.

  • Possible bug in Solaris 8 mlink() kernel function ???

    Hi All,
    I'm trying to I_LINK a mounted-stream pipe (created using open and fattach), with CONNLD pushed on, below a STREAMS based multiplexor.
    As I experienced some kernel crash, in the linkcycle() function I looked at the way it works in strsubr.c Solaris 8 file.
    What I'm understanding is that there's a global static array, named mux_nodes. This is an array of mux_node structures, indexed by the device major number, extracted from the vnode vn_rdev field. Its purpose seems to be to list all the STREAMS linked below a multiplexor.
    When the crash occurs, I can see that the mux_node the kernel is trying to read is at index 0xb8, but the devcnt has a value of 0xb5, so we're out of the bounds of the array. I've instrumenting my code, in order to dump the value of the vn_rdev, of the STREAM linked below (using the q_bot->q_stream->sd_vnode), and as the I_LINK is received this value is of 0xb8...
    Moreover, looking at the vfslist of the crash dump (using mdb and the $<vfslist macro), it appears that several vfs have a rdev field greater than 0xb5...
    The question is : Is-it really possible to I_LINK a pipe below a multiplexor ?? What am I missing ?? Shouldn't mlink() check that the index is inbound ???
    Best Regards.

    OK. I think I see what you are saying. First I want
    to make sure we are both talking about 24 hour time
    and not 12 hour time. In 24 hour time I understand
    the 0100 hour would occur twice; The first in DST and
    the second pass not in DST. I am not sure which time
    the 'date 110401592007' command I ran set the time
    in. The second.
    Does the OS automatically put the new date in the
    second pass through of the 0100 hour?Apparently.
    If so there may
    not be a bug at all but if that was the case how
    could the fall back time be tested?Run
    perl -le 'print scalar localtime 1143504000' and
    perl -le 'print scalar localtime 1175040000'
    If you're in a US timezone that follows Daylight Saving time, the first will show a time on March 27 2006 (Standard time) and the second a year later on March 27 2007 (Daylight Saving Time). The two should have local times one hour apart. If they do not, then you're probably not ready.
    An alternative is to simply ask zdump for information about your particular tiemzone.
    zdump -v $TZ | grep 2007. You should see the correct transition dates for 2007.
    Alternatively, if you really want to change the clock on the computer, don't change it by specifying a local time (which as you've seen is ambiguous). Change it by specifying a UTC time and the -u flag. That's unambiguous.
    Darren

  • Did the patch released for this bug in Solaris

    There is a bug in the useradd and usermod code that does not serialize access to /etc/passwd and /etc/shadow.This bug is in Solaris 8 and 9.

    Remove the extensions, redownload Safari, reload the extensions.
    http://www.apple.com/safari/download/
    And if you really want a better experience, use Firefox, tons more choices and possibilities there.
    Firefox's "NoScript" will block the Trojan going around on websites. Best web security you can get.
    https://addons.mozilla.org/en-US/firefox/addon/noscript/
    Ghostery, Ad Block Plus and thousands of add-ons more have originated on Firefox.

  • Netscape Bug on Solaris 8 for x86

    Has anyone else had a problem with Netscape on Solaris 8 for Intel? when I resize the Netscape window, shortly afterwards, the display begins to corrupt the CDE desktop with objects that should be displayed within the Netscape window. When I exit Netscape, the entire CDE goes white with black lines across the screen.
    I've downloaded the latest version of Netscape Communicator for Intel Platforms. Netscape V4.76.
    I've installed the x86_Recommended patches.
    I still have the same problem. Any suggestions?
    Thanks

    Yes, I'm having the same problem. however when I exit out of netscape and refresh the screen everything is ok. Please let me know if you've solved the problem.
    [email protected]
    thanks,
    John

  • USB Flash disk bug on Solaris 10

    When I am trying to write more than 10 Mb data to USB disk on Solaris 10 writting process fails and everything hangs up until I switch off flash disk.Does anyone know solution to this problem?Thanks!

    Hi,
    As you must be aware that flash player is plugin for browser. Firefox is supported in SOLARIS which could have flash player plugin in it ( 11.2.202.223 the last supported version). You have to check flash version using your browser. You check this by visiting below page with your browser
    Adobe - Flash Player
    For more info you can check below thread on Flash on Solaris. I hope that will help:
    Re: Flash Player 10_3_183_7 for Firefox6.0 on Solaris 10? 
    -vivek

  • JavaMail code bug or Solaris sendmail problem?

    Hi all,
    i write a java app to send out the email using SMTP sendmail.
    I set the a list of emails (yahoo, gmail, hotmail, lotus notes etc) into BCC field only and left the To Field and CC Field empty.
    Then i set the subject and the email content and send out the emails.
    Here are the 2 scenarios happened based on different SMTP server:
    1. using Ms Exchange Server
    as expected, the email recepients see the To and CC field empty, and no other email addresses can be seen from the email. this behaviour is consistent for all email clients.
    2. using solaris sendmail
    using same java code, different behaviours encountered depended on the email clients:
    a) using yahoo, gmail... all bcc list emails are displayed in To Field!!
    b) using lotus note ...displayed 1 email address (get from BCC list) makes it look like a spam!
    c) using hotmail and Ms Outlook 2003, no issue, To and CC field are empty, and no email addresses are exposed.
    Can any java experts please advise what is actually happening here?
    To be thorough, i will attach my java code that send out the email here :)
    Thanks!!!!
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import java.util.Properties;
    import java.util.PropertyResourceBundle;
    import java.util.ResourceBundle;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;
    import javax.sql.DataSource;
    import org.apache.commons.dbcp.BasicDataSource;
    public class EmailBlaster {
         private final String SQL = "my_sql_statement here" +
         public final String PROPERTIES_FILE = "emailblaster"; //my prop file
         private ResourceBundle props;
         private BasicDataSource sourceDs;
         private ResourceBundle getProps() {
              if (props==null) {
                   props = PropertyResourceBundle.getBundle(PROPERTIES_FILE);
              return props;
         private void resetProps() {
              props = null;
         public void sendEmail() {
              String msg = getMsg();
              List recipients = new ArrayList();
              recipients.add("[email protected]");
              recipients.add("[email protected]");
              recipients.add("anyMsOulookBasedEmail@Xxxxxxxx");
              recipients.add("[email protected]");
              String sender = getProps().getString("email.sender");
                   try {
                        postMail(list, sender, msg);
                   } catch (Exception ex) {
                        System.out.println("Error while sending report email|ex: " + ex.getMessage());
                        ex.printStackTrace();
         public static void main (String [] args) {
              EmailBlaster obj = new EmailBlaster();
              System.out.println("Start emailing -- " + new Date());
              obj.sendEmail();
              System.out.println("Done -- " + new Date());
              obj.resetProps();
         * This code copy from ReportGenerator.java
         * @param recipients
         * @param from
         * @param attachments
         * @throws MessagingException
    private void postMail(List recipients, String from, String msg) throws MessagingException
    boolean debug = false;
    //Set the host smtp address
    Properties props = new Properties();
    String incomingServer = getProps().getString("email.smtp.incoming.server");
    String outgoingServer = getProps().getString("email.smtp.outgoing.server");//i test use MsExchange Server and SendMail Solaris
    props.put(incomingServer, outgoingServer);
    // create some properties and get the default Session
    Session session = Session.getDefaultInstance(props, null);
    session.setDebug(debug);
    //Define message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    InternetAddress[] addressTo = new InternetAddress[recipients.size()];
    for (int i = 0; i < recipients.size(); i++)
    addressTo[i] = new InternetAddress((String)recipients.get(i));
    message.setRecipients(Message.RecipientType.BCC, addressTo);
    message.setSubject(getProps().getString("email.subject"));
    message.setContent(msg, "text/html");
    Transport.send(message);
         private String getMsg() {
              String msg="";
              msg = getProps().getString("email.msg");
              return msg;
    }

    Hi bshannon
    Thanks for the reply :)
    there was an accident happened that exposed the users' email addresses using the above java code and sendmail. that is, our code pull a list of users' email addresses, put it into BCC list, and left TO and CC list empty, and then send it using sendmail as SMTP
    probably I didnt make myself clear :)
    the most important thing now is to understand why the above scenario happen based on the above java code and sendmail SMTP. my head will be rolling down the road if I cant find any satisfy explanation ^_^"
    any kind soul that can help to run/test the similar code as above in other SMTP servers (especially sendmail solaris smtp) will be highly regarded
    Thanks!

  • BUG in Solaris startup scripts

    If you try to define either "PRE_CLASSPATH" or "POST_CLASSPATH" in startWebLogic.sh or startPetStor.sh, the script concatenates them with the undefined variable "WEBLOGICCLASSPATH", effectively nulling out the BEA part of the CLASSPATH.
    So WebLogic doesn't start as the main classes are not in the path.
    Workaround:
    Replace "WEBLOGICCLASSPATH" with "CLASSPATH".

    Thanks Rafi,
    This has already been fixed in the next release.
    Jim Rivera
    "Rafi Jacoby" <[email protected]> wrote in message
    news:3a0c6cd9$[email protected]..
    >
    If you try to define either "PRE_CLASSPATH" or "POST_CLASSPATH" instartWebLogic.sh or startPetStor.sh, the script concatenates them with the
    undefined variable "WEBLOGICCLASSPATH", effectively nulling out the BEA part
    of the CLASSPATH.
    So WebLogic doesn't start as the main classes are not in the path.
    Workaround:
    Replace "WEBLOGICCLASSPATH" with "CLASSPATH".

  • Solaris 9 32-bit application 256 descriptors

    Hi,
    There is a bug in Solaris, a 32-bit application running on 64-bit Solaris cannot open more than 256 descriptors. I read the article from Giri Mandalika http://developers.sun.com/solaris/articles/stdio_256.html. There is a solution for Solaris 10 described in that article. Is there any solution for Solaris 9? Was that solution backported to Solaris 9?
    Any hint is appreciated.
    Tomas

    Hello.
    This limitation is not a limitation of the Solaris operating system but of the libc library.
    A simple workaround could be:
    FILE *myfiles[1000];
    int i;
    // won't work if more than 256 files are open...
    for(i=0;i<1000;i++) myfiles=fopen(names[i],"w");
    for(i=0;i<1000;i++) fprintf(myfiles[i],"%u\n",i);
    Workaround - NOT TESTED:FILE *f;
    int myfiles[1000];
    int i;
    for(i=0;i<1000;i++) myfiles[i]=creat(names[i],0644);
    for(i=0;i<1000;i++)
    f=fdopen(dup(myfiles[i]),"w");
    fprintf(f,"%u\n",i);
    // fclose() will only close the handle duplicate returned by dup() !!
    fclose(f);
    -- EDIT --
    Tested on Solaris 9/Sparc:
    - You have to use "ulimit -n" to allow an application to use more than 256 file descriptors (maximum is 1024).
    - If more than 256 files are open "dup" and "dup2" will cause an SIGSEGV - obviously a bug in Solaris.
      Maybe you can use the following combination instead of using "fprintf":len=sprintf(buffer,...);
    write(file[i],buffer,len);
      I'm not sure if "write" etc. cause SIGSEGVs when more than 256 files are open.
    Martin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem with IPSec on  solaris 9

    Hi all
    I'm facing a problem with IPSec on solaris 9 that I didn't have with Solaris 8 (With the Security package installed).
    I've an application that creates SA's by using the pf-key interface.
    What it does is first doing a GETSPI to a specific SPI and a specific Destination IP Address.
    This will create an SA and put it in a LARVAL state. After about a minute my application will do an UPDATE to this SPI and that command should change the state of the SA from LARVAL to MATURE but instead I get an error saying that this SPI & IP address already exist (errno = 17).
    Well of course it's already exist that's the all point it should just change the state of an existing SA.
    This exact scenarion was is working fine on Solaris 8.
    Am I doing somthing wrong (maybe there is a package on the solaris 9 that I need to install ?)
    or is this a bug in solaris 9.
    If anyone has any idea on how to do that (without using a one step ADD for a new SA) I will be very thankfull.

    Sorry for using reply for querying.
    I got a problem in creating a Security Association using the PF_KEY Socket (first used SADB_GETSPI and got SPI,with SPI tried to update SADB_UPDATE).
    Getting this problem on Sun Solaris 8.
    It returns errno 122 . operation not supported.
    Here is my mailId [email protected]
    I got few more queries regarding PF_KEY socket.
    Not much directions are available also for pf_key socket in internet.
    Monitor produces the following error.
    # ipseckey monitor
    "Base message (version 2) type UPDATE, SA type AH.
    Error Operation not supported on transport endpoint from PF_KEY.
    Message length 16 bytes, seq=4294967294, pid=450."
    Here is my mailId [email protected]
    Thanks in Advance.
    ssundar.

  • Problem migrate zones solaris 10

    Hi,
    i'm trying to migrate one non-global zone from one machine to another machine. The steps I have followed are:
    1) On the machine where I have the zone that I want to migrate:
    # zonecfg -z myzone export -f /myzone.cfg
    # cd /export
    # find zones/myzone -fstype lofs -prune -o -fstype ufs | cpio -ocm -O /myzone.cpio
    2) On the second machine, I have copied the myzone.cfg and myzone.cpio, and after:
    - I modified in myzone.cfg the option set physical with the correct one for this machine
    # zonecfg -z myzone -f /myzone.cfg
    # cd /export
    # cat /myzone.cpio | cpio -icdm
    # cp /etc/zones/index /etc/zones/index.bak
    # perl -pi -e 's/^myzone:configured/myzone:installed/' /etc/zones/index
    [root@pontevedra]# zoneadm list -icv
    ID NAME STATUS PATH
    0 global running /
    - myzone installed /export/home/zones/myzone
    But I have a problem when I boot the zone:
    [root@pontevedra]# zoneadm -z myzone boot
    zoneadm: zone 'servicio-zone': mount of /proc failed: No such file or directory
    zoneadm: zone 'servicio-zone': call to zoneadmd failed
    I don't know what happen... can anybody helpme?
    Thanks a lot in advance!

    Hi Darren,
    Thanks God I've succesfully installed Solaris 10 to my laptop, after "swimming" for a while in google :)
    It said that this was a bug of Solaris 10 when installed in PC with Pentium III or II processors.
    Here is the solutions (hope someone with same problem with me could find it useful) :
    1. After the GRUB menu appears, edit the kernel line then append -kd at the end (to enter kmdb upon boot), then boot
    2. Then type this command when kmdb prompt shows, [0]>
    [0]> cmi_no_init/W1
    [0]> :c 3. It should boot and run without problem, then follow the installation menu and option
    4. After reboot, again follow step 1 & 2 when GRUB menu shows. I promise this is the last time :)
    5. To make it permanent, add this following instruction to */etc/system* once the system up
    set cmi_no_init=1//Henry

Maybe you are looking for

  • How do I download iMessage onto my MacBook Pro?

    I deleted iMessage thinking it would solve a problem I was having if I could reinstall it and start from scratch. Now I can't find where to download the Beta version of iMessage. All I'm finding is that I need to uprgrade (and pay for) my OS. Please

  • Photoshop Elements 11 Organiser does not start from the welcome screen

    Having installed Photoshop Elements 11(Windows 7)  I cannot open the Organiser from the welcome screen. It can be opened via the Editor but few of the thumbnails are shown as pictures rather as empty squares. The situation does not improve with time

  • File Mapping from Servlet to client

    Hi, I want help in Servlets.... My problem is, i am having one servlet and one client(Html) and one imageFile. My servlet knows the filePath, now it has to process the filePath so that the imageFile is displayed in Html. Now, the issue is in servlet

  • CL_GUI_DIALOGBOX_CONTAINER

    Hi, I use cl_gui_dialogbox_container to write a help on-line for a project. In this dialog box I can display an help file. How I can make invisible the screen in background ? I need only a dialog box.

  • How to get photos FROM the computer onto the N8

    When using PC Suite, you could simply take any photos or other files you had on the PC and "drop them" onto the image of the phone while using PC Suite. OVI Suite doesn't seem to have this capability - or I just haven't found it.  I know other ways t