(EPG Install) Error while loading image

Hi,
I am facing "ORA-22288: file or LOB operation FILEOPEN failed" error while running apex_epg_config step. But all the steps before that (i.e. APEX Install [@apexins users users temp /i/] and change admin password) went all fine.
I am trying to install APEX 4.1 on "Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production".
I went through [url https://forums.oracle.com/forums/thread.jspa?messageID=9673913]this thread. But I am not passing /apex directory (apex directory is under "C:/Ash/Technical/Database/Oracle/apex4.1") , here is the outcome:
C:\Ash\Technical\Database\Oracle\apex4.1\apex>
11:33:41 sys@dev10db> @apex_epg_config.sql C:/Ash/Technical/Database/Oracle/apex4.1
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.21
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.03
Directory created.
Elapsed: 00:00:00.03
declare
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
No such file or directory
ORA-06512: at "SYS.XMLTYPE", line 296
ORA-06512: at line 18
Elapsed: 00:00:00.04
Commit complete.
Elapsed: 00:00:00.00
PL/SQL procedure successfully completed.
Elapsed: 00:00:01.14
declare
ERROR at line 1:
ORA-31001: Invalid resource handle or path name "/images"
ORA-06512: at "XDB.DBMS_XDB", line 473
ORA-06512: at line 37
Elapsed: 00:00:00.17
timing for: Load Images
Elapsed: 00:00:01.42
Session altered.
Elapsed: 00:00:00.00
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.48
Commit complete.
Elapsed: 00:00:00.01
Session altered.
Elapsed: 00:00:00.01
Directory dropped.
Elapsed: 00:00:00.07I am installing from my windows XP, but the db server is on Linux.
Error above (line 18) is actually on this line of "apex_epg_config_core.sql" (my db charset is UTF8)
filelist_xml xmltype := xmltype(bfilename(upload_directory_name,file_list),nls_charset_id('AL32UTF8'));
The error clearly suggest that the there is an issue with access my directory or file in that directory.
And I believe the 2nd error "ORA-31001: Invalid resource handle or path name "/images"", will go itself once the first one is resolved.
I went through the documentation and other forum threads, but I am stuck with this EPG install, it may be very silly thing that I may be missing, but any help in this matter would be highly appreciated.
Thanks,
Ash
Edited by: ash0602 on Sep 5, 2011 5:19 PM

Thanks Andy and Kiran for taking time to respond.
Andy, "@apex_epg_config.sql C:/Ash/Technical/Database/Oracle/" will not solve the problem, neither changing directory's name from apex4.1 to apex_4.1_en, as my directory structure till images is: "C:\Ash\Technical\Database\Oracle\apex4.1\apex\images".
Kiran, sorry but I do not understand the difference between what I have written what you mentioned above.
Though I understood the issue, when you see the apex underlying code (apex_epg_config_core.sql) it is actually creating a directory object ('APEX_IMAGES') in the database. While I was trying to refer the directory on my local windows PC ('C:\Ash\Technical\Database\Oracle\apex4.1\apex\images'). I then logged into the LINUX server and ran the command and it all went fine, see the response below:
SQL> @apex_epg_config /opt/oracle/product/11.2.0/db1
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
old   1: create directory APEX_IMAGES as '&1/apex/images'
new   1: create directory APEX_IMAGES as '/opt/oracle/product/11.2.0/db1/apex/images'
Directory created.
old  47:     if '&IMGUPG' != '' then
new  47:     if '' != '' then
old  48:         l_mv_folder := '&IMGUPG';
new  48:         l_mv_folder := '';
PL/SQL procedure successfully completed.
Commit complete.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
timing for: Load Images
Elapsed: 00:00:31.78
Session altered.
PL/SQL procedure successfully completed.
Commit complete.
Session altered.
Directory dropped.Though I moved 1 step forward, but my apex login page (http://<server>:8080/apex/apex_admin => redirected to http://<server>:8080/apex/f?p=4550:10:<session>) refuse to come up as it is now showing "[url https://forums.oracle.com/forums/thread.jspa?threadID=1112378]apex is undefined" error.
I did the installation as [@apexins users users temp /i/] mentioned in the docs, and this is first install not the upgrade.
Any help on this ['apex' is undefined] (javascript error) would be really helpful.
Thanks,
Ash

Similar Messages

  • Error while loading image from Windows Phone gallery into my Unity application

    Hi,
    I have developped a Windows Phone plugin for my Unity application which enable me to open the Windows Phone gallery in order to select an image and get its physic path.
    I've used this path to load the image in the application with a WWW object but I get this error
    "Error. Operation has failed with error 0x80070005: access is denied."
    The path is correct because I display it and I've ticked the ID_CAP_MEDIALIB_PHOTO in the WMAppManifest.xml (Capabilities tab).
    Here is my Unity C# test code to load the image with the path.
    IEnumerator loadImage()
    this.guiText.text = filePath;
    WWW www = new WWW(filePath);
    yield return www;
    if(www.error == null)
    GameObject texture = GameObject.Find("UNITY");
    if(texture != null)
    texture.guiTexture.texture = www.texture;
    Any help would be appreciated ! Thanks in advance !

    The error is correct. Your app doesn't have direct access to that path. It can directly load files only from its app data and install directories.
    To load from the libraries I it needs to use the StorageFile to get brokered access.
    The easiest way may be to copy from the library to local data then use WWW to load that. Otherwise you'll probably need to wrap the StorageFile can for use in unity. Unity has such a wrapper in the Unity Engine.WSA namespace that you can try

  • "Error while loading library. DBQueries."  installing OCMS

    Hi,
    I am trying to reinstall OCMS on a linux box and I get "Error while loading library. DBQueries." just on the DB details screen.
    Any idea?
    Thanks in advance.
    Fernando

    Hi Fernando,
    which version of OCMS you are using? which installation mode did you choose, development mode or install on an existing application server?
    I have experienced the same problem when trying to install the OCMS 10.1.3.4 on a Linux vmware machine, after I re-created a complete new linux image, and the installation worked fine.

  • Error While loading a image from database

    Purpose
    Error While loading the Image from the database
    ORA-06502: PL/SQL : numeric or value error:Character string buffer too small
    ORA-06512: at "Sys.HTP" ,line 1480
    Requirement:
    I am developing the web pages using PSP(Pl/sql Serverpages) . I have a requirement to show a image in the webpage. I got the following procedures from the oracle website.
    I have created the following table to store the images
    create table DEMO
    ID INTEGER not null,
    THEBLOB BLOB
    And I also uploaded the Images. Now I am try to get a image from the table using the following procedure .But I am getting the error message line 25( htp.prn( utl_raw.cast_to_varchar2( l_raw ) );) .at it throws the following error messages
    ORA-06502: PL/SQL : numeric or value error:Character string buffer too small
    ORA-06512: at "Sys.HTP" ,line 1480
    Procedure that I used to get the image
    create or replace package body image_get
    as
    procedure gif( p_id in demo.id%type )
    is
    l_lob blob;
    l_amt number default 30;
    l_off number default 1;
    l_raw raw(4096);
    begin
    select theBlob into l_lob
    from demo
    where id = p_id;
    -- make sure to change this for your type!
    owa_util.mime_header( 'image/gif' );
    begin
    loop
    dbms_lob.read( l_lob, l_amt, l_off, l_raw );
    -- it is vital to use htp.PRN to avoid
    -- spurious line feeds getting added to your
    -- document
    htp.prn( utl_raw.cast_to_varchar2( l_raw ) );
    l_off := l_off+l_amt;
    l_amt := 4096;
    end loop;
    exception
    when no_data_found then
    NULL;
    end;
    end;
    end;
    What I have to do to correct this problem. This demo procedure and table that I am downloaded from oracle. Some where I made a mistake. any help??
    Thanks,
    Nats

    Hi Satish,
    I have set the raw value as 3600 but still its gives the same error only. When I debug the procedure its throwing the error stack in
    SYS.htp.prn procedure of the following line of code
    if (rows_in < pack_after) then
    while ((len - loc) >= HTBUF_LEN)
    loop
    rows_in := rows_in + 1;
    htbuf(rows_in) := substr(cbuf, loc + 1, HTBUF_LEN);
    loc := loc + HTBUF_LEN;
    end loop;
    if (loc < len)
    then
    rows_in := rows_in + 1;
    htbuf(rows_in) := substr(cbuf, loc + 1);
    end if;
    return;
    end if;
    Its a system procedure. I don't no how to proceed .. I am really stucked on this....is their any other method to take picture from the database and displayed in the web page.....???? any idea..../suggesstion??
    Thanks for your help!!!.

  • Error while loading shared libraries after installing cleartype fonts.

    Hi there.!
    Since the default fonts of Arch looked quite ugly on my LCD, I read the Fonts wiki and installed cleartype packages from AUR.But now, when I try switching to runlevel 5 (I use GDM by the way), it throws up following error:
    /usr/sbin/gdm-binary: error while loading shared libraries: libcairo.so.2 : cannot open shared object file: No such file or directory.
    I didn't edit the pkgbuilds in any way.Running "locate libcairo.so" doesn't show up anything either.
    Any help guys.?

    Well you have two choices, use windows XP or google for 'fonts linux ugly'
    or there is a search feature on this forum, it works well.
    setting a right DPI will probably make your fonts look the best no matter what packages you install or ~/.fonts file you use.
    Last edited by jacko (2009-01-10 12:32:54)

  • Unable to install JRun on Linux receive error while loading shared libraries

    I'm installing JRun trial version on Ubuntu with java version
    "1.6.0_07". I receive the following errors when I install:
    guest:~/Desktop$ sh ./jrun-40-linux-en.bin -i gui
    Preparing to install...
    Extracting the installation resources from the installer
    archive...
    Configuring the installer for this system's environment...
    dirname: error while loading shared libraries: libc.so.6:
    cannot open shared object file: No such file or directory
    /bin/ls: error while loading shared libraries: librt.so.1:
    cannot open shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6:
    cannot open shared object file: No such file or directory
    dirname: error while loading shared libraries: libc.so.6:
    cannot open shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6:
    cannot open shared object file: No such file or directory
    Launching installer...
    rm: error while loading shared libraries: libc.so.6: cannot
    open shared object file: No such file or directory
    rm: error while loading shared libraries: libc.so.6: cannot
    open shared object file: No such file or directory

    I get that error too when try to install Jrun 4.0 on Open
    Suse 11.0, Can anyone show me how to solve that problem.

  • Installing flashplayer 11 on Linux 64 bit - error while loading shared libraries: libX11.so.6

    I've downloaded the flashplayer_11_sa_debug.i386.tar.gz file and extracted it on my RHEL box. When I run ./flashplayerdebugger I get the following error:
    ./flashplayerdebugger: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS64
    This lib is found in /usr/lib64/libX11.so.6 on this machine.
    It is my understanding that flashplayer has native 64 bit support on Linux and therefore should be compatible with lib64 libaries, so why I am I seeing this error? I've been told it's because it's a 32 bit version of the player....
    I also see this error if I install the flashplayer_11_sa.i386.tar.gz projector instead of the debugger version.
    There don't seem to be any specific 64bit versions of the flashplayer from the download page: http://www.adobe.com/support/flashplayer/downloads.html, yet there seem to be beta releases of a 64 bit Linux player which are no longer available.
    Can anyone help me with this? Where can I get a 64bit v11 flashplayer for Linux?
    Thanks

    Hi MurrayFurtado,
    The builds you are attempting to download from that page are the 32-bit content debuggers and standalone players.  To download the 64-bit players go to http://get.adobe.com/flashplayer (or get.adobe.com/flashplayer/otherversions).
    Since you didn't specify which version of RHEL you have, FP 11 is supported on RHEL 5.6 or later (http://www.adobe.com/products/flashplayer/tech-specs.html).
    Maria

  • Install RAC failed with root.sh error while loading shared libraries: libst

    Hi ,
    I install rac under vmware workstation using this atricle .
    http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
    everything work smoothly but I faced error with root.sh
    Failed to upgrade Oracle Cluster Registry configuration
    I found metlalink talk about missing compat-libstdc++-33-3.2.3-47.3.ia64.rpm and must be installed according to
    that .
    The probelm rasied when run
    /u01/app/oracle/product/10.2.0/crs/bin/crsctl.bin: error while loading shared libraries: libstdc++.so.5: cannot
    open shared object file: No such file or directory
    Failure initializing entries in /etc/oracle/scls_scr/rac2.
    Linux version is RHE4
    [oracle@rac1 bin]$ uname -a
    Linux rac1.localdomain 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
    when install this package it does not work
    [root@rac1 RPMS]# rpm -Uvh compat-libstdc++-33-3.2.3-47.3.ia64.rpm
    warning: compat-libstdc++-33-3.2.3-47.3.ia64.rpm: V3 DSA signature: NOKEY, key ID b38a8516error: Failed
    dependencies:
    libc.so.6.1()(64bit) is needed by compat-libstdc++-33-3.2.3-47.3.ia64 libc.so.6.1(GLIBC_2.2)(64bit)
    is needed by compat-libstdc++-33-3.2.3-47.3.ia64 libc.so.6.1(GLIBC_2.3)(64bit) is needed by compat-
    libstdc++-33-3.2.3-47.3.ia64 libgcc_s.so.1()(64bit) is needed by compat-libstdc++-33-3.2.3-47.3.ia64
    libgcc_s.so.1(GCC_3.0)(64bit) is needed by compat-libstdc++-33-3.2.3-47.3.ia64 libgcc_s.so.1(GCC_3.3)(64bit)
    is needed by compat-libstdc++-33-3.2.3-47.3.ia64 libgcc_s.so.1(GLIBC_2.0)(64bit) is needed by compat-
    libstdc++-33-3.2.3-47.3.ia64 libm.so.6.1()(64bit) is needed by compat-libstdc++-33-3.2.3-47.3.ia64
    compat-libstdc++ = 7.3-2.96.128 is needed by (installed) compat-libstdc++-devel-7.3-2.96.128.i386 compat-
    libstdc++ = 7.3 is needed by (installed) compat-gcc-c++-7.3-2.96.128.i386[root@rac1 RPMS]#
    My probelm cannot install this packages ? What shoudl I do .

    user12010537 wrote:
    Hi ,
    I found metlalink talk about missing compat-libstdc++-33-3.2.3-47.3.ia64.rpm and must be installed according to
    Linux version is RHE4
    [root@rac1 RPMS]# rpm -Uvh compat-libstdc++-33-3.2.3-47.3.ia64.rpm
    warning: compat-libstdc++-33-3.2.3-47.3.ia64.rpm: V3 DSA signature: NOKEY, key ID b38a8516error: Failed
    dependencies:
    libc.so.6.1()(64bit) is needed by compat-libstdc++-33-3.2.3-47.3.ia64
    My probelm cannot install this packages ? What shoudl I do .
    Hi,
    You need to install the dependency package first like glibc, etc
    also see the output from runcluvfy, it should show which packages need to installed
    Cheers

  • Error while loading shared libraries: /usr/lib/libwebkitgtk-1.0.so.0

    So, I have a sligtly old computer that I use web browsers like midori on, because they are good for slow computers. Whenever I launch dwb or midori or luakit from the launcher in the Gnome shell, nothing happends. When launching from the terminal (dwb here, it happens for all three) I get:
    dwb: error while loading shared libraries: /usr/lib/libwebkitgtk-1.0.so.0: file too short
    and when installing packages I get:
    ldconfig: File /usr/lib/libjavascriptcoregtk-1.0.so is empty, not checked.
    ldconfig: File /usr/lib/libjavascriptcoregtk-1.0.so.0.16.10 is empty, not checked.
    ldconfig: File /usr/lib/libtotem.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libxvidcore.so.4.3 is empty, not checked.
    ldconfig: File /usr/lib/libwebkitgtk-1.0.so.0.22.8 is empty, not checked.
    ldconfig: File /usr/lib/libjavascriptcoregtk-1.0.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libxvidcore.so is empty, not checked.
    ldconfig: File /usr/lib/libxvidcore.so.4 is empty, not checked.
    ldconfig: File /usr/lib/libtotem.so.0.0.0 is empty, not checked.
    ldconfig: File /usr/lib/libwebkitgtk-1.0.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libtotem.so is empty, not checked.
    ldconfig: File /usr/lib/libwebkitgtk-1.0.so is empty, not checked.
    The package installs, and then this prints out.
    What can I do to fix it?
    Note: this happened after a system update
    Last edited by dubble (2014-06-04 20:42:09)

    Alright, I read the thread and preformed
    sudo pacman -Syyf <all packages updated>
    but the option wasn't found (-f)
    so i did
    sudo pacman -Syyu <all packages updated>
    and it spit out several hundered lines consisting of:
    webkitgtk2: /usr/share/webkitgtk-1.0/images/panIcon.png exists in filesystem
    except with different packages and files
    help?

  • Error while loading shared libraries: libglut.so.3: cannot open shared

    Hi, I bought the new Humble Bundle today and downloaded the tar.gz file for Fieldrunners (which is supposed to work under linux)
    "error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory" is the message I get when I put ./Fieldrunners into konsole after copying the fieldrunners folder into /opt
    I have freeglut-2.8.0-1 installed
    This is the README:
    This is Fieldrunners for Linux.
    It was built under Ubuntu 12.04 but is known to work in other distros.
    The only external dependancy is the freeglut3 library.
    To install:
      copy the fieldrunners directory (executable and game assets) to /opt
      copy the .fieldrunners directory (user options, achievements and saves) to your home directory.
    If you don't want to copy the fieldrunners directory to /opt, you can likely start fieldrunners from any folder and it will attempt to find the assets in the same folder as the executable.
    The executable /opt/fieldrunners/Fieldrunners will create the .fieldrunners directory in the home directory if not found.
    EDIT: Forgot to mention, there is no PKGBUILD file in the tar.gz
    Last edited by harsha (2012-08-15 23:43:19)

    My Fieldrunners says:
    cannot open audio device (Device or resource busy)
    Fieldrunners: pcm.c:928: snd_pcm_state: Assertion `pcm' failed.
    ... so I have to kill pulseaudio first (or use padsp). After that (with alsa), it has choppy sound. 1 second sound, one pause...
    Spacechem is windows binary + a wine'ish blob (that just freezes on my machine), comes only as rpm/deb and seems to insist to be installed in /opt (AND some files in /usr/share). The included .exe doesn't work with native wine either (without further adjustments at least).
    Doesn't really look good at all so far, this bundle.
    edit:
    Also: Uplink seems to be unplayable on a big resolution Display without workarounds due to its small font...?
    Spirits says:
    (Spirits-64:14143): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Fatal error reading PNG image file: Incompatible libpng version in application and library
    ... but seems to work fine at a first glance (safe for a missing picture in the launcher which isn't really tragic).
    edit:
    ( Aaaand, now I notice I'm in the wrong thread and/or forum. Where did that generic "is the bundle working?"-thread go? Stupid multi-tabbing xD )
    Last edited by whoops (2012-08-16 20:47:17)

  • Error while loading shared libraries: librt.so.1: cannot open shared object

    error while loading shared libraries: librt.so.1: cannot open shared object
    I cant run my apache server v2.2.3.
    Can someone help me?
    thanks in advance

    That could be an accessibility issue. Check the user with whom you installed Apache server. Check the user has permissions to access the libraries.
    -Mahendra.

  • Error while loading shared libraries

    error while loading shared libraries
    I just installed 10g . on a Fedora Core 4 machine and after a reboot I tried to run sqlplus and got this type of error. I also got the same error when trying to lsnrctl status ...
    [oracle@localhost ~]$ sqlplus
    sqlplus: error while loading shared libraries: /apps/oracle/product/10g/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied
    [oracle@localhost ~]$
    declare -x CLASSPATH="/apps/oracle/product/10g/JRE:/apps/oracle/product/10g/jlib:/apps/oracle/product/10g/rdbms/jlib"
    declare -x EDITOR="vi"
    declare -x G_BROKEN_FILENAMES="1"
    declare -x HISTSIZE="1000"
    declare -x HOME="/home/oracle"
    declare -x HOSTNAME="localhost.localdomain"
    declare -x INPUTRC="/etc/inputrc"
    declare -x KDEDIR="/usr"
    declare -x LANG="en_US.UTF-8"
    declare -x LD_LIBRARY_PATH="/apps/oracle/product/10g/lib:/lib:/usr/lib"
    declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
    declare -x LOGNAME="oracle"
    declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"
    declare -x MAIL="/var/spool/mail/oracle"
    declare -x OLDPWD="/home/oracle"
    declare -x ORACLE_BASE="/apps/oracle"
    declare -x ORACLE_HOME="/apps/oracle/product/10g"
    declare -x ORACLE_SID="TST2"
    declare -x ORACLE_TERM="xterm"
    declare -x PATH="/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin"
    declare -x PWD="/home/oracle"
    declare -x QTDIR="/usr/lib/qt-3.3"
    declare -x SHELL="/bin/bash"
    declare -x SHLVL="1"
    declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
    declare -x SSH_CLIENT="::ffff:192.168.1.152 2503 22"
    declare -x SSH_CONNECTION="::ffff:192.168.1.152 2503 ::ffff:192.168.121.8 22"
    declare -x SSH_TTY="/dev/pts/2"
    declare -x TERM="xterm"
    declare -x TMP="/home/oracle/tmp"
    declare -x TMPDIR="/home/oracle/tmp"
    declare -x USER="oracle"
    [oracle@localhost ~]$
    Any input would be highly appreciated.
    Thanks
    Ambrosius

    yap. got it..
    disabled SELinux then run it.
    I didn't get any errors and have it up and running. Here is what I did:
    Full Fedora Core 4 install with SELinux enabled (default settings). Then, after install, disable SELinux in the /etc/selinux/config file.
    Thanks
    Ambrosius

  • Error while loading application

    Hi,
    I'm not sure this is the right forum, but I try anyway.
    I'm trying to use a 3rd party Java application Unico (just use it, I don't develop anything of that) that after working for weeks, suddenly refuses to load at startup, and returns an error like "Error while loading application" (no error code number no other hint about the problem).
    The tests that did not work: 1. I installed the Unico again, 2. I created a new login and installed Unico in that login, 3. I started in safe mode (pressing shift at startup) - I always had the same message and loading aborted.
    The only workaround I found is to use an external startup disk, that I fortunately had available to face cases like this: when starting the system up from that disk Unico WORKS, not only, but I can even use the same application in my internal disk that does not load otherwise.
    My first conclusion is that something wrong happened to my system on the startup disk that prevents loading a Java application. The user Library seems to make no difference.
    So my questions to the Java experts are:
    - what in the system could suddenly block the loading of a Java application ? where should I look in the system (I can use the terminal and know something about UNIX) to fix this ? could this be caused by a permission problem ? (it looks a lot alike, but repairing permissions in Disk Utility didn't help) if so where are the Java support files stored in the Library and System Library to check and compare between the good and the bad system ?
    - is there a better workaround to this problem, other than starting up from a different disk ?
    Some additional info:
    - the application Unico is freely provided by the Italian tax organization, so there is basically no support to use it...
    - Unico requires Java 1.3.1: my system is constantly updated/upgraded and it runs the most recent release that is 1.4.0 (I guess...) and anyway worked very well till a week ago.
    - since the last time the application had worked I installed two (non Apple) packages: the TomTom (GPS navigator) setup application, and new Epson printer drivers for my new printer.
    - in all cases I repaired permissions and I also verified the disk with the disk utility
    - Unico does not uses printers (it creates pdf files instead) and does not use USB, which in turn is used by both the Epson driver and the TomTom app.
    So I cannot connect the Unico malfunctioning to this new SW except for the fact that I cannot find any other answer...
    Thanks to anybody having any suggestion about
    Piero

    I made some research: it seems to me that most (if not all) the Java machine is in the /System/Library/Framework/JavaVM.framework folder: but I found no evident difference in the file permissions between the good and the bad system (see my previous posts).
    There are other locations where there are java related files: eg in Javaconfig.plist (in /System/Library/Java) that seems to name the locations for all components of the java machine. I checked some files in /usr/bin referenced in the .plist: again no difference.
    Something "could" be a clue; just before the crashing point the Unico (java) program causes a message in the Console:
    "[JavaAppLauncher Warning] Specifying a specific version for JVMVersion 1.3.1 is deprecated. Use the more general 1.3* instead."
    This would be a clue... except that this message appears also when the program loads without problem (in the "good" system where it works). So it is more a warning.
    Another clue is the message that appears in the console in the "good" system when the Unico loads correctly; and this seems really an error message (whateve it means):
    "Index 1 for 'pxm#' 2062 out of range (must be between 0 and 0)
    Attempted to read past end of 'pxm#'(2062) resource"
    The funny thing is that when this message appears, Unico loads with no probem, while in the "bad" system it doesn't even get to this point.
    So in my opinion both messages are irrilevant to identify the problem.
    Or not ?
    And again my main question is: what in the system could suddenly block the loading of a Java application ?
    Thanks for any hint
    Piero

  • While booting linux VM getting error "error while loading shared libraries

    Hi Expert,
    while booting Oracle linux Virtual Machine getting error "error while loading shared libraries: libpopt.so.0 cannot open shared object file" no such file or directory
    Now i am unable to boot linux, any help appreciated.
    Note: Its Oracle Linux 5.8 x86_64 under Oracle VirtualBox
    Edited by: IgnitedMind on Apr 30, 2013 7:12 AM
    Edited by: IgnitedMind on May 1, 2013 12:04 AM
    Edited by: IgnitedMind on May 1, 2013 12:06 AM

    Without knowing what you have installed or what modifications you have done it is not possible to say what goes wrong. Like I previously mentioned, you may have installed an incompatible version of a core system library. Sorry, I'm not going to read any installation manual to find out what you might have done wrong. You may need to reinstall the complete system or just the popt installation package.
    Based on my experience people sometimes seem to misunderstanding the concept of software version requirements, which are always minimum version requirements and does not mean, for instance, software made for gcc 4.1.10 does not work under 4.1.12. You cannot simply upgrade or downgrade core system libraries without affecting the installed system. Using YUM to install software will check this and prevent you from breaking your system. RPM does not check any dependencies and hence can break your system beyond repair.

  • Oracleorcl: error while loading shared libraries: libaio.so.1: cannot open

    Hi,
    I installed Oracle 10g on RHLinux AS4. I created a initOEMREP.ora file
    in $ORACLE_HOME/dbs.
    my .bash_profile file is,
    # .bash_profile
    # 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
    #Added on 05-feb-2008
    #For oracle1g db installation
    export ORACLE_SID=OEMREP
    export ORACLE_BASE=/home/app/oracle10gdb
    export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
    export PATH=$ORACLE_HOME/bin:$PATH:.
    export LD_LIBRARY_KERNEL=$ORACLE_HOME/lib
    export TNS_ADMIN=$ORACLE_HOME/network/admin
    export TMP=/home/tmp
    export TMPDIR=/home/tmp
    While
    $sqlplus "/as sysdba"
    I am getting
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 6 21:27:08 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    oracleorcl: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
    ERROR:
    ORA-12547: TNS:lost contact
    Please help me to solve this.
    Regards,
    Mathew

    Hi,
    THank you for the replay. Where will I get this package?
    Regards,
    Mathew.

Maybe you are looking for