04-29-2007
Catalina Analysis
How can I make analysis for catalina.out
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Everyday I used to parse the Catalina.out log file on my Redhat system for errors for a particular date. Could anybody be able to help me to create a command which can grep the contents of Catalina.out starting from particular date.
Please do not suggest command which greps only the... (12 Replies)
Discussion started by: redhatperl
12 Replies
2. Solaris
Hi,
Recently i received a request to rotate logs of catalina.out (tomcat). The file size was about 807 MB. I used logadm to truncate the log ( -c ) and zip (-z 0) it.
Everything worked fine, catalina.out.0.gz was created (22 MB) and the size of original catalina.out became 0kb.
After... (2 Replies)
Discussion started by: Mack1982
2 Replies
3. Shell Programming and Scripting
Hello Team,
I am trying to extract date from the following output and trying to compare with current date and if there is 10 minute difference between the two. it should logs message in the file server is started.can anyone help me to implement this in the script? (1 Reply)
Discussion started by: coolguyamy
1 Replies
4. Shell Programming and Scripting
Hi,
I need to monitor the tomcat log file called "Catalina.out" for any errors like out of memory,JDBC exceptions,broken pipe any other errors and exceptions
The script should monitor this file and send a mail instantly and create a text file with errors day to day.
Iam using Solaris... (3 Replies)
Discussion started by: chaithanyaa
3 Replies
5. OS X (Apple)
Interestingly Apple has decided to switch the default shell for new users from bash to zsh in MacOS Catalina (10.15)
Use zsh as the default shell on your Mac - Apple Support
Another interesting fact is that Catalina also comes with /bin/dash (5 Replies)
Discussion started by: Scrutinizer
5 Replies
6. OS X (Apple)
Sadly, I have turned off my access to the Apple Developers Beta program after installing macOS 10.15 Catalina a few days ago.
After the install, I rebooted by MacBook Air and it "hard froze" and we were heading out of town so I grabbed a backup MBA running Mojave.
Then, after getting back at... (10 Replies)
Discussion started by: Neo
10 Replies
7. Windows & DOS: Issues & Discussions
Just a quick note for macOS users.
I just installed (and removed) Parallels Desktop 15 Edition on my MacPro (2013) with 64GB memory and 12-cores, which is running the latest version of macOS Catalina as of this post. The reason for this install was to test some RIGOL test gear software which... (6 Replies)
Discussion started by: Neo
6 Replies
8. OS X (Apple)
WARNING!
Just upgraded my MacPro (2013) from Catalina 10.15.2 to 10.15.3.
After the routine download and restart for upgrade installation, the Mac would not boot. Totally crashed.
Now, I'm in the process of a 15 hour restore from my last time machine backup.
I'm not very happy with... (3 Replies)
Discussion started by: Neo
3 Replies
9. Programming
Currently have two ESP8266 modules testing some Blynk apps, whereI'm not so happy with the Blynk business model for developers, but that's another story.
So, with two of my ESP8266s currently "busy", I decided to work on the ESP32, and in particular the ESPWROOM32.
I installed the... (0 Replies)
Discussion started by: Neo
0 Replies
10. OS X (Apple)
MacPro (2013) 12-Core, 64GB RAM (today's crash):
panic(cpu 2 caller 0xffffff7f8b333ad5): userspace watchdog timeout: no successful checkins from com.apple.WindowServer in 120 seconds
service: com.apple.logd, total successful checkins since load (318824 seconds ago): 31883, last successful... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT DEBIAN
ocf_heartbeat_tomcat
OCF_HEARTBEAT_TOMCAT(7) OCF resource agents OCF_HEARTBEAT_TOMCAT(7)
NAME
ocf_heartbeat_tomcat - Manages a Tomcat servlet environment instance
SYNOPSIS
tomcat [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for Tomcat. It manages a Tomcat instance as a cluster resource.
SUPPORTED PARAMETERS
tomcat_name
The name of the resource, added as a Java parameter in JAVA_OPTS: -Dname=<tomcat_name> to Tomcat process on start. Used to ensure
process is still running and must be unique. (unique, optional, string, no default)
script_log
Log file, used during start and stop operations. (unique, optional, string, no default)
tomcat_stop_timeout
Time-out for stop operation. DEPRECATED (optional, integer, no default)
tomcat_suspend_trialcount
Maximum number of times to retry stop operation before suspending and killing Tomcat. DEPRECATED. Does not retry. (optional, integer,
no default)
tomcat_user
The user who starts Tomcat. (optional, string, no default)
statusurl
URL for state confirmation. (optional, string, no default)
java_home
Home directory of Java. (required, string, no default)
java_opts
Java JVM options used on start and stop. (optional, string, no default)
catalina_home
Home directory of Tomcat. (unique, required, string, no default)
catalina_base
Instance directory of Tomcat (unique, optional, string, no default)
catalina_pid
A PID file name for Tomcat. (unique, optional, string, no default)
tomcat_start_opts
Tomcat start options. (optional, string, no default)
catalina_opts
Catalina options, for the start operation only. (optional, string, no default)
catalina_rotate_log
Rotate catalina.out flag. (optional, string, no default)
catalina_rotatetime
catalina.out rotation interval (seconds). (optional, integer, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 60s.
stop
Stops the resource. Suggested minimum timeout: 120s.
status
Performs a status check. Suggested minimum timeout: 60.
monitor
Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 10s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a tomcat resource using the crm(8) shell:
primitive p_tomcat ocf:heartbeat:tomcat
params
java_home=string
catalina_home=string
op monitor depth="0" timeout="30s" interval="10s"
SEE ALSO
http://www.linux-ha.org/wiki/tomcat_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_TOMCAT(7)