Mmp services log files rotation
Hi,
Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)
libimta.so 6.3-5.02 (built 17:15:31, Oct 12 2007; 32bit)
SunOS mta01 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V240
I'm trying to find out what setting controls mmp services log file rotation and how to change it. Presently, it appears rotation take place daily and files are kept forever.
ImapProxy_<date>.log
AServices_<date>.log
I would prefer to only keep these files for a week or so.
Should I configure:
local.schedule.prune_mmp = "45 23 * * * /usr/bin/find /var/opt/SUNWmsgsr/log -name ImapProxy\* -atime +3 -exec rm {} \; "
local.schedule.prune_mmp.enable = 1
Thanks.
d-v-k wrote:
I'm trying to find out what setting controls mmp services log file rotation and how to change it. Presently, it appears rotation take place daily and files are kept forever.There is no inbuilt Log Rotation mechanism for the MMP logs.
ImapProxy_<date>.log
AServices_<date>.log
I would prefer to only keep these files for a week or so.
Should I configure:
local.schedule.prune_mmp = "45 23 * * * /usr/bin/find /var/opt/SUNWmsgsr/log -name ImapProxy\* -atime +3 -exec rm {} \;
local.schedule.prune_mmp.enable = 1This is definitely one way to prune the log files. I would use the following find string instead:
{code}
/usr/bin/find /var/opt/SUNWmsgsr/log/ -name 'ImapProxy_*.log' -mtime +6 -exec rm {} \; "
You would need to write/enable a similar rule to prune the AServices_*.log files as well.
Regards,
Shane.
Similar Messages
-
I needed help with the log file rotation and cleanup script and how to remove the log file older then x days.
Hi
Please try:
How To Recycle Logs Of SQL Server \
Agent \ Default Trace \ Full Text Search \ Full-Text Filter Daemon:
Recycle SQLFT.LOG : (Sql server full text search)
• Naming convention for FT log is as SQLFT.LOG[]
• When an error occurs during a crawl, the Full-Text Search crawl logging facility creates and maintains a crawl log, which is a plain text file. Each crawl log corresponds to a particular full-text catalog
• By default these are located in %ProgramFiles%\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\LOG folder
• The 2 at the end of the file name indicates that there are two crawl log files for this database/catalog pair
Syntax: no syntax
Before SQL 2008 – restart the indexer
SQL 2008 onwards– we cant re-cycle to full text log without restarting SQL server
Recycle FDLAUNCHERRORLOG : (SQL Full-text Filter Daemon Service Error Log)
• For those its new term ; FDLAUNCHERSyntax:RORLOG is a SQL Full-text Filter Daemon Service Error Log
• The FDLAUNCHERRORLOG files are for errors that occur in the SQL Server Full Text Filter Daemon launcher service.
• This is a separate service used to load filters for full text search
• Log file (FDLAUNCHERRORLOG) will be available in same location as sql server errorlog
Syntax: No Syntax
The only way available to recycle log is restart FDLauncher service
sp_configure ‘default trace’ : Recycle SQL Server Default trace
• By default SQL Server keeps the last 5 trace files in the log directory
• We can read these files by this way.
• You can also get trace file details in reports in sql server
Syntax:
sp_configure 'show advanced options' , 1
Go
RECONFIGURE WITH OVERRIDE
GO
EXEC sp_configure 'default trace', 0 RECONFIGURE
GO
EXEC sp_configure 'default trace', 1 RECONFIGURE
GO
sp_cycle_errorlog :
Recycle SQL server errorlog
• SQL Server can maintain from 6 - 99 Error Logs ; default is 6. The currently used SQL Server Error Log will be named errorlog.1
• Every time SQL Server is started, the current error log is renamed to errorlog.1; errorlog.1 becomes errorlog.2, errorlog.2 becomes errorlog.3, and so on.
• sp_cycle_errorlog enables you to cycle the error log files without stopping and starting the server.
Syntax :
EXEC msdb.dbo.sp_cycle_errorlog
GO
sp_cycle_agent_errorlog :
Recycle SQL Agent Error log
• SQL Server Agent can maintain up to nine SQL Server Agent Error Logs. The currently used SQL Server Agent Error Log will be named SQLAGENT.OUT
• There is no way you can increase this number
• By default, the SQL Server Agent Error log is located in "Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\SQLAGENT.OUT".
Syntax:
EXEC msdb.dbo.sp_cycle_agent_errorlog;
Go
Thanks Saurabh Sinha
http://saurabhsinhainblogs.blogspot.in/
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
Where yo find reporting services log files in sharepoint 2013 integrated mode
i use to find the reporting services log files in the msrs folder in sharepoin 2010 integrated mode. but when we migrated to sharepoint 2013. i am not able to find the logs.i wanted to check all the executed sql statement using the logs as we don't have
access to sql server profiler. does anybody know the location of yhe logs?Hi there,
Not sure you'll see the sql statements however you can find information on the ULS logs here:
http://technet.microsoft.com/en-us/library/cc627510(v=sql.105).aspx
http://technet.microsoft.com/en-us/library/ff487871(v=sql.105).aspx
and here:
http://technet.microsoft.com/en-us/library/ms156500(v=sql.105).aspx
You might want this once ULS log is capturing info.
http://archive.msdn.microsoft.com/ULSViewer
cheers,
Andrew
Andrew Sears, T4G Limited, http://www.performancepointing.com -
What determines the location of the shared services log files
I've just completed an install and configuration of Shared Services 9.2.1. The shared services log files, SharedServices_Security.log, SharedServices_Admin.log, etc., are being written to the C:\WINDOWS\system32\null\logs\SharedServices9 path. These files should be written to the Tomcat application folders in the Shared Services home, CSS_HOME, folder. e.g. d:\hyperion\sharedservices\9.2\appserver\installedapps\tomcat\5.0.28. This is according to the Shared Services installation documentation.
Is there any way to get these log files written to the d: drive? The following references sharedservices.logdir from the hsslogger.properties file but I don't see where a value is set that I can change.
log4j.appender.FILE.File=${sharedservices.logdir}${file.separator}SharedServices_Security.log
Thanks,
TomHi there!
Are you looking for the AOM log file?
By default it´s located at:
SIEBEL_ROOT\ENTERPRISE\SIEBEL_SERVER\log
If you can´t find the AOM log files here, try to check the "Log directory" server parameter value.
Best regards,
João Paulo -
Sync Services Log file very large
user>library>application support>sync services>local
My Sync Services log file was over 111 Gb. It appears to grow in size every day. I have reset SyncServices per Apple. http://support.apple.com/kb/TS1627
I even deleted the contents of the local folder (not recommended per apple, but seems fine) and still my syncservices.log grows and is taking over my hard drive.
I use Entourage and Sync Services is used to Sync iCal/Address book (then for my iPhone sync).
Any suggestions to stop this out of control log?!?Hi,
Increasing the size of the redo logfile size may reduce the number of switches as it takes time to fill the file up but your system's redo generatin will stil be the same. Reduce the frequent commits.
Use the following notes to further narrow down the possible root cause.
WAITEVENT: "log file sync" Reference Note [ID 34592.1]
WAITEVENT: "log file parallel write" Reference Note [ID 34583.1] -
In Shared services, Log Files taking lot of Disk space
Hi Techies,
I have a question. Its like the Logs in BI+ in Shared Service Server is taking lot of Disk space about 12 GB a day.
Following files are taking more space
Shared Service-Security-Client log ( 50 MB )
Server-message-usage Service.log ( About 7.5 GB )
why this is happening. Any suggestions to avoid this.
Thanks in Advance,
SonuHi Techies,
I have a question. Its like the Logs in BI+ in Shared Service Server is taking lot of Disk space about 12 GB a day.
Following files are taking more space
Shared Service-Security-Client log ( 50 MB )
Server-message-usage Service.log ( About 7.5 GB )
why this is happening. Any suggestions to avoid this.
Thanks in Advance,
Sonu -
Hi Experts,
I was wondering if there is any way to read/access the log file which is generated while making a web services call . If yes then How??
Thanks & Regards
SablokHi Experts,
I was wondering if there is any way to read/access the log file which is generated while making a web services call . If yes then How??
Thanks & Regards
Sablok -
Change size hyperion shared services log file
Hello Experts,
I´d like to change (decrase) the size of the sharedservices_security.log.
There are always 5 files sharedservices_security.log + sharedservices_security.log.2 - sharedservices_security.log.5 (size of one file is 51,201 kb).
How can I change the sharedservices_security.log size?
We have EPM 11.1.1.3 (Essbase / HFM / Planning) on WINServer2003.
Thanks a lot
Regards
kforHave a look at <HYPERION_HOME>\deployments\<app_server>\SharedServices9\config\HSSLogger.properties
Look at the MaxFileSize parameter for each log.
Restart web app if you make any changes
Cheers
John
http://john-goodwin.blogspot.com/ -
I've noticed in the Console app that my crash logs only seem to go back about two weeks.
I've had quite a few crashes and would like to keep all the logs of this type for further analysis.
is there a way to tell the mac not to rotate these?Yes, in the Console.log. Other logs go back much further. I copy/paste the pertinent sections to TextEdit docs. The best time to do it is when it happens or directly after. I'd copy the code from just before the event happened through the end of the event.
The logs should be allowed to rotate, so they don't build up and cause problems.
-mj -
How to set up PopProxy* log file size ?
Dear All,
Does anybody know how to set up MMP PopProxy* log file size and rollovertime ?
./imsimta version
Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 9 2008)
libimta.so 7.0-3.01 64bit (built 09:24:13, Dec 9 2008)
SteveSteveHibox wrote:
Does anybody know how to set up MMP PopProxy* log file size and rollovertime ?Details on these settings are available here:
http://wikis.sun.com/display/CommSuite6U1/Communications+Suite+6+Update+1+What%27s+New#CommunicationsSuite6Update1What%27sNew-MMPLogging
Regards,
Shane. -
How has access.log file configured in WebLogic server 10.0?
1.) I am using BEA Weblogic 10.0 and my access.log is not getting updated.
2.) I also need any information as to how this Webblogic server forms chunks (ex....access00011.log,access00012.log) because i have a software called AWStats which merges all these chunks into 1 single access.log file under its subdirectory.
3.) I also need information as to how and where the user can specify/ form his own fields which gets displayed in the access.log
FYI i have 2 servers and i checked under Logging->HTTP->advanced, in both the servers options and configurations are same but in 1 it works fine and access.log is updating but not in the other one.
Kindly let me know i you have any leads into this issue!
Thanks,
VarunHi Ravish,
Firstly thanks for the reply.
1.) -----
What you can do is to set the buffer-size-kb parameter value to "0" in config.xml so that it can start logging once the server starts coming up rather then waiting for the default size which is 8kb to pass.
Something like below:
<web-server-log>
<buffer-size-kb>0</buffer-size-kb>
<web-server-log>
For more details check the below link:
Search for: CR302493
http://download.oracle.com/docs/cd/E11035_01/wls100/issues/known_resolved.html
--- for this issue i had browsed throught the forum before posting but in my conf file i have something like this instead of <buffer-size-kb>0</buffer-size-kb>
<web-server>
<web-server-log>
<number-of-files-limited>false</number-of-files-limited>
<log-file-format>extended</log-file-format>
</web-server-log>
</web-server>
So how do i go about the path of debugging now??
2.) -------
If you do not want rotation of access.log then you can just disable it from the below console path just by putting Rotation type as None
Server -> <YOUR_SERVER_NAME> -> Logging (tab) -> HTTP (sub-tab) -> Rotation type: None
---- for this in both my servers i have the settings like this,
Rotation type--> By Size
Rotation File size 5000
Begin rotation time 00:00
rotation interval 24
files to retain 7
and Log file rotation directory is left blank (to get created in same directory)
and also Rotate log file on startup is unchecked.
so??? what do you suggest!?
3.) ------
I also need information as to how and where the user can specify/ form his own fields which gets displayed in the access.log
---- regarding this, in my main server the access.log is getting updated and after 4.8Mb its creating 5Mb chunks. So, for example if the entire log is of 15 Mb then access.log stops updating at 4.98Mb and accesslog.out0001 and accesslog.out0002 is created with 5Mb each but the latest entry will be stored in accesslog.out0002 file. I hope i didn't complicate this :)
Regards,
Varun -
Excluding connections from certain hosts in log file
Is it possible to exclude connections from certain IP addresses from
getting written into the log on a 5.0 server?
I have monitoring systems that do frequent health checks by binding to
the server and it adds lots of lines to my logs (about 14 MB per day)
that I don't need or care about. I'd like to exclude these connections
from showing up.
thanks,
Gary LaVoy
[email protected]Gary LaVoy wrote:
Is it possible to exclude connections from certain IP addresses from
getting written into the log on a 5.0 server?
I have monitoring systems that do frequent health checks by binding to
the server and it adds lots of lines to my logs (about 14 MB per day)
that I don't need or care about. I'd like to exclude these connections
from showing up.
No, this is not possible
What you can potentially do is to use the log file rotation and do something like a grep -v to supress the lines that you don't want in the rotated file that won't be used anymore by the server.
Regards
Daniel -
Error in imta log file - IMS v 5.2
Hi
I have an imta log file that rotates automatically. Since the last time it rotated automatically, if have noticed that the imta log file is filling up with the following error:
[17/Mar/2004:12:34:52 +0000] mta2 ims_master[7119]: General Critical: func=config_init; error=called more than once without config_free in between
This error occurs every second. I didn't have this before. The log file rotates every 24 hours or so. All the other file are very small, and the issue doesn't exist on our other mta.
Does anyone have any ideas please.
AliI don't find any reference to this error. Please provide the exact version of iMS you're running. Do:
imsimta version
and post the results. There are about 30 different hotfix levels you could be at.
Other things to do.
stop the messaging server. Check that all the processes are stoppedl. Kill any that don't stop within a couple of minutes. Restart it. Do the errors continue?
Do any of your users complain that they cannot get mail? Have any of the processes crashed, possibly leaving the mailbox database locked? Restarting will fix that.
Are processes crashing, possibly due to database corruption? reconstruct -m may fix that.
Are processes crashing when some users log in, possibly due to damaged index files? reconstruct -r may fix that. -
I'm running Mac OS X Server 10.6.4, and have 3 web sites that all resolve to the same IP number. All is working just fine except for naming the log files. I'd like to have separate files for each virtual site; that is, traffic to example1.com should go to /var/log/apache2/example1_access)log, traffic to example2.com should go to /var/log/apache2/example2accesslog, etc. I set this up in server admin, but the names of the actual log files are something like example1accesslog.1287014400 and example2accesslog.1286409600.
This causes problems in having my web usage program finding the correct file. Can anyone point me to relevant documentation on how to solve this problem?The timestamps on the files are related to the fact you have log file rotation turned on.
As for how to solve it that depends a lot on the analytics program you're using, which you omit to mention.
You could turn off the log file rotation, but then you'd have issues with ever-growing log files
You could rename the logs files yourself
You could teach the analytics program to understand your log file names (this is the approach I'd take - rotating logs is VERY common and I can't think there's an analytics that doesn't handle it) -
Rolling weblogic.stderr and weblogic.stdout log files
Is there a way of make the -Dweblogic.stderr and -Dweblogic.stdout log files, rotate by size or time? We are running into 100MB+ files because we can't find any documentation about how to rotate these files.
Thanks,
RajeshThe stdout and stderr output options in weblogic apply to the jvm process using the standard unix standard in/ standard out redirection; therefore, BEA has not included a native method to rotate these files.
However, in weblogic 10, if you place these files in the same directory as the weblogic output log (not to be confused with -D=/path/to/stderr.log and -D=/path/to/stdout.log they will be rotated every time you restart the server.
The other way to get fine-grained log rotation on these files is to use a standard log rotation mechanism such as logrotate: http://linuxcommand.org/man_pages/logrotate8.html
The other option is to address logging using an application framework such as log4j from a development standpoint.
As of right now, these are your only options, unless someone puts in a feature request to BEA.
Maybe you are looking for
-
I updated my iTunes and an error message popped up and now I can't get into my iTunes account on my computer? It says to reinstall which I did and it still has the same message? Anyone else have this problem and how can I fix it????
-
Graphical Message mapping complexity in SAP PI 7.31 single stack
Hi All, I have a source structure 1..unbounded <Material> <row> 1....unbounded <Mat_ID>123<Mat_ID> <Desc><text</Desc> <uom>EA</uom> <plant>AB</plant> <org>XY</org> </row> <row> <Mat_ID>123<Mat_ID> <Desc><text</Desc> <uom>ST</uom> <plant>CD</plant>
-
IShuffle out to PA system, some songs mono-ish. . .
We are running a play with several sound cues, places where sound effects were used and using the iShuffle patched out to the Bose speakers was a great portable way to do that. We just switched to a larger place with an actual PA system and when we u
-
Latest version will not download.
There are several of the same version that have downloaded and I see them on this listing. They are doing something but I think never get to where they should be. When I start firefox I get the same old message that I am using an old version and down
-
Awaiting approval shopping cart
Hello I am using EBP Extended classic scenario. My customer wants a report about the next shopping cart approval, meaning the current person who should approve the SC. In ODS 0bbp_sca I can see approver number only when the sc is approve (status I112