Help needed on DATABASE ERROR: : unable to initialize mutex

Hello,
I am trying to run Berkeley DB on a MIPS platform using DbEnv. While the code runs fine on Linux RedHat, it throws the following error message when run on the MIPS:
DATABASE ERROR: : unable to initialize mutex: Function not implemented
DATABASE ERROR: : PANIC: Function not implemented
DATABASE ERROR: : unable to join the environment
I run a little test program which uses mutexes and conditionson the MIPS platform and seems to work fine.
What could be the problem?
Thank you and regards,
Sebastian

Hello,
First of all thank you very much for all the support on this matter.
Second, I was unable to access the faq because it is asking for authentication which I don't have.
Here are more details on what I am trying to do, hopefully will help resolve the issue:
- I am trying to run Berkeley DB on a MIPS R3000 hardware platform running Linux 2.4 kernel.
- When configuring Berkeley DB I tried using --with-mutex=MIPS/gcc-assembly which resulted in an Illegal instruction error being thrown when trying to open the environment
- When configuring Berkeley DB I also tried using --enable-posixmutexes which throws the error message mentioned in my initial post
- I also wrote a little program that tries to use process shared mutexes and seems to work fine on the embeded system. here is what i successfully run on the box:
pthread_attr_t attr;
pthread_mutexattr_t mutex_attr;
pthread_condattr_t cond_attr;
pthread_mutexattr_setpshared(&mutex_attr, PTHREAD_PROCESS_SHARED);     // set the mutex attribute to process shared
pthread_condattr_setpshared(&cond_attr, PTHREAD_PROCESS_SHARED);          // set the condition attribute to process shared
/* Initialize mutex and condition variable objects */
pthread_mutex_init(&count_mutex, (const pthread_mutexattr_t *)&mutex_attr);
pthread_cond_init (&count_threshold_cv, (const pthread_condattr_t *)&cond_attr);
For portability, explicitly create threads in a joinable state
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
pthread_create(&threads[0], &attr, inc_count, (void *)&thread_ids[0]);
pthread_create(&threads[1], &attr, inc_count, (void *)&thread_ids[1]);
pthread_create(&threads[2], &attr, watch_count, (void *)&thread_ids[2]);
Thank you very much for your help!
Regards,
Sebastian

Similar Messages

  • Oracle ODBC  - Internal Error - unable to initialize NLS during driver load

    I'm having some trouble with my ODBC connections which I hope someone can please help me with!
    About 6 weeks ago all was working as normal.
    As far as I know there have been no updates to the ORacle DB, the Windows XP operating system or the ODBC Drivers.
    Today when I opened access and visual case 2 to connect to Oracle I was at first greeted with a:
    unable to connect SQLState=IM004 SQL_HANDLE_ENV
    error. ODBC also kept crashing.
    I restarted the computer and was confronted with a different error:
    odbc SQLSTate 08004 ORA 12154 TNS could not resolve the connect identifier specified
    I was able to fix this error by setting the environment variable TNS_ADMIN in windows xp environment variables. I'm extremely confused about how this happened though as it was working and I don't think anything has changed.
    I was then able to connect to the database via Microsoft Access but when I opened Visual Case 2 and tried to make an update, I was confronted with the following error:
    Oracle ODBC Driver - internal error - unable to initialize NLS during driver load
    I looked in the registry at:
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home1
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home2
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDb10g_home1
    and NLS_LANG was set to "AMERICAN_AMERICA.WE8MSWIN1252" in all 3 places.
    (Though KEY_OraClient10g_home2 only had 4 entries as opposed to KEY_OraClient10g_home1's 13 entries)...
    Since I made those changes I can no longer connect through Access.
    I just receive a ODBC - connection to 'xxx' failed
    Advice greatly appreciated!!!!
    Edited by: user11150264 on Aug 25, 2009 10:21 PM

    Actually it sort of does...
    I switched the ODBC connection to use instant client and now it's all working again.
    The biggest mystery is what changed to make it suddenly stop working the old way...

  • TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem

    Hi All,
    I have installed HCM 9 with 8.49.08 PeopleTools on CentOS 5.3 Linux. Everything went fine (I have completed the creation of database) until I am about to start the application server that I have just created. I am getting this error, "TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem".
    @Nicolas
    I have followed the instructions in your blog (it's very helpful). However I am now stack with this error.
    Screenshot of the error after trying to boot the appserv:
    PeopleSoft Domain Boot Menu
    Domain Name: DMHCM
    1) Boot (Serial Boot)
    2) Parallel Boot
    q) Quit
    Command to execute (1-2, q) [q]: 1
    psappsrv.cfg has changed archiving old one...
    Copying DMHCM/Archive/psappsrv.cfg to DMHCM/Archive/psappsrv_092509_0140_32.cfg
    Attempting to boot bulletin board...
    tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
    Portions * Copyright 1986-1997 RSA Data Security, Inc.
    All Rights Reserved.
    Distributed under license by BEA Systems, Inc.
    Tuxedo is a registered trademark.
    TMADMIN_CAT:1607: ERROR: Unable to initialize public key subsystem
    ==============ERROR!================
    Boot attempt encountered errors!. Check the TUXEDO log for details.
    ==============ERROR!================
    Do you wish to see the error messages in the APPSRV.LOG file? (y/n) [n] :
    Here the content of the ULOG:
    CentOSLinux:psoft /applications/speople/pt849/appserv >tail ULOG.092509
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: 09-25-2009: Tuxedo Version 9.1, 32-bit
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: GP_CAT:1345: ERROR: pif: can't load 'registry.so'
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: LIBSEC_CAT:22: ERROR: Unable to realize the ecsec_map_proof interface implementation native/security/map_proof. Error code (-5000)
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: LIBTUX_CAT:6275: ERROR: Unable to initialize public key subsystem (-3003)
    014032.CentOSLinux!tmadmin.24422.3086362304.-2: LIBTUX_CAT:6204: ERROR: Could not initialize public key subsystem
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: 09-25-2009: Tuxedo Version 9.1, 32-bit
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: GP_CAT:1345: ERROR: pif: can't load 'registry.so'
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: LIBSEC_CAT:22: ERROR: Unable to realize the ecsec_map_proof interface implementation native/security/map_proof. Error code (-5000)
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: LIBTUX_CAT:6275: ERROR: Unable to initialize public key subsystem (-3003)
    020404.CentOSLinux!tmadmin.25119.3086403264.-2: LIBTUX_CAT:6204: ERROR: Could not initialize public key subsystem
    This seems to be the main culprit... GP_CAT:1345: ERROR: pif: can't load 'registry.so' and I have searched this forum and found several suggestions like make sure that LD_LIBRARY_PATH is correctly set .. incorrect permssions, delete the .adm ... etc. I have done all of this suggestions. I even re-installed the Tuxedo 9.1 with the assumption that some files like resistry,.so might have been corrupted but this all did not resolved the issue. I believe I have done my I could before going here asking for help.
    Here is the content of my .bash_profile:
    # .bash_profile
    PS1='CentOSLinux:$USER $PWD >'
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    export BEA=/applications/speople/bea
    export TUXDIR=/applications/speople/bea/tuxedo91
    export BEA_HOME=/applications/speople/bea/weblogic92
    export ORACLE_HOME=/applications/oracle/10.2.0
    export PATH=$PATH:$ORACLE_HOME/bin
    LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
    LIBPATH=$TUXDIR/lib:$LIBPATH:/usr/lib; export LIBPATH
    export PS_HOME=/applications/speople/pt849
    . $PS_HOME/psconfig.sh
    I would really appreciate any help on this issue. Many thanks.

    Please, check if you have the following RPM installed :
    [root@centos ~]# more /etc/redhat-release
    CentOS release 5.3 (Final)
    [root@centos ~]# rpm -q compat-libstdc++-33-3.2.3-61.i386
    compat-libstdc++-33-3.2.3-61
    [root@centos ~]#I tested it on CentOS5.3, everything is working fine. Please, see below all the installation steps :
    1. Install CentOS 5.3 with all the default settings
    2. Install Tuxedo
    2.1 => Modify the file ./linux/sles9/base/tuxedo91_32_SLES_9_x86.bin
    mv ./linux/sles9/base/tuxedo91_32_SLES_9_x86.bin /tmp/tuxedo91_32_SLES_9_x86.bin
    cat /tmp/tuxedo91_32_SLES_9_x86.bin|sed 's/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/' > ./linux/sles9/base/tuxedo91_32_SLES_9_x86.bin2.2 => Download and install JDK5
    ./jdk-1_5_0_21-linux-i586-rpm.bin
    For inquiries please contact:  Sun Microsystems,  Inc., 4150
    Network  Circle,  Santa  Clara,   California  95054,  U.S.A.
    (LFI#143333/Form ID#011801)
    Do you agree to the above license terms? [yes or no]
    yes
    Unpacking...
    Checksumming...
    0
    0
    Extracting...
    UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
      inflating: jdk-1_5_0_21-linux-i586.rpm
    Preparing...                ########################################### [100%]
       1:jdk                    ########################################### [100%]
    Done.
    [root@centos JDK5]# # /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_21/bin/java 2
    [root@centos JDK5]# /usr/sbin/alternatives --config java
    There are 4 programs which provide 'java'.
      Selection    Command
    *  1           /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
       2           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
    + 3           /usr/java/jdk1.5.0_16/bin/java
       4           /usr/java/jdk1.5.0_21/bin/java
    Enter to keep the current selection[+], or type selection number: 4
    [root@centos JDK5]# java -version
    java version "1.5.0_21"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_21-b01)
    Java HotSpot(TM) Client VM (build 1.5.0_21-b01, mixed mode, sharing)
    [root@centos JDK5]#2.3 => Modify the file install.sh
    The line
    sh $INSTALL_BINARY -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;becomes
    sh $INSTALL_BINARY LAX_VM /usr/java/jdk1.5.0_21/jre/bin/java -f $SILENT_INSTALL_FILE > $INSTALLER_OUTPUT;2.4 => run the Tuxedo Installer
    sh ./install.sh3. Install Peopletools
    4. Install the RPM (from the CentOS 5.3 DVD) - this is required for psadmin
    rpm -Uvh compat-libstdc++-33-3.2.3-61.i386.rpm5. Install additional RPMs for Oracle
    rpm -Uvh libXp-1.0.0-8.1.el5.i386.rpm
    rpm -Uvh kernel-headers-2.6.18-128.el5.i386.rpm
    rpm -Uvh glibc-headers-2.5-34.i386.rpm
    rpm -Uvh glibc-devel-2.5-34.i386.rpm
    rpm -Uvh compat-gcc-34-3.4.6-4.i386.rpm
    rpm -Uvh libgomp-4.3.2-7.el5.i386.rpm
    rpm -Uvh gcc-4.1.2-44.el5.i386.rpm
    rpm -Uvh gcc-c++-4.1.2-44.el5.i386.rpm
    rpm -Uvh compat-glibc-headers-2.3.4-2.26.i386.rpm
    rpm -Uvh compat-glibc-2.3.4-2.26.i386.rpm
    rpm -Uvh glibc-utils-2.5-34.i386.rpm
    rpm -Uvh compat-db-4.2.52-5.1.i386.rpm
    rpm -Uvh compat-gcc-34-c++-3.4.6-4.i386.rpm
    rpm -Uvh compat-libstdc++-296-2.96-138.i386.rpm
    rpm -Uvh gcc43-4.3.2-7.el5.i386.rpm
    rpm -Uvh gcc43-c++-4.3.2-7.el5.i386.rpm6. Install Oracle (database or client depending of the config)
    6.1 => add the entry in tnsnames.ora
    6.2 => create the symbolic link
    [oracle@centos oracle]$ cd $ORACLE_HOME/lib
    [oracle@centos lib]$ ln -s libclntsh.so libclntsh.so.9.06.3 => make the ORACLE_HOME readable and executable for everbody
    7. psoft user
    7.1 => The .bash_profile
    [psoft@centos ~]$ more .bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
            . ~/.bashrc
    fi
    # User specific environment and startup programs
    export ORACLE_HOME=/oracle/10.2
    PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
    export PATH
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PS_HOME=/psoft/psoft849
    . $PS_HOME/psconfig.sh
    [psoft@centos ~]$7.2 => Modify the file $PS_HOME/psconfig.sh
    PS_HOSTTYPE=redhat-4-ia32;export PS_HOSTTYPE8. psadmin, create the new domain, and start
    PeopleSoft Domain Boot Menu
         Domain Name: DMOHRMS9
      1) Boot (Serial Boot)
      2) Parallel Boot
      q) Quit
    Command to execute (1-2, q) [q]: 1
    psappsrv.cfg has changed archiving old one...
    Copying DMOHRMS9/Archive/psappsrv.cfg to DMOHRMS9/Archive/psappsrv_092609_1218_35.cfg
    Attempting to boot bulletin board...
    tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
    Portions * Copyright 1986-1997 RSA Data Security, Inc.
    All Rights Reserved.
    Distributed under license by BEA Systems, Inc.
    Tuxedo is a registered trademark.
    No bulletin board exists. Entering boot mode.
    INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
    INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
    INFO: Licensed to: Oracle-Peoplesoft-ISV
    Booting admin processes ...
    exec BBL -A :
            process id=26552 ... Started.
    1 process started.
    Attempting to boot ...
    INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level 036
    INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
    INFO: Licensed to: Oracle-Peoplesoft-ISV
    Booting server processes ...
    exec PSWATCHSRV -A -- -ID 176290 -C psappsrv.cfg -D DMOHRMS9 -S PSWATCHSRV :
            process id=26555 ... Started.
    exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PSAPPSRV :
            process id=26556 ... Started.
    exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PSAPPSRV :
            process id=26560 ... Started.
    exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D DMOHRMS9 -S PSAPPSRV :
            process id=26564 ... Started.
    exec PSSAMSRV -A -- -C psappsrv.cfg -D DMOHRMS9 -S PSSAMSRV :
            process id=26568 ... Started.
    exec PSMONITORSRV -A -- -ID 176290 -C psappsrv.cfg -D DMOHRMS9 -S PSMONITORSRV :
            process id=26571 ... Started.
    exec JSL -A -- -d unused -n //centos.phoenix-nga:9000 -m 1 -M 3 -I 5 -j ANY -x 40 -S 10 -c 1000000 -w JSH :
            process id=26574 ... Started.
    exec JREPSVR -A -- -W -P /psoft/psoft849/appserv/DMOHRMS9/jrepository :
            process id=26576 ... Started.
    8 processes started.HTH,
    Nicolas.

  • BO 4.0 - Database error: Unable to connect to SAP BW Incomplete logon data

    Hello Experts,
    I have enabled a 'SSO to database' between SAP BW and Business objects by referencing to the documents related to below link.
    [http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtosetupSSOagainstSAPBWinSBOBI4.0forLDAPusers]
    I have created a universe connection with option 'use single sign on when refreshing reports at view time' and have created a universe on top of my BEx query by log-in to the universe designer tools using my LDAP account.
    Now when I run the report with either SAP account or LDAP - I am able to run a adhoc webi report on this universe and get data either through the webi rich client or via BO 4.0 Info-view/Launch Pad.
    But the issue is that when other users are trying to run webi queries on this universe either through Info-view/launch pad or rich client by log-in via LDAP Authentication - they get the below error: I have given SAP_ALL to this user for time being and also have done the necessary configuration for 'simple user format' in CMC so these user has 1 account with 3 alias definitions: Enterprise, SAP, R/3.
    Database error: Unable to connect to SAP BW server Incomplete logon data -
    If the user logs on into the BO 4.0 Info-view/launch pad or webi rich client using his SAP authentication than he is able to run and retrieve data.
    I also get a dump in the SAP BW system - I analyzed the dump in SAP BW using st22 tcode and it gives the error short text as - Incomplete logon data and run-time error -  CALL_FUNCTION_SIGNON_INCOMPL
    Desired outcome:
    I want the users to log-in to webi rich client or BO 4.0 Launch pad/Info-view using their 'LDAP'  authentication and run reports against the universe on SAP BW/BEx query without any errors or additional username/password requirements.
    Can someone please tell me if I am missing any steps/configuration and guide me to achieve the above mentioned desired result ?
    Any help in this matter would be greatly appreciated.
    Thanks & regards,
    CD.

    Hi Simone,
    Thank you for the reply.
    Here are the things done by me.
    1. Generated the keystore file and imported it in BI 4.0 CMC on  SAP Authentication Option tab
        ([http://wiki.sdn.sap.com/wiki/display/BOBJ/GeneratekeystoreandcertificateforSAPBO+BI4.0])
        ([http://wiki.sdn.sap.com/wiki/display/BOBJ/SetupofSAPSSOServiceinSAPBOBI4.0+CMC])
    2. Generate the certificate file cert.der and this cert is imported in SAP BW with STRUSTSSO2 transaction.
        ([http://wiki.sdn.sap.com/wiki/display/BOBJ/ImportSAPBOBI4.0certificateintoSAP+BW])
    3. BW Roles/Users have been imported into CMC.
    4. SAP Users and LDAP users are mapped/aliased with each other using the registry key method
        ([http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtomapSAPusersandLDAPusersinSBOBI4.0+CMC])
    I haven't explicitly configured STS (Security token service) as STS is a part of Adaptive processing server (APS) and I have verified that by going to servers in CMC and then to analysis services.
    I have searched for SAP OSS notes related to my issue but couldn't find any note related to SAP BW SSO with Business objects 4.0. Most of the notes are relevant for BO XI 3.1 environments.
    Thanks & regards,
    CD.

  • BO 4.0: Database error:Unable to connect to SAP BW server Incomplete logon

    Hello Experts,
    I have enabled a 'SSO to database' between SAP BW and Business objects by referencing to the documents related to below link.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtosetupSSOagainstSAPBWinSBOBI4.0forLDAPusers
    I have created a universe connection with option 'use single sign on when refreshing reports at view time' and have created a universe on top of my BEx query by log-in to the universe designer tools using my LDAP account.
    Now when I run the report with either SAP account or LDAP - I am able to run a adhoc webi report on this universe and get data either through the webi rich client or via BO 4.0 Info-view/Launch Pad.
    But the issue is that when other users are trying to run webi queries on this universe either through Info-view/launch pad or rich client by log-in via LDAP Authentication - they get the below error: I have given SAP_ALL to this user for time being and also have done the necessary configuration for 'simple user format' in CMC so these user has 1 account with 3 alias definitions: Enterprise, SAP, R/3.
    Database error: Unable to connect to SAP BW server Incomplete logon data -
    If the user logs on into the BO 4.0 Info-view/launch pad or webi rich client using his SAP authentication than he is able to run and retrieve data.
    I also get a dump in the SAP BW system - I analyzed the dump in SAP BW using st22 tcode and it gives the error short text as - Incomplete logon data and run-time error - CALL_FUNCTION_SIGNON_INCOMPL
    Desired outcome:
    I want the users to log-in to webi rich client or BO 4.0 Launch pad/Info-view using their 'LDAP' authentication and run reports against the universe on SAP BW/BEx query without any errors or additional username/password requirements.
    Can someone please tell me if I am missing any steps/configuration and guide me to achieve the above mentioned desired result ?
    Any help in this matter would be greatly appreciated.
    Thanks & regards,
    CD.

    Whether your problem is solved?
    We have the same problem in BO Mobile.
    Two users from one BW-role, BO-groups; one user report is executed, another user - error incomplete logon data. In Web Intelligence both users reports succeeds.

  • [Solved}Error: Unable to initialize gtk, is DISPLAY set properly?

    i am using aa software that require root access , but when i run it with root access is shows
    Error: Unable to initialize gtk, is DISPLAY set properly?
    I am using kde desktop , but when loginas root in kde and run that application it works fine.
    i have googled a lot on this but did not find any solution.
    Last edited by sanjuchopra (2012-01-19 10:59:39)

    You should NEVER login graphically as root. What software do you want to use? Is it REALLY necessary to give it root access=
    If you want to run it as root, you should do the following in a terminal:
    $ xhost +      enable X access from terminals
    $ su    login as root
    # /path/to/programname
    Or better yet if you use sudo.
    Better yet if you start the program with
    gksu <programname>
    This way you'll be asked for password and won't need a terminal.
    By the way, if the program requires gtk to be in your sistem, maybe you should check that they're installed, giving
    pacman -S gtk2
    Last edited by olorian (2012-01-16 18:34:39)

  • Error unable to initialize audio player

    I Installed a scan & translate app, but i cant use it because of error unable to initialize audio player what seems the problem.

    Sukkari wrote:
    I Installed a scan & translate app, but i cant use it because of error unable to initialize audio player what seems the problem.
    Since you're using a 3rd party app, you should ask the app developer or look at their support site.

  • Not able to Start Hyper-V(2012 R2) VM when placing the VM config file on Samba Share,Its giving error:Unable to initialize the saveset

    ---We are trying to setup Hyper-V on Samba shares samba version 3.6 exported from Ubuntu  M/c. Basically runnig the Public(share) from the Ubuntu and able to access it from Windows 2012 (create/modify everything). I used Hyper-V and placed the disks
    ".vhd" on this , VM succesfull created and started. However when I placed the VM config files on this (samba) shares VM created successfully but its not starting, Its giving error like Unable to initialize the saveset -- Any idea how to place the
    Hyper-V VM config files samba share?

    Hi Rakesh KK,
    Please confirm your share meet the Serve 2012r2 Hyper-V requirement, you can refer the following KB to get more detail require conditions.
    Deploy Hyper-V over SMB
    http://technet.microsoft.com/en-us/library/jj134187.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Gui error: Unable to initialize New Visual Design Mode

    SAP Frontend Server
    Unable to initialize New Visual Design Mode.
    Please use Classic Mode.
    What can i do with this error? Thanks

    Hi,
    Do you see this error only in 1 system. If yes, perform the following:
    1. Install the updated display drivers.
    2. Check the operating system (some old operating systems such as Windows 98, NT doesn't support Visual designs.)
    3. Check that you have the latest version of SAP GUI patches installed.
    If the problem persists, run sapsweep.exe and install the GUI again.
    Rgds,
    Raghu

  • HELP: flarcreate fails with ERROR: unable to write archive

    Greetings,
    Having trouble trying to create flar file.
    I am using the following syntax, but the -X seems to be ignored and I can't find what the format for that file should be.
    appdev03 # flarcreate -n appdev03 -S -H -a "author" -X /tmp/exclude /tools/appdev03.flar
    Full Flash
    Checking integrity...
    Integrity OK.
    WARNING: fdo: Ignoring duplicate filter entry. Choosen entry will be: /opt/orca/var -
    WARNING: fdo: Ignoring duplicate filter entry. Choosen entry will be: /opt/orca/var -
    Running precreation scripts...
    Precreation scripts done.
    Creating the archive...
    cpio: "var/tmp/21502_00000001" ?
    cpio: "var/tmp/28914_00000001" ?
    cpio: "var/tmp/28939_00000001" ?
    cpio: "var/tmp/26624_00000001" ?
    cpio: "var/tmp/26627_00000001" ?
    cpio: "var/tmp/04733_00000001" ?
    cpio: "var/tmp/29298_00000001" ?
    cpio: "var/tmp/13627_00000001" ?
    cpio: "var/tmp/13628_00000001" ?
    cpio: "var/tmp/02531_00000001" ?
    cpio: "var/tmp/02532_00000001" ?
    cpio: "var/tmp/04735_00000001" ?
    cpio: "var/tmp/xsauthn" ?
    cpio: "var/tmp/27491_00000001" ?
    cpio: "var/tmp/08868_00000001" ?
    cpio: "var/tmp/08869_00000001" ?
    cpio: "var/tmp/20269_00000001" ?
    cpio: "var/tmp/20270_00000001" ?
    cpio: "var/tmp/27492_00000001" ?
    cpio: "var/tmp/xsauthz" ?
    cpio: "var/tmp/16103_00000001" ?
    cpio: "var/tmp/16104_00000001" ?
    cpio: "var/tmp/29964_00000001" ?
    cpio: "var/tmp/03913_00000001" ?
    cpio: "var/tmp/09305_00000001" ?
    cpio: "var/tmp/10454_00000001" ?
    cpio: "var/tmp/10505_00000001" ?
    cpio: "var/tmp/07839_00000001" ?
    cpio: "var/tmp/08129_00000001" ?
    cpio: "var/tmp/00574_00000001" ?
    cpio: "var/tmp/00694_00000001" ?
    cpio: "var/tmp/05611_00000001" ?
    cpio: "var/tmp/05612_00000001" ?
    cpio: "var/tmp/01281_00000001" ?
    cpio: "var/tmp/06672_00000001" ?
    cpio: "var/tmp/06674_00000001" ?
    cpio: "var/tmp/14242_00000001" ?
    cpio: "var/tmp/14243_00000001" ?
    cpio: "var/tmp/13904_00000001" ?
    cpio: "var/tmp/13924_00000001" ?
    cpio: "var/tmp/25133_00000001" ?
    cpio: "var/tmp/25159_00000001" ?
    cpio: "var/tmp/27648_00000001" ?
    cpio: "var/tmp/27649_00000001" ?
    cpio: "var/tmp/29284_00000001" ?
    cpio: "var/tmp/29287_00000001" ?
    cpio: "var/tmp/12637_00000001" ?
    cpio: "var/tmp/12640_00000001" ?
    cpio: "var/tmp/13947_00000001" ?
    cpio: "var/tmp/03944_00000001" ?
    cpio: "var/tmp/03945_00000001" ?
    cpio: "var/tmp/13950_00000001" ?
    cpio: Error with fstatat() of "opt/appworx/log/RmiServer1106141450.log", errno 2, No such file or directory
    cpio: Error with fstatat() of "opt/appworx/log/RmiServer1106141440.log", errno 2, No such file or directory
    22708784 blocks
    54 error(s)
    Unable to write archive file.
    ERROR: Unable to write archive.
    my -X file /tmp/exclude is as follows, yet it seems ignored:
    appdev03 # more /tmp/exclude
    /var/tmp/.oracle
    /var/tmp/[0-9*]
    /var/tmp/xsauthz
    /var/crash
    /tlg
    /tacp
    /depot
    /tools
    /toolsdb
    /development
    /opt/orca/var
    /usr/local/CAcrypto/cacrypto_solaris.tar
    /usr/local/CAcrypto/cacrypto_sun4_solaris.tar
    /usr/local/CAcrypto/cacrypto.tar
    /var/opt/oracle/jre/jre.tar
    /var/opt/oracle/oraInventory.09252003.tar
    /var/opt/oracle/oraInventory.10212003.tar
    /var/opt/oracle/oraInventory.11032003.tar
    /var/opt/oracle/jre.tar
    /opt/ca/harvest/harvest.tar
    /opt/ca/harvest/tomcat55/apache-tomcat-5.5.20.tar
    /opt/ca/harvest/tomcat55/apache-tomcat-5.5.20-compat.tar
    /opt/ca/caiptodbc/odbc511.tar
    /opt/appworx/UWClient/web/images.tar
    /opt/appworx/jre.tar
    /opt/appworx/apache.tar
    /opt/appworx/apache_dev.tar
    /opt/appworx61/jre.tar
    /opt/appworx61/apache.tar
    /opt/appworx61/AWjars.tar
    /opt/appworx61/AWutil.tar
    /opt/appworx61/install/v61/apache.tar
    /opt/appworx61/install/v61/awjars.tar
    /opt/appworx61/install/v61/awutil.tar
    /opt/appworx61/install/v61/jre.tar
    /opt/appworx/log/RmiServer1106141450.log
    /opt/appworx/log/RmiServer1106141440.log
    /emc/2312fcode_2_00_6.tar
    the file is there but not sure of its accuracy:
    appdev03 # flar -i appdev03
    files_archived_method=cpio
    creation_date=20110621221025
    creation_master=appdev03
    content_name=appdev03
    creation_node=appdev03
    creation_hardware_class=sun4u
    creation_platform=SUNW,Netra-T12
    creation_processor=sparc
    creation_release=5.9
    creation_os_name=SunOS
    creation_os_version=Generic_118558-39
    files_compressed_method=none
    content_author=author
    content_architectures=sun4u
    type=FULL
    system is Solaris 9 04/03 with Generic_118558-39 V1280.
    plenty of space in the directory being written to and I can touch a file there as well.
    Any advise is appreciated, thanks.
    Jeff
    Edited by: user13021352 on Jun 21, 2011 3:40 PM

    What report is it ?
    Did you try and search metalink ?
    How to handle 'ORA-01652: unable to extend the temp segment by 128 in tablespace' error messages? (Doc ID 1359238.1)
    R12 Journal Entries Report (XLAJELINESRPT) Has Performance Issue Or Fails With Error: "java.sql.SQLException: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP1" (Doc ID 1141673.1)
    This forum may be the right one for your question - General EBS Discussion

  • !! Urgent Help Needed in Database Table Recovery !!

    Hi,
    What happened is I add a new field to the table. It's a field which need reference but I didn't include it and proceed with table adjustment in under SE11->Utilities->Database Adjustment. I encountered an error during adjustment saying that the reference field is not set and I can't proceed further since the table is now locked. There's 2 options, to continue adjustment and to unlock the table. When I choose continue adjustment, it still lead to the same problem, so i choose to unlocked it thinking that I could be able to change it since there's a prompt saying that I might loose some data. Once I clicked on onlocked, then I it tells me that the adjustment is done. However, I found out that now my table was not editable. It's saying that it's not in the database.
    Can this table be recovered without the lost of data? Please anyone, I need this help urgently. THanks you in advance.

    Your DBAs might be able to help you.
    Rob

  • [Solved] Help needed to interpret errors (python)

    Have the following code (Haven't written it my self and don't know much about how it does what it's supposed to do.):
    #!/usr/bin/python
    import sys
    import os
    import re
    import logging
    import json
    if sys.version_info < (3, 0):
    from urllib2 import Request
    from urllib2 import urlopen
    from urlparse import urlparse
    else:
    from urllib.request import Request
    from urllib.request import urlopen
    from urllib.parse import urlparse
    raw_input = input
    useragent = 'Mozilla/5.0'
    headers = {'User-Agent': useragent}
    intro = """
    Usage: drdown.py url
    This script finds the stream URL from a dr.dk page so you can
    download the tv program.
    def fetch(url):
    """Download body from url"""
    req = Request(url, headers=headers)
    response = urlopen(req)
    body = response.read()
    response.close()
    # convert to string - it is easier to convert here
    if isinstance(body, bytes):
    body = body.decode('utf8')
    return body
    class StreamExtractor:
    def __init__(self, url):
    self.url = url.lower()
    self.urlp = urlparse(self.url)
    def get_stream_data(self):
    """supply a URL to a video page on dr.dk and get back a streaming
    url"""
    if self.urlp.netloc not in ('dr.dk', 'www.dr.dk'):
    raise Exception("Must be an URL from dr.dk")
    self.html = fetch(self.url)
    logging.info("Player fetched: " + self.url)
    # Standalone show?
    if self.urlp.path.startswith('/tv/se/'):
    return self.get_stream_data_from_standalone()
    # Bonanza?
    elif self.urlp.path.startswith('/bonanza/'):
    return self.get_stream_data_from_bonanza()
    # Live tv?
    elif self.urlp.path.startswith('/tv/live'):
    return self.get_stream_data_from_live()
    else:
    return self.get_stream_data_from_series()
    def get_stream_data_from_rurl(self, rurl):
    """Helper method to parse resource JSON document"""
    body = fetch(rurl)
    resource_data = json.loads(body)
    qualities = resource_data.get('links')
    # sort by quality
    qualities = sorted(qualities, key=lambda x: x['bitrateKbps'],
    reverse=True)
    stream_data = qualities[0]
    stream_url = stream_data.get('uri')
    logging.info("Stream data fetched: " + stream_url)
    playpath, filename = self.get_metadata_from_stream_url(stream_url)
    stream_data = {'stream_url': stream_url,
    'playpath': playpath,
    'filename': filename,
    'is_live': False}
    return stream_data
    def get_metadata_from_stream_url(self, stream_url):
    """Helper method to extacts playpath and filename suggestion from a
    rtmp url"""
    parsed = urlparse(stream_url)
    playpath_s = parsed.path.split('/')[2:]
    playpath = '/'.join(playpath_s)
    # rerun to split the parameter
    path = urlparse(parsed.path).path
    filename = path.split('/')[-1]
    return playpath, filename
    def get_stream_data_from_standalone(self):
    """Extracts stream data from a normal single program page.
    The data is hidden in a resource URL, that we need to download
    and parse.
    mu_regex = re.compile('resource: "([^"]+)"')
    m = mu_regex.search(self.html)
    if m and m.groups():
    resource_meta_url = m.groups()[0]
    return self.get_stream_data_from_rurl(resource_meta_url)
    def get_stream_data_from_bonanza(self):
    """Finds stream URL from bonanza section. Just pick up the first RTMP
    url.
    stream_regex = re.compile('rtmp://.*?\.mp4')
    m = stream_regex.search(self.html)
    if m and m.group():
    stream_url = m.group()
    else:
    raise Exception("Could not find Bonanza stream URL")
    playpath, filename = self.get_metadata_from_stream_url(stream_url)
    stream_data = {'stream_url': stream_url,
    'playpath': playpath,
    'filename': filename,
    'is_live': False}
    return stream_data
    def get_stream_data_from_live(self):
    stream_url = 'rtmp://livetv.gss.dr.dk/live'
    quality = '3'
    playpaths = {'dr1': 'livedr01astream',
    'dr2': 'livedr02astream',
    'dr-ramasjang': 'livedr05astream',
    'dr-k': 'livedr04astream',
    'dr-update-2': 'livedr03astream',
    'dr3': 'livedr06astream'}
    urlend = self.urlp.path.split('/')[-1]
    playpath = playpaths.get(urlend)
    filename = 'live.mp4'
    if playpath:
    playpath += quality
    filename = urlend + '.mp4'
    stream_data = {'stream_url': stream_url,
    'playpath': playpath,
    'filename': filename,
    'is_live': True}
    return stream_data
    def get_stream_data_from_series(self):
    """dr.dk has a special player for multi episode series. This is the
    fall back parser, as there seems to be no pattern in the URL."""
    slug_regex = re.compile('seriesSlug=([^"]+)"')
    m = slug_regex.search(self.html)
    if m and m.groups():
    slug_id = m.groups()[0]
    else:
    raise Exception("Could not find program slug")
    logging.info("found slug: " + slug_id)
    program_meta_url = 'http://www.dr.dk/nu/api/programseries/%s/videos'\
    % slug_id
    body = fetch(program_meta_url)
    program_data = json.loads(body)
    if not program_data:
    raise Exception("Could not find data about the program series")
    fragment = self.urlp.fragment
    if fragment.startswith('/'):
    fragment = fragment[1:]
    fragment = fragment.split('/')
    video_id = fragment[0]
    logging.info("Video ID: " + video_id)
    video_data = None
    if video_id:
    for item in program_data:
    if item['id'] == int(video_id):
    video_data = item
    if not video_data:
    video_data = program_data[0]
    resource_meta_url = video_data.get('videoResourceUrl')
    return self.get_stream_data_from_rurl(resource_meta_url)
    def generate_cmd(self):
    """Build command line to download stream with the rtmpdump tool"""
    sdata = self.get_stream_data()
    if not sdata:
    return "Not found"
    filename = sdata['filename']
    custom_filename = raw_input("Type another filename or press <enter> to keep default [%s]: " % filename)
    if custom_filename:
    filename = custom_filename
    cmd_live = 'rtmpdump --live --rtmp="%s" --playpath="%s" -o %s'
    cmd_rec = 'rtmpdump -e --rtmp="%s" --playpath="%s" -o %s'
    if sdata['is_live'] is True:
    cmd = cmd_live % (sdata['stream_url'], sdata['playpath'], filename)
    else:
    cmd = cmd_rec % (sdata['stream_url'], sdata['playpath'], filename)
    return cmd
    def main():
    if len(sys.argv) > 1:
    url = sys.argv[1]
    extractor = StreamExtractor(url)
    cmd = extractor.generate_cmd()
    os.system(cmd)
    else:
    print(intro)
    if __name__ == "__main__":
    main()
    When I run the script with an appropriate URL as parameter, I get this:
    Traceback (most recent call last):
    File "./drdown.py", line 243, in <module>
    main()
    File "./drdown.py", line 235, in main
    cmd = extractor.generate_cmd()
    File "./drdown.py", line 211, in generate_cmd
    sdata = self.get_stream_data()
    File "./drdown.py", line 65, in get_stream_data
    return self.get_stream_data_from_standalone()
    File "./drdown.py", line 123, in get_stream_data_from_standalone
    return self.get_stream_data_from_rurl(resource_meta_url)
    File "./drdown.py", line 87, in get_stream_data_from_rurl
    reverse=True)
    TypeError: 'NoneType' object is not iterable
    I should note that I didn't expect it to work out of the box, but so far I've been unable even to figure out what the problem is, no less solve it.
    I've tried my best to go through the code, looking for typos and such, but I haven't had any luck and much of what happens I don't really understand.
    So please, if you can, I'd very much appreciate a little help.
    Best regards.
    NB:
    Some might conclude that this script does something illegal. In actuality that is not so, just make that clear. Also, testing from outside Denmark, will probably not be possible.
    Last edited by zacariaz (2013-11-08 18:00:33)

    Trilby wrote:
    zacariaz wrote:Have the following code (Haven't written it my self and don't know much about how it does what it's supposed to do.)
    You know a lot more than we do: like where you then found this code, and what it is supposed to do.
    My only first thought without looking through random code that allegedly serves some unknown purpose and comes from some unknown source is that the shebang is ambiguous: it may be a python 2 script while /usr/bin/python is now python 3.
    I've pretty much concluded that python 3.3 is the right choice, sp that should not be a problem, as for what it does, it uses "rtmpdump" to record or "rip" video from a danish site "dr.dk", which is a public service television network.
    I have it from reliable sources that this actually works, or at least did at some point, on Windows machines, but of course i'm on linux, and that complicated matters.
    All in all, as I understand it, what the script really does, is retrieving the relevant rtmp link. The rest is up to "rmtpdump" which I should be able to manage.
    In any case, I'm not really that concerned with learning what the script does at this point, but rather what the error mean.
    The only actual error description I see is: "TypeError: 'NoneType' object is not iterable" and I haven't a clue what that implies. I've read through the script, but haven't been able to find any obvious flaws..

  • HELP Needed with this error:   Exception in thread "main" java.lang.NoClass

    Folks,
    I am having a problem connecting to my MSDE SQL 2000 DB on a WindowsXP pro. environment. I am learning Java and writing a small test prgm to connect the the database. The code compiles ok, but when I try to execute it i keep getting this error:
    "Exception in thread "main" java.lang.NoClassDefFoundError: Test1"
    I am using the Microsoft jdbc driver and my CLASSPATH is setup correctly, I've also noticed that several people have complained about this error, but have not seen any solutions....can someone help ?
    Here is the one of the test programs that I am using:
    import java.sql.*;
    * Microsoft SQL Server JDBC test program
    public class Test1 {
    public Test1() throws Exception {
    // Get connection
    DriverManager.registerDriver(new
    com.microsoft.jdbc.sqlserver.SQLServerDriver());
    Connection connection = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://LAPTOP01:1433","sa","sqladmin");
    if (connection != null) {
    System.out.println();
    System.out.println("Successfully connected");
    System.out.println();
    // Meta data
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println("\nDriver Information");
    System.out.println("Driver Name: "
    + meta.getDriverName());
    System.out.println("Driver Version: "
    + meta.getDriverVersion());
    System.out.println("\nDatabase Information ");
    System.out.println("Database Name: "
    + meta.getDatabaseProductName());
    System.out.println("Database Version: "+
    meta.getDatabaseProductVersion());
    } // Test
    public static void main (String args[]) throws Exception {
    Test1 test = new Test1();

    I want to say that there was nothing wrong
    with my classpath config., I am still not sure why
    that didn't work, there is what I did to resolved
    this issue.You can say that all you like but if you are getting NoClassDefFound errors, that's because the class associated with the error is not in your classpath.
    (For future reference: you will find it easier to solve problems if you assume that the problem is your fault, instead of trying to blame something else. It almost always is your fault -- at least that's been my experience.)
    1. I had to set my DB connection protocol to TCP/IP
    (this was not the default), this was done by running
    the
    file "svrnetcn.exe" and then in the SQL Server Network
    Utility window, enable TCP/IP and set the port to
    1433.Irrelevant to the classpath problem.
    2. I then copied all three of the Microsoft JDBC
    driver files to the ..\jre\lib\ext dir of my jdk
    installed dir.The classpath always includes all jar files in this directory. That's why doing that fixed your problem. My bet is that you didn't have the jar file containing the driver in your classpath before, you just had the directory containing that jar file.
    3. Updated my OS path to located these files
    and....BINGO! (that simple)Unnecessary for solving classpath problems.
    4. Took a crash course on JDBC & basic Java and now I
    have created my database, all tables, scripts,
    stored procedures and can read/write and do all kinds
    of neat stuff.All's well that ends well. After a few months you'll wonder what all the fuss was about.

  • Urgent help needed on writing errors in to windows events application logs

    Hi all,
    we have web based application. Whenever there is critical errors encounters in our application we need to write that errors in to windows
    event viewer, application logs. Please help me on how to do this.
    do we have any specific API for this ?
    thanks in advance
    Shivakumar

    You should use WinAPI to do so. Asking in JNI forum (or specialized WinAPI forum) for more details is good idea I think.

  • Urgent help needed on writing errors in to windows application logs

    Hi all,
    we have web based application. Whenever there is critical errors encounters in our application we need to write that errors in to windows
    event viewer, application logs. Please help me on how to do this.
    do we have any specific API for this ?
    thanks in advance
    Shivakumar

    You should use WinAPI and followed functions: RegisterEventSource(), ReportEvent() and may be some more. It was some time ago as I deal with...

Maybe you are looking for

  • Cannot download Web Start app

    I've got an application up and running, but when I try to load it onto the website and download from there, I get the following error: java.net.ConnectException: Connection refused: connect      at java.net.PlainSocketImpl.socketConnect(Native Method

  • Satellite A500 - mouse pad freezes every time I go onto the internet

    Hi all, I have a Toshiba Satellite A500 and every time I go onto the internet my mouse pad freezes. The only option I have is to restart the computer again. This is becoming very frustrating as I do not know what to do? If someone can help this would

  • Cannot paste text into a text layer in Photoshop

    Since a couple of days ago I cannot paste text into a photoshop text layer from any other source, like safari, word etc. I get an "popup error"-window in swedish (my language) saying something like "Could not complete the paste text command because t

  • Z field in open item display

    Hi, in F-04 screen , we have a Z field called BankRef No. while uploading customer open item, we use this field. while showing the customer open item display, this Z field is not shown. the requirement is to see this field in the customer open item d

  • Upgrade failure to 11.1.102.63

    Today I was having problems viewing Flash video on Firefox so I checked for possible upgrades and turned out Flash had one available. I tried to upgrade to 11.1.102.3 and no matter how many times I did when I restarted Firefox I get this message when