03-25-2013
The life cycle of System logfiles
Hi ,
The log files of the system are located in /var/admin/syslog , I want to know on which way the files are generated. To be more clear for example old log files are deleted automatically from the sytem ( is that configured ? if yes what is the criteria: is it file volume or file date or ..) Please help!!
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My server has only has access logs turned on. How do I turn on the other standard logs (i.e. I'd like to see the referring urls).
Thanks in advance. (3 Replies)
Discussion started by: pingdom
3 Replies
2. UNIX for Dummies Questions & Answers
I support an app that outputs alert and audit messages to one log file (vendor says they can't be separated). The script that I have written takes a copy (mv cmd) of the file to do the separation and reformatting. I have a problem that I loose records (messages are being written constantly, upto 3+... (5 Replies)
Discussion started by: nhatch
5 Replies
3. Shell Programming and Scripting
Hi All
There are some cron jobs ,which runs 24 hrs. Log files are generated when one job fails.
So I need the log files to be emailed to my personal e-mail id. So that I can see the log files at my home If there is any error.
How can I implement this in Unix shell programming.
Thanks... (4 Replies)
Discussion started by: deep_kol
4 Replies
4. UNIX for Advanced & Expert Users
Hello everyone, I was searching for locations where I can get End of Life information on multiple versions of Unix.
I have found some information which I list below, what I have not found or confirmed is where I can get the information for:
DEC Unix/OSF1 V4.0D
NCR Unix SVR4 MP-RAS Rel 3.02.... (2 Replies)
Discussion started by: robertmcol
2 Replies
5. Solaris
How can you control old system logs keep(or storage) time in Solaris ? Is there any method ? it depends on buffer size long or date long ? (1 Reply)
Discussion started by: xramm
1 Replies
6. Shell Programming and Scripting
Hi,
I have a lot of logfiles like fooYYYYMM.log (foo200301.log, foo200810.log) with lines like
YYYY-MM-DD TIMESTAMP,text1,text2,text3...
but I need (for postprocessing) the form fooYYYYMMDD.log (so foo200402.log becomes foo20040201.log, foo20040202.log...)
with unmodified content of lines.
... (1 Reply)
Discussion started by: clzupp
1 Replies
7. Shell Programming and Scripting
Hi All,
I have a peculiar problem. I will call a script from another script.
Script abc.ksh is called by ABC.ksh as
ABC.ksh abc.ksh
in abc.ksh I will create and redirect all the statements to log file.
ABC.ksh will also has a log file. I want all the logs generated in file abc in ABC... (5 Replies)
Discussion started by: javeed7
5 Replies
LEARN ABOUT MOJAVE
kdcsetup
kdcsetup(1) BSD General Commands Manual kdcsetup(1)
NAME
kdcsetup -- Kerberos -- Open Directory Single Sign On
SYNOPSIS
kdcsetup [-v debug_level] [-a admin_name] [-p password] REALM
DESCRIPTION
kdcsetup is a tool for configuring an Apple Open Directory KDC. It creates the needed Kerberos files and data for an Open Director master.
-v debug_level Controls the amount of output generated by kdcsetup. 0 prints errors and very basic information. 1 prints generatal status
information. Higher levels may add progressively more detail.
-a admin_name Name of a directory administrator authorized to make changes in Open Directory. This admin will be used as the administrator
in the KDC database. Required parameter. Note: this is not a principal name.
-p password The password for the above admin. Required parameter.
REALM The name of the realm that this KDC serves. Required parameter.
FILES
/var/db/krb5kdc/ directory where all the config & database files for the KDC are stored
/var/log/krb5kdc/ directory where the log files from the KDC are written
NOTES
kdcsetup is automatically run when creating an Open Directory Master. It should NEVER be run manually and will likely be deprecated in the
future.
SEE ALSO
kadmind(8), kdc(8), kerberos(8), krbservicesetup(8), opendirectoryd(8), sso_util(8)
Darwin June 1, 2019 Darwin