OSCommand ODI Command not running on Agent
Hello,
I have a simple .bat file I need to kick off in ODI. When I run it with local service(no agent) it runs fine but when I try to run it under my (installed as a service )agent it fails with the generic error "wrong process return code"
I have changed the properties of the service and specified to log on as administrator but it still fails.
any ideas?
Thanks
Kind regards,
Caoimhe
Edited by: user9213000 on Dec 15, 2010 8:26 AM
user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ QtADB
bash: QtADB: command not found
user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ ./QtADBbash: ./QtADB: No such file or directory
user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh ./QtADB
./QtADB: ./QtADB: cannot execute binary file
user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh QtADB
QtADB: QtADB: cannot execute binary file
user-arch@archusrxpc /home/@solushome/user-solus/QtADB-cwm_edition $ ls -l
σύνολο 2940
-rw-rw-r-- 1 user-arch 1000 5259 Απρ 13 2012 Changes.txt
-rw-rw-r-- 1 user-arch 1000 25330 Ιούν 26 2012 debug.log
-rwxrwxr-x 1 user-arch 1000 2970612 Απρ 13 2012 QtADB
drwxr-xr-x 1 user-arch 1000 0 Ιούν 26 2012 tmp
drwxrwxr-x 1 user-arch 1000 366 Μάρ 13 2012 tools
user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $
Last edited by dancer69 (2013-01-17 18:30:23)
Similar Messages
-
Simple Operational Profile and Plan does not run against agent
So i'm attempting to use the Operational Profile function of Ops Center to extend some functionality which it does not have (set up bonded interfaces during build process of OL 6.x)
However my script is having issues it never seems to run as a remote shell. So I simplified it, and broke my script down to simply
#!/bin/bash
/bin/pwd
/bin/ls
exit 0
And it still failed to run.
I've poured over the documentation, my script runs fine when manually incanted from the command line.
I've attempted following https://blogs.oracle.com/oem/entry/ops_center_using_operational_profiles but as you can see even my simple of simple plans does not run, let alone anything more complex.
Full job logs:
Job ID : EC-SERVER.com.au.664
Job Name : do ls script;AGENT
Job Type : Execute-DeploymentPlan
Job Description : -
Run ID : 1
Status : FAILED
Mode : Actual run
Owner : xvmadm
Create Date : 11/11/2014 09:03:04 AM EST
Start Date : 11/11/2014 09:03:04 AM EST
Last Updated : 11/11/2014 09:03:08 AM EST
Execution Order : PARALLEL
Failure Policy : CONTINUE_ON_FAILURE
Task : AGENT
Task : CmpExecuteTask
Task : ExecuteTask
Task Run ID : 24369
Target : AGENT
Status : FAILED
Result : Task failed. (15030)
Logs :
11/11/2014 09:03:04 AM EST INFO EC-SERVER.com.au.664.1.24369 acquired the recursive lock on the target - PC-SERVER.com.au-172a7b21/AGENT.com.au-abf1fc69/com.sun.hss.domain:name=localhost,type=OperatingSystem for the duration of Task
11/11/2014 09:03:04 AM EST INFO Task is posted to the Proxy Controller (PC-SERVER.com.au-172a7b21), from the Enterprise Controller. (15011)
11/11/2014 09:03:08 AM EST INFO Task is received by the Proxy Controller. (15012)
11/11/2014 09:03:08 AM EST INFO Task is posted to the Agent Controller (AGENT.com.au-abf1fc69), from the Proxy Controller. (15013)
11/11/2014 09:03:08 AM EST INFO Task is received by the agent controller.
11/11/2014 09:03:08 AM EST INFO EC-SERVER.com.au.664.1.24369 released the recursive lock on the target - PC-SERVER.com.au-172a7b21/AGENT.com.au-abf1fc69/com.sun.hss.domain:name=localhost,type=OperatingSystem for the duration of Task
I wanted to avoid raising an SR for something so potentially trivial, but what the heck is going on here?Nothing? no one uses this functionality?
-
Hi,
We recently updated to ODI 10.1.3.6.0. The Scenarios are not running at their scheduled times. They only run when manually executed. Old schedules work fine, but all new changes aren't taking effect. We are not receiving any error message, we check the session and it isn't running.
Thanks for your help.hi,
when you execute the interface manually, current time is written on operator tab and related line.
is that time is true?
Ugur -
Dear All,
Only after installing Lion, the Terminal now claims
that "man: command not found"
"ssh: command not found" (remote login enabled)
I've also realised some missing environment variables
echo $PATH just returns /bin
Regards
ElWell, it's alright that those missing files do not exist. The command I provided would try to find files that could possibly be changing the PATH variable. And it did! Log on to the problem account "thestudio" and move /Users/thestudio/.bash_profile ->
/bin/mv /Users/thestudio/.bash_profile /Users/thestudio/bash_profile
Quit the Terminal.app then reopen it. Now try->
echo $PATH -
Hi guys,
I have an issue with an EEM applet that I have configured. Part of the applet is to run a kron occurrence. I know the applet is executing by viewing event manager history, but when I then run show kron schedule, the kron job is not set to run.
If I manually input the same CLI commands, the schedule starts without issue.
The config for the applet is below:
event manager applet RESTORED
event track 100 state up
action 1.0 cli command "enable"
action 1.1 cli command "conf t"
action 1.2 cli command "kron occurrence MONITOR in 0:10"
action 1.3 cli command "policy-list MONITOR"
action 1.4 syslog msg "ATTENTION:THE CCT HAS RESTORED"
exit
Any help with this would be greatly appreciated.
Thanks
ScottI have debugged event manager action cli, and discovered that the reason the CLI commands are not taking is that aaa (tacacs) is applied to this router, so when the system attempts to enter commands, command authorisation is failing.
*Jul 15 15:14:26.245: %TRACKING-5-STATE: 100 interface Lo100 ip routing Up->Down
*Jul 15 15:14:26.261: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : CTL : cli_open called.
*Jul 15 15:14:26.269: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT : CC
*Jul 15 15:14:26.269: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT :
*Jul 15 15:14:26.269: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT :
*Jul 15 15:14:26.269: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT : This is a test router for SNMP traps
*Jul 15 15:14:26.269: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT :
*Jul 15 15:14:26.269: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT :
*Jul 15 15:14:26.269: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT : WAKE-ANT-TEST-RTR>
*Jul 15 15:14:26.269: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : IN : WAKE-ANT-TEST-RTR>enable
*Jul 15 15:14:26.281: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT : WAKE-ANT-TEST-RTR#
*Jul 15 15:14:26.281: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : IN : WAKE-ANT-TEST-RTR#conf t
*Jul 15 15:14:26.497: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT : Command authorization failed.
*Jul 15 15:14:26.497: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT :
*Jul 15 15:14:26.497: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT : WAKE-ANT-TEST-RTR#
*Jul 15 15:14:26.497: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : IN : WAKE-ANT-TEST-RTR#no kron occurrence MONITOR in 0:03
*Jul 15 15:14:26.513: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT : ^
*Jul 15 15:14:26.513: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT : % Invalid input detected at '^' marker.
*Jul 15 15:14:26.513: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT :
*Jul 15 15:14:26.513: %HA_EM-6-LOG: DWNBT : DEBUG(cli_lib) : : OUT : WAKE-ANT-TEST-RTR#
Does anyone out there know if its possible for EEM to authenticate against aaa?
I did try adding a "login" command after
action 1.0 cli command "enable", but this failed authorisation also.
Thanks
Scott -
Command not running successfully
I am installing Weblogic and got to the point where I needed to deconfigure my database on a Windows server 2008. I have to run the following command to deconfigure the database - /bin/emca -deconfig dbcontrol db -repos drop
but anytime I run that command, I get "The system cannot find the path specified" error. I know the path exists. I actually cd into the oracle home location and can see /BIN/ and emca in there but I constantly get the same error. Help is needed.these do not work either may be I'm doing something wrong. I open the command line and type 'id' and get "id is not recognized as an internal or external command, operable pro9gram or batch file.
I also type 'id env | sort" and get a similar error message as above -
SQL describe command not running in JSP
Hello All,
i hope u all will be enjoying ur lives :)
i have a problem that when i run the SQL describe command it gives me the error that Invalid SQL Statement...
the command syntax is
desc tablename; OR describe tablename;
and i am doing it like that
ResultSet rs = stmt.executeQuery("describe CF");
where CF is the name of table..
actually what i want to do is get the columns and its datatypes dynamically.. means that i want i get all the tables first from database then whichever table i select i can display its records and also add delete and modify the records...
if anyone have already code of this ..please email me at
[email protected]
i will be very very thank ful for that..
otherwise tell me the solution of the above problem :(
thanx in advance
RANAYou can get all the information about the table using the meta data. Run a dummy query (I don't think it even needs to return any results), and then grab the meta data
from the result set:
ResultSet rs = null;
ResultSetMetaData rsmd;
int numcolumns = 0;
Vector field = new Vector();
rs = statement.executeQuery( "select * from mytable where field='nevermatchme'");
rsmd = rs.getMetaData();
numcolumns = rsmd.getColumnCount();
for ( int i = 1 ; i <= numcolumns ; i++ ) {
field.add( rsmd.getColumnName(i) );
You now have a Vector with one element per database field, each containing a String of that fields name. I believe it is also possible to get field
type, etc also the MetaData. -
Odi os command not working with agentservice agent.
dear all,
odi os command not working with agentservice agent but with local agent it work fine.. and user is administrator.
kindly solve it
Regards
NaseerHi,
you referred to oscommand, so are you executing a .bat fille? if yes, where exactly does the .bat file reside, local machine or on network share?
Also, follow these couple of documents, they may be helpful to you.
859215.1 and 424703.1
Regards
Srikanth -
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 morei have tried to change the all the ways in odiparms file but i am getting the same error message....
-
dear all,
odi agent test successfully, update the scheduling successfully but when pressing the scheduling information it give error
"ODI agent may not running"
kindly solve the issue
regards
NaseerHi Ratish,
Following are the things i did and things which are happening .. :)
created a scenario and scheduled it.
And from Topology Man.. Agent Window... clicked on "Update Scheduling"... Output is "Planning Update is Completed" and when i click on Schedule Information" it is throwing warning saying... "Unable to retrieve Agents Schedule"... and my scheduled job is also not executed at scheduled time.
Any idea what could be the problem?
Thanks in advance.
Regards,
Amar -
Command that Works in Terminal Not Running as Launch Agent
Trying to run the following command as a Launch Agent (OS X 10.7):
/usr/bin/find /Users/username/Documents/Dropbox/Public -type f -mtime +2 -print0 | xargs -0 rm -r
Created a plist file (reproduced below) and saved to ~/Library/Launch Agents, but the command isn't executed either at the specified time or when the agent is loaded via launchctl.
If I change the command to a simple Applescript test:
osascript -e 'tell Application "Finder" to display dialog "hello"'
It runs correctly as a launch agent when loaded and as the specified time
Which means there's something wrong with the first command (find). But the command runs as written when executed manually in the terminal.
Suggestions? Thanks.
<?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>com.username.clean_dropbox</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/find</string>
<string>/Users/username/Documents/Dropbox/Public</string>
<string>-type</string>
<string>f</string>
<string>-mtime</string>
<string>+2</string>
<string>-print0</string>
<string>|</string>
<string>xargs</string>
<string>-0</string>
<string>rm</string>
<string>-r</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>17</integer>
<key>Minute</key>
<integer>45</integer>
</dict>
</dict>
</plist>Since your pipe is essentially just passing the find matches to rm, you can achieve the same result using find's -delete switch:
/usr/bin/find /Users/username/Documents/Dropbox/Public -type f -mtime +2 -delete -
In a survey of several Windows 7 systems, in the Application-Experience Program-Telemetry log, I found daily instances of Information Event 701 "The Application Impact Telemetry (AIT) Agent is not running because AIT is disabled". The trigger
for this event is execution of the built-in scheduled task to run Aitagent.exe daily at 02:30.
The message "AIT is disabled" is puzzling to me.
I checked participation in the Customer Experience Improvement Program (CEIP) on the idea that a setting to disable participation could translate into "AIT is disabled", but CEIP is set to Yes (participate).
I checked Windows Error Reporting settings - they are set to "Automatically check for solutions and send additional report data, if needed"
I checked the REG_DWORD value AITEnable in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\AIT is set to 0x1, which should indicate that AIT is enabled.
I would appreciate if anyone can explain where/how AIT is disabled.
ThanksArthur Xie-
Thank you for suggesting installing the
Microsoft Application Compatibility Toolkit 5.6 (ACT). This is quite an enterprise-level program (the Step-by-Step guide says "We
recommend that you collect your data from approximately 10,000
computers")!
Anyway, installing the ACT and sending an empty data set to Microsoft worked, but did not eliminate Event 701 when the scheduled task to run AitAgent.exe executed
(as scheduled or manually) or when AitAgent.exe was run from an Administrator command prompt.
Since the scheduled task to run AitAgent.exe is part of a out-of-box installation of Windows 7, and its description states "Aggregates and uploads Application Telemetry
information if opted-in to the Microsoft Customer Experience Improvement Program", it would seem that it would run without error, at least when participation in the CEIP is enabled. -
Firstly Agent running and ready but 1 minutes later is not running
firat:/oracle/product/10.2.0.4/agent10g/bin > ./emctl status agent
Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent is Not Running
firat:/oracle/product/10.2.0.4/agent10g/bin > ./emctl stop agent
Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent is Not Running
firat:/oracle/product/10.2.0.4/agent10g/bin > ./emctl start agent
Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ................................. started but not ready.
firat:/oracle/product/10.2.0.4/agent10g/bin > ./emctl status agent
Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent Version : 10.2.0.4.0
OMS Version : 10.2.0.4.0
Protocol Version : 10.2.0.4.0
Agent Home : /oracle/product/10.2.0.4/agent10g/firat
Agent binaries : /oracle/product/10.2.0.4/agent10g
Agent Process ID : 23977
Parent Process ID : 23646
Agent URL : https://firat:3872/emd/main
Repository URL : https://muhtar.turktelekom.com.tr:1159/em/upload
Started at : 2008-09-11 11:29:58
Started by user : oracle
Last Reload : 2008-09-11 11:32:48
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 11
Size of XML files pending upload(MB) : 8.37
Available disk space on upload filesystem : 21.78%
Last successful heartbeat to OMS : 2008-09-11 11:32:09
Agent is Running and Ready
ooooooooooooooooooooooooooooooooooooo
1 minute later
ooooooooooooooooooooooooooooooooooooo
firat:/oracle/product/10.2.0.4/agent10g/bin > ./emctl status agent
Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Agent is Not Running
t:/oracle/product/10.2.0.4/agent10g/firat/sysman/log > vi emagent.log
2008-09-11 10:43:08,118 Thread-1 [Siebel Server] InstanceProperty (filesystem:logdir) is marked
OPTIONAL but is being used (00506)
2008-09-11 10:43:08,222 Thread-1 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
2008-09-11 10:43:08,295 Thread-1 [E-Mail SMTP Inbound Server] InstanceProperty smtp_host) is marked OPTIONAL but is being used (00506)
2008-09-11 10:43:08,561 Thread-1 Undefined column name interval in expression active.requests
0) ? active.requests/(interval*60) : 0 (00104)2008-09-11 10:43:08,638 Thread-1 [BEA WebLogic Managed Server] InstanceProperty (version) is marked OPTIONAL but is being used (00506)
Thread-1 EMAgent abnormal terminating
please can u help me
thank you."emagent.trc" 1075 lines, 136000 characters
2008-09-12 14:51:52,104 Thread-1 WARN main: clear collection state due to OMS_version difference
2008-09-12 14:51:52,152 Thread-1 WARN command: Job Subsystem Timeout set at 600 seconds
2008-09-12 14:51:52,180 Thread-1 WARN upload: Upload manager has no Failure script: disabled
2008-09-12 14:51:53,111 Thread-1 WARN metadata: Metric VirtualHosts does not have any data columns
2008-09-12 14:51:53,259 Thread-1 WARN metadata: TABLE metric umsg_imap_user_count can't define table_name: mail_imap_usercount
2008-09-12 14:51:53,259 Thread-1 WARN metadata: Metric umsg_imap_user_count does not have any data columns
2008-09-12 14:51:53,260 Thread-1 WARN metadata: TABLE metric umsg_imap_db_session_count can't define table_name: umsg_imap_dbconnec
tions
2008-09-12 14:51:53,260 Thread-1 WARN metadata: Metric umsg_imap_db_session_count does not have any data columns
2008-09-12 14:51:53,260 Thread-1 WARN metadata: TABLE metric umsg_imap_socket_count can't define table_name: umsg_imap_socketcount
2008-09-12 14:51:53,261 Thread-1 WARN metadata: Metric umsg_imap_socket_count does not have any data columns
2008-09-12 14:51:53,261 Thread-1 WARN metadata: TABLE metric umsg_imap_connections can't define table_name: mail_imap_connections
2008-09-12 14:51:53,262 Thread-1 WARN metadata: TABLE metric umsg_imap_connections_lost can't define table_name: umsg_imap_connecti
ons_lost
2008-09-12 14:51:53,262 Thread-1 WARN metadata: Metric umsg_imap_connections_lost does not have any data columns
2008-09-12 14:51:53,262 Thread-1 WARN metadata: TABLE metric umsg_imap_connections_timeout can't define table_name: umsg_imap_conne
ctions_timeout
2008-09-12 14:51:53,263 Thread-1 WARN metadata: Metric umsg_imap_connections_timeout does not have any data columns
2008-09-12 14:51:53,263 Thread-1 WARN metadata: TABLE metric umsg_imap_connections_total can't define table_name: umsg_imap_connect
ions_count
2008-09-12 14:51:53,263 Thread-1 WARN metadata: Metric umsg_imap_connections_total does not have any data columns
2008-09-12 14:51:53,263 Thread-1 WARN metadata: TABLE metric umsg_imap_debug_user_list can't define table_name: mail_pop_users_list
2008-09-12 14:51:53,264 Thread-1 WARN metadata: TABLE metric umsg_imap_ds_metrics can't define table_name: mail_imap_functions
2008-09-12 14:51:53,266 Thread-1 WARN metadata: TABLE metric umsg_imap_network can't define table_name: mail_imap_network
2008-09-12 14:51:53,267 Thread-1 WARN metadata: TABLE metric umsg_imap_network_receive_bytes can't define table_name: umsg_imap_net
work_receive
2008-09-12 14:51:53,267 Thread-1 WARN metadata: Metric umsg_imap_network_receive_bytes does not have any data columns
2008-09-12 14:51:53,267 Thread-1 WARN metadata: TABLE metric umsg_imap_network_transmit_bytes can't define table_name: umsg_imap_ne
twork_transmit
2008-09-12 14:51:53,268 Thread-1 WARN metadata: Metric umsg_imap_network_transmit_bytes does not have any data columns
2008-09-12 14:51:53,269 Thread-1 WARN metadata: TABLE metric umsg_imap_command_counts can't define table_name: mail_imap_commandcou
nt
2008-09-12 14:51:53,269 Thread-1 WARN metadata: TABLE metric umsg_imap_protocol_metrics can't define table_name: umsg_imap_frequenc
ytimes
2008-09-12 14:51:53,270 Thread-1 WARN metadata: TABLE metric umsg_sps_metrics can't define table_name: mail_imap_sps
2008-09-12 14:51:53,270 Thread-1 WARN metadata: TABLE metric umsg_uptime can't define table_name: mail_imap_uptime
2008-09-12 14:51:53,539 Thread-1 WARN metadata: Name FileSystems has already been used
2008-09-12 14:51:53,539 Thread-1 WARN metadata: Name FileSystems has already been used
2008-09-12 14:51:53,896 Thread-1 WARN metadata: Metric RoutingIds does not have any data columns
2008-09-12 14:51:54,553 Thread-1 WARN metadata: Metric waiting_sessions does not have any data columns
2008-09-12 14:51:54,555 Thread-1 WARN metadata: Metric session_wait_chains does not have any data columns
2008-09-12 14:51:55,330 Thread-1 WARN engine: File=file:/oracle/product/10.2.0.4/agent10g/sysman/admin/metadata/oracle_integrationb
pm.xml,line=8: <AssocTargetInstance> is not valid element, will be ignored
2008-09-12 14:51:55,648 Thread-1 WARN engine: File=file:/oracle/product/10.2.0.4/agent10g/sysman/admin/metadata/oracle_ovf_ivr.xml,
line=398: <InstanceProperty> is not valid element, will be ignored
2008-09-12 14:51:56,539 Thread-1 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
2008-09-12 14:51:56,643 Thread-1 WARN metadata: TABLE metric uptime can't define table_name: mail_pop_uptime
2008-09-12 14:51:56,644 Thread-1 WARN metadata: TABLE metric debug_usercount can't define table_name: mail_pop_users_list
2008-09-12 14:51:56,644 Thread-1 WARN metadata: TABLE metric connections can't define table_name: mail_pop_connections
2008-09-12 14:51:56,645 Thread-1 WARN metadata: TABLE metric commandcount can't define table_name: mail_pop_commandcount
2008-09-12 14:51:56,646 Thread-1 WARN metadata: TABLE metric spsstats can't define table_name: mail_pop_sps
2008-09-12 14:51:56,647 Thread-1 WARN metadata: TABLE metric usercount can't define table_name: mail_pop_usercount
2008-09-12 14:51:56,647 Thread-1 WARN metadata: Metric usercount does not have any data columns
2008-09-12 14:51:56,647 Thread-1 WARN metadata: TABLE metric socketcount can't define table_name: umsg_pop_socketcount -
Shell Commands not found error when running application
Hello,
Im using MonoDevelop IDE in my Mac, before it used to work fine but after few days, now when I'm opening the application nothing happens., i checked the Console for the log and it says this
May 9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x52052].com.ximian.monodevelop[1510]: /Applications/MonoDevelop.app/Contents/MacOS/monodevelop: line 17: dirname: command not found
May 9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x52052].com.ximian.monodevelop[1510]: /Applications/MonoDevelop.app/Contents/MacOS/monodevelop: line 31: //mono-version-check: No such file or directory
May 9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro com.apple.launchd.peruser.501[599] ([0x0-0x52052].com.ximian.monodevelop[1510]): Exited with code: 1
I thought may be some error with the "dirname" command, so i commented it in the code and gave the path of directory myself and then the console shows up like this.
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 19: grep: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 19: cut: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 20: cut: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 21: cut: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 22: cut: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 31: osascript: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: Cannot launch MonoDevelop
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: MonoDevelop requires the Mono Framework version 2.10.4 or later.
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro com.apple.launchd.peruser.501[599] ([0x0-0x56056].com.ximian.monodevelop[1532]): Exited with code: 1
I opened the contents of the application and run the shell script for opening aplication there it worked very fine and application started working.. But if i open application directly through launchpad or finder it doesnt show up and console
I tried running those commands in the terminal directly there they work.. But dunno whats wrong in here. and even if try to open the application through the terminal it all opens fine.. what could be the possible problem, is it with my mac..?i finally figured out the problem.. it is with the environmental variables. the path for all those commands like "grep" is not being set for the GUI applications. that is why i got that error.
for those GUI applications which require path, we have to set path in the file /etc/launchd.conf the environmental variables set in here are used by the gui applications and those which are launched through spotlight.
that file may bot be present in most of the macs. No problem even if not present,we can create one and use.
so type in terminal
$ sudo vi /etc/launchd.conf
and in the editor add these lines
setenv PATH = /new/path
and save. Note: replace /new/path with the path which you need to have for the commands used in the script.
remeber that you need to restart your mac for applications to use these environmental variables. -
Report Subscription by email error - The SQL Agent service is not running
Hello All,
This may be an easy answer, so please excuse my ignorance if I am overlooking something simple. I a simply trying to setup Report Subscriptions to be emailed to me. We currently have essentially 3 servers in use in our environment - a CAS, a Site server
and a SQL 2012.
I have configured the email settings in Reporting Services Configuration Manager on the Site server and was finally able to see the email option in the Create Subscription Wizard, but it errors out with:
System.Web.Services.Protocols.SoapException: The SQL Agent service is not running. This operation requires the SQL Agent service. ---> Microsoft.ReportingServices.Diagnostics.Utilities.SchedulerNotRespondingException: The SQL Agent service is not running.
This operation requires the SQL Agent service. at Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateSubscription(String Report, ExtensionSettings ExtensionSettings, Boolean isDataDriven, DataRetrievalPlan DataRetrievalPlan, String
Description, String EventType, String MatchData, ParameterValueOrFieldReference[] Parameters, Guid batchId, String& SubscriptionID) at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateSubscription(String Report, ExtensionSettings
ExtensionSettings, String Description, String EventType, String MatchData, ParameterValue[] Parameters, String& SubscriptionID)
We do not have SQL installed locally, therefore it makes sense that the Agent service is not running. How do I subscribe to alerts in SCCM without a local installation of SQL?
-BradI am positive - see screenshots below of services on the SQL server:
Yes, reports work perfectly otherwise... Just cannot subscribe.
-Brad
Maybe you are looking for
-
N9 after PR 1.2 update - Mail for Exchange is sync...
I have a problem with my N9 Meego after 1.2 update. I have mail for exchange account talking with exchange 2010 server and sync works just just fine with calendar and e-mail. Contacts on otherhand doens`t work. It says its bringing contact like 78 fr
-
How to use IBatis paging in jsp?
I'm a new comer in IBatis.If I query the database using the method "executeQueryForList" how to display the record in jsp (for example 10 record) and display next 10 record? I means how to create page number in jsp for user click? If someone used it
-
Non Cumulative Key Figures Aggregations
Hello Forum. This is regarding results of non-cumulative keyfigures. We have a non cumulative keyfigures whose aggregation behaviour is SUM with exeception aggregation as LAST. Now out inflow kefigures has the value : 700 and outflow has 164 but on q
-
Why is my iPad all fuzzy and blue? This isn't normal? How do I get it back to normal? Someone please help me.....
-
Adjusting and matching time lapse exposure changes? (without deleting photo's)
Ok I am fairly sure there is no way around this but to do it manually... but just in case someone else knows a better way... What's the best way to compensate for exposure changes captured during a long time lapse? (without deleting any images) (eg.