Agent Connection to Instance - Failed  ORA-12541

Hi folks, I recently changed the SID (but not name) of my database. Everything has been working great, but I get the following error message in OEM after it's been running for about 10 minutes:
Agent Connection to Instance
Status Failed
Details Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
Since everything else is running fine (everything else in OEM is working fine, network connections via SQL Developer, Toad, JDBC, I'm not sure where to look.
I also have a second server running (on which I haven't changed the SID) to compare to. Outputs of lsnrctl services, the tnsnames.ora file, and everything else seems to line up.
I'd be happy to post anything that might be useful, thanks very much!

Hello,
recently I was hitting the same problem:
Listener Status: Up
Agent Connection to Instance Status: Failed
Details          Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
It turns out that the message is misleading and the problem lies in the locked dbsnmp account. I resolved that through
Grid Control / Targets / Search List / (Select DB with problems) -> Configure
where it showed the following error:
"java.sql.SQLException: ORA-28000: the account is locked The Connect Descriptor was (description=(address=(host=xx)(protocol=tcp)(port=xxxx))(connect_data=(service_name=xx)(instance_name=xx)(UR=A)))
Change dbsnmp Password - The error message shown above indicates that the agent is unable to monitor this database because the agent cannot logon. To correct this, the Monitor Password needs to match the corresponding database password for dbsnmp. To change both the dbsnmp database password and the Monitor Password, click the Change dbsnmp Pasword button. This operation will also unlock the dbsnmp user."
It is possible to change the password from that dialog what I did. It is working fine now.
I do not know if the problem lies in accout locked or wrong password after all, but repeating the configuration resolved the case.
Greetings
Remigiusz Boguszewicz

Similar Messages

  • Agent Connection to Instance error in Oracle Database 11G EM

    Hi
    I am getting the following error message when logging into EM on Oracle 11G Database.
    Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    Users can connect to the database no problem and it shows the Database Instance down, Agent Connection to Instance failed. The General tab shows green and the database is up.
    I have checked the emctl status and lsnrctl commands and the listener is up and servicing the database. I checked the ORACLE_SID environment (in Windows Server 2003) and this is correct.
    I have recently changed the passwords for SYSMAN and DBNSMP which were due to expire and since then the EM console has not loaded correctly.
    As I said the database is up and can service users through their application.
    Any help would be appreciated.
    Respect.

    Hi
    The listener is up and is handling the database and users are connecting succesfully. I think it is more to do with the Enterprise Manager.
    Can anyone give me some further info to troubleshoot?
    Regards
    Spencer

  • Ent. Manager is not able to connect to the database instance. ORA-12541

    Hi
    I have installed and configured Oracle 10.2.0.1 on a Microsoft Cluster with Windows 2003 Server.
    Database instance and listener are running OK on both cluster nodes.
    On one of the nodes (pwmssrv1) I configured Enterprise Manager to monitor and control the database.
    At the beginning it worked fine, but after making a reboot on this server the Enterprise Manager cannot see the database instance and listener anymore.
    I already recreated/reinstalled EM and the problem persists.
    When I try to access the Oracle EM I get the errors (it do not show the login page):
    Database Instance
    (it shows the red down arrow)
    Host pwmssrv1
    Port 1521
    SID WMS10
    Oracle Home C:\oracle\product\10.2.0\db_1
    Listener
    (it shows the red down arrow)
    Status Down
    Host pwmssrv1
    Port 1521
    Name FSLEFA_BOCWMS_ORA
    Oracle Home C:\oracle\product\10.2.0\db_1
    Location C:\oracle\product\10.2.0\db_1\network\admin
    Details TNS-12541: TNS:no listener
    Agent Connection to Instance
    (it shows the red down arrow)
    Status Failed
    Details ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)
    If I do the "emctl status dbconsole" it shows:
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://pwmssrv1.BOCWMS.COM:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory C:\oracle\product\10.2.0\db_1/pwmssrv1.BOCWMS.CO
    M_wms10/sysman/log
    I also look into the logs and it shows a few errors (emoms.log):
    2010-02-22 17:09:49,000 [HttpRequestHandler-9300338] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2010-02-22 17:09:56,000 [HttpRequestHandler-22569956] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2010-02-22 17:09:56,000 [HttpRequestHandler-22569956] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    2010-02-22 17:09:57,000 [HttpRequestHandler-22569956] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2010-02-22 17:09:57,000 [EMUI_17_09_57_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
    Can someone help me on this problem.
    Thanks in advance.
    Jose

    You need to do some troubleshooting to find exact issue...
    Here are some metalink notes,
    How to Verify Agent Connectivity to 'OMS and Repository' Target using emrepresp.pl [ID 472292.1]
    --Database Status Shows Down Getting Error "Failed to Connect to Database Instance: ORA-12541: TNS:no listener " [ID 402227.1]
    --Error While Configuring the Database from the Grid Control Console [ID 750621.1]
    Hope this helps,
    http://www.oracleracexpert.com/
    Oracle RAC Load balancing and failover
    http://www.oracleracexpert.com/2010/01/oracle-rac-load-balancing-and-failover.html
    Download Oracle Grid Control and ASMLib and Install
    http://www.oracleracexpert.com/2009/08/download-oracle-grid-control-and-asmlib.html

  • ORA-12505: Database Instance and Agent Connection to Instance will not work

    Hi,
    I have the following error: in Oracle 10g I try to connect to OEM and the listener is up but the Database Instance and Agent Connection to Instance are down. When I attempt to restart the instance, OEM will just hang indefinitely. I have used tnsping and the results are OK. Is that descriptive enough? What can I do to fix this?
    regards,
    John

    I changed the SID because I was mistaken and thought of the oracle database name. I have corrected the ORACLE_SID to that given in my tnsnames.ora file which I post here:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Lasirius-laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = oracle)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    These are the default settings that were made on installation. I have been working with this installation for 2 months, and it just suddenly stopped working. I have changed no other settings apart from the mistaken ORACLE_SID environment variable in this post, which has now been changed to PLSExtProc. Here is my init.ora:
    # replace "clustdb" with your database name
    db_name = clustdb
    compatible=9.0.0
    db_files = 1024 # INITIAL
    #INITIAL
    #db_files=80
    #SMALL
    #DB_files=400
    #MEDIUM
    #db_files=1000
    #LARGE
    control_files = ("\\.\clustdb_control1", "\\.\clustdb_control2")
    db_file_multiblock_read_count = 8 # INITIAL
    # db_file_multiblock_read_count = 8
    #SMALL
    #db_file_multiblock_read_count = 16
    #MEDIUM
    #db_file_multiblock_read_count = 32
    #LARGE
    #Datawarehouse
    db_block_size=8192
    # Transaction processing
    # db_block_size=4096
    open_cursors=300
    #Transaction processing
    #sort_area_size=524288
    #Datawarehouse
    sort_area_size=1048576
    large_pool_size=1048576 #Transaction processing, Datawarehouse
    db_cache_size=50331648 #Datawarehouse, Transaction processing
    java_pool_size=67108864 #Datawarehouse, Transaction processing
    # db_block_buffers = 200 # INITIAL
    # db_block_buffers=100 #SMALL
    # db_block_buffers =550 # MEDIUM
    # db_block_buffers=3200 #LARGE
    #shared_pool_size = 52428800 # INITIAL
    shared_pool_size = 67108864 # datewarehouse, transaction processing
    log_checkpoint_interval = 10000
    processes = 59 # INITIAL
    # processes = 50
    #SMALL
    #processes = 100
    #MEDIUM
    #processes = 200
    #LARGE
    parallel_max_servers = 5
    #SMALL
    # parallel_max_servers = 4 x (number of CPUs)
    #MEDIUM
    # parallel_max_servers = 4 x (number of CPUs)
    # LARGE
    log_buffer = 8192 # INITIAL
    #log_buffer = 8192
    #SMALL
    #log_buffer = 32768
    #MEDIUM
    #log_buffer = 163840
    #LARGE
    # audit_trail = true # if you want auditing
    # timed_statistics = true # if you want timed statistics
    max_dump_file_size = 10240 # limit trace file size to 10 K each
    # Uncommenting the line below will cause automatic archiving if archiving has
    # been enabled using ALTER DATABASE ARCHIVELOG.
    # log_archive_start = true
    # log_archive_dest = %ORACLE_HOME%/admin/clustdb/arch
    # log_archive_format = "%%ORACLE_SID%%T%TS%S.ARC"
    # If using private rollback segments, place lines of the following
    # form at the end of this file:
    # <sid>.rollback_segments = (name1, name2)
    # If using public rollback segments, define how many
    # rollback segments each instance will pick up, using the formula
    # # of rollback segments = transactions / transactions_per_rollback_segment
    # In this example each instance will grab 40/10 = 4:
    # transactions = 40
    # transactions_per_rollback_segment = 10
    # Global Naming -- enforce that a dblink has same name as the db it connects to
    global_names = TRUE
    # Edit and uncomment the following line to provide the suffix that will be
    # appended to the db_name parameter (separated with a dot) and stored as the
    # global database name when a database is created. If your site uses
    # Internet Domain names for e-mail, then the part of your e-mail address after
    # the '@' is a good candidate for this parameter value.
    # db_domain = us.acme.com # global database name is db_name.db_domain
    # Uncomment the following line if you wish to enable the Oracle Trace product
    # to trace server activity. This enables scheduling of server collections
    # from the Oracle Enterprise Manager Console.
    # Also, if the oracle_trace_collection_name parameter is non-null,
    # every session will write to the named collection, as well as enabling you
    # to schedule future collections from the console.
    # oracle_trace_enable = TRUE
    # define directories to store trace and alert files
    background_dump_dest=%ORACLE_HOME%/admin/clustdb/bdump
    user_dump_dest=%ORACLE_HOME%/admin/clustdb/
    db_block_size = 4096
    remote_login_passwordfile = exclusive
    # text_enable = TRUE
    # The following parameters are needed for the Advanced Replication Option
    job_queue_processes = 2
    # job_queue_processes = 4 #datawarehouse
    # job_queue_interval = 10
    # job_queue_keep_connections = false
    distributed_transactions = 5
    open_links = 4
    # The following parameters are instance-specific parameters that are
    # specified for two instances named clustdb1 and clustdb2
    undo_management=AUTO # For automatic undo management
    # = MANUAL For manual/RBS undo management
    cluster_database= true
    cluster_database_instances=2
    remote_listener=LISTENERS_CLUSTDB
    # First instance specific parameters
    clustdb1.thread=1
    clustdb1.instance_name=clustdb1
    clustdb1.instance_number=1
    clustdb1.local_listener=listener_clustdb1
    clustdb1.remote_login_passwordfile = exclusive
    # Comment out clustdb1.undo_tablespace and uncomment clustdb1.rollback_segments
    # when undo_management=MANUAL
    clustdb1.undo_tablespace = UNDOTBS1
    # clustdb1.rollback_segments = (rbs1_1,rbs1_2)
    # Second instance specific parameters
    clustdb2.thread=2
    clustdb2.instance_name = clustdb2
    clustdb2.instance_number = 2
    clustdb2.local_listener = listener_clustdb2
    clustdb2.remote_login_passwordfile = exclusive
    # Comment out clustdb2.undo_tablespace and uncomment clustdb2.rollback_segments
    # when undo_management=MANUAL
    clustdb2.undo_tablespace = UNDOTBS2
    # clustdb2.rollback_segments = (rbs2_1,rbs2_2)

  • Connection to Instance failed

    Dear all,
    I installed Oracle 10g Release 2 in my windows 2003 server and the installation is successful.(Not display any error message)
    When I use Enterprise Manger Database Control to connect to database.The Web page tell me that Enterprise Manager is not able to connect to the database instance. And the error message is
    Agent Connection to instance
    status: Failed
    Details : ORA-12505: TNS:listener does not currenty know of sid given in connect descriptor(DBD ERROR:OCIServerAttach)
    I have checked the following service is starting: (My database name is TestDb)
    (1) OracleServiceTestdb
    (2) OracleOraDb10g_home1TNSListener
    (3)OracleDBConsoleTestDb
    I try to connect this database with SQL Plus, It display following error message:
    ORA-01034 : ORACLE not available
    ORA-27101: shared memeory realm does not exist
    How can I do? Please give me detail.
    Thanks you

    HI,
    Check
    01. OracleServices<InstanceName>
    02. in cmd prompt c:\>tnsping testdb
    03. Check the SID name in the listener.ora file
    04. Stop and start the listener lsnrctl
    Cheers,
    Kamalesh JK

  • Database Instance down Agent Connection to Instance down

    Hi
    I have installed Oracle 10g on Windows XP SP2 and i m new to Oracle 10g.
    In Oracle Enterprise manager I have
    1. database instance Down
    2. Listener is UP
    3. Agent Connection to Instance is Down and giving an error
    ORA-12505: TNS:listener does not currently know of SID given in connect scriptor (DBD ERROR: OCIServerAttach)
    I m unable to connect through sql*plus command window it gives protocol adapter error
    But I am able to connect through windows command prompt
    but each time when i connect through it i have to set sid by command
    set ORACLE_SID=orcl10g
    I m also not able to use isqlplus
    what should i do
    pleease help me

    I tried ur suggestion and the command i typed are here
    C:\Documents and Settings\tony>sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 2 15:05:01 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn / as sysdba
    Connected.
    SQL>
    but problem is same database instance is down Agent Connection to Instance is down and listener is up.

  • Agent Connection to Instance Unavailable

    Win2k3 64 bit
    Oracle Database 10g Release 10.2.0.5.0 - 64bit Production
    I brought up a new 10.2.0.5.0 db on Win2k3 64 bit server. Everything is working fine, at least it seems so. This server has been running for 2 months now and this issue kept coming up in the last 2 months.
    Database Instance status is Open
    Listener status is Up
    General status is Up
    Agent Connection to Instance is Unavailable.
    Users SYSMAN and DBSNMP are OPEN.
    This will be the 3rd time in the last 2 months if I rebuild EMCA again.
    Is anyone else besides me experiencing this issue? Why is this happening and how do I fix it permanently?

    1.Post the output of :
    SQL> select global_name from global_name;
    SQL> show parameter db_domain;
    2.lsnrctl service
    3.lsnrctl status
    4.Did you change the hostname?
    5.Is timezon of agent and console the same?
    6.In the file $AGENT_HOME/sysman/config/emd.properties, make sure the following parameters are correct. Obtain the values from $OMS_HOME/sysman/config/emd.properties
    1. REPOSITORY_URL
    2. emdWalletSrcUrl
    3. emdWalletDest (ensure that this destination is present on your management server).
    7.If you're using Data Guard in 11g for primary/standby configuration, you may want to check the Data Guard configuration status. With this type of error, it's usually caused by the database parameter setting for log archive that differs with the Data Guard config for log transport and apply. For example, if the local archive log destination on the primary is pointing to the standby site instead of local archive directory (or local flash_recovery_area), The GC will generate this error and blank out the options for database instance in GC.
    I am just pasting the above texts from different forum link when I just said "Agent Connection to Instance Unavailable" to google.
    Regards
    Girish Sharma

  • Agent Connection to Instance's  not avialable

    Hello
    I have a on problem
    My linux is 64 bit ,
    I am used insatallation guide is here *"http://ivan.kartik.sk/oracle/install_ora10gR2_a.html"*
    I am installed 10201_database_linux_x86_64.cpio.gz on OEL-5.4
    I am used this public yum repository *"http://public-yum.oracle.com/public-yum-el5.repo"*
    [el5_u4_base]
    name=Enterprise Linux $releasever U4 - $basearch - base
    baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/4/base/$basearch/
    gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
    gpgcheck=1
    enabled=1
    [el5_oracle_addons]
    name=Enterprise Linux $releasever - $basearch - oracle_addons
    baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/oracle_addons/$basearch/
    gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
    gpgcheck=1
    enabled=1
    this is my error ORA-28547: connection to server failed, probable Oracle Net admin error (DBD ERROR: OCISessionBegin)

    hi,
    ORA-28547: connection to server failed, probable Oracle Net admin error
    Cause: A failure occurred during initialization of a network connection from a client process to the Oracle server: The connection was completed but a disconnect occurred while trying to perform protocol-specific initialization, usually due to use of different network protocols by opposite sides of the connection. This usually is caused by incorrect Oracle Net administrative setup for database links or external procedure calls. The most frequent specific causes are: -- The connection uses a connect string which refers to a Heterogeneous Services agent instead of an Oracle server. -- The connection uses a connect string which includes an (HS=) specification.
    Action: Check Oracle Net administration in the following ways: -- When using TNSNAMES.ORA or an Oracle Names server, make sure that the client connection to the ORACLE server uses the correct service name or SID. -- Check LISTENER.ORA on the connection end point's host machine to assure that this service name or SID refers to the correct server. -- Confirm in TNSNAMES.ORA or the equivalent service definition that the connect string does NOT contain (HS=).
    regards,
    Deepak

  • Database control 10g  agent connection to instance down

    I am use oracle OEM of database control 10g ,in OEM home page two instance are seen but when i hv click in switch in instance2 then agent connection to instacne is down
    i hv also check the alert log of OEM but i give not answer
    pls how can solve this problem

    Please provide emoms.trc/emagent.trc and platform info

  • Agent Connection  failure

    I got a Database Instance and agent down.
    Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    But Listener is UP
    I check tnsping and ping . all works. I use oracle10g R2 in window 2003
    I try to startup or recovery.
    I enter database sys or dab id/password and remote PC ID/password.
    But I got a error message for my password. Actually, I can use these ID/PW to remote PC and access database.
    I am new.
    What Do I need to do for this condition?
    Thanks
    JIm

    Thanks for you help. plz see copy message.
    1)
    Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    2)database instance
    Database Instance
    Port 1521
    SID sale
    Oracle Home D:\oracle\product\10.2.0\sale
    3)Listener
    Listener
    Status Up
    Port 1521
    Name LISTENER
    Oracle Home D:\oracle\product\10.2.0\sale
    Location D:\oracle\product\10.2.0\sale\network\admin
    I made ping and tnsping.and lrsnctl. i do not find issue.
    I am waiting for you help in detail.
    Nice day
    JIm

  • Failed to connect to database instance: ORA-12541: TNS:no listener

    Hello -
    This is the error in grid alert:
    Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    But the test of connection string in database configure screen is successful. tnsping works too.
    Grid version: 11.2.0.1.0, no patches.
    Target database version: 10.2.0.2
    Connect string: (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = s08) (PORT = 1528))) (CONNECT_DATA = (SID = S08) (GLOBAL_NAME = S08.WORLD)))
    Any ideas?

    OK.. Are you testing the connectivity from "Preferred Credentials " setting page?
    Try to configure target from
    Targets-->databases--> then select your database and click on "configure" button.
    Enter all the details and press "Test Connection" button once it shows that connection is successful go to next page and finally save the setting.
    Let me know how it goes....

  • Drop DB control, error: Could not connect to SYS, ORA-12541

    Hi All,
    I am new to Oracle. I am struggling to solve this problem for 2 days, but still couldn't get it done. I post my problem here and wish every guru in this forum to offer some help. Any suggestions are greatly appreciated.
    I have Oracle 10.2.0.3.0 installed on GNU/Linux. There are several instances there. The database, listener, sql/plus all work fine. Yesterday, I installed 10g database control on server. The information showed that dbconsole created successfuly. However, I use the produced url (http:// xxx(hostname):1158/em)in my local machine (Win XP) to connect the databse, and the webpage opened. The information showed that EM couldn't be connected to database, and the status of Listener is unavailable, the inforamtion for agent connect.. is: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    I googled lots of posts both in this forum and internet and tried to make some changes, but the things get worse. It still didn't work. Even i failed to drop the DB control with the command of emca -config dbcontrol db -repos recreate. the error log information in cfgtoollogs/emca is:
    Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=svv.X.XXX.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCL3))): ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    I understand it's the problem related to listener, but i have no idea how to verify it. I put the tns.ora and listener.ora here.
    tnsnames.ora:
    xxxxx
    ORCL3 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.149.210)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ORCL3)
    listener.ora
    LISTENER =
    (ADDRESS_LIST=
         (ADDRESS=(PROTOCOL=tcp)(HOST=10.3.149.210)(PORT=1521)))
    SID_LIST_LISTENER=
    (SID_DESC=
    (GLOBAL_DBNAME=ORCL2)
    (SID_NAME=ORCL2)
    (ORACLE_HOME=/opt/app/oracle/product/10.2)
    (SID_DESC=
    (GLOBAL_DBNAME=ORCL3)
    (SID_NAME=ORCL3)
    (ORACLE_HOME=/opt/app/oracle/product/10.2)
    The above is the problem description, any suggestion and help are greatly appreciated.
    Thanks,
    Kind regards,
    Ian

    I use the "emca -config dbcontrol db" to config the DB control, but failed. The following is the log information:
    This forum doesn't support attch the file. I paste the log file here.
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: TZ set to GMT
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://svv-node2-pub.swlab.net:1158/em/console/aboutApplication
    Stopping Oracle Enterprise Manager 10g Database Control ...
    ... Stopped.
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface isInView
    CONFIG: IN_VIEW marker not instantiated in /opt/app/oracle/product/10.2/sysman/config/emca.properties
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface getEnvProps
    CONFIG: Returning env array from cache
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [CLASSPATH=/opt/app/oracle/product/10.2/jlib/emca.jar:/opt/app/oracle/product/10.2/jlib/srvm.jar:/opt/app/oracle/product/10.2/jlib/srvmasm.jar:/opt/app/oracle/product/10.2/jlib/emConfigInstall.jar:/opt/app/oracle/product/10.2/jlib/ldapjclnt10.jar:/opt/app/oracle/product/10.2/jlib/ldap.jar:/opt/app/oracle/product/10.2/jlib/share.jar:/opt/app/oracle/product/10.2/jlib/srvmhas.jar:/opt/app/oracle/product/10.2/jlib/netcfg.jar:/opt/app/oracle/product/10.2/lib/xmlparserv2.jar:/opt/app/oracle/product/10.2/assistants/jlib/assistantsCommon.jar:/opt/app/oracle/product/10.2/sysman/jlib/emCORE.jar:/opt/app/oracle/product/10.2/oui/jlib/OraInstaller.jar:/opt/app/oracle/product/10.2/oui/jlib/OraPrereq.jar:/opt/app/oracle/product/10.2/inventory/prereqs/oui/OraPrereqChecks.jar:/opt/app/oracle/product/10.2/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/opt/app/oracle/product/10.2/lib32:/opt/app/oracle/product/10.2/lib:/opt/app/oracle/product/10.2/perl/lib, EMDROOT=/opt/app/oracle/product/10.2, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=svv-node2-pub.swlab.net, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/opt/app/oracle/product/10.2/lib32:/opt/app/oracle/product/10.2/lib:/opt/app/oracle/product/10.2/perl/lib:null, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/opt/app/oracle/product/10.2/lib32:/opt/app/oracle/product/10.2/lib:/opt/app/oracle/product/10.2/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/oracle, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, NLS_LANG=AMERICAN_AMERICA.AL32UTF8, ORACLE_BASE=/opt/app/oracle, ORACLE_HOME=/opt/app/oracle/product/10.2, ORACLE_SID=ORCL3, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/bin:/opt/app/oracle/product/10.2/bin, PERL5LIB=/opt/app/oracle/product/10.2/perl/lib:/opt/app/oracle/product/10.2/perl/lib/site_perl:/opt/app/oracle/product/10.2/sysman/admin/scripts:/opt/app/oracle/product/10.2/bin:, PWD=/opt/app/oracle/product/10.2/bin, QTDIR=/usr/lib/qt-3.3, SHELL=/bin/bash, SHLIB_PATH=/opt/app/oracle/product/10.2/lib32:/opt/app/oracle/product/10.2/lib:/opt/app/oracle/product/10.2/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, SSH_CLIENT=::ffff:10.3.22.61 4146 22, SSH_CONNECTION=::ffff:10.3.22.61 4146 ::ffff:10.3.149.210 22, SSH_TTY=/dev/pts/4, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/opt/app/oracle/product/10.2/jdk/jre/bin/java]
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /opt/app/oracle/product/10.2/perl/bin/perl /opt/app/oracle/product/10.2/sysman/admin/scripts/db/sgastop.pl stop ORCL3 svv-node2-pub.swlab.net 1521 /opt/app/oracle/product/10.2
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /opt/app/oracle/product/10.2/perl/bin/perl /opt/app/oracle/product/10.2/sysman/admin/scripts/db/sgastop.pl stop ORCL3 svv-node2-pub.swlab.net 1521 /opt/app/oracle/product/10.2 completed successfully
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: nmccollector process does not exist
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.DBControlUtil stopNmccollector
    CONFIG: Successfully stopped nmc-collector process
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: ORCL3, oracleHome: /opt/app/oracle/product/10.2, and user: SYS
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig grantPrivsToDbsnmp
    CONFIG: Exception while granting priviliges.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-00942: table or view does not exist
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
         at oracle.sysman.emcp.EMReposConfig.grantPrivsToDbsnmp(EMReposConfig.java:538)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:217)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Failed to grant priviliges to dbsnmp.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter EMAIL_ADDRESS.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: ORCL3, oracleHome: /opt/app/oracle/product/10.2, and user: SYS
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking mgmt view user account
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil /opt/app/oracle/product/10.2/perl/lib:/opt/app/oracle/product/10.2/perl/lib/site_perl:/opt/app/oracle/product/10.2/sysman/admin/scripts:/opt/app/oracle/product/10.2/bin: /opt/app/oracle/product/10.2/perl/bin/perl /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil.pl /opt/app/oracle/product/10.2 ORCL3 SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of -1
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Arguments passed /opt/app/oracle/product/10.2 ORCL3 SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Connecting to database ORCL3 in home /opt/app/oracle/product/10.2 with user "SYS" role "SYSDBA".
    connected to database.
    sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    noOfParams to bind: 1.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Couldn't execute statement: ORA-06550: line 1, column 144:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 144:
    PL/SQL: Statement ignored
    ORA-06550: line 1, column 470:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 470:
    PL/SQL: Statement ignored
    ORA-06550: line 1, column 527:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 527:
    PL/SQL: Statement ignored (DBD ERROR: error possibly near <*> indicator at char 143 in 'declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := :p1; <*>sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;') at /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil.pl line 108, <STDIN> line 2.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Error executing /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil /opt/app/oracle/product/10.2/perl/lib:/opt/app/oracle/product/10.2/perl/lib/site_perl:/opt/app/oracle/product/10.2/sysman/admin/scripts:/opt/app/oracle/product/10.2/bin: /opt/app/oracle/product/10.2/perl/bin/perl /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil.pl /opt/app/oracle/product/10.2 ORCL3 SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Failed to unlock mgmt_view account
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/app/oracle/product/10.2/cfgtoollogs/emca/ORCL3/emca_2009-02-12_04-38-34-PM.log for more details.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:253)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)
    Edited by: Ian123 on Feb 12, 2009 2:08 PM

  • SMD agent not starting correctly FAIL: NIECONN_REFUSED (Connection refused)

    I am getting the following message when I start the agent.  I don't see any errors except for this, and when I try to connect it in agent_adminstration, it never connects.  Just eventually times out after 30 mins.
    FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()
    cat jvm_SMDAgent.out
    LoadBalanceRestricted=no
    P4ClassLoad=P4Connection
    SAPDBHOST=
    SAPINFO=SMD_98_server
    SAPMYNAME=ssmsap_SMD_98
    SAPSTARTUP=1
    SAPSYSTEM=98
    SAPSYSTEMNAME=SMD
    application.home=/usr/sap/SMD/exe
    com.ibm.cpu.endian=little
    com.ibm.oti.configuration=scar
    com.ibm.oti.jcl.build=20080922_1143
    com.ibm.oti.vm.bootstrap.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin
    com.ibm.oti.vm.library.version=23
    com.ibm.util.extralibs.properties=
    com.ibm.vm.bitmode=64
    file.encoding=UTF-8
    file.separator=/
    ibm.signalhandling.rs=false
    ibm.signalhandling.sigchain=true
    ibm.signalhandling.sigint=true
    ibm.system.encoding=UTF-8
    j2ee.dbhost=
    java.assistive=ON
    java.awt.fonts=
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path=/usr/sap/SMD/J98/../exe/jstartup.jar:/usr/sap/SMD/J98/../exe/jvmx.jar:../../exe/jstartupapi.jar:../../exe/jstartupimpl.jar:lib/patch_7.01.3.0.20090224123938/launcher/smdagentlauncher.jar
    java.class.version=48.0
    java.compiler=j9jit23
    java.ext.dirs=/opt/IBMJava2-amd64-142/jre/lib/ext
    java.fullversion=J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    J9VM - 20080922_23329_LHdSMr
    JIT  - 20080815_1845_r8
    GC   - 200809_04
    java.home=/opt/IBMJava2-amd64-142/jre
    java.io.tmpdir=/tmp
    java.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin/classic:/opt/IBMJava2-amd64-142/jre/bin:/usr/sap/SMD/exe:/usr/lib:/usr/sap/SMD/exe:/usr/sap/SMD/exe
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=2.3
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.4
    java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
    java.vendor=IBM Corporation
    java.vendor.url=http://www.ibm.com/
    java.version=1.4.2
    java.vm.info=J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    J9VM - 20080922_23329_LHdSMr
    JIT  - 20080815_1845_r8
    GC   - 200809_04
    java.vm.name=IBM J9 VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=IBM Corporation
    java.vm.version=2.3
    jstartup.debuggable=yes
    jstartup.mode=JCONTROL
    jstartup.ownHardwareId=F2143454721
    jstartup.ownProcessId=17393
    jstartup.whoami=server
    jxe.current.romimage.version=9
    jxe.lowest.romimage.version=9
    line.separator=
    memory.manager=256M
    os.arch=amd64
    os.name=Linux
    os.version=2.6.9-89.ELsmp
    path.separator=:
    sun.boot.class.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm/jclSC14/classes.zip:/opt/IBMJava2-amd64-142/jre/lib/core.jar:/opt/IBMJava2-amd64-142/jre/lib/charsets.jar:/opt/IBMJava2-amd64-142/jre/lib/graphics.jar:/opt/IBMJava2-amd64-142/jre/lib/security.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmpkcs.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmorb.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmorbapi.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjcefw.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjssefips.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjgssprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjsseprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjaaslm.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmcertpathprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/server.jar:/opt/IBMJava2-amd64-142/jre/lib/xml.jar
    sun.boot.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin
    sun.io.unicode.encoding=UnicodeLittle
    sun.java2d.fontpath=
    sys.global.dir=/usr/sap/SMD/SYS/global
    user.country=US
    user.dir=/usr/sap/SMD/J98/SMDAgent
    user.home=/home/smdadm
    user.language=en
    user.name=smdadm
    user.timezone=
    user.variant=
    Running SMD Agent ...
    [p4://ssmsap:50004] Agent ready.
    Initialization done.
    cat jvm_SMDAgent.out
    LoadBalanceRestricted=no
    P4ClassLoad=P4Connection
    SAPDBHOST=
    SAPINFO=SMD_98_server
    SAPMYNAME=ssmsap_SMD_98
    SAPSTARTUP=1
    SAPSYSTEM=98
    SAPSYSTEMNAME=SMD
    application.home=/usr/sap/SMD/exe
    com.ibm.cpu.endian=little
    com.ibm.oti.configuration=scar
    com.ibm.oti.jcl.build=20080922_1143
    com.ibm.oti.vm.bootstrap.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin
    com.ibm.oti.vm.library.version=23
    com.ibm.util.extralibs.properties=
    com.ibm.vm.bitmode=64
    file.encoding=UTF-8
    file.separator=/
    ibm.signalhandling.rs=false
    ibm.signalhandling.sigchain=true
    ibm.signalhandling.sigint=true
    ibm.system.encoding=UTF-8
    j2ee.dbhost=
    java.assistive=ON
    java.awt.fonts=
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path=/usr/sap/SMD/J98/../exe/jstartup.jar:/usr/sap/SMD/J98/../exe/jvmx.jar:../../exe/jstartupapi.jar:../../exe/jstartupimpl.jar:lib/patch_7.01.3.0.20090224123938/launcher/smdagentlauncher.jar
    java.class.version=48.0
    java.compiler=j9jit23
    java.ext.dirs=/opt/IBMJava2-amd64-142/jre/lib/ext
    java.fullversion=J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    J9VM - 20080922_23329_LHdSMr
    JIT  - 20080815_1845_r8
    GC   - 200809_04
    java.home=/opt/IBMJava2-amd64-142/jre
    java.io.tmpdir=/tmp
    java.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin/classic:/opt/IBMJava2-amd64-142/jre/bin:/usr/sap/SMD/exe:/usr/lib:/usr/sap/SMD/exe:/usr/sap/SMD/exe
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=2.3
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.4
    java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
    java.vendor=IBM Corporation
    java.vendor.url=http://www.ibm.com/
    java.version=1.4.2
    java.vm.info=J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    J9VM - 20080922_23329_LHdSMr
    JIT  - 20080815_1845_r8
    GC   - 200809_04
    java.vm.name=IBM J9 VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=IBM Corporation
    java.vm.version=2.3
    jstartup.debuggable=yes
    jstartup.mode=JCONTROL
    jstartup.ownHardwareId=F2143454721
    jstartup.ownProcessId=17393
    jstartup.whoami=server
    jxe.current.romimage.version=9
    jxe.lowest.romimage.version=9
    line.separator=
    memory.manager=256M
    os.arch=amd64
    os.name=Linux
    os.version=2.6.9-89.ELsmp
    path.separator=:
    sun.boot.class.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm/jclSC14/classes.zip:/opt/IBMJava2-amd64-142/jre/lib/core.jar:/opt/IBMJava2-amd64-142/jre/lib/charsets.jar:/opt/IBMJava2-amd64-142/jre/lib/graphics.jar:/opt/IBMJava2-amd64-142/jre/lib/security.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmpkcs.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmorb.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmorbapi.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjcefw.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjssefips.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjgssprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjsseprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmjaaslm.jar:/opt/IBMJava2-amd64-142/jre/lib/ibmcertpathprovider.jar:/opt/IBMJava2-amd64-142/jre/lib/server.jar:/opt/IBMJava2-amd64-142/jre/lib/xml.jar
    sun.boot.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin
    sun.io.unicode.encoding=UnicodeLittle
    sun.java2d.fontpath=
    sys.global.dir=/usr/sap/SMD/SYS/global
    user.country=US
    user.dir=/usr/sap/SMD/J98/SMDAgent
    user.home=/home/smdadm
    user.language=en
    user.name=smdadm
    user.timezone=
    user.variant=
    Running SMD Agent ...
    [p4://ssmsap:50004] Agent ready.
    Initialization done.

    cat dev_SMDAgent
    trc file: "/usr/sap/SMD/J98/work/dev_SMDAgent", trc level: 1, release: "701"
    node name   : smdagent
    pid         : 17393
    system name : SMD
    system nr.  : 98
    started at  : Wed Oct  7 08:56:32 2009
    arguments         :
              arg[00] : /usr/sap/SMD/J98/../exe/jlaunch
              arg[01] : pf=/usr/sap/SMD/J98/../SYS/profile/SMD_J98_ssmsap
              arg[02] : -DSAPINFO=SMD_98_server
              arg[03] : pf=/usr/sap/SMD/J98/../SYS/profile/SMD_J98_ssmsap
    JStartupReadInstanceProperties: read instance properties [/usr/sap/SMD/J98/profile/smd.properties]
    -> ms host    :
    -> ms port    : 36
    -> OS libs    : /usr/sap/SMD/exe
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : /usr/sap/SMD/J98/profile/smd.properties
    Instance properties
    -> ms host    :
    -> ms port    : 36
    -> os libs    : /usr/sap/SMD/exe
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    Worker nodes
    -> [00] smdagent             : /usr/sap/SMD/J98/profile/smd.properties
    [Thr 182894174624] Wed Oct  7 08:56:32 2009
    [Thr 182894174624] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 182894174624] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 1074792800] JLaunchRequestFunc: Thread 1074792800 started as listener thread for np messages.
    [Thr 1085282656] WaitSyncSemThread: Thread 1085282656 started as semaphore monitor thread.
    [Thr 182894174624] SigISetDefaultAction : default handling for signal 17
    [Thr 182894174624] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 182894174624] CPIC (version=701.2009.01.26)
    [Thr 182894174624] [Node: SMDAgent] java home is set by profile parameter
            Java Home: /opt/IBMJava2-amd64-142
    [Thr 182894174624] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/SMD/J98/../exe/jvmx.jar
    JStartupIReadSection: read node properties [smdagent]
    -> node name          : SMDAgent
    -> node type          : server
    -> node id            : 1
    -> node execute       : yes
    -> java path          : /opt/IBMJava2-amd64-142
    -> java parameters    : -DP4ClassLoad=P4Connection -Xj9 -Xmn50m -Xgcpolicy:gencon
    -> java vm version    : J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142-20080923 (JIT enabled)
    -> java vm vendor     : IBM J9 VM (IBM Corporation)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 256M
    -> init heap size     : 256M
    -> root path          : ../SMDAgent
    -> class path         : ../../exe/jstartupapi.jar:../../exe/jstartupimpl.jar:lib/patch_7.01.3.0.20090224123938/launcher/smdagentlauncher.jar
    -> OS libs path       : /usr/sap/SMD/exe
    -> main class         : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : /usr/sap/SMD/J98/../exe/jstartup.jar:/usr/sap/SMD/J98/../exe/jvmx.jar
    -> parameters         : run jcontrol
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 58981
    -> shutdown timeout   : 20000
    [Thr 182894174624] JLaunchISetDebugMode: set debug mode [no]
    [Thr 1086335328] JLaunchIStartFunc: Thread 1086335328 started as Java VM thread.
    JHVM_LoadJavaVM: VM Arguments of node [SMDAgent]
    -> stack   : 1048576 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -DP4ClassLoad=P4Connection
    -> arg[  4]: -Xj9
    -> arg[  5]: -Xmn50m
    -> arg[  6]: -Xgcpolicy:gencon
    -> arg[  7]: -Dsys.global.dir=/usr/sap/SMD/SYS/global
    -> arg[  8]: -Dapplication.home=/usr/sap/SMD/exe
    -> arg[  9]: -Djava.class.path=/usr/sap/SMD/J98/../exe/jstartup.jar:/usr/sap/SMD/J98/../exe/jvmx.jar:../../exe/jstartupapi.jar:../../exe/jstartupimpl.jar:lib/patch_7.01.3.0.20090224123938/launcher/smdagentlauncher.jar
    -> arg[ 10]: -Djava.library.path=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin:/opt/IBMJava2-amd64-142/jre/bin/classic:/opt/IBMJava2-amd64-142/jre/bin:/usr/sap/SMD/exe:/usr/lib:/usr/sap/SMD/exe:/usr/sap/SMD/exe
    -> arg[ 11]: -Dmemory.manager=256M
    -> arg[ 12]: -Xmx256M
    -> arg[ 13]: -Xms256M
    -> arg[ 14]: -DLoadBalanceRestricted=no
    -> arg[ 15]: -Djstartup.mode=JCONTROL
    -> arg[ 16]: -Djstartup.ownProcessId=17393
    -> arg[ 17]: -Djstartup.ownHardwareId=F2143454721
    -> arg[ 18]: -Djstartup.whoami=server
    -> arg[ 19]: -Djstartup.debuggable=yes
    -> arg[ 20]: -DSAPINFO=SMD_98_server
    -> arg[ 21]: -DSAPSTARTUP=1
    -> arg[ 22]: -DSAPSYSTEM=98
    -> arg[ 23]: -DSAPSYSTEMNAME=SMD
    -> arg[ 24]: -DSAPMYNAME=ssmsap_SMD_98
    -> arg[ 25]: -DSAPDBHOST=
    -> arg[ 26]: -Dj2ee.dbhost=
    [Thr 1086335328] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [SMDAgent]
    -> arg[  0]: run
    -> arg[  1]: jcontrol
    [Thr 1086335328] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 1086335328] Wed Oct  7 08:56:35 2009
    [Thr 1086335328] JLaunchISetState: change state from [Initial (0)] to [Initial (0)]
    [Thr 1086335328] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 1086335328] Wed Oct  7 08:56:38 2009
    [Thr 1086335328] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 1086335328] JLaunchISetState: change state from [Starting (2)] to [Running (3)]
    [Thr 1101334880] Wed Oct  7 08:56:43 2009
    [Thr 1101334880] JLaunchISetState: change state from [Running (3)] to [Starting applications (10)]
    [Thr 1101334880] Wed Oct  7 08:56:48 2009
    [Thr 1101334880] JLaunchISetState: change state from [Starting applications (10)] to [Running (3)]

  • ORA-28547: connection to server failed, probable Oracle Net admin error

    Hi Gurus
    I can't get the gateway to work? I'm running on AIX. Any suggestions are appreciated.
    listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    # (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=dg4msql)
    (ORACLE_HOME=/oracle/rcsr/base/product/11.2.0/gateway)
    (PROGRAM=dg4msql)
    tnsnames.ora
    dg4msql =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    sqlnet.ora
    SQL_AUTHENTICATION_SERVICES = (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    ADR_BASE = /oracle/rcsr/base
    initdg4msql.ora
    HS_FDS_CONNECT_INFO=142.178.205.42:1433//komodo
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=debug
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    $ lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 03-MAY-2013 13:48:01
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
    Start Date 03-MAY-2013 13:38:14
    Uptime 0 days 0 hr. 9 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /oracle/rcsr/base/product/11.2.0/gateway/network/admin/listener.ora
    Listener Log File /oracle/rcsr/base/diag/tnslsnr/abe-rcsr-01/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Services Summary...
    Service "dg4msql" has 1 instance(s).
    Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    $ tnsping dg4msql
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 03-MAY-2013 13:48:53
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /oracle/rcsr/base/product/11.2.0/gateway/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
    OK (0 msec)
    $ sqlplus aa/aa@dg4msql
    SQL*Plus: Release 11.2.0.1.0 Production on Fri May 3 13:49:52 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-28547: connection to server failed, probable Oracle Net admin error

    You can't directly use the gateway - you can only access a gateway using a database link.
    So this won't work:
    $ sqlplus aa/aa@dg4msql
    You need to connect to your Oracle database (for example as sysdba) and create a (public) database link:
    create [public] database link dg4msql connect to "<MS SQl Server username! identified by "<MS SQl Server password>" using 'dg4msql;
    Once you create the database link you can now access the MS SQl Server tables:
    select * from "your MS SQL Server table"@dg4msql;

  • ORA-28547: connection to server failed, probable Net8 admin error

    Hi all. I use Oracle 10G. My listener.ora is below
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.26)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sened)
    (ORACLE_HOME = C:\Oracle\OraHome)
    (PROGRAM = extproc)
    I have database with name sened
    And my tnsnames is below:
    SENED =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.26)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sened)
    When I start Windows, I can enter as sysdba . But when I issue "shutdown immediate", after that I can't connect as sys. And get this error:
    ORA-28547: connection to server failed, probable Net8 admin error
    And I stop my listener the I start it, it gives error:
    SQL> host lsnrctl start
    Service "sened" has 1 instance(s).
    Instance "sened", status UNKNOWN, has 1 handler(s) for this service...
    Why my database's status is UNKNOWN??
    Thanks....

    I get the error
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-06512: at line 51
    when I try to run one of my sql scripts. The script tries to make an external procedure call. I am attaching the relevant .ora files.
    1.
    $ cat tnsnames.ora
    2.
    # tnsnames.ora Network Configuration File: /home/oracle/oracle/product/10.2.0/db_2/network/admin/tnsnames.ora
    3.
    # Generated by Oracle configuration tools.
    4.
    5.
    ORCL =
    6.
    (DESCRIPTION =
    7.
    (ADDRESS = (PROTOCOL = TCP)(HOST = accord.novaglobal.com.sg)(PORT = 1521))
    8.
    (CONNECT_DATA =
    9.
    (SERVER = DEDICATED)
    10.
    (SERVICE_NAME = orcl)
    11.
    12.
    13.
    14.
    EXTPROC_CONNECTION_DATA =
    15.
    (DESCRIPTION =
    16.
    (ADDRESS_LIST =
    17.
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    18.
    19.
    (CONNECT_DATA =
    20.
    (SID = orcl)
    21.
    (PRESENTATION = RO)
    22.
    23.
    24.
    25.
    26.
    27.
    28.
    29.
    30.
    31.
    32.
    33.
    34.
    35.
    36.
    cat listener.ora
    37.
    # listener.ora Network Configuration File: /home/oracle/oracle/product/10.2.0/db_2/network/admin/listener.ora
    38.
    # Generated by Oracle configuration tools.
    39.
    40.
    41.
    42.
    SID_LIST_LISTENER =
    43.
    (SID_LIST =
    44.
    (SID_DESC =
    45.
    (SID_NAME = orcl)
    46.
    (ORACLE_HOME = /home/oracle/oracle/product/10.2.0/db_2)
    47.
    (PROGRAM = extproc)
    48.
    (ENVS = "LD_LIBRARY_PATH=/home/oracle/DSAccord/lib,
    49.
    ACCORD_SYSTEM_6=/home/oracle/DSAccord/system/,
    50.
    ACCORD_SETTINGS_6=/home/oracle/DSAccord/accord6.ini,
    51.
    EXTPROC_DLLS=libaccora10.so.6:libaccosk10.so.6")
    52.
    53.
    54.
    55.
    56.
    LISTENER =
    57.
    (DESCRIPTION_LIST =
    58.
    (DESCRIPTION =
    59.
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    60.
    (ADDRESS = (PROTOCOL = TCP)(HOST = accord.novaglobal.com.sg)(PORT = 1521))
    61.
    62.
    63.
    64.
    65.
    66.
    67.
    cat sqlnet.ora
    68.
    # sqlnet.ora Network Configuration File: /home/oracle/oracle/product/10.2.0/db_2/network/admin/sqlnet.ora
    69.
    # Generated by Oracle configuration tools.
    70.
    71.
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

Maybe you are looking for

  • Post Report Confirmation

    Does anyone have any suggestions on how to implement a confirmation dialogue box that would be displayed on successful completion (display) of a report being created as a PDF through rwservlet. The dialogue box would be something simple: “Did the che

  • Item level parcel Tracking with external carriers through AII

    Hi folks, I am new to AII and am trying to explore the possibilities with the tools at hand. With flexible delivery processing, we have tight control over the goods statuses across customer and supplier. For example, EM would let the customer know th

  • Regarding Trigger Alert

    Hi Experts, My requirement is i want to triger Alert after BP confirmation.means when a agent confirm a BP and after confirmation upto next 100 second he does not follow any other BP a Alert should be triger for that agent which inform him/her to acc

  • 4G LTE connection keeps disappearing?

    Hi, I just got a stratosphere phone about two weeks ago, and at some point the mobile network disappeared. All I see is bars instead of 4G or 3G icon on top. I called the customer service and they told me to reset the phone, and after that it worked

  • Date Validation Urgent Please under deadline

    I currently have this 2 methods to be used by a jsp for this is in my bean public void setendDate(String aendDate){ endDate=aendDate; public String getEndDate(){ return endDate; what is the easiest way to carry out a SimpleDateFormat dd/mm/yyyy; and