WRITELOG(8) System Manager's Manual WRITELOG(8)NAME
writelog - add a entry to an INN log file.
SYNOPSIS
writelog name text...
DESCRIPTION
The writelog script is used to write a log entry or send it as mail. The name parameter specifies the name of the log file where the entry
should be written. If it is the word ``mail'' then the entry is mailed to the news administrator, usenet. The data that is written or
sent consists of the text given on the command line, followed by standard input indented by four spaces. Shlock(1) is used to avoid simul-
taneous updates to a single log file.
HISTORY
Written by Landon Curt Noll <chongo@toad.com> and Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is revision 1.1, dated 1996/10/29.
SEE ALSO innd(8)innstat(8)news.daily(8), newslog(5), nnrpd(8), scanlogs(8).
WRITELOG(8)
Hello,
I've a little problem with one of my ksh scripts and I manage to narrow it to the script here:
#!/bin/ksh
writeLog()
{
paramHandle="unknown"
OPTIND=1
while getopts :i: option $*
do
case $option in
i) paramHandle=${OPTARG} ;;
esac
done
echo... (2 Replies)
Hi all,
This is my sample code in /etc/httpd/conf.d/applications.conf file currently we are creating subdomain mannually for every new subdomain. I want to automate this process througs bash script , how its possible.
<VirtualHost *:80>
ServerName google.com
ServerAlias google.com... (5 Replies)
Hi all:
Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project.
There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues.
Running with... (1 Reply)
Hi,
Below is what i am seeing in /var/log/messages on ubuntu machine.
2013-01-14T18:29:39.319736+00:00 test01 ldap-mail: test1
Jan 14 18:29:39 test01 ldap-mail: test2
2013-01-14T18:29:39.320792+00:00 test01 ldap-mail: test3
Jan 14 18:29:39 test01 ldap-mail: test4But on other ubuntu... (29 Replies)
Hi Folks,
I am running on a CentOS 6.3 server, whose primary function until recently has been my Zimbra mail server exclusively. I added wordpress and I have not been disappointed, with this one exception of Apache mod_rewrite. I have already tried to set selinux to permisive to eliminate that... (5 Replies)
Hi.
The problem is to write logs in a shared file from several processes.
The cooperate call of fprintf() leads to messing the content even in one call
example:
fprintf(f,"a1 \n a2");
fprintf(f,"a3 \n a4");
out:
a1
a3
a2
a4
Ofcourse this is possible to implement the file as a... (9 Replies)
Dear All,
I need your help in finding out users not logged in to linux system for more than 90 days. I found a script from our forum i am getting error while using that.
from the code i have debugged line by line to see where i am getting the problem. i found out the below line i am getting... (5 Replies)
i have a "if .. then exit end " in s shell script on remote servers.
now the connection to the remote server got killed after i run this script on the remote servers. How do i run this script on remote hosts and still keep remote connections alive after executing the script.
Thank you. (10 Replies)