Stop the IAS agent
Hi,
how to Stop the IAS agent ?
Many thanks.
Which IAS version and Agent and what platform (OS etc)
Similar Messages
-
Problem stop and start the ias 6.0
Hi all,
i have a problem when i stop and start the ias 6.0 sp2. The problem
apparent is that when i stop the ias the IAS web connector plugin stop,
then i start the ias and when i try to connect to a servlet in my ias
the page i find in my brwser tell me "The documento contained no
data.Try later again ..". Afte this i see that the IAS web plugin begin
to start and then the same connect to the servlet works.
Somebody can help me.
Thanks in advance.
Ignacio Ramos Garcia
Division TSO
Area de Telecomunicaciones
Tecsidel
C/ Enrique Jardiel Poncela, 6
28016 Madrid
Tel: (+34) 91 353 08 19
Fax: (+34) 91 353 08 81
<mailto:[email protected]>
www.tecsidel.esHi,
This really looks like a problem, kindly let me know the following...
- The O/S version & the web server with the service pack
- What method are you using to start & stop the application & web
server ?
- What application are you invoking to see this error ?
Regards
Raj
Ignacio Ramos Garcia wrote:
Hi all,
i have a problem when i stop and start the ias 6.0 sp2. The problem
apparent is that when i stop the ias the IAS web connector plugin stop,
then i start the ias and when i try to connect to a servlet in my ias
the page i find in my brwser tell me "The documento contained no
data.Try later again ..". Afte this i see that the IAS web plugin begin
to start and then the same connect to the servlet works.
Somebody can help me.
Thanks in advance.
Ignacio Ramos Garcia
Division TSO
Area de Telecomunicaciones
Tecsidel
C/ Enrique Jardiel Poncela, 6
28016 Madrid
Tel: (+34) 91 353 08 19
Fax: (+34) 91 353 08 81
<mailto:[email protected]>
www.tecsidel.es -
I have the scenario where the SQL server is restored (after migration).
This database has transactional replication set-up on one of the databases. When I do a manual delete and restore of the database, I see that the replication starts right after the publisher and subscriber are restored.
Replication agents should not start and run before the integrity checks are completed. How to stop the replication from auto starting right after the migration?
Thanks in advance - JebahThanks Pradyothana, I have disabled the logreader, distribution agents through sp_update_job in Tsql script. I have also verified that there are no pending transactions to be replicated to the subscriber, I see that the job is still being executed. Is there
any other way to disable the jobs?
Steps I followed
Started with a Working publication and subscription
Disabled the jobs (log reader and distribution agents)
Backed up publisher, subscriber, distribution and msdb
Deleted the publication, subscription, publisher and subscriber
Restored the publisher, subscriber, distribution and msdb
Enabled the jobs and executed sp_replrestart
Observations/Issues
Replication does not work
Replication monitor does not show any error
Jobs are shows as enabled but not started in job monitor
Not able to start/stop the log reader and synchronization manually.
I am not sure if I have missed something while restoring the db.
Thanks in advance -
Warning 5002: Unable to connect to the Cache Agent
Getting the following message when creating a readonly cache group
Warning 5002: Unable to connect to the Cache Agent for /tmp/cgdsn; check agent status
Warning 5051: Commit message to Cache Agent failed. Cache Agent must be restarted
Tried to check the Agent status using
ttStatus command.
Daemon pid 5138 port 16001 instance TT
TimesTen server pid 5143 started on port 16003
No TimesTen webserver running
Data store /tmp/cgdsn
There are 5 connections to the data store
Data store is in shared mode
Shared Memory KEY 0x0e000c82 ID 11805
Type PID Context Connection Name ConnID
Process 9189 0x00000001001ac390 test 1
Subdaemon 5140 0x000000010015b380 Worker 2044
Subdaemon 5140 0x00000001001d5360 Flusher 2045
Subdaemon 5140 0x00000001001db930 Checkpoint 2046
Subdaemon 5140 0x0000000100243000 Monitor 2047
Replication policy : Manual
Cache agent policy : Manual
End of reportI had restarted the cacheagent by using the following command
Call ttCacheUidPwdSet();
call ttCacheStart();
Also tried
ttAdmin -oraAgentStart -oraAgentUID test -oraAgentPWD test cgdsn to manually start the Agent.
If I use ttCacheStop() it gives the message the Cache agent has already been stopped. -
I am having problems backing up data with DPM 2012. I keep getting this meesage. The protection agent on dpmServer was temporarily unable to respond because it was in an unexpected state. (ID 60 Details: Internal error code: 0x809909B0)
I can't understand what my error logs are trying to tell me please help.
NORMAL Begin new execution batch at task:(True)-a2c49c70-696b-423d-8aaf-7898c1feb403
042C 28E0
10/07 22:47:42.979
16 ActiveJob.cs(851)
NORMAL Dispatching task for execution:True-a2c49c70-696b-423d-8aaf-7898c1feb403
042C 2AAC
10/07 22:47:42.979
16 ActiveJob.cs(581)
NORMAL Begin ExecuteTask:JobID=eab9800f-4eb7-46b2-83bc-c2ff2c6adb0d, ItemID=a2c49c70-696b-423d-8aaf-7898c1feb403
042C 2AAC
10/07 22:47:42.990
27 DatasourceServerTypeLock.cs(395)
NORMAL Server e9a3e229-5f73-4223-845f-e2038860e74b is not already registed to Acquire a lock, Registering the server now for the task a2c49c70-696b-423d-8aaf-7898c1feb403, IsDatasoureServerTypeLockNeeded = False
042C 2AAC
10/07 22:47:42.991
01 DPMTaskController.cs(70)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL (job=eab9800f-4eb7-46b2-83bc-c2ff2c6adb0d, taskId=a2c49c70-696b-423d-8aaf-7898c1feb403) DPMTaskControllerHelper : ExecuteTask - CheckTaskStatus returned ReadyToExecute
042C 2AAC
10/07 22:47:42.993
01 TaskExecutor.cs(692)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL Setting up Fsm: verb[3d859d8c-d0bb-4142-8696-c0d215203e0d]
042C 2AAC
10/07 22:47:43.009
27 CommonLoop.cs(343)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL DatamovePollingCmdTimeoutInMin = 30
042C 2AAC
10/07 22:47:43.009
27 CommonLoop.cs(343)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL DatamovePollingCmdTimeoutInMin = 30
042C 2AAC
10/07 22:47:43.021
01 TaskExecutor.cs(487)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL ExecuteTask(job=eab9800f-4eb7-46b2-83bc-c2ff2c6adb0d) - Starting task instance
042C 092C
10/07 22:47:43.023
02 EventManager.cs(98)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL Publishing event from TaskInstance.cs(406): TaskStart, [TaskID=a2c49c70-696b-423d-8aaf-7898c1feb403]
042C 092C
10/07 22:47:43.115
01 TaskInstance.cs(442)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL Task: Initial transition enqueued, startState='Backup.StartState'
042C 1A54
10/07 22:47:43.116
27 BackupMachine.cs(1919)
A2C49C70-696B-423D-8AAF-7898C1FEB403
ACTIVITY BackupMachine : Starting machine execution
042C 2FC8
10/07 22:47:43.135
27 FindPrincipalServerBlock.cs(245)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL Found Principal server for DatasourceId = a87a4dea-2e19-4456-ae3b-e5ce01c10351 Server= fs.org
042C 2AAC
10/07 22:47:43.146
27 DatasourceServerTypeLock.cs(395)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL Server e9a3e229-5f73-4223-845f-e2038860e74b is not already registed to Acquire a lock, Registering the server now for the task a2c49c70-696b-423d-8aaf-7898c1feb403, IsDatasoureServerTypeLockNeeded = False
042C 2AAC
10/07 22:47:43.147
27 OperationTypeLock.cs(582)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL In LockServer() of ReplicationOperationTypeLock, returning lockStatus = AcquiredLock
042C 2AAC
10/07 22:47:43.156
27 OperationTypeLock.cs(628)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL UnlockServer() of ReplicationOperationTypeLock, returning
042C 2AAC
10/07 22:47:43.159
27 OperationTypeLock.cs(224)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL Setting detailed error for operation lock failure to = PrmReplicaAgentDirtyShutdownDetected
042C 2AAC
10/07 22:47:43.160
27 OperationTypeLock.cs(487)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL In Lock() of ReplicationOperationTypeLock, returning lockStatus = DoNotWaitToAcquireLock
042C 2AAC
10/07 22:47:43.162
27 CheckConcurrencyBlock.cs(151)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL Check concurrency block - Failure (abortedOnConflictingServerOperation=True)
042C 1F90
10/07 22:47:43.165
27 FsmBlock.cs(130)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING Backup.CheckConcurrency.PT : <-- Exited FSM block with FAILURE (errorCode = ReplicaInvalidWithReason)
042C 1F90
10/07 22:47:43.419
27 BackupMachine.cs(2156)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING BackupMachine : FAILURE - BACKUP, errorCode=ReplicaInvalidWithReason
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING Task Diagnostic Information - <?xml version="1.0" encoding="utf-16"?>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <TaskExecutionContext>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <PrmWriterId>00000000-0000-0000-0000-000000000000</PrmWriterId>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <PrmDatasourceId>a87a4dea-2e19-4456-ae3b-e5ce01c10351</PrmDatasourceId>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <PrmActiveNodeName>skafs.srvs.org</PrmActiveNodeName>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <PrmLogicalReplicaId>342784c2-f783-487d-be78-154a5a17193f</PrmLogicalReplicaId>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <PrmDatasetId>0cbb5339-0af5-4e70-9882-ed118a191890</PrmDatasetId>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <PrmPhysicalReplicaId>f440f18e-9436-4fed-9e7c-96cc1a9ebec1</PrmPhysicalReplicaId>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <PrmReplicaValidity>Invalid</PrmReplicaValidity>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <PrmReplicaStatus>Idle</PrmReplicaStatus>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <PrmOwnerLockId>00000000-0000-0000-0000-000000000000</PrmOwnerLockId>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <TEVerb>DeltaReplicate</TEVerb>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <TEErrorState>Backup.CheckConcurrencyPending</TEErrorState>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <TEErrorDetails><?xml version="1.0" encoding="utf-16"?>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <q1:ErrorInfo ErrorCode="1073774947" DetailedCode="0" DetailedSource="0" ExceptionDetails="" xmlns:q1="http://schemas.microsoft.com/2003/dls/GenericAgentStatus.xsd">
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <q1:Parameter Name="datasourceid" Value="a87a4dea-2e19-4456-ae3b-e5ce01c10351" />
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <q1:Parameter Name="dpmerrorcode" Value="30187" />
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <q1:Parameter Name="protectedgroup" Value="fs" />
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <q1:Parameter Name="datasourcename" Value="P:\" />
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <q1:Parameter Name="servername" Value="fs.org" />
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING <q1:Parameter Name="replicaid" Value="342784c2-f783-487d-be78-154a5a17193f" />
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING </q1:ErrorInfo></TEErrorDetails>
042C 1F90
10/07 22:47:43.422
01 TaskInstance.cs(798)
A2C49C70-696B-423D-8AAF-7898C1FEB403
WARNING </TaskExecutionContext>
042C 1F90
10/07 22:47:43.423
02 EventManager.cs(98)
A2C49C70-696B-423D-8AAF-7898C1FEB403
NORMAL Publishing event from TaskInstance.cs(823): TaskStop, [TaskID=a2c49c70-696b-423d-8aaf-7898c1feb403]
042C 1F90
10/07 22:47:43.446
01 TaskExecutor.cs(843)
A2C49C70-696B-423D-8AAF-7898C1FEB403
FATAL Task stopped (state=Failed, error=ReplicaInvalidWithReason; 0; None), search "Task Diagnostic Information" for details.
042C 1F90
10/07 22:47:43.457
16 ActiveJob.cs(745)
WARNING Fail: Task 'a2c49c70-696b-423d-8aaf-7898c1feb403' failed with error during execution.
042C 1F90
10/07 22:47:43.457
16 Task.cs(235)
NORMAL Changing task state from 'GenerateWorkplan' -> 'Failed' (a2c49c70-696b-423d-8aaf-7898c1feb403)Same problem on our two file-server: "The protection agent on was temporarily unable to respond because it was in an unexpected state. (ID 60 Details: Internal error code: 0x809909B0)"
Problem started about 04 October 2013.
DPM Server and agents: 4.1.3417
There is event in fileservers application log:
Log Name: Application
Source: Application Error
Date: 09.10.2013 17:15:17
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: host1.ourlocaldomain.local
Description:
Faulting application name: DPMRA.exe, version: 4.1.3417.0, time stamp: 0x52011087
Faulting module name: FileWriterHelperPlugin.DLL, version: 4.1.3313.0, time stamp: 0x50ad994d
Exception code: 0xc0000005
Fault offset: 0x000000000002ba9f
Faulting process id: 0xe7c
Faulting application start time: 0x01cec4d870046a62
Faulting application path: C:\Program Files\Microsoft Data Protection Manager\DPM\bin\DPMRA.exe
Faulting module path: C:\Program Files\Microsoft Data Protection Manager\DPM\bin\FileWriterHelperPlugin.DLL
Report Id: b1b1f6ed-30cb-11e3-acc1-00155d079701
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-10-09T10:15:17.000000000Z" />
<EventRecordID>109798</EventRecordID>
<Channel>Application</Channel>
<Computer>host1.ourlocaldomain.local</Computer>
<Security />
</System>
<EventData>
<Data>DPMRA.exe</Data>
<Data>4.1.3417.0</Data>
<Data>52011087</Data>
<Data>FileWriterHelperPlugin.DLL</Data>
<Data>4.1.3313.0</Data>
<Data>50ad994d</Data>
<Data>c0000005</Data>
<Data>000000000002ba9f</Data>
<Data>e7c</Data>
<Data>01cec4d870046a62</Data>
<Data>C:\Program Files\Microsoft Data Protection Manager\DPM\bin\DPMRA.exe</Data>
<Data>C:\Program Files\Microsoft Data Protection Manager\DPM\bin\FileWriterHelperPlugin.DLL</Data>
<Data>b1b1f6ed-30cb-11e3-acc1-00155d079701</Data>
</EventData>
</Event>
Log Name: Application
Source: Application Error
Date: 09.10.2013 17:15:22
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: host2.ourlocaldomain.local
Description:
Faulting application name: DPMRA.exe, version: 4.1.3417.0, time stamp: 0x52011087
Faulting module name: FileWriterHelperPlugin.DLL, version: 4.1.3313.0, time stamp: 0x50ad994d
Exception code: 0xc0000005
Fault offset: 0x000000000002ba9f
Faulting process id: 0x71c
Faulting application start time: 0x01cec4d870669e98
Faulting application path: C:\Program Files\Microsoft Data Protection Manager\DPM\bin\DPMRA.exe
Faulting module path: C:\Program Files\Microsoft Data Protection Manager\DPM\bin\FileWriterHelperPlugin.DLL
Report Id: b4680c67-30cb-11e3-ba10-001dd8b71c0e
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-10-09T10:15:22.000000000Z" />
<EventRecordID>54725</EventRecordID>
<Channel>Application</Channel>
<Computer>host2.ourlocaldomain.local</Computer>
<Security />
</System>
<EventData>
<Data>DPMRA.exe</Data>
<Data>4.1.3417.0</Data>
<Data>52011087</Data>
<Data>FileWriterHelperPlugin.DLL</Data>
<Data>4.1.3313.0</Data>
<Data>50ad994d</Data>
<Data>c0000005</Data>
<Data>000000000002ba9f</Data>
<Data>71c</Data>
<Data>01cec4d870669e98</Data>
<Data>C:\Program Files\Microsoft Data Protection Manager\DPM\bin\DPMRA.exe</Data>
<Data>C:\Program Files\Microsoft Data Protection Manager\DPM\bin\FileWriterHelperPlugin.DLL</Data>
<Data>b4680c67-30cb-11e3-ba10-001dd8b71c0e</Data>
</EventData>
</Event> -
Experts,
kindly advice for this error when create vm from a templates, while i'm not having this issue when create the vm to another host from the same templates,
firewall is disabled and no antivirus on the host.
The network and the ping is very stable, and the WS-Management service is running on the host,
Host : windows server 2012 R2
VMM : 2012 R2 3.2.7895.0
VMM updated from RU2 to RU5
Error (2931)
VMM is unable to complete the request. The connection to the VMM agent on the virtualization server (host.domain.local) was lost.
Unknown error (0x80338029)
Recommended Action
Ensure that the Windows Remote Management (WS-Management) service and the VMM agent are installed and running and that a firewall is not blocking HTTPS traffic.
This can also happen due to DNS issues. Try and see if the server (ms-lab-01.eccsolutions.local) is reachable over the network and can be looked up in DNS. You can ping the virtualization server from VMM management server and make sure that the
IP address returned matches the IP address locally obtained from the virtualization server.
If the error still persists, restart the virtualization server, and then try the operation again.
Ahmad Samir | MCSE 2003, MCSE 2012 Private Cloud | MCTS: SCOM 2007, Lync 2010, Exchange 2010.Ok I will try another template,
and the drop happen in the customization after deploying the VHDX file as my first image.
I had this answer from partner forum. but i didn't try it yet
Backup your VMM database and then check the
tbl_VMM_Lock table in the
VMM database to see if it has any locks listed, do this after stopping the System Center Virtual Machine Manager Service.
If there are locks listed in the tbl_VMM_Lock
table you can clear them by executing the prc_VMM_ReleaseAllLocks
stored procedure.
Ahmad Samir | MCSE 2003, MCSE 2012 Private Cloud | MCTS: SCOM 2007, Lync 2010, Exchange 2010, Server Virtualization. -
How to change the management agent to use new management service ?
RDBMS Version:: 10.2.0.3
Operating System and Version:: AIX 5L
OEM Console Operating System and Version:: AIX 5L
Configuring the Management Agent to Use a New Management Service
Hi,
I am trying to change the management agent to use new management service using following process.
1. Stop management agent.
2. Change in file Agent_home/sysman/config/emd.properties
For values REPOSITORY_URL and emdWalletSrcUrl and emdWalletDest
3. Delete all the files in the following directories:
AGENT_HOME/sysman/emd/upload/
AGENT_HOME/sysman/emd/state/
4. Start the management agent.
./emctl status agent is showing the new URL for management server (OMS).
But I am not able to locate the new host on the Web console at the OEM console where it is changed to.
Can you suggest me workaround for the same?
Thanks
Dilipkumar PatelHi,
I am getting following error when trying to upload.
tb152 /appl/oracle/oem/10.2.0/bin> ./emctl upload agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
tb152 /appl/oracle/oem/10.2.0/bin>
Regards
Dilipkumar Patel. -
Does anyone know what is this mean and how to fix this?
I checked the records and they are not being replicated, and the connection to the subscriber are not active for some reason; but I don't know how to fix it.
Thanks
Philly Database developerIt basically means that the replication agent has not logged a status message back to the replication subsystem.
Basically you can't stop it, and these messages let you know if the agent has hung.
However you can delay the time before the subsystem will report this message. Do this by the following query - this will delay this message to 10 minutes from the default of 5 minutes. I have set this to days when replicating over ISDN/Phone lines.
USE master
exec sp_changedistributor_property
@property = N'heartbeat_interval',
@value = 10;
GO
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
after changes below query...USE master
exec sp_changedistributor_property
@property = N'heartbeat_interval',
@value = 10;
GO still not working... -
Start/stop the OMS Services on Same Host
Hi,
I have OMS, Repository database and Agent on the same host.....
I want to stop and start the services...
==========================
FOR Shutdown
=====================================
Stop the Agent
$cd $ORACLE_HOME/agent10g/bin/emctl stop agent
stop the OMS Services
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl stopall
Stop the Repository Databas Listner
$cd $ORACLE_HOME/bin/lsnrctl stop LISTENER
STOP THE database
$cd $ORACLE_HOME/bin/sqlplus '/as sysdba'
sql> shutdown immediate
====================================
FOR Startup
=====================================
start the Repository Listener
$cd $ORACLE_HOME/bin/lsnrctl start LISTENER
start the Database
$cd $ORACLE_HOME/bin/sqlplus '/as sysdba'
sql> startup
start the OMS Service
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl startall
start the Management Agent
$cd $ORACLE_HOME/agent10g/bin/emctl start agent
======================================
is this the correct procedure...
can anybody help in this regard....As an outline, it looks ok I think.
You may need some env variables set up in the script, add some error handling, etc...
I want to stop and start the services...
$cd $ORACLE_HOME/agent10g/bin/emctl stop agent
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl stopallRemove the "cd" from your command lines. -
How to stop SQL Server Agent Job if Stored Procedure returns value 0
I have SQL Server 2012 SSIS.
I have 2 SSIS packages.
I have created SQL Server Agent Job for running packages.
I have created steps. If first step have run succesfully next step is run.
I have need to add new logic.
I have validation stored procedure, which validate DB table values and returns 1 or 0.
I would like to create logic where first of all this SP is runned. Return value of SP determines if steps are run or not.
I was thinking to use Execute SQL Task for running SP.
If value 1 is returned, then run rest of Tasks is run.
If value 0 is returned, what should I do so that Job is stopped? I need assistance!
I want current step to stop never moved to next step.
Is there any SSIS tasks, which can stop the Job?
Or should I make Step for running validation SP?
How to do so that if value 0 is returned stop Job.
Kenny_IPlease refer the below link:
http://technet.microsoft.com/en-us/library/aa260308(v=sql.80).aspx
Please read Remarks carefully!!!
Remarks
If a job is currently executing a step of type CmdExec, the process being run (for example, MyProgram.exe) is forced to end prematurely. Premature ending can result in unpredictable behavior such as files in use by the process being held open. Consequently,
sp_stop_job should be used only in extreme circumstances if the job contains steps of type CmdExec.
Permissions
Execute permissions default to the public role in the
msdb database. A user who can execute this procedure and is a member of the
sysadmin fixed role can stop any job. A user who is not a member of the
sysadmin role can use sp_stop_job to stop only the jobs he/she owns.
When sp_stop_job is invoked by a user who is a member of the
sysadmin fixed server role, sp_stop_job will be executed under the security context in which the SQL Server service is running. When the user is not a member of the
sysadmin group, sp_stop_job will impersonate the SQL Server Agent proxy account, which is specified using
xp_sqlagent_proxy_account. If the proxy account is not available,
sp_stop_job will fail. This is only true for Microsoft® Windows® NT 4.0 and Windows 2000. On Windows 9.x, there is no impersonation and
sp_stop_job is always executed under the security context of the Windows 9.x user who started SQL Server. -
How to stop the activity clipboard linkage between two transactions?
Hi Experts,
We are using CRM 2007. In CRM, since there is no check that the agent needs to work on transactions related to once customer at a time, our agents are able to work on different different transactions belonging to different customers one after another.
As a result, transactions belonging to two different customers are getting linked in the Activity Clipboard of interaction Record as well as Service Order transactions.
We need to place a check so that before the link is created, we can compare the customers of the two transactions and if they differ, we should not create the link. Can you please guide me where is the best place to put such a check?
As per my analysis, we need to stop the doc flow being created if the transactions have different sold to/customer.
Any pointers/suggestions?
Thanks
RohitHi Rohit
Did you manage to get any solution to this?
if you have, would appreciate if you could share the solution.
Rgds
Rusyinni -
Unable to stop/start SIA Agent - BOBJ XI 3.1 on RedHat Linux
We have the BOBJXI 3.1 installed on the Red Hat Linux Machines(Custom Installation across Two Red Hat Linux Servers).
Node 1 - Linux BOX 1 - Tomcat and all the BOBJ Services except CMS
Node 2 - Linux BOX 2 - MySql and CMS
Problem Description :
We have two instances of the CMS running on the Linux BOX2.
I have assigned the port 6401 to the CMS2 through CMC,The CMS1 is running with deafult port 6400.
CMS is stopped thorugh the CMC.
Through the command line ccm.sh tool on the Linux BOX2,We tried to stop the CMS.
./ccm.sh -stop all or sia agent .The Script is not doing anything .
Unable at start/enable the servers on Node2-Linux BOX 2
./ccm.sh - start all
Message on the Command Prompt:
Starting all the servers...
Failed to Register Name Server:Reason:A Server of this name already exists( STU00188)
./ccm.sh - enable all
Creating Session Manager
Logging into CMS
err: ERROR could not logon to CMS ( STU00152).
err: ERROR Description:The System ..can be contacted but their is no CMS running at port 6401.This looks like an issue with your pid file which is created whent he server starts and should be deleted but may not have been.
Look in <bobj home>/serverpids directory for the pid file that relates to the server process. If you find that file, delete it.
What I think is happening is the system is checking to see if the pid file exists which should tell it if the server is there. The pid is there so it says it can't start. But the actual program isn't there so when you try to use it, it says it's not up.
Hope this helps. -
Stopping the service order from further processing
Hi Experts,
According to my requirement, the service orders will be generated by the call centre agents , then they will release and the technicians will be determined . The pager messages will go to the technicians.
But the service order whic are generated after 5 PM , we should not send the messages to the technicians althought the service orders are released.
For this where should I do the coding , which is the exact place to stop the service order from further processing.
Please help me out in this.
Thanks in Advance,
PraveenHi,
The best way would be to implement a ORDER_SAVE Badi..wherein u can stop a service order for further processing based on the status..
Regards,
PePe -
Each time i open Firefox, i get a window opening saying:A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsBrowserContentHandler.js:619
When i try again, i get the same result, if I continue, nothing happens for a few minutes then fire fox opens with awindow saying to start again.
== This happened ==
Every time Firefox opened
== I installed Firefox ==
== User Agent ==
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.30729; .NET CLR 3.5.30729)Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
You can use "Disable all add-ons" on the ''Safe mode'' start window.
You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit") -
Help finding the SQL agent job status messages
I am building a report in SSRS which will show the status of all the SQL agent jobs ran on a particular day. IMHO, the status messages created in the job history are not that useful. So, I would like to show the status message which can found by following
the path given below:
Integration Services Catalog -> SSISDB -> Solution Name -> Projects -> Project Name -> Packages -> Right click Package Name-> Reports -> Standard Reports -> All Executions -> Click on All Messages
If you follow the exact path, we find out the exact error related to last unsuccessful execution of the job.
Can someone please tell me how to find it?
The message from [msdb].[dbo].[sysjobhistory] is not helpful for me.Thank you all for your help. After taking cues from what you guys said..I have come up with this:
USE [msdb]
GO
/****** Object: StoredProcedure [dbo].[SQL_Agent_Jobs_Details] Script Date: 3/24/2015 4:02:09 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[SQL_Agent_Jobs_Details](@JobName varchar(5000)
,@LastRunDate nvarchar(20)
,@LastRunStatus varchar(50)
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
DECLARE @SQL VARCHAR(8000)
DECLARE @NewLastRunStatus INT
-- Insert statements for procedure here
SET @NewLastRunStatus = (SELECT CASE @LastRunStatus
WHEN 'Created' THEN 1
WHEN 'Running' THEN 2
WHEN 'Canceled' THEN 3
WHEN 'Failed' THEN 4
WHEN 'Pending' THEN 5
WHEN 'Ended unexpectedly' THEN 6
WHEN 'Succeeded' THEN 7
WHEN 'Stopping' THEN 8
ELSE 9
END )
SET @SQL = '
SELECT DISTINCT
E.folder_name
,E.project_name
,S.JobName
,E.package_name
,E.environment_name
--,E.execution_id
,E.executed_as_name
--,E.operation_type
--,E.process_id
, CASE e.[status]
WHEN 1 THEN ''Created''
WHEN 2 THEN ''Running''
WHEN 3 THEN ''Canceled''
WHEN 4 THEN ''Failed''
WHEN 5 THEN ''Pending''
WHEN 6 THEN ''Ended unexpectedly''
WHEN 7 THEN ''Succeeded''
WHEN 8 THEN ''Stopping''
ELSE ''Completed''
END [Status]
,E.start_time
,E.end_time
,E.server_name
,E.machine_name
,EM.event_name
,EM.message_source_name
,EM.message_time
,case EM.[message_type] WHEN 120 THEN ''Error'' else ''TaskFailed'' END [message_type]
,EM.[message]
,EM.execution_path
FROM [SSISDB].[catalog].[executions] E
LEFT OUTER JOIN
[SSISDB].[catalog].[event_messages] EM ON E.[execution_id] = EM.[operation_id]
LEFT JOIN
[MSDB].DBO.SQL_Agent_Jobs_Packages S
ON S.PackageName = E.package_name
WHERE EM.message_type in(120,130) AND 1=1
--AND E.package_name = ''Anna_Maria_Daily_Contacts_Parent.dtsx''
IF @JobName IS NOT NULL
BEGIN
SET @SQL = @SQL + ' AND S.JobName IN (' +''''+REPLACE(@JobName,',',''',''')+''')'
END
IF (cast(@LastRunDate as date) IS NOT NULL AND cast(@LastRunDate as date)!='1900-01-01')
BEGIN
SET @SQL = @SQL + ' AND CAST(isnull(EM.message_time, ''1900-01-01'') AS DATE) IN ('+''''+REPLACE(cast(@LastRunDate as date),',',''',''')+''')'
END
IF @LastRunStatus IS NOT NULL
BEGIN
SET @SQL = @SQL + ' AND e.[status] IN (' +''''+REPLACE(@NewLastRunStatus,',',''',''')+''')'
END
SET @SQL = @SQL + ' ORDER BY E.start_time DESC,E.end_time DESC'
--SELECT @SQL
EXEC (@SQL)
END
You can use the above script to create a dynamic sproc which takes the above mentioned params.
Maybe you are looking for
-
5310 not recognized by computer, PLZ HELP!!
So i was transferring the data with data cable and the next day, it stopped working.. When i connect the cable, mobile recognizes the connection readily but computer shows NOTHING at all, I repeat NOTHING. I've tried : - installing latest nokia PC su
-
BPM standard notification in FDN (EP 7.02 and CE7.2)
Hello, we have FDN with EP7.02 and CE7.2. We have a requirement to tune the notification. Now the user get the notification that he has a new task in the UWL. There is two links in the letter, to the UWL and direct link to the task. But they links to
-
Fld selectn for mvmt type 543 / acct 6190030 differs for Asset retirement
Dear All, I create a Subcontracting PO and issue goods to vender against that PO. Suppose i issue two materials with Qty 50 Each to vender. again Vender gave me back 10 Qty each becoze there is only 40 Qty is ussed for that material in subcontracting
-
Cannot import or burn CD with new upgrade
When I open iTunes, I get the following message: iTunes was not properly installed. If you wish to import or burn CDs, you will need to reinstall iTunes. What do I need to do to ensure that my music and downloads are not lost? Uninstall and reinstall
-
Front Row problems with NAS drive (2 of them)
OK... having 2 problems with Front Row... Background First, I should say I'm new to Mac OS X, had early Macs, but went PC a long time ago. I burned all of my music from CDs (I own) on my WinXP box, then copied them over to a NAS drive for easy access