Visit Our UNIX and Linux User Community


Veritas WebLogic Server log files


 
Thread Tools Search this Thread
Operating Systems Solaris Veritas WebLogic Server log files
# 1  
Old 10-15-2009
Veritas WebLogic Server log files

Hi All,

I am trying to change the log file to an incremental log file so that I do not needd to restart weblogic everytime the server /tmp directory reach 100% usage. I want to make it an incremental log, just like adm messages.

At the moment, operation process is written to a log file (eg: Web-scssapp_online.out) and the size is growing. The size is not reduced when I use "rm" command even though physically, the file is not there. I guess it's because the file is still active. The size will only be reduced when I restart the weblogic.

Anyone can help me pls?


rgds,
# 2  
Old 11-09-2009
I suggest you use logrotate(8) and get to do a copytruncate of the log file when rolling it, this overcomes the fact that WebLogic has the inode for the log file permanently open. Logrotate can be optained ready compiled and packaged from Sunfreeware - Free and Open Source Software (FOSS) for Sun Microsystem's Solaris. Also it would be better to put the log files into /var/log so that if the server is rebooted you do not lose the log files and filling up /tmp (and therefore swap) as you will understand has a rather detrimental affect upion Solaris!

Previous Thread | Next Thread
Test Your Knowledge in Computers #297
Difficulty: Easy
Linux Mint can be booted and run from a USB flash drive on any modern computer capable of booting from a USB drive.
True or False?

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How can i get the state of weblogic server

Hi, all Now i want write a shell to get the state of weblogic server,and when the Managed Server's state is not ok, after 3 times checking, i will send msg to the system administrator by sms. BTW, my environment is : Linux ,Redhat 5.4 64bit weblogic version: 10.3.3 the count number... (1 Reply)
Discussion started by: wangsk
1 Replies

2. UNIX and Linux Applications

Version of Weblogic server

Hi All, How to find the version of the weblogic server configured? Our server is a Linux based server. Regards Dhivya (1 Reply)
Discussion started by: dhivya.enjoy
1 Replies

3. UNIX and Linux Applications

Exception in Weblogic Application server

Hi, I have a application running on weblogic server. i am getting these errors in logs very frequently. Could you please suggest any solution for this. -02-09 10:02:32,346 ERROR psn.properties.RemotePropertiesCache - Error occurred while attempting to retrieve property: ... (0 Replies)
Discussion started by: Siddheshk
0 Replies

4. Solaris

Problem in deployment in weblogic server in solaris

I am getting following error during deployment in solaris. when i deploy same war in other machine (non-solaris) it works fine. the stacktrace is < ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1277738498407> <BEA-149205> <Failed to initialize the... (0 Replies)
Discussion started by: paradesi143
0 Replies

5. UNIX for Dummies Questions & Answers

difference weblogic server/webserver/app server

Hi All, I am getting confused with the terms below. All I know is an application can be installed on a server. But I see the following terms used in a company. All of them are installed on same Unix box. Could you please help me out in layman terms as to what these exactly means. (PS: I don't... (1 Reply)
Discussion started by: tostay2003
1 Replies

6. UNIX for Advanced & Expert Users

how to check weblogic server status in Unix machine

Hi All,Could anybody help in suggesting how to check the weblogic server status in a Unix machine? ps -ef |grep "startWeblogic.sh" The above command would give the running status but can anyone throw some light how to check if it is in hung/down state. Thanks (1 Reply)
Discussion started by: RSC1985
1 Replies

Featured Tech Videos