RE: RE: [Sydney-Oracle] db console issues on AIX

From: Nuno Pinto do Souto
Sent on: Wednesday, June 2, 2010 10:19 AM

Dipak,

 

You might want to try with java5.  The important thing is to remap the jdk directory in $ORACLE_HOME to whatever java you got in the IBM OS.

It might well be that IBM’s java 1.5 will get rid of the problem.  That means using /usr/jdk1.5 in your original line, instead of /usr/jdk1.4

 

 

Cheers

Nuno Pinto do Souto

DBA Team, Australia/NZ

 

From: [address removed] [mailto:[address removed]] On Behalf Of Dipak Sharma
Sent: Wednesday, 2 June 2010 10:14 AM
To: [address removed]
Subject: Re: RE: [Sydney-Oracle] db console issues on AIX

 

Thanks Karunika,

 

I tried the solution that you provided below but i still keep getting the same error message. I guess it makes sense, as the error message that i get is :

 

Exception in thread "main" java.lang.UnsatisfiedLinkError: haltImpl

 

I am waiting for the UNIX team to respond me in relation to the JDK 1.4, the OS only have java 5 installed and not JDK1.4. Will post the outcome, as soon as i have completed the soft link.

 

Regards,

Dipak

On Jun 02, 2010, at 09:45 AM, karunika <[address removed]> wrote:

Hi
 
I also faced same type of issue with my oracele 10.2.0.4  on Suse Linux 9 and solved with Metalink support.
error was java.lang.Exception: IOException in sending Request :: Connection refused .  so same as you may need manually re link . But i am not much sure what exactly required for you. But i would like to share this with you to get some idea.. and can refer more documents if need.
 
 
 
following thread i followed.
 
 

 

1). please stop the db control
$export ORACLE_HOME=<db_home>
$export ORACLE_SID=<db_sid>
$<ORACLE_HOME>/bin/emctl stop dbconsole
-->after that, please check if there is idle dbcontrol process by: "ps -ef|grep emagent" and "ps -ef|grep dbconsole"
-->If there is, please kill it.


2) Unsecure the Dbconsole
- Unsecure database control using
$ORACLE_HOME/bin>emctl unsecure dbconsole

 


3). Force an upload:

$ORACLE_HOME/bin> emctl upload

4). Also consider Resecuring the Dbconsole
- Secure database control using
$ORACLE_HOME/bin>emctl secure dbconsole

5). $<ORACLE_HOME>/bin/emctl start dbconsole

3. If the above steps don't fix the issue, please provide the following files:
 
Problem did not solve and following error given
 
java.lang.Exception: IOException in sending Request :: Connection refused
 
 

Please follow the steps below:

1. Stop DB Control (DBConsole)
emctl stop dbconsole
-->please check if there is idle db control process in the server by:

 $ps -ef|grep emagent

and "ps -ef|grep dbconsole", if there is, please kill it

 

  • if all processes can not be killed by $ killall dbconsole command
  • try this
  • $kill -9 10268

    2. Set correct permissions for Oracle library files
    cd $ORACLE_HOME
    chmod u+wx `find . -name "*.so"`

    3. Restart DB Control (DBConsole)
    emctl start dbconsole

    4. Login to DB Control Console via web browser to confirm that the errors no longer exist

 

 

3)  Still the problem exist. Follow this

 

Solution
+ Stop the dbconsole
+ Relink the agent component manually using this procedure :

1. Make a copy of $ORACLE_HOME/sysman/lib/env_sysman.mk file.

2. Edit the script $ORACLE_HOME/sysman/lib/env_sysman.mk :

- search for the section having "MK_EMDW_LIBNMEMSO_SHLIB"

- replace the line

$(LIBNMEM) $(LIBNMER) \

with

$(LIBNMEM) $(LIBNMER) $(LIBNMO) \

3. Perform the following relink:

cd $ORACLE_HOME/sysman/lib
make -f ins_sysman.mk agent

This will not affect the other database components as only the agent is being relinked

 

4. emctl start dbconsole

 

 Step 3 could solve the  problem. 

 

 


To: [address removed]
From: [address removed]
Subject: Re: RE: [Sydney-Oracle] db console issues on AIX
Date: Tue, 1 Jun 2010 17:39:26 -0400

Thanks Nuno, i will check what jdk is installed on the server, if not i will get the UNIX team to get it installed. I will post as soon as i have this fixed.

 

Regards,

Dipak

On Jun 02, 2010, at 07:21 AM, Nuno Pinto do Souto <[address removed]> wrote:

Hi Dipak. 

I’ve had this problem as well on AIX and the solution from Metalink is the only one that has worked consistently.  In particular, dbua and dbca suffer from this problem in power5 systems.

As such, I’d recommend you go with it.  The Java implementation in AIX is very peculiar and this is one way of ensuring whatever it is that IBM does to make it work, gets done.

 

 

Cheers

Nuno Pinto do Souto

DBA Team, Australia/NZ

 

From: [address removed] [mailto:[address removed]] On Behalf Of Dipak Sharma
Sent: Tuesday, 1 June 2010 6:22 PM
To: [address removed]
Subject: [Sydney-Oracle] db console issues on AIX

 

Hi all




I have been having some issues with starting db console, my environment is:




Oracle 10.2.0.4 64bit on AIX 6







On Metalink I found the following solution, I was wondering if there is any other proper solution rather than this ( which is a workaround IMO), as such things can cause issues in future during upgrades. Any comments would be appreciated.




Thanks all for your help.




EMCA Fails With Error "CONFIG: Exception in thread "main" java.lang.UnsatisfiedLinkError: haltImpl" (Doc ID 734319.1)

 

Modified22-MAY-2010TypePROBLEM

In this Document
  Symptoms
  Cause
  Solution
  References


Applies to:

Enterprise Manager Grid Control - Version: 10.2.0.4 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

  EMCA failed Starting Database Control with below errors:

CONFIG: Exception in thread "main" java.lang.UnsatisfiedLinkError: haltImpl
at java.lang.Shutdown.halt(Shutdown.java:184)
at java.lang.Shutdown.exit(Shutdown.java:256)
at java.lang.Runtime.exit(Runtime.java:123)
at java.lang.System.exit(System.java:791)
at oracle.sysman.emSDK.conf.TargetInstallermain(TargetInstaller.java:4183)

+ From ORACLE_HOME/<hostname>_<SID>/sysman/log/emdb.nohup

Exception in thread "main" java.lang.UnsatisfiedLinkError: getClassContext
at com.ibmjvm.classloader.ClassLoaderUtils.getLastClassLoader(ClassLoaderUtils.java:38)
at java.net.URL.getURLStreamHandler(URL.java:1086)
at java.net.URL.<init>(URL.java:394)
at java.net.URL.<init>(URL.java:284)
at java.net.URL.<init>(URL.java:307)
at sun.net.www.ParseUtil.fileToEncodedURL(ParseUtil.java:255)
at sun.misc.Launcher.getFileURL(Launcher.java:656)
at sun.misc.Launcher$ExtClassLoader.getExtURLs(Launcher.java:326)
at sun.misc.Launcher$ExtClassLoader.<init>(Launcher.java:295)
at sun.miscLauncher$1.run(Launcher.java:276)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:351)
at sun.misc.Launcher$ExtClassLoader.getExtClassLoader(Launcher.java:272)
at sun.misc.Launcher.<init>(Launcher.java:146)
at sun.misc.Launcher.<clinit>(Launcher.java:91)
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1415)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1397)
Could not create JVM.

 

Cause

Corrupted java in $ORACLE_HOME/jdk

Solution

To implement the solution, please execute the following steps:

Create softlink under $ORACLE_HOME with OS Installed Java.

- Rename $ORACLE_HOME/jdk (Do not remove).
- Create soft link in $ORACLE_HOME/jdk to OS Installed JAVA (or to JAVA which works properly without any issue)

for ex:
if OS Java is /usr/jdk14 then create soft link to /usr/jdk1.4 under $ORACLE_HOME as jdk.

 

Regards,

Dipak

 

Sent from my iPad

 

 






______________________________________________________
CONFIDENTIALITY NOTICE
This electronic mail message, including any and/or all attachments, is for the sole use of the intended recipient(s), and may contain confidential and/or privileged information, pertaining to business conducted under the direction and supervision of the sending organization. All electronic mail messages, which may have been established as expressed views and/or opinions (stated either within the electronic mail message or any of its attachments), are left to the sole responsibility of that of the sender, and are not necessarily attributed to the sending organization. Unauthorized interception, review, use, disclosure or distribution of any such information contained within this electronic mail message and/or its attachment(s), is (are) strictly prohibited. If you are not the intended recipient, please contact the sender by replying to this electronic mail message, along with the destruction all copies of the original electronic mail message (along with any attachments).
______________________________________________________

The Pythian Group

Database services & consulting in Australia. Meetup organizer.

Offer a perk for our members and get exposure.

Offer a perk →
Other nearby
Meetups
Why these groups?
x

The Meetup Groups shown here are topically similar to Sydney Oracle Meetup.

Groups are more likely to be displayed here if they:

  • have a Meetup scheduled
  • have a high rating
  • have a group photo
  • are "public" and not "private"
  • have shown they are likely to stick around (older than 30 days)
Find more Meetup Groups
near Sydney

Log in

  • Not registered with us yet?
or

Log in to Meetup with your Facebook account.

Sign up

or

Join this Meetup Group even quicker with your Facebook account.

By clicking the "Sign up using Facebook" or "Sign up" buttons above, you agree to Meetup's Terms of Service