Failed to start odi agent
Hi all,
[oracle@lnxstby64C bin]$./agentscheduler.sh -PORT=29010 -NAME=my_agent -v=3
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/odi/AgentThe agent used to work well before I stop it today. But after I stop it, it failed to start.
Any comments will be appreaciated!!!
Best wishes,
Satine
Satine,
the directory (bin) where you're lauching the agentschduler.sh is part of then.
The parent of "bin" directory is "oracledi" and the parent of "oracledi" is the first level of the install directories.
My suggestion is to change tnhe owner of any of these directory and files to Oracle.
Works?
Cezar Santos
http://odiexperts.com
Similar Messages
-
Dear All,
While starting ODI agent,its failing with the below error
2011-07-06 10:05:41.104 NOTIFICATION ODI-1128 Agent ODI_AGENT is starting. Application Server: STANDALONE. Agent Version: 11.1.1.5.0 - 22/04/2011. Port: 4999. JMX Port: 5999.
2011-07-06 10:05:55.170 NOTIFICATION ODI-1136 Starting Schedulers on Agent ODI_AGENT.
2011-07-06 10:06:55.677 WARNING 2006 Error occurred while computing schedules for work repository [WORKREP]. Error message : org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is oracle.odi.jdbc.datasource.ConnectionTimeoutException: A login timeout occured while connecting to the database
2011-07-06 10:06:55.729 ERROR ODI-1131 Agent ODI_AGENT encountered an error: ODI-1406: Agent ODI_AGENT started with warning: JDBC connection error occurs while connecting to the work repository WORKREP. Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is oracle.odi.jdbc.datasource.ConnectionTimeoutException: A login timeout occured while connecting to the database
Need help in order to solve this case.Hi
Make sure that JDK 1.6.0_21 or higher version insatlled in your PC.
Have you installed RCU 11g before ODI 11g installation.
If not, please installed it and later start the ODI 11g installation.
Open odiparams.bat/sh file.
encode the master repository password using enocde.cmd/sh and paste the same encoded password on odiparams.bat/sh file
check MASTER DB Crredentials/Master repository login credentials/ work repository details are properly setuped or not.
check JDBC URL
check ODI_JAVA_HOME path seted in your PC
ODI_JAVA_HOME=d:\Oracle\Middleware\jdk160_21 in case weblogic installed before ODI 11g other wise
ODI_JAVA_HOME=c:\Program files\Java\jdk1.6.0_21\bin at Windows (setup it on environment variable) at linux export the ODI_JAVA_HOME path using "export" command
run the ODI agent and check whether it is running or not.
Hope this may helps you.
Thanks,
Phani -
Hi,
I've been following John's excellant blog. I've created the master repository. In topology manager, I have created the connection, the dataserver, the work repository, the agent and context. I've updated odiparams.bat (http://john-goodwin.blogspot.com/2008/09/odi-series-part-2-agent.html)
I try to test of start ODI Agent I get this error:
C:\ODI>C:\ODI\oracledi\bin\agentscheduler.bat "-port=20300" "-NAME=ODI_Agent"
The system cannot find the path specified.
OracleDI: Starting Scheduler Agent ...
'oracle.odi.Agent' is not recognized as an internal or external command, operable program or batch file.
My start agent .bat file:
C:\ODI\oracledi\bin\agentscheduler.bat "-port=20300" "-NAME=ODI_Agent"
My odiparams file:
rem
rem Repository Connection Information
rem
set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
set ODI_SECU_URL=jdbc:oracle:thin:@oradbserver:1521:TEST;selectMethod=cursor;databaseName=ODI_MASTERREP;integratedSecurity=false
set ODI_SECU_USER=ODI_MASTERREP
set ODI_SECU_ENCODED_PASS=erfa,mE7dy,q8gPvKnjVAb.n8a
set ODI_SECU_WORK_REP=ODI_WORKREP
set ODI_USER=SUPERVISOR
set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
set ODI_INIT_HEAP=128m
set ODI_MAX_HEAP=1024m
set ODI_JAVA_EXE="%ODI_JAVA_HOME%\bin\java.exe"
set ODI_JAVAW_EXE="%ODI_JAVA_HOME%\bin\javaw.exe"
set ODI_JAVAC_EXE="%ODI_JAVA_HOME%\bin\javac.exe"
OS Win 2003R2 32bit
ODI 10.1.3.5.0 has been updated to 10.1.3.5.5 via Oracle Data Integrator Cumulative Patch and Application Adapters for Data Integration Media Pack.Hi,
If you look in agentscheduler.bat the first lines are :-
if "%ODI_HOME%" == "" set ODI_HOME=..
call "%ODI_HOME%\bin\odiparams.bat"
echo OracleDI: Starting Scheduler Agent ...
In your output you have :-
The system cannot find the path specified.
It is trying to call "%ODI_HOME%\bin\odiparams.bat
and it can't find the file.
Do you have an windows environment variable set for ODI_HOME
If not create one and set its value to C:\ODI\oracledi
or update it to the path above
It should then find odiparams.bat
Cheers
John
http://john-goodwin.blogspot.com/ -
ODI agent status shown prepared in Weblogic
hi,
I have installed FDMEE 11.1.2.4. When i start services everything is ok except ODI Java EE agent. I haven't configured it ( i think it was preconfigured).
I have tried starting ODI agent from enterprise manager but i am getting an error; will paste below.
I have seen that in weblogic server under erpi integrator server my odi console status is active and odi agent status is prepared. I don't know how to start JAVA EE agent.
Any help?
Error:
Invoking Start Up operation for application oraclediagent on target ErpIntegrator0.
[Deployer:149193]Operation 'start' on application 'oraclediagent' has failed on 'ErpIntegrator0'
[Deployer:149034]An exception occurred for task [Deployer:149026]start application oraclediagent on ErpIntegrator0.: [HTTP:101216]Servlet: "AgentServlet" failed to preload on startup in Web application: "oraclediagent".
com.tangosol.net.RequestTimeoutException: Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=Cluster
MemberSet=MasterMemberSet(
ThisMember=null
OldestMember=null
ActualMemberSet=MemberSet(Size=0
MemberId|ServiceVersion|ServiceJoined|MemberState
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onStartupTimeout(Grid.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:28)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:58)
at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:4)
at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:10)
at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:26)
at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:2)
at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:427)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:968)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:919)
at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:1296)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:297)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:204)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:181)
at oracle.odi.runtime.agent.coherence.OdiAgentCoherenceCache.<init>(OdiAgentCoherenceCache.java:52)
at oracle.odi.runtime.agent.servlet.AgentServlet.initCoherence(AgentServlet.java:812)
at oracle.odi.runtime.agent.servlet.AgentServlet.initializeClusterCache(AgentServlet.java:762)
at oracle.odi.runtime.agent.servlet.AgentServlet.startup(AgentServlet.java:437)
at oracle.odi.runtime.agent.servlet.AgentServlet.init(AgentServlet.java:250)
at javax.servlet.GenericServlet.init(GenericServlet.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
:com.tangosol.net.RequestTimeoutException:Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=Cluster
MemberSet=MasterMemberSet(
ThisMember=null
OldestMember=null
ActualMemberSet=MemberSet(Size=0
MemberId|ServiceVersion|ServiceJoined|MemberState
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0
Operation Start Up on target oraclediagent Failed. Please see error logs for details.
RegardsHi JanGLi,
The ODI Agent is completely failing to start here from the error that you initially pasted so agent tests are not going to work wherever you try them. Port 6550 should have something listening on it as that's the port that the FDMEE managed server listens on so that would only prove that the FDMEE managed server is up. I can't see the connection closed error having anything to do with running out of connections in the connection pool either as it's simply a message saying that a connection was closed (not that the connection pool is exhausted).
On the plus side though I have seen the 'Servlet: "AgentServlet" failed to preload on startup in Web application: "oraclediagent"' error in the past (I get a lot of the really nice issues coming my way). Which operating system are you using here? I've seen this happen on Windows when there are multiple network interfaces and an incorrect interface has been put to the top of the bind order (e.g. an interface that has fallen back to a link local address in the 169.254.0.0/16 range as DHCP has failed).
Regards
Craig -
ERPI 11.1.2.4 and odi agent java ee
HI, I have installed EPM system 11.1.2.4 now i want to set odi agent. In previous version i have to install odi and create agents but in this version i got a preinstalled ODI and precreated ODI agent. I have few queries related to odi agents:
1 - if i want to use standalone agent i have to install another ODI and there i can created standalone agent? correct?
2 - can i create standalone odi agent in already installed ODI by FDMEE?
3 - When i start my EPM services, does my odi agent starts automatically or i have to start odi agent manually?
RegardsHi JanGLi,
1) Yes, if you want standalone agent you need to install ODI studio in that you will get the option for standalone agent.
2) Yes, you can create standalone agent in already installed ODI by FDMEE and FDMEE has given you the J2EE agent in there configuration.
3) If the agent is J2EE then it has come by FDMEE so while starting the services for EPM for FDMEE the agent also starts(It depends how you have stated the properties of the services in the services.msc if it is automatically then while booting itself it will start else need to start manually.)
AND
If the agent is standalone you need to start manually bye going to that path(If you have configured the standalone agent).
Thanks,
Pratik -
Error Adding ODI Agent to OPM-NModule libopmncustom: initialization failed
Hi All
I am getting an error when I try to add, remove or start and ODI Agent in OPMN. The Error is as follows:
E:\Oracle\products\11.1.1\Oracle_ODI_1\oracledi\agent\bin>odi_opmn_addagent.bat
agentcreate.properties
Module libopmncustom: initialization failed (proc set odiagent)
Module libopmncustom initialization failed: disabled
opmnctl reload: reconfiguring opmn...
opmn status shows that the agent has been added but it is down and when I try to start it I get the following error:
E:\Opmn1\Oracle_WT1\instances\instance2\bin>opmnctl startproc ias-component=ERPI
DEVAGENT
opmnctl startproc: starting opmn managed processes...
================================================================================
opmn id=servername:6701
no processes or applications matched this request
Response: not enabled: libopmncustom
I can start and successfully test the agent using the agent_DEVAGENT.bat file but the problem seems to be adding it to OPMN.
-This issues seems to be that the OPMN module libopmncustom failed to initialize properly and hence has been disabled. I cannot see how I can enable it and test again.
I have tried the following to resolve the issue
1. Removed the agent and restarted it
2. Restarted the OPMN service
3. Restarted the server
4. Reinstalled ODI as well as the Stand Alone Agent
5. Uninstalled OPMN and installed it to a different location
Has anyone come across this and could you please give me a few pointers of what I can look at. The configs that I have are as follows
ODI Version : 11.1.5.0_generic_110422.1001
OPMN Version : 11.1.1.3
OS : Server 2008 STD R2 x64
ODI and OPMN are running on the same machine.
Agentcreate.properties file:
# Use / as path seperator to specify path in Unix as well as Windows.
ORACLE_ODI_HOME=E:/Oracle/products/11.1.1/Oracle_ODI_1
INSTANCE_HOME=E:/opmn1/Oracle_WT1/instances/instance2
COMPONENT_TYPE=odiagent
COMPONENT_NAME=DEV_AGENT
ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
ODI_MASTER_URL=jdbc:oracle:thin:@prddb:1521:hypprd
ODI_MASTER_USER=ODI_MASTER
ODI_MASTER_ENCODED_PASS=dzfHrWobFQN4u7YLBqBq7cqtljDTCy
ODI_SECU_WORK_REPO=ODI_WORK
ODI_SUPERVISOR_ENCODED_PASS=cByXt0OZvhRCIyaOQoTnl7y
PORTNO=90210
JAVA_HOME=E:/Oracle/Middleware/jdk160_21
ORACLE_OPMN_HOME=E:/Opmn1/Oracle_WT1
JMXPORTNO=91210
ODI_OPMN_ADDAGENT
@echo off
REM #
REM # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
REM #
setlocal
for %%a in ("/HELP" "/help" "-HELP" "-help") do if %%a == "%1" goto HELPTEXT
goto STARTCOMMAND
:HELPTEXT
echo.
echo (c) Copyright Oracle. All rights reserved.
echo.
echo PRODUCT
echo Oracle Data Integrator
echo.
echo FILENAME
echo odi_opmn_addagent.bat
echo.
echo DESCRIPTION
echo Adds agent entry in opmn.xml file.
echo.
echo SYNTAX
echo odi_opmn_addagent ["<agent create property file name>"]
echo.
echo PREREQUISITES
echo The Agent Create PropertyFile INFORMATION should be
echo completed before running this script.
echo.
goto ENDCOMMAND
:STARTCOMMAND
if "%ODI_HOME%" == "" set ODI_HOME=E:\Oracle\products\11.1.1\Oracle_ODI_1\oracledi\agent
REM call "%ODI_HOME%\bin\odiparams.bat"
if "%OPMN_HOME%" == "" set OPMN_HOME=E:/Opmn1/Oracle_WT1
if "%INSTANCE_HOME%" == "" set INSTANCE_HOME=E:/opmn1/Oracle_WT1/instances/instance2
REM set CLASSPATH=%ODI_CLASSPATH%;%OPMN_HOME%\opmn\lib\opmneditor.jar
set CLASSPATH=%ODI_HOME%\lib\odi-standalone-agent.jar;%OPMN_HOME%\opmn\lib\opmneditor.jar;%ODI_HOME%\..\..\setup\manual\oracledi-sdk\oracle.odi-sdk-jse_11.1.1.jar
java -classpath %CLASSPATH% oracle.odi.AddAgentToOpmn %*
CALL %INSTANCE_HOME%\bin\opmnctl reload
:ENDCOMMAND
ODI PARAMS
REM #
REM # Repository Connection Information
REM #
set ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
set ODI_MASTER_URL=jdbc:oracle:thin:@prddb:1521:hypprd
set ODI_MASTER_USER=ODI_MASTER
set ODI_MASTER_ENCODED_PASS=dzfHrWobFQN4u7YLBqBq7cqtljDTCy
REM #
REM # User credentials for agent startup program
REM #
set ODI_SUPERVISOR=SUPERVISOR
set ODI_SUPERVISOR_ENCODED_PASS=cByXt0OZvhRCIyaOQoTnl7y
REM #
REM # User credentials for ODI tools
REM #
set ODI_USER=%ODI_SUPERVISOR%
set ODI_ENCODED_PASS=%ODI_SUPERVISOR_ENCODED_PASS%
REM #
REM # Work Repository Name
REM #
set ODI_SECU_WORK_REP=ODI_WORK
REM #
REM # Connection retry parameters
REM #
set ODI_CONNECTION_RETRY_COUNT=0
set ODI_CONNECTION_RETRY_DELAY=7000
REM #
REM # Java virtual machine
REM #
set ODI_JAVA_HOME=E:\Javax86\jdk1.6.0_29
REM #
REM # Other Parameters
REM #
set ODI_INIT_HEAP=256m
set ODI_MAX_HEAP=1024m
set ODI_JMX_PROTOCOL=rmi
REM #
REM # Additional Java Options
REM #
set ODI_ADDITIONAL_JAVA_OPTIONS=
REM # Windows 95,98, Me users only: Any package files added to the /drivers
REM # or /lib/scripting directory should be manually declared in the
REM # ODI_ADDITIONAL_CLASSPATH variable
set ODI_ADDITIONAL_CLASSPATH=
REM # DO NOT EDIT BELOW THIS LINE !
REM # ----------------------------------------------------------------------------
set ODI_JAVA_EXE=%ODI_JAVA_HOME%\bin\java.exe
set ODI_JAVAW_EXE=%ODI_JAVA_HOME%\bin\javaw.exe
set ODI_JAVAC_EXE=%ODI_JAVA_HOME%\bin\javac.exe
REM # Testing the java virtual machine
if not exist "%ODI_JAVA_EXE%" goto NOJAVA
if not exist "%ODI_JAVAW_EXE%" goto NOJAVA
if not exist "%ODI_JAVAC_EXE%" goto NOJAVAC
goto OKJAVA
:NOJAVA
@echo The Java Virtual Machine was not found at the following location: %ODI_JAVA_HOME%
@echo The ODI_JAVA_HOME environment variable is not defined correctly.
@echo Please set this variable in odiparams.bat.
goto OKJAVA
:NOJAVAC
@echo A JDK is required to execute Web Services with OracleDI. You are currently using a JRE.
goto OKJAVA
:OKJAVA
if "%ODI_HOME%" == "" set ODI_HOME=E:\Oracle\products\11.1.1\Oracle_ODI_1
REM # Change the current directory to %ODI_HOME%/bin
cd "%ODI_HOME%\bin"
Environmental Variables
JAVA_HOME=E:\Javax86\jdk1.6.0_29
ODI_JAVA_HOME=E:\Javax86\jdk1.6.0_29
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;E:\Oracle\Middleware\EPMSystem11R1\common\ODBC-64\Meran
t\6.0\Drivers;E:\Oracle\Middleware\EPMSystem11R1\products\Essbase\eas\console\bi
n;E:\Javax86\jdk1.6.0_29;E:\Javax64\jdk1.6.0_29;E:\Opmn1\Oracle_WT1\bin;E:\Opmn1
\Oracle_WT1\opmn\bin;E:\Opmn1\Oracle_WT1\opmn\lib;E:\Opmn1\Oracle_WT1\perl\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Could someone please help me with this.
Thanks
Edited by: 800166 on 18/05/2012 00:39Solved the problem by dropping and recreating the user schema and all its objects, reinstalling and configuring both ODI and OPMN.
If you ever come across the problem I recommend the above, you will save yourself hours of troubleshooting -
SQL Server Agent (MSSQLSERVER) service is failing to start
Hi All,
I am using SQL Server 2008 R2 Express edition. When i start SQL Server Agent (MSSQLSERVER) service it is failing to start and gives the below error.
On analyzing the Event logs i found the below event.
The SQL Server Agent (MSSQLSERVER) service terminated unexpectedly. It has done this 14 time(s).
Event id 7034
Event source: Service Control Manager.
I opened the SQL server configuration manager to change the service account and start the service, But that is also failing and it is giving the below error.
Can any one help in this issue ?
Gautam.75801Like Olaf said SQL Server Agent is available in express but cannot be enabled. This is restriction from MS. The reason is that(why its available and disabled) when you upgrade express to enterprise/standard it just uses this disabled SQL Server agent and
enables it. If this feature was not present SQL Server upgrade process would have to write whole code for SQL agent Which I am sure it does not do while upgrading to standard/enterprise.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Hi,
wihout changing the version or so we suddenly we experience the following error at status page (although the monitored web-page is fine):
Current alert: Failed to start e-TEST agent: error starting agent: \ne-TEST process has not established socket in 30 seconds.
Any ideas?
Thanks in advanceHi emposadi,
It looks like the e-Load server is having trouble communicating with the agent. Are you running the load test using an agent on the same machine or remote machine? You might want to see if a process has grabbed a port that the server communicates with the agent on. I would reboot the machines in question, shut down the Empirix Application Server and verify that ports 1099 and 9001 are not in use. Those are the ports that e-Load uses to communicate with the agent.
-GateCity_QA -
Management agent upgraded to 10.2.0.4 - getting error Failed to start LSNR
Hi all,
I have just upgraded the management agent upgradation to 10.2.0.4. I am getting this error error 'Failed to start HTTP listener.'
I had killed the agent process at the o/s level and restarted it but again after a while it shuts down automatically.
Also my emctl status agent still shows the agent version as 10.2.0.2 ??? Please let me know what to do in this scenario.
Will appreciate your early response. ... Thanks & Regards, Deepakcan you report the status of this command and screen output
./emctl status agent
Ss -
Monitoring Agent installation : Error 25362.Failed to start -2147023843 service
Hi all,
I'm facing several issues installing SCOM 2012 R2 agent on one of our servers.
I've finally installed it, but at the end of installation process, this error is shown :
Product: Microsoft Monitoring Agent -- Error 25362.Failed to start -2147023843 service
I've found nothing especially for this error from Internet
Thank you. Have a good day.
FXEHi
Here you find the instructions for tracing
http://blog.scomskills.com/scom-verbose-tracing/ or
http://www.scomgod.com/?p=640
For Fixing the Agent Installation try this (still applies to scom 2012, except certain path)
http://blogs.technet.com/b/kevinholman/archive/2009/10/01/fixing-troubled-agents.aspx or this might also help
http://www.bictt.com/blogs/bictt.php/2009/09/10/scom-agent-not-starting-after-installati
Cheers,
Stefan
Blog: http://stefanroth.net If my post helped you, please take a moment to vote as helpful and\or mark as an answer -
hi All
I am using SQl 2008, and agent failed to start
2015-03-16 11:11:31 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start
2015-03-16 11:11:31 - ! [298] SQLServer Error: 18456, Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [SQLSTATE 28000]
2015-03-16 11:11:31 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)
2015-03-16 11:11:32 - ? [098] SQLServerAgent terminated (normally)
SQLserver has started~~Hello,
Try changing the SQL Server agent service account to Local System or by the same account you are using to
start the SQL Server service account. The following article for changing SQL Server service account may help you, since it is a similar procedure.
https://msdn.microsoft.com/en-us/library/ms345578.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Agent Startup Failure - Failed to start HTTP listener.
1) When trying to start the agent I get this error:
./emctl start agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ........ failed.
Failed to start HTTP listener.
2) Any advice on what to look for?As sim said,look at the log files.Any changes were made on the host before you started the agent?
FYI
I had the same problem the other day when a new HBA card was added and I had to follow the doc 422296.1
BTW first post the errors from the logs may be its due to port conflict also.
Thanks!!! -
How to start the ODI agent ?
Hi..
I just installed the Oracle Data Integrator to my computer. But, how could i start the ODI agent ?..
Could somebody guide me ?
Thank you,
BaharinHave you read the user documentation > http://www.oracle.com/technology/products/oracle-data-integrator/10.1.3/htdocs/documentation/oracledi_users.pdf
sections
Managing Agents....................................................................................................................... 136
Launching a Listener Agent ................................................................................................... 136
Launching a Scheduler Agent................................................................................................ 138
Or you could try :- Step to setup windows agent
Ok? Not that you ever mark your posts (Total Questions: 42 (42 unresolved))
Cheers
John
http://john-goodwin.blogspot.com/ -
Hi All,
I have installed and configured ODI 11g I have performed following tasks
1) Created Master Repository
2) Connected User for the ODI
3) Created Work Rep
4) Created Physical as well as logical agent
Before I have started the agent I have performed following tasks
1) Updated my ODI PARAMS
Update Master Rep info:
Updated my relational db info related to master rep
Encode Password:
My master repository is ODI_MASTER and password is password1
Command: encode password1
I have updated my ODI params with the new encoded password
similarly I have updated the encoded SUPERVISOR password.
I have udpated my work repository info as well.
But when I start the agent from the command line I receive following error
E:\ODI_HOME\oracledi\agent\bin>E:\ODI_HOME\oracledi\agent\bin\agent.bat "-NAME=P
RODAGENT" "-PORT=20910"
OracleDI: Starting Agent ...
2010-11-01 12:50:05.490 NOTIFICATION ODI-1128 Agent PRODAGENT is starting. Appli
cation Server: STANDALONE. Agent Version: 11.1.1.3.0 - 23/06/2010. Port: 20910.
JMX Port: 21910
2010-11-01 12:50:07.771 ERROR ODI-1131 Agent PRODAGENT encountered an error: ODI
-1404: Agent PRODAGENT start failure: an authentication error occurred while con
necting to the master repository,
2010-11-01 12:50:07.771 WARNING unavailable
oracle.odi.runtime.agent.servlet.AgentServlet.init(AgentServlet.java:233)
javax.servlet.GenericServlet.init(GenericServlet.java:241)
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:676)
org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
org.mortbay.jetty.Server.doStart(Server.java:224)
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
oracle.odi.Agent.startAgent(Agent.java:200)
oracle.odi.Agent.main(Agent.java:493)
Please let me know if Iam going wrong at any point.
Thanks,
KRKDev,
Thanks for your quick reply
I have updated my ODI_USER password then I have recieved new error message
But I have created my physical and logical agent in the topology manager but this error shows up that its not defined
E:\ODI_HOME\oracledi\agent\bin>E:\ODI_HOME\oracledi\agent\bin\agent.bat "-NAME=P
RODAGENT" "-PORT=20910"
OracleDI: Starting Agent ...
2010-11-01 13:21:12.271 NOTIFICATION ODI-1128 Agent PRODAGENT is starting. Appli
cation Server: STANDALONE. Agent Version: 11.1.1.3.0 - 23/06/2010. Port: 20910.
JMX Port: 21910
2010-11-01 13:21:14.240 ERROR ODI-1131 Agent PRODAGENT encountered an error: ODI
-1405: Agent PRODAGENT start failure: the agent is not defined in the topology f
or master repository.
2010-11-01 13:21:14.240 WARNING unavailable
oracle.odi.runtime.agent.servlet.AgentServlet$1.doAction(AgentServlet.java:734)
oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplat
e.java:193)
oracle.odi.runtime.agent.servlet.AgentServlet.getSnpAgentForAgentInstance(AgentS
ervlet.java:726)
oracle.odi.runtime.agent.servlet.AgentServlet.startup(AgentServlet.java:323)
oracle.odi.runtime.agent.servlet.AgentServlet.init(AgentServlet.java:226)
javax.servlet.GenericServlet.init(GenericServlet.java:241)
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:676)
org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
org.mortbay.jetty.Server.doStart(Server.java:224)
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
oracle.odi.Agent.startAgent(Agent.java:200)
oracle.odi.Agent.main(Agent.java:493)
Thanks,
KRK
Edited by: 794835 on Nov 1, 2010 1:22 PM
Edited by: 794835 on Nov 1, 2010 1:24 PM -
Ehp5 Implementation - System fails to start at MAIN_NEWBAS/STARTSAP_NBAS
Hello,
I'm running an Ehp5 implementation from ERP 6.0. Ehpi is stuck in step Downtime during phase MAIN_NEWBAS/STARTSAP_NBAS with the following error:
Last error code set: RFC call to subst_get_uvers failed with key RFC_ERROR_COMMUNICATION (open): SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=sapapt01, GWSERV=sapgw00, SYSNR=00
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner '10.10.1.21:3300' not reached
TIME Mon Jan 16 23:03:11 2012
RELEASE 720
COMPONENT NI (network interface)
VERSION 40 RC -10
MODULE nixxi.cpp LINE 3286
DETAIL NiPConnect2: 10.10.1.21:3300
SYSTEM CALL connect
ERRNO 111
ERRNO TEXT Connection refused
COUNTER 226
System start failed
I checked the system instance and it was down. When I try to start up it manually with startsap, I do not get any error:
sapapt01:ippadm 16> startsap
Checking IPP Database
Database is running
Starting Startup Agent sapstartsrv
OK
Instance Service on host sapapt01 started
starting SAP Instance DVEBMGS00
Startup-Log is written to /home/ippadm/startsap_DVEBMGS00.log
/usr/sap/IPP/SYS/exe/run/sapcontrol -prot NI_HTTP -nr 00 -function Start
Instance on host sapapt01 started.
The problem is that no work process is started nor dispatcher or message server. When I look at the instance work directory I see that the only files that are written are the following:
available.log
sapstartsrv.log
logsave.bin
dev_tp (but it's empty)
The content of sapstartsrv.log is the following:
trc file: "sapstartsrv.log", trc level: 0, release: "720"
pid 29149
[Thr 47879647924784] Tue Jan 17 00:51:54 2012
No halib defined => HA support disabled
CCMS agent initialization: return code 0.
CCMS agent start: return code 0.
Initializing SAPControl Webservice
Starting AutoRestart thread
SapSSLInit failed => https support disabled
[Thr 1079777600] Tue Jan 17 00:51:56 2012
AutoRestart thread started
Starting WebService thread
Webservice thread started, listening on port 50013
Trusted http connect via Unix domain socket '/tmp/.sapstream50013' enabled.
trusted unix domain socket user is starting SAP System at 2012/01/17 0:52:04
The startsap_DVEBMGS00.log at the sidadm home directory shows the following:
Trace of system startup/check of SAP System IPP on Tue Jan 17 00:51:54 ART 2012
Called command: startsap start
00:51:54
Starting Startup Agent sapstartsrv
00:52:04
Instance Service on host sapapt01 started
00:52:04
starting SAP Instance DVEBMGS00
00:52:04
Startup-Log is written to /home/ippadm/startsap_DVEBMGS00.log
00:52:04
/usr/sap/IPP/SYS/exe/run/sapcontrol -prot NI_HTTP -nr 00 -function Start
17.01.2012 00:52:05
Start
OK
00:52:15
Instance on host sapapt01 started
The /var/log/messages content is the following:
Jan 17 00:51:56 sapapt01 SAPIPP_00[29149]: SAP Service SAPIPP_00 successfully started.
I can't find any clue why the system processes are not starting. The phase is the next after kernel upgrade from 700 to 720, so I believe it is related to the switch and maybe my kernel is not correctly updated or something is missing.
Please let me know any suggestion to know why the system is not starting.
Regards,
AlejandroHi,
No object was removed with the cleanipc command, anyway I've rebooted the server and then started db and sap again. Now the dev traces are written.
Output of the cleanipc command:
sapapt01:ippadm 42> ./cleanipc 00
Show/Cleanup SAP-IPC-Objects V2.3, 94/01/20
===========================================
+----+
| To inhibit destruction of valid SAP-IPC-Objects |
| during shutdown, this program requires now |
| special options for removing IPC-Objects. |
+----+
Running SAP-Systems (Nr)...:
---- Show IPC-Objects of Sap-System 0 -
Number of IPC-Objects...........: 0
Summary of all Shared Memory....: 8802.0 MB (may be incomplete when not in superuser mode)
Number of SAP_ES files found:.............: 0
Number of SAP_ES files removed:...........: 0
dev_w0 trace file:
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
M sysno 00
M sid IPP
M systemid 390 (AMD/Intel x86_64 with Linux)
M relno 7000
M patchlevel 0
M patchno 185
M intno 20050900
M make: single threaded, Unicode, 64 bit, optimized
M pid 29183
M
M
M Tue Jan 17 03:23:58 2012
M kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000
-UC)
M length of sys_adm_ext is 576 bytes
M ***LOG Q01=> ThInit, WPStart (Workproc 0 1 29183) [thxxhead.c 1290]
M ThInit: running on host sapapt01
M calling db_connect ...
B create_con (con_name=R/3)
B Loading DB library '/usr/sap/IPP/SYS/exe/run/dboraslib.so' ...
B Library '/usr/sap/IPP/SYS/exe/run/dboraslib.so' loaded
*B *** ERROR => Version mismatch between kernel (700.08) and DBSL shared library*
M ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) [thxxhead.c 1449]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thx
xhead.c 10524]
M
M Info for wp 0
M
M pid = 29183
M severity = 0
M status = 0
M stat = WP_RUN
M waiting_for = NO_WAITING
M reqtype = DP_RQ_DIAWP
M act_reqtype = NO_REQTYPE
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source =
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M csTrack = 0
M csTrackRwExcl = 0
M csTrackRwShrd = 0
M mode_cleaned_counter = 0
The kernel version seems to be 700 here, I don't know why because when I check the disp+work -version is 720.
Regards,
AN
Maybe you are looking for
-
I plugged my Iphone 4s in my computer last night to sync and it asked me if I wanted to do an update, so I clicked to start the update. When I woke up this morning my phone is frozen with the display having the blue circle itunes on the top and botto
-
Hi I have a variable called 'TT' of type varchar2. Where in I store an expression created by the user like txt_baseprm+txt_depnd*txt_baseprm*0.075. How to evaluate this expression in forms 10g DS and store the result into a number type variable. txt_
-
How do I create a simple search program to search java console log
I wanted to know how can I write a simple program to return a particular value from the java console. Let me give u a brief. There is an application that I use, say "XYZ".Every time I perform an action on "XYZ" a log gets created in the java console.
-
I just got a new iPad2 and after syncing it to my PC it says I have connected to 3 out of the maximum of 5 computers. It's brand-new and has only ever been connected to the one machine. How can I reset this back to one?
-
IPhone App Key Performance Indicators
Hi, Is there a way to access the iPhone App Key Performance Indictors to change it or add something to it? For Example: AR Balance?