What log file see to check if response action is executed
Hi
I have a metric UDM that check the rows of a table. When the critical theshold alerts appear because the table have more than 1000 rows, a response action like this is executed:
# Response Action for UDM Rows in Table
#!/bin/ksh
export ORACLE_SID=PROD
$ORACLE_HOME/bin/sqlplus "/ as sysdba" << EOF
INSERT INTO HISTO.HISTORY_NOTES AS
SELECT * FROM ADM.NOTES
WHERE FECHA = SYSDATE -1;
COMMIT;
DELETE FROM ADM.NOTES WHERE FECHA = SYSDATE -1;
COMMIT;
EOF
# END OF SCRIPT
There is any way of see in grid control log files if the response action is executed?
Thanks
So basically, you are trying to have an agent automatically restarted if it goes down?
Similar Messages
-
MacPro suddenly losing power - what log file(s) can I check?
I've been having a strange problem over the last several months where my MacPro will suddenly turn itself off. It's exactly like a power failure, but only the computer is affected (monitor, other devices all fine).
I bought a UPS thinking that it was a line problem, but the machine still turns itself off once in a while, anywhere from once or twice a month to three times a week.
I suspect it's being caused by something connected to the computer, but there's not too much there - a USB hub, printer, iPhone, a couple of iPods, and a gaming headset.
What log files on the Mac can I check for possible causes to this problem? I tried looking through the Console Messages app for log errors, but there's so much there I was overwhelmed by data.
Can anyone suggest a specific log or two to inspect, or any troubleshooting techniques that may identify the problem? Anyone ever have a similar problem?
Thanks!
-JoeThis isn’t too helpful, but I’ve been having exactly the same problem over the last couple of weeks. It doesn’t seem to be power line (printer and other stuff on the same line don’t go down). Oddly, it turns itself off and then reboots (though I do NOT have reboot after power failure checked).
Two things I’m presently focusing on are (a) the fact that, at least the last few days when I’ve been logging the problem, it ALWAYS does this about 8:15 a.m. Doesn’t matter whether I’m at the computer using it or not. (b) Always, always, always when it’s happened I’ve had Microsoft Word open. But I almost always have Word open, though I’m going to make sure that I don’t have it open at 8:15 tomorrow morning.
Reset PRAM, checked the disk with AlSoft’s Disk Warrior, and downloaded and am currenty running Symantec’s AntiVirus. Can’t think of any likely viruses that would do this, but it seems worthwhile to me to check. I’m going to check fonts for badness of some one or more, and I’m this moment downloading an update to Microsoft Office that is supposed to make it more stable. But an application shouldn’t be able to force a power-down and reboot.
I’m going to the Apple store tomorrow to ask for advice there. My one post here hasn’t gotten any suggestions.
It’s not an obvious kernel panic (i.e., not the usual kernel panic message). Just a little power click, black screen, and a few seconds later a reboot.
-Lofty -
What log files can delete in RAC?
Hi,
I have a little question, what log files can delete?
$ORA_CRS_HOME/log/hostname/client ?
And what others?
MiguelSome logs are automatically purged and some not: see http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/appsupport.htm#BEHJHGJD.
Trace files (.trc) that can be created in same directories are not purged automatically. -
What log files to clean up after shut down of Vision R12.0.4
Hi,
I installed EBS R12.0.4 VISION on my laptop running Oracle Linux 5. What log files can I delete after everytime I shut down the APPS instance as I don't have enough space left on my harddrive.
ThanksPlease review the note referenced below. Even though it is for 11i, most of the notes are also applied to R12 (i.e. Purge Concurrent Request and/or Manager Data concurrent request, *.bak and *.sav files, $APPLCSF/$APPLLOG, $APPLCSF/$APPLOUT, .. etc).
Note: 274666.1 - Cleaning An 11i Apps Instance Of Redundant Files
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=274666.1 -
What log files should I keep an eye on?
I want to make sure there are no problems with my system, so I want to do some preemptive troubleshooting.
Which log files are the most important ones to look at?
Is there a log for the main boot? For example on that shows how all the DAEMONS and MODULES have started?check out the syslog-ng package, it should already be installed. set up is in /etc/syslog-ng.conf, you can tell it what to monitor, etc.
i prefer to keep two konsole tabs open with "tail -f " running on each, following
~/.xsession-errors [shows kde/X errors]
/var/log/all [which i set up on syslog, to catch all errors/messages into one file]
dmesg is the one that shows you what the kernel does during bootup, and /var/log/Xorg.0.log shows what X does on startup. you can find all your current open log files in /var/log (that's the default system location i believe). and of course individual programs can also have their debug info going into outer space (ex. open firefox in console, and you'll see plenty of debugging info, mine used to end up in .xsession-errors, but i needed to have firefox's debug/log info separate so i changed the behavior)
there is also a multi-tail command somewhere that lets you follow several files at once on one screen. i havent used it though.
Last edited by toxygen (2009-10-11 02:54:06) -
Log File Error - Is this my Responsibility?
Hi server admin people,
I'm a customer who is trying to kill an application hosted by
my ISP. I've removed and deleted all related directories and files
on my ISP's server and told them I don't need ColdFusion support
anymore. However, they want to continue charging me because their
server is getting bogged down by calls to a cfm page that no longer
exists. The error log file is below. I don't know how to fix the
problem. Should I have to? I guess my expectation would be that
this is some attack my ISP should know how to handle. Greatly
appreciate anyone taking the time to look and advise. Here are the
repeating lines in the server's log file my ISP provided me with:
"Error","jrpp-611","12/24/08","19:32:35",,"File not found:
/Intranet/processaskquestion.cfm The specific sequence of files
included or processed is:
F:\InetPub\Webhost\Testing\Intranet\processaskquestion.cfm "
coldfusion.runtime.TemplateNotFoundException: File not found:
/Intranet/processaskquestion.cfm
at coldfusion.filter.PathFilter.invoke(PathFilter.java:77)
at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
at
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Sincerely, Paul.If you make *any* request for *any* ColdFusion file {.cfm,
.cfc, .cfr,
etc} on *any* web site on a web server configured with
ColdFusion, you
will get a ColdFusion error by default.
The default behavior is for the Web Server to handle in such
request to
ColdFusion if the file exists or not. There are settings that
can
change this, but that can turn of some of ColdFusion's
functionality.
So, yes I think this is the ISP's issue. -
What log files to read when OEL 6 VM hung
Hi All
We are trying to determine why our demo system using OEL 6 VM hung on or before Oct 18.
We notice
vang pts/0 dhcp-6ow Thu Oct 18 15:19 - 15:19 (00:00)
rhonrada pts/0 dhcp-pl2 Thu Oct 18 14:31 - 14:31 (00:00)
root pts/1 dhcp-pl2 Thu Oct 18 14:30 - 14:30 (00:00)
reboot system boot 2.6.32-100.28.5. Thu Oct 18 14:29 - 10:56 (6+20:26)
root pts/0 d384.us.texas Tue Oct 16 17:10 - 17:10 (00:00)
According to the log, we found theses errors before the system rebooted:
Oct 18 03:19:03 spos pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Oct 18 03:19:03 spos pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Oct 18 03:19:03 spos pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Oct 18 03:19:03 spos pcscd: winscard.c:309:SCardConnect() Reader E-Gate 0 0 Not Found
Oct 18 05:20:00 spos kernel: nfs: RPC call returned error 88
Oct 18 06:30:00 spos kernel: nfs: RPC call returned error 88
Oct 18 08:20:00 spos kernel: nfs: RPC call returned error 88
Oct 18 09:20:00 spos kernel: nfs: RPC call returned error 88
Oct 18 15:20:00 spos kernel: nfs: RPC call returned error 88
what do these above errors mean ?
What and where the logs we can see more to determine the root cause of the hung ?
Thanks
Edited by: 898644 on Oct 26, 2012 8:07 AMYou can generally not conclude the reason for a system crash by analyzing errors that are most likely follow up symptoms. If the history of the /var/log/messages syslog file does not provide any real clues and the machine has reset instantaneously, then the machine most likely reset due to an external problem. External problems can be associated with power failure, hardware, firmware or heat issue, or problem with your VM solution. The kernel provides mechanism to further analyze a system crash, e.g. Kdump, but then it depends on the source of the issue. I'm afraid the possibilities and options to troubleshoot are far to complex to be discussed here. As far as I'm aware, there is no usable information in your post that can pinpoint the problem.
-
ASM, Clusterware 11gR2, What log files do multipath errors get logged into?
Hello Folks, I am running Oracle 11gR2 Grid Infrastructure, (Clusterware and ASM), on a two node Suse Linux cluster. (The databases are release 10.2.0.4.3.) All datafiles, flash, OCR and VOTE are on ASM managed disk.
We have multipath configured properly and this weekend one of the paths to disk was offline for maintenance. Everything stayed up and running nicely. Whew!
I know in testing this setup a few months back, there were log entries that appeared in one of the logs. This time around, I can't seem to locate the logfile that basically says: Multipath path 2 is offline, using only path 1. (I paraphrased there.) And of course the corresponding return to multipath functionality.
Can anyone please point me to the proper location of these disk/multipath logs?
Thanks, - timHi Graham,
what are you tying to do? What is the task that fails?
Its much easier to provide useful hints if we know what exactly the problem is.
best,
Christian -
I have a hardward problem with my scanner all of a sudden and a window comes up telling to check the log. What log file do I check? Thanx for your help
Hi:
There are another Post with the same question
http://forums.cisco.com/eforum/servlet/NetProf;jsessionid=85asjbvgs1.SJ3A?page=netprof&forum=Security&topic=Intrusion%20Prevention%20Systems/IDS&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1ddb291f
I suspect it could be a bug. But just in case see the last event registerd in the log.
Hope it help. Please rate if it does.
Regards
Alberto Giorgi from spain. -
[Solved] log files
Hi everyone,
I would like to know what log file I must check to find out why my laptop is shutting down unexpectedly. It is an 8 year old laptop, so it may have a hardware problem. If it is a hardware problem (like a bad power supply or overheating), I would like to know if these type of things are logged?
Thanks in advance!
Last edited by fwin (2011-09-15 04:30:08)fwin wrote:
Thank you karol and lifeafter2am,
I checked dmesg and kernel.log, and I could only understand about 10 percent of the output, I will spend a few days trying to learn this (googling) and then I will report back if I still have any question.
I don't think it is overheating, it just feels warm (normal). This laptop is my home server so it is usually not running many applications, it does not even have a GUI. Anyway, I will try the lm_sensor thing just to learn about that, it sounds like fun!
Thanks again!
Feel free to post some of it either here or on pastebin if you're too lost.
Last edited by lifeafter2am (2011-09-13 04:18:20) -
JCO - request response log file
Hi
I could not find log files of the Request and Response to ERP (using JCO). Anyone has idea where I could see the log?
thanksI know in workbench of the XML output method - this is not what I am looking for. I have the XML request and response but I would like to see how MII sends this request and response
From the Netweaver, I did what you suggested but I got an empty page. No logs.
(show view Expert, display log dev_jrfc.trc)
The reason I am asking is that I sent in a BAPI with JCO (BAPI_MATERIAL_GETLIST ) note: at the end of the BAPI name is an empty space. In workbench when I generate sample, the Rquest and response has BAPI_MATERIAL_GETLIST_ .
In XML Request it is written <BAPI_MATERIAL_GETLIST_> and the response is <BAPI_MATERIAL_GETLIST_--20>. The weird thing is I got the Material list that I required.
So I would like to see what exacly being sent out BAPI_MATERIAL_GETLIST_ or BAPI_MATERIAL_GETLIST and what actually the repy I got from ERP BAPI_MATERIAL_GETLIST or BAPI_MATERIAL_GETLIST_--20
it could be a bug in MII 12.1 -
Very high transaction log file growth
Hello
Running Exchange 2010 sp2 in a two node DAG configuration. Just recently i have noticed a very high transaction log file growth for one database. The transaction logs are growing so quickly that i have had to turn on circular logging in order to prevent
the log lun from filling up and causing the database to dismount. I have tried several things to try find out what is causing this issue. At first i thought this could be happening because of virus, an Active Sync user, a users outlook client, or our salesforce
integration, howerver when i used exmon, i could not see any unusual high user activity, also when i looked at the itemcount for all mailboxes in the particular database that is experiencing the high transaction log file growth, i could not see any mailboxes
with unusual high item count, below is the command i ran to determine this, i ran this command sever times. I also looked at the message tracking log files, and again could see no indication of a message loop or unusual high message traffic for a
particlar day. I also followed this guide hopping that it would allow me to see inside the transaction log files, but it didnt produce anything that would help me understand the cause of this issue. When i ran the below tool againts the transaction log files,
i saw DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD, or OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO, or HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH.
I am starting to run out of ideas on how to figure out what is causing the log file build up. Any help is greatly appreciated.
http://blogs.msdn.com/b/scottos/archive/2007/07/12/rough-and-tough-guide-to-identifying-patterns-in-ese-transaction-log-files.aspx
Get-Mailbox -database databasethatkeepsgrowing | Get-MailboxStatistics | Sort-Object ItemCount -descending |Select-Object DisplayName,ItemCount,@{name="MailboxSize";exp={$_.totalitemsize}} -first 10 | Convertto-Html | out-File c:\temp\report.htm
Bulls on ParadeIf you have users with iPhones or Smart Phones using ActiveSync then one of the quickest ways to see if this is the issue is to have users shot those phones off to see if the problem is resolved. If it is one or more iPhones then perhaps look at
what IOS they are on and get them to update to the latest version or adjust the ActiveSync connection timeout. NOTE: There was an issue where iPhones caused runaway transactions logs and I believe it was resolved with IOS 4.0.1
There was also a problem with the MS CRM client awhile back so if you are using that check out this link.
http://social.microsoft.com/Forums/en/crm/thread/6fba6c7f-c514-4e4e-8a2d-7e754b647014
I would also deploy some tracking methods to see if you can hone in on the culprits, i.e. If you want to see if the problem is coming from an internal Device/Machine you can use one of the following
MS USER MONITOR:
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=9A49C22E-E0C7-4B7C-ACEF-729D48AF7BC9&displaylang=en and here is a link on how to use it
http://www.msexchange.org/tutorials/Microsoft-Exchange-Server-User-Monitor.html
And this is a great article as well
http://blogs.msdn.com/b/scottos/archive/2007/07/12/rough-and-tough-guide-to-identifying-patterns-in-ese-transaction-log-files.aspx
Also check out ExMon since you can use it to confirm which mailbox is unusually active , and then take the appropriate action.
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=9A49C22E-E0C7-4B7C-ACEF-729D48AF7BC9&displaylang=en
Troy Werelius
www.Lucid8.com
Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScope -
Working Linux command to grep date range in a log file
Linux Gurus,
Could you please help me with command to show only those lines in a log file which falls under some date range, probably using grep command.
Our server logs are in following format <Jun 23, 2013 12:45:02 AM UTC>
Regards,
VarunPerhaps you can do the following:
Go to Google.
Type "working Linux command to grep date range in a log file"
See what results you might get from that search. ( I did, and got more than 600,000 search results.) -
Hi all,
I seem to have a problem in that the inventory is always empty but the
workstations are importing.
What log files do I need to have a look for any errors.
I've been searching the Novell website for answers and have tried their
solutions without any sucess.
I know I have missed something but I don't know what so I need to find some
log file errors to pinpoint the problem.
Thanks in advanceWhen a station is imported and then scanned for inventory, the data is
exported to an .str file and placed in the scandir directory of zen server.
That data is then transferred to the dbdir subdirectory so it can update
the database. For some reason, your .str files aren't being built in the
scandir directory (go check). Some log files you may want to view are
located in \\server\sys\ZENworks\Inv\server\WmInv\logs\zenwor ksinvservice
John Ferrer
Network Support
Medical Faculty Associates
> Hi all,
>
> I seem to have a problem in that the inventory is always empty but the
> workstations are importing.
>
> What log files do I need to have a look for any errors.
>
> I've been searching the Novell website for answers and have tried their
> solutions without any sucess.
>
> I know I have missed something but I don't know what so I need to find some
> log file errors to pinpoint the problem.
>
> Thanks in advance
>
> -
Parse log file using powershell
Hi,
Am pretty new to Powershell and would require anyone of your assistance in setting up a script which parse thru a log file and provide me output for my requirements below.
I would like to parse the Main log file for Barra Aegis application(shown below) using powershell.
Main log = C:\BARRALIN\barralin.log
Model specific log = C:\BARRALIN\log\WG*.log
Requirements :
1. scroll to the bottom of the log file and look for name called "GL Daily" and see the latest date which in the example log below is "20150203"
note : Name "GL Daily" and date keep changing in log file
2. Once entry is found i would like to have a check to see all 3 entries PREPROCESS, TRANSFER, POSTPROCESS are sucess.
3. If all 3 are success i would like to the script to identify the respective Model specific log number and print it out.
E.g if you see the sample log below for "GL Daily", it is preceded by number "1718" hence script should append the model log path with "WG00" along with 1718, finally it should look something like this C:\BARRALIN\log\WG001718.log.
4. If all 3 items or anyone of them are in "failed" state then print the same log file info with WG001718.log
Any help on this would be much appreciated.
Thank You.
Main log file :
START BARRALINK Check Auto Update 1716
43006 20150203
Trgt/Arch c:\barralin
PREPROCESS success 0 preprocessor: no error
TRANSFER success 1 Host success: files received
POSTPROCESS success 0 Postprocessor: no error
CONFIRMATION success 2 No Confirm needed
STOP 43105 20150203
START Aegis GL Monthly
1716 43117 20150203
Trgt/Arch K:\barraeqr\aegis\qnt\gleqty
PREPROCESS success 0 preprocessor: no error
TRANSFER success 1 Host success: files received
POSTPROCESS success 0 Postprocessor: no error
CONFIRMATION success 2 No Confirm needed
STOP 44435 20150203
START Aegis UB Daily
1717 43107 20150203
Trgt/Arch K:\barraeqr\aegis\qnt\gleqty
PREPROCESS success 0 preprocessor: no error
TRANSFER success 1 Host success: files received
POSTPROCESS success 0 Postprocessor: no error
CONFIRMATION success 2 No Confirm needed
STOP 44435 20150203
START Aegis GL Daily
1718 44437 20150203
Trgt/Arch K:\barraeqr\aegis\qnt\gleqty
PREPROCESS success 0 preprocessor: no error
TRANSFER success 1 Host success: files received
POSTPROCESS success 0 Postprocessor: no error
CONFIRMATION success 2 No Confirm needed
STOP 50309 20150203
Hi All,
I was writing a function in power shell to send email and i was looking to attach lines as and when required to the body of the email. but am not able to get this done..Here's my code
Function Email ()
$MailMessage = New-Object System.Net.Mail.MailMessage
$SMTPClient = New-Object System.Net.Mail.SmtpClient -ArgumentList "mailhost.xxx.com"
$Recipient = "[email protected]"
If ($MessageBody -ne $null)
$MessageBody = "The details of Barra $strsessionProduct model is listed below
`rHostName : $localhost
`r Model Run Date : $Date
`r Model Data Date : $DateList1
`r`n Click for full job log"+ "\\"+$localhost+"\E$\Local\Scripts\Logs "
$MailMessage.Body = $MessageBody
If ($Subject -ne $null) {
$MailMessage.Subject = $Subject
$Sender = "[email protected]"
$MailMessage.Sender = $Sender
$MailMessage.From = $Sender
$MailMessage.to.Add($Recipient)
If ($AttachmentFile -ne $null) { $MailMessage.Attachments.add($AttachmentFile)}
$SMTPClient.Send($MailMessage)
$Subject = "Hello"
$AttachmentFile = ".\barralin.log"
$MessageBody = "Add this line to Body of email along with existing"
Email -Recipient "" -Subject $Subject -MessageBody $MessageBody -AttachmentFile $AttachmentFile
as you can see before calling Email function i did add some lines to $MessageBody and was expecting that it would print the lines for $MessageBody in Email Function along with the new line. But thats not the case.
I have tried to make $MessageBody as an Array and then add contents to array
$MessageBody += "Add this line to Body of email along with existing"
$MessageBody = $MessageBody | out-string
Even this didnt work for me. Please suggest me any other means to get this done.
THank You
Maybe you are looking for
-
I am having mail problems after installing Mountain Lion
The mail doesn't work properly and the cursor freezes up and I get the color wheel whenever I start typing and have to wait for it to catch up. All this started after downloading the wonderful upgrade Mountain Lion. Is there a way to go back. I wa
-
I am upgrading to Calendar Server 4.0 on NT with more than 9 nodes (or I already have) and my server won't start. <P> The steps are the same whether you have already upgraded or are about to. <P> Calendar Server 4.0 on the Windows NT platform can onl
-
An error occurred while trying to connect to a Web service. An entry has been added to the Windows event log of the server. Log ID:5567 Correlation ID:4db21044-cbc4-4f2f-8653-d73e5496b891
-
Dowload file using ftp in bash script
Hi! I'm runnig a bash script in solaris i want within the script to dowload file using ftp How can i do it? Tanks a lot
-
This is a brand new eMac that has been working for 1 week, now the screen shakes and then goes back to normal, it is not one of the models in the eMac extended coverage program or what ever the name is I have already checked this. I am just wondering