Intelligent agent not running

Hi all,
i had database of 9.2.0.1 on windows xp. i am trying to configure EM using OMS. while discovering nodes i am getting error saying intelligent agent not running.
i tried to start that using "agentctl start" but its saying "could not able to contact agent". when i checked in google its saying to have a snmpagent role should be there in dba_roles which i dont have. i even dont have dbsnmp user, for that i executed catsnmp.sql script. now i am having user but no role.
also when i tried to start the service of agent from services of control panel its saying "service is started and stopped on local computer some services will stop automatically if they had no work to do"
what i need to do for getting my agent started and making discovering of nodes?
Thanks in advance for the help
Message was edited by:
pavan kumar

I am having the same problem. I am unable to see the databases in OEM.

Similar Messages

  • Dbsnmp agent not running

    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 8.1.5.0.0 -
    Production
    Start Date 14-SEP-99 19:06:21
    Uptime 0 days 16 hr. 9 min. 20 sec
    Trace Level off
    Security OFF
    SNMP OFF !!!!!!!!!!!
    SNMP-Status is OFF.
    I am using Oracle 8.1.5.0 and Red Hat 6.0/i386 .
    What am i missing?
    Thanks all in advance.
    null

    Yuri (guest) wrote:
    : Awgustow (guest) wrote:
    : : LSNRCTL> dbsnmp_start
    : : LSNRCTL> dbsnmp_status
    : : The db subagent is not started.
    : : LSNRCTL> status
    : : Uptime 0 days
    : : Trace Level off
    : : Security OFF
    : : SNMP OFF
    : : Awgustow
    : Agent works as follows: it starts up, looks in /etc/oratab for
    : databases to manage, tries to establish connection to all of
    : them, starts to listen for incoming requests on port 1748. The
    : problem can be on any of these steps.
    : Try to check with ps -ef | grep dbsnmp if agent processes are
    : running (there should be 2 with same name - dbsnmp).
    : If yes, try netstat -an | grep 1748 to check if they're
    listening
    : on TCP port. If they're listening, tracing the agent may help
    you
    : , though most likely you've hit some bug or config problem -
    add
    : nmi.trace_level = <level> (0 - off, 16 - maximum)
    : nmi.trace_directory = <your directory for trace files>
    : nmi.trace_file = <trace file name, e.g. agent
    : and then kill agent with killall dbsnmp, start it again and try
    : lsnrctl dbsnmp_status. It should generate trace file (but
    : startup only trace on 16 level is >50K :-).
    : If agent processes are running, but not listening on TCP port,
    : most probably agent is not able to connect to one of your
    : databases. (BTW, tracing will be of little use in this
    situation
    : - too cryptic to decipher. You probably will be able to get
    : what database is causing problems, by looking at packet dump
    : generated at 16th level). Make sure /etc/oratab is OK (lists
    only
    : valid SID) and that tnsnames.ora has entries for all databases
    : mentioned in /etc/oratab.
    : On Linux 8.1.5 agent cannot connect to 8.0.5 databases on same
    : machine (generally, none of 8.1.5 tools like sqlplus can
    connect
    : to 8.0.5 on Linux DB). If you have both 8.0.5 and 8.1.5, you
    : should comment out 8.0.5 entries in /etc/oratab in order to
    start
    : the agent. Not very useful, ehe? This is a bug, but no patch is
    : yet available.
    : If agent processes are not running after dbsnmp_start, again
    : tracing should help locate the problem, together with log files
    : in $ORACLE_HOME/network/log.
    : Write what are your results.
    : Yuri
    Hi.
    The problem was new version of TCL (8.0.4).
    Problem solution is use from TCL 7.5.
    Regards
    Awgustow
    Oracle Intelligent Agent
    The Oracle Intelligent Agent requires TCL package,
    release 7.5.
    Follow these instructions to build Oracle
    Intelligent Agent
    executables.
    1. Download the TCL 7.5 sources(tcl7.5.tar.Z)
    from:
    ftp://ftp.scriptics/com/pub/tcl/tcl7_5/
    2. Extract the source in a separate directory and
    configure:
    $ mkdir tcl
    $ cd tcl
    $ compress -d tcl7.5.tar.Z
    $ tar xvf tcl7.5.tar
    $ cd tcl7.5/unix
    $ ./configure --enable-gcc
    3. Edit the source file tclPosixStr.c:
    $ cd ../generic
    $ mv tclPosixStr.c tclPosixStr.c.ORIG
    cp tclPosixStr.c.ORIG tclPosixStr.c
    by commenting the following set of lines:
    120 through 122
    327 through 329
    566 through 568
    774 through 776
    4. Build the TCL 7.5 library:
    $ cd ../unix
    $ gmake
    5. Install TCL 7.5 in /usr/local, make sure
    /usr/local exists and
    is writable:
    $ su
    # gmake install
    # exit
    6. Set the environment variable ORALE_HOME to the
    location where
    Oracle8i was installed:
    $ export
    ORACLE_HOME=<location_where_8i_was_installed>
    7. Copy the new TCL library to ORACLE_HOME and
    build the
    executables:
    $ cp libtcl7.5.a $ORACLE_HOME/network/lib
    $ cd $ORACLE_HOME/network/lib
    $ ln -s libtcl7.5.a libtcl.a
    $ gmake -f ins_oemagent.mk agent
    null

  • OMS and Intelligent Agent not seeing databases

    I am running Oracle9i on a Solaris box and trying to set up OMS on a PC. I managed to get the intelligent agent started on the Solaris box but now when I do a node discovery, all that I can see is the HTTP servers and they say that they are stopped. How do I see the databases so I can schedule jobs on them?

    If databases are not discovered, you could have a problem with any of the following files.
    listener.ora
    oratab ( UNIX/Linux)
    Microsoft Registry (Windows)
    1. Check the $ORACLE_HOME\network\agent\log\nmiconf.log for warnings or errors.
    2. Verify the database sid exists in the listener.ora file. When the Agent parses the listener.ora, it looks for the "sid_list=...." section. If this section is missing, the Agent will not discover the database.
    3. Verify the database sid exists in the oratab or Microsoft Registry. (In some cases, the sid is case sensitive.)
    4. Stop and Restart the Agent. NOTE: This step is necessary because the Agent will only parse the files during startup.
    5. Check the services.ora file and verify the Database services now exists in the file.
    6. Refresh the Node through the EM Console.

  • Distribution agent not running

    Hello All,
    One distribution agent is not running continuously. The SQL job is scheduled to run when 'Start automatically when SQL Server Agent starts'. It was running fine but now the status in replication
    monitor shows Not running. I manually selected Start Synchronizing and it runs just for a few seconds and replicates transations but then goes back to Not Running status.
    Can someone please help me?
    Thanks,

    Add the -Continuous parameter to the end of your job step if it is not already there.
    Then start your agent.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Enterprise manager agent not running

    Hi all,
    Oracle 11g
    Windows 2008
    I just installed two databases on the same server. The one's EM is running fime no prob. The other, the EM doesn't want to open completely it says: Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    And the database is open, I can run sql queries against the DB, but EM says it's down, the listener is up and the Agent connectio to database is down?
    Have anyone ever encounterd this?

    This is wierd there is nothing in the logs and when I status the agent in sqlplus:
    D:\oracle\product\11.1.0\db_1\BIN>emctl status agent
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.3.0
    OMS Version : 10.2.0.3.0
    Protocol Version : 10.2.0.2.0
    Agent Home : D:\oracle\product\11.1.0\db_1\SZAJHBODW01.zacca.af.lafarg
    et_PRODSW01
    Agent binaries : D:\oracle\product\11.1.0\db_1
    Agent Process ID : 2164
    Agent URL : https://SZAJHBODW01.zacca.af.lafarge.net:3938/emd/main
    Repository URL : https://SZAJHBODW01.zacca.af.lafarge.net:1158/em/upload/
    Started at : 2009-11-12 11:40:26
    Started by user : SYSTEM
    Last Reload : 2009-11-12 11:54:10
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 263
    Size of XML files pending upload(MB) : 22.90
    Available disk space on upload filesystem : 79.52%
    Data channel upload directory : D:/oracle/product/11.1.0/db_1/
    JHBODW01.zacca.af.lafarge.net_PRODSW01/sysman/recv
    Last attempted heartbeat to OMS : 2009-11-12 12:04:00
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    but the limited console says the agent is down, and the database is down??

  • UCE agent not running

    We have two identically configured servers.
    On one server, the UCE agent is running fine, on the other server, it's not possible to make it running.
    All network specific configurations are identical on both machines.
    The agent process is exiting with the following messages:
    - in /opt/SUNWuce/agent/logs/uce_agent.log:
    ##### uce_agent exit on error <1>, try again in 90 sec. #####
    Fri Nov 2 09:28:02 CET 2007
    - in /opt/SUNWuce/agent/logs/error.log:
    2797:2007-11-02_08:28:02 SEVERE [ uce.agent.app: ../src/AgentApp.cc: #1491 ] 0 Can't send logout message. Exiting immediately.
    2797:2007-11-02_08:28:02 SEVERE [ default_logger: source_unavailable: #0 ] 268699392 HTTP server request: Cannot resolve host. Exiting.
    What's the matter there? Does anybody know?
    Greetings!

    Can you check that the problematic agent can resolve the server configured.
    *$* +nslookup `grep distrizor_host /opt/SUNWuce/agent/bin/.uce.rc | awk '{ print $6}' | sed s/\"//g`+
    *$* +nslookup `grep server_name /opt/SUNWuce/agent/bin/.uce.rc | awk '{ print $6}' | sed s/\"//g`+
    The two values are normally the same unless a proxy is configured.

  • ARD Agent not running on Snow Leopard

    Hi. One of my servers which usually I could connect to remotely by ARD has stopped responding to ARD or VNC. it just shows up as an IP Address in the ARD Admin. I looked at processes on the server and ARDAGENT is not running. Tried reinstalling ARD client, removing ARD preferences files. Cant seem to sort it. Its a working server so cant just reinstall system on it.

    We experienced the same issue on an XServe after upgrading to 10.6.6 form 10.6.5. Weeks of searching the Internet turned up nothing, except other users experiencing the same problem. Finally got it working again by doing the following:
    1) Turn off Remote Management in System Preferences
    2) Remove /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent
    3) Re-Install Remote Desktop Client from the Apple Installer here: http://support.apple.com/kb/DL1350
    4) Enable Remote Management in System Preferences
    5) Reboot
    Step 5 probably is not required, but I wanted to make sure the service would run without intervention. I had some success before with running ARDAgent from the command line over ssh to get Remote Desktop working, but it really wasn't a good solution.
    Good luck, hope this helps.

  • Oracle Intelligent Agent Not Responding

    I have installed Oracle 8.0.5.1 on RedHat Linux 6.0. I
    have everything running (thanks to the howto at fortwayne.com).
    When I try to discover the Oracle8 instance running on my linux
    box from an NT workstation running Oracle Enterprise Manager
    (OEM), I get an error like it cannot connect to the service.
    I have setup a Net8 TNS connection (and in fact the OEM
    Repository is residing on the Linux box I am trying to discover
    via OEM). I can telnet to port 1748 on the linux box and get a
    connection, so I know the agent is bound to the correct port.
    Can anyone offer some advice about what to further
    troubleshoot? I have verified that tnsnames.ora, snmp_rw.ora,
    and listener.ora don't have any obvious errors in them.
    I am stumped.
    Thanks in advance for any help,
    --Bryan
    null

    Bryan Batchelder (guest) wrote:
    : I have installed Oracle 8.0.5.1 on RedHat Linux 6.0. I
    : have everything running (thanks to the howto at
    fortwayne.com).
    : When I try to discover the Oracle8 instance running on my
    linux
    : box from an NT workstation running Oracle Enterprise Manager
    : (OEM), I get an error like it cannot connect to the service.
    : I have setup a Net8 TNS connection (and in fact the OEM
    : Repository is residing on the Linux box I am trying to
    discover
    : via OEM). I can telnet to port 1748 on the linux box and get
    a
    : connection, so I know the agent is bound to the correct port.
    : Can anyone offer some advice about what to further
    : troubleshoot? I have verified that tnsnames.ora, snmp_rw.ora,
    : and listener.ora don't have any obvious errors in them.
    : I am stumped.
    : Thanks in advance for any help,
    : --Bryan
    There is a patch for this on the oracle ftp site oracle-
    ftp.us.oracle.com. It requires that you use tcl version 7.5. I
    have not tried it because I use tcl 8.04 for other things. I
    manually enter the config info in OEM. The problem is not
    unique to Linux. I also have problems in HPUX with 8.0.5.
    null

  • Launch agent not running correctly in Yosemite

    I have a launch Agent that up until upgrading to Yosemite worked fine. Now it will not correctly run the script that it attempts to run.
    It would be great to get these folder actions up and running again.
    This is what I found so far:-
    The script works fine when run manually.
    Checking Terminal I can see that the launchAgent is loaded, but then looking into the Console I see this message
    7/02/2015 11:00:16.716 com.apple.xpc.launchd[1]: (user.watchfolder.1_imageHotFolderEAN[626]) Service exited with abnormal code: 1
    Here is the LaunchAgent plist that I use
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>user.watchfolder.1_imageHotFolderEAN</string>
    <key>EnableGlobbing</key>
      <true/>
      <key>ProgramArguments</key>
      <array>
      <string>osascript</string>
      <string>~/WorkFlow/Folder Actions/1_EAN2SKU.scpt</string>
      </array>
      <key>WatchPaths</key>
      <array>
      <string>~/Desktop/HotFolder</string>
      </array>
    </dict>
    </plist>
    And the script it activates
    property csvAlias : alias (((path to home folder) as text) & "DropBox:Skulists:john_sku_list.csv") --path to your csv-File as alias
    property csvDelimiter : "," --delimiter used by your csv-File
    delay 5
    tell application "Finder"
      set this_folder to folder "HotFolder" as alias
      set itemList to every file in this_folder
    end tell
    try
      set TID to AppleScript's text item delimiters
      repeat with i from 1 to count of itemList
      set newFile to item i of itemList
      tell application "System Events" to set {fSuffix, fName} to {(name extension of disk item (newFile as text)), (displayed name of disk item (newFile as text))}
      if fSuffix is not "" then set fSuffix to "." & fSuffix
      set fName to my stripSuffix(fSuffix, fName)
      set NNChecker to (text 1 thru 4 of fName)
      if NNChecker is in {"NN__", "ZZ__", "SE__", "VM__"} then
      set tmpName to (text 5 thru 17 of fName)
      else
      set tmpName to (text 1 thru 13 of fName)
      end if
      set csvText to read csvAlias
      if csvText contains tmpName then
      set AppleScript's text item delimiters to tmpName & csvDelimiter
      if NNChecker is in {"NN__", "ZZ__", "SE__", "VM__"} then
      set newListName to (text 1 thru -1 of (paragraph 1 of (text item 2 of csvText)))
      if (count of fName) is greater than 17 then
      set newName to NNChecker & newListName & (text 18 thru -1 of fName) & fSuffix
      log newName
      else
      set newName to NNChecker & newListName & fSuffix
      end if
      my renameFile(this_folder, fName & fSuffix, newName)
      else
      set newListName to (text 1 thru -1 of (paragraph 1 of (text item 2 of csvText)))
      if (count of fName) is greater than 13 then
      set newName to newListName & (text 14 thru -1 of fName) & fSuffix
      else
      set newName to newListName & fSuffix
      end if
      my renameFile(this_folder, fName & fSuffix, newName)
      end if
      end if
      end repeat
      set AppleScript's text item delimiters to TID
    on error
      --display dialog "Could not rename: " & fName giving up after 3
    end try
    on stripSuffix(fSuffix, fName)
      if fName contains fSuffix then
      set AppleScript's text item delimiters to fSuffix
      return (text item 1 of fName)
      end if
    end stripSuffix
    on renameFile(this_folder, origName, newName)
      set sourcePath to quoted form of POSIX path of ((this_folder as text) & origName)
      set targetPath to quoted form of POSIX path of ((this_folder as text) & newName)
      do shell script "mv -f " & sourcePath & space & targetPath
    end renameFile

    I believe EnableGlobbing in the plist file is no longer supported in 10.10 (at least it wasn't  when 10.10 was first released, not sure if it was put back)
    Try making the two paths in the plist file absolute, that is remove the ~ (tide) and add the complete path and see if that clears the problem.
    ie.
    change
      <string>~/Desktop/HotFolder</string>
    and
         <string>~/WorkFlow/Folder Actions/1_EAN2SKU.scpt</string>
    to
      <string>/Users/yourname/Desktop/HotFolder</string>
    and
         <string>/Users/yourname/WorkFlow/Folder Actions/1_EAN2SKU.scpt</string>
    regards

  • SQL Agent not running Script in Package which calls an Excel containing Macro

    I have a script task in SSIS package which calls Excel VBA file containing Macro, this file is on the local drive, when I run this package through SSDT the package works ok and the macro does what it needs to. However when I set up a
    sql agent job to call the package then it fails at the Script task. I have created a credentials and proxy user as my self so I should Have full rights.
    But it fails through the job and not through SSDT, can you advise ?

    Hi Asad,
    Since the error message “Script Task Run Excel: Error: Exception has been thrown by the target of an invocation” is too generic, we should find a way to return full error details from SQL Server Agent job. Firstly, configure logging for the steps you wish
    to keep log data for. Secondly, create a stored procedure to return details of the step at which a job failed based on the job name. Finally, execute the stored procedure. For more details, please refer to the following blog:
    http://www.sqlservercentral.com/articles/SQL+Server+Agent/67726/
    In addition, the following similar two threads are for your references:
    http://sornanara.blogspot.jp/2014/04/code-0x00000001-exception-has-been.html
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/4a20219e-4a90-41be-acfe-b8846dc2c38a/error-while-executing-a-ssis-package-which-contains-a-script-task-through-sql-server-agent-job?forum=sqlintegrationservices
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Intelligent Agent Won't Run - Please Help!

    Hello,
    I have been able to install Oracle 8.0.5 on both Redhat 5.3 and
    Suse 6.1. Most everything seems to work correctly. I can connect
    to the databases from client software.
    But I can't get the Intelligent Agent to run in either case.
    When I check on it's status after attempting to start it I get
    the message "The DBSubAgent is not started".
    What does this mean? What do I need to do in order to get the
    Intelligent Agent to run?
    null

    Steve Bowen (guest) wrote:
    : Hello,
    : I have been able to install Oracle 8.0.5 on both Redhat 5.3 and
    : Suse 6.1. Most everything seems to work correctly. I can
    connect
    : to the databases from client software.
    : But I can't get the Intelligent Agent to run in either case.
    : When I check on it's status after attempting to start it I get
    : the message "The DBSubAgent is not started".
    : What does this mean? What do I need to do in order to get the
    : Intelligent Agent to run?
    You must reinstall this package : tcl-8.0.2-16.i386.rpm.
    Regards
    null

  • Intelligent Agents -- OEM

    How can I check that Intelligent agent is running on my Oracle machine (For Sun Solaris Intel)
    Regds

    Nope. Totally different architectures.

  • Oracle Intelligent Agent Won't Run

    Hello World,
    I have just installed Oracle 9i DB on Windows XP. When I installed Oracle
    Dev. Suite 9i on the same machine my Oracle Intelligent Agent stopped working. I checked the services tool and noticed that the installation of DEV. SUITE 9i had installed an agent for Developer's Suite Oracle home. Both agents are not working. They both terminate in the same manner AGNTSRVC.exe Failed and the GUI request to send the error to MicroSoft. What can I do to get this Oracle Agent working.
    Many thanks
    Emmanuel

    I am also having this problem, but generally just when it is starting on boot up. I can go into services and start it manually, so it runs (although it has a tendency to crash). I get the following in the nohup file:
    Service name is OracleOraHome9iAgent
    Failed while initializing Comm service
    Error initializing subsystems
    Agent exited on 08/29/2002 06:00 with return value 55
    Could not start agent. Initialization failure
    Agent startup failed. Check E:\oracle\network\log\OracleOraHome9iAgent.nohup for details
    Not a big problem, yet. Experience tells me, though, that when one little thing starts having problems, more and more things start having problems.
    Tomm

  • Scenario is not running in ODI Standalone agent from OPMN

    when i am trying to run my scenario using ODI standalone agent it is not running and it is giving below error in opmn log file.
    VARNING: Error retrieving ID statistics for repository WORKREP1.
    ODI-1406: Agent Agent_ODI started with warning: JDBC connection error occurs while connecting to the work repository WORKREP1.
    Caused By: oracle.odi.core.config.WorkRepositoryResourceFailureException: ODI-10182: Uncategorized exception during repository access.     
    Could not get JDBC Connection; nested exception is java.sql.SQLException: Ett undantag uppstod när anslutning hämtades: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
         at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:195)
         at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
         at oracle.odi.runtime.agent.utils.AgentOdiInstance.createWorkRepository(AgentOdiInstance.java:60)
         at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:581)
         at oracle.odi.runtime.agent.utils.AgentOdiInstance.<init>(AgentOdiInstance.java:28)
         at oracle.odi.runtime.agent.utils.AgentOdiInstance.createInstance(AgentOdiInstance.java:32)
         at oracle.odi.runtime.agent.utils.OdiInstanceCache.getWorkInstance(OdiInstanceCache.java:181)
         at oracle.odi.runtime.agent.support.InternalAgentUtils.getAuthenticatedTargetOdiInstance(InternalAgentUtils.java:336)
         at oracle.odi.runtime.agent.servlet.AgentServlet.verifyAllIdStatistics(AgentServlet.java:988)
         at oracle.odi.runtime.agent.servlet.AgentServlet.startup(AgentServlet.java:361)
         at oracle.odi.runtime.agent.servlet.AgentServlet.init(AgentServlet.java:239)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
         at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
         at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:676)
         at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
         at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
         at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
         at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
         at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
         at org.mortbay.jetty.Server.doStart(Server.java:224)
         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
         at oracle.odi.Agent.startAgent(Agent.java:204)
         at oracle.odi.Agent.main(Agent.java:538)
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Ett undantag uppstod när anslutning hämtades: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
         at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
         at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
         at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
         at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
         at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
         at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
         at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
         at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
         at oracle.odi.core.repository.support.RepositoryUtils$RepositoryInfoSource.loadRepositoryInfo(RepositoryUtils.java:182)
         at oracle.odi.core.repository.support.RepositoryUtils.loadWorkRepositoryInfo(RepositoryUtils.java:382)
         at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:174)
         ... 25 more
    Caused by: java.sql.SQLException: Ett undantag uppstod när anslutning hämtades: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
         at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
         at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
         ... 35 more
    Caused by: java.sql.SQLException: Ett undantag uppstod när anslutning hämtades: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
         at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
         at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:943)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:873)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
         at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
         at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
         at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
         at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(DriverConnectionFactoryAdapter.java:122)
         at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPoolInternal.createOnePooledConnectionInternal(UniversalConnectionPoolImpl.java:1610)
         at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPoolInternal.access$600(UniversalConnectionPoolImpl.java:1446)
         at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:514)
         at oracle.ucp.jdbc.oracle.OracleJDBCConnectionPool.createOnePooledConnection(OracleJDBCConnectionPool.java:129)
         at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
         at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
         at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:931)
         ... 9 more

    i have tried to change the all the ways in odiparms file but i am getting the same error message....

  • SQL server agent job running as Agent Service Account whose service account does not have r/w access but is still able to write?

    Hi. I am newer to SQL server security and am reviewing some of our SQL server's configuration to make sure the services are running under accounts with least privilege.  I have a SQL server 2012 instance whose Agent service is configured to run
    under an AD user account named 'SQLServices'.  The jobs on this server are configured to run as 'SQL server agent service account', which means they should execute as user 'SQLServices'.  The jobs are set up to execute SSIS packages which read and
    write to a database on the same server where the agent job is scheduled and SSIS package installed (all on same server).  The jobs are currently executing without error and are reading writing data correctly.  Upon close examination, it turns out the
    SQLServices account is not assigned to the 'sysadmin' role and had no users mapped to any databases on this server.  How are these jobs working?  I verified in profiler that the login name indeed is 'SqlServices'.  I also verified
    that SQLServices login has no database access by remote-ing onto the server and trying to log into the DB, and access was denied as expected.  According to the literature, the Agent service needs to be a member of 'sysadmin role' but I am reading
    some cases where that is not necessarily the case.  So this is not so concerning.  What is concerning is that the login 'SQLServices' had no access to the databases on that server yet it is reading and writing to the databases as if it does. 
    The only thing I can think of is maybe jobs run as 'SQL server agent service account' on the same server as the databases it r/w to somehow has some kind of default access.  What am I missing here?  Any input would be helpful.

    After 2 days on this forum I found the answer to my own question.  In retrospect, I should have posted this under 'SQL Server Security', but I didn't know it existed.
    The 2 threads below explain that Sql agent actually runs using SID (service) NT SERVICE\SQLSERVERAGENT if you chose that when you installed.  This will automatically create an associated login NT SERVICE\SQLSERVERAGENT in SQL server with sqladmin
    role.  This is the login that Agent uses to connect to the local instance of SQL server.  If you changed to domain account to run the service during install or after using config manager, basically NT SERVICE\SQLSERVERAGENT is still
    used to connect to your local instance behind the scenes (even though you will still see your domain user as account), and the domain account is used to reach outside the server. 
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/9e6bb2de-8fd0-45de-ab02-d59bbe05f72e/servicedatabase-accounts-nt-servicemssqlserver-nt-servicesqlserveragent-what-are-they-for
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/b83a52fd-fe11-4c28-a27b-88be8ae79f2a/how-do-i-change-sql-server-agent-service-account-to-nt-servicesqlserveragent?forum=sqlsecurity

Maybe you are looking for

  • All of the inserts in audio tracks have stopped working

    I do get audio input, but the inserts do not work. Does anyone know the fix for this? Thanks, Murray

  • Programs wont open, errors show up, cant install or uninstall anything...seems to be something with some temp folder.

    we recently got our wifi fixed and at first it wouldnt connect to it so i tried all kinds of things mostly restarting my laptop multiple times...after that i dunno WTH happened but now its so messed up. So many errors come up for everything. Most of

  • Talbes For Vendor Reconciliation Report

    Hi all, Could any of one please tell me. What is Vendor Reconciliation and what are tables used in it. If Any one of you can explain When we will go for Vendor Reconciliation Report. I will be help full for me. Thanks in Advance. Regards Vardhan

  • How to run .sis by j2me

    i am making a program that has to get the cell id the phone is using. i will do that by sybian c.. how will i make it run by j2me and how can i get the results from the .sis program? (let's say the output is a string)

  • Real Mail Problems On Lumia 1520

    Just got my first Windows phone, because I have always used Windows... remember 3.1?  I have used Androids and iPhones - but never great fit for work AND home use.  So, there is enough software available on tablets to start making them a real busines