sia_log(3) Library Functions Manual sia_log(3)NAME
sia_log - Log events and errors - SIA (Security Integration Architecture)
LIBRARY
Standard C library (libc.so and libc.a)
SYNOPSIS
#include <siad.h>
int sia_log(
u_int loglevel,
char *siafmt,
...);
PARAMETERS
loglevel There are three types of log messages:
SIALOGEVENT - Log an event (not an error or problem)
SIALOGERROR - Log an error or problem (not too serious)
SIALOGALERT - Log a serious problem (SIA is SERIOUSLY ILL)
siafmt Printer format suitable for the vfprint routine. (One of the SIA message formats in sia.h.)
... The list of additional strings to be printed in the log, if any.
DESCRIPTION
The sia_log() routine logs events and error messages into the sialog file. Each entry is time and PID stamped to track when and who was
making the log entry.
The sia_log() routine appends to an existing log file. If the log file does not exist, it is not created (no error is returned). The sia-
log file is intended for debugging possible SIA problems. Use the audit subsystem for normal auditing and logging.
RETURN VALUES
The sia_log() routine returns SIASUCCESS or SIAFAIL.
ERRORS
The errno value is not normally set explicitly by sia_* routines. The errno values are those returned from the dynamic loader interface,
from dependent (siad_*) routines, from malloc, from stdio routines such as fopen and vfprintf, or local routines such as catopen. Possible
errors include resource constraints (no memory) and various authentication failures.
FILES
/var/adm/sialog
RELATED INFORMATION sia_audit(3), sialog(4)
Security delim off
sia_log(3)
Check Out this Related Man Page
siad_init(3) Library Functions Manual siad_init(3)NAME
siad_init - initialization routine for SIA (Security Integration Architecture)
LIBRARY
Standard C library - libc.so and libc.a
SYNOPSIS
#include <sia.h>
#include <siad.h>
int siad_init(void);
DESCRIPTION
The siad_init() routine is called from siainit() to do mechanism-specific processing once per reboot.
RETURN VALUES
The siad_init() routine returns either SIASUCCESS or SIAFAIL. A return of SIADFAIL from this routine will prevent the system from reboot-
ing. Consequently the SIADFAIL response should only be used if a security risk or root login failure is assumed.
In a cluster, if the siainitgood file is lost for any reason, other cluster members that have applications or utilities that use SIA will
experience return failures.
ERRORS
The errno values are those returned from the dynamic loader interface, from dependent (siad_*) routines, or from malloc. Possible errors
include resource constraints (no memory) and various authentication failures.
FILES
/usr/sbin/siainit
/etc/sia/siainitgood
/etc/sia/matrix.conf
RELATED INFORMATION matrix.conf(4), siainit(8)
Security delim off
siad_init(3)
Hello
Can you tell me what this entry means in the log files:
relay=gtw.powerinternetcr.com (may be forged), reject=550 5.7.1 <aaronzum@gmx.net>... Relaying denied. IP name possibly forged
IS someone trying to use my server for sending spam mail? If so how can I stop this from... (2 Replies)
i'm a relative newbie to unix (i'm on OSX) and i have a specific problem i'm tripped up on:
i'm piping the output of top (in log format) into an awk command which formats the information (and eventually will send it out continuously via udp/osc to another app). my problem is with what comes up... (4 Replies)
Hello:
I'm having the following problem when I try to log in to our Tru64 system, from any machine using root or any other user.
After entering the passowrd I get the following message:
and not being directed to the shell console.
I think it has something to do with the audit process... (2 Replies)
I have a problem.
Suppose I have a log transport.log with the ff:
>>
tp finished with return code: 203
meaning:
wrong syntax in tp call
<<
I'm working on creating a script to find out if there are error are not. Unfortunately, the only way to check if there is error is if the return... (3 Replies)
#!/bin/sh
findit=`find . -name "a.log" | wc -l`
if ; then
touch a.log
fi
iCOUNT=`grep ERROR a.log | wc -l`
while (1)
do
fCOUNT=`grep ERROR b.log | wc -l`
if ; then
echo "1"
else
echo "0"
fi
done
Hi , (10 Replies)
Everytime I try to start Discreet Flame on my Octane2 machine it keeps giving me an error message "initial log size exceeds limit--aborting"
Can anyone please help me how to fix this problem. Thanks.
Octane2
IRIX64 Release 6.5
Flame 2007 (6 Replies)
Hi Gurus,
I have several log files running in real time and needs to be truncated 50% or all but has to keep the logs piling up. Any ideas?
For example: /var/adm/messages and others apps log files
Thanks in advance! (7 Replies)
Hi
I would like to create a log file to track the execution of my script.
Example, if there were any errors, if it passed or failed etc.
How do I go about doing this.
My log file will be saved to this location: /var/log/import.log
How do I specify the directory?
I have been... (1 Reply)
I have this problem using a script that uses mplayer. This is the error messages.
INFO: Mplayer Log
LOG: MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
LOG: mplayer: could not connect to socket
LOG: mplayer: No such file or directory
LOG: Failed to open LIRC support. You... (1 Reply)
I'm new to all this and I've been fiddling with this problem for HOURS and feel silly that I can't work it out!
I have a .log file that VERY long and looks like this:
2011-08-31 10:03:34 SUESTART AG Amndmnt Client WebRequest DNU SUEEND Sequence: 600,
2011-08-31 10:03:34 SUESTART... (11 Replies)
Hi,
I have recently installed lpar2rrd and everything is now set. I have customized it to suit what i needed for work. My problem is now I am eliminating all errors from the error log but I can't seem to find how to do the last two. can anyone help? Here is the output I am receiving:
Tue... (2 Replies)
Hi,
In a error log file, the error code of a particular error contains both Alphabet and Numbers. My problem statement is to find the error codes from a particular log. That means, I need to search a word, which contains both alphabet and number. Please help me. Below is two examples of error... (1 Reply)
Hello,
I have a problem to list my active partitions with PowerVM IVM,
Vios has an error message , can't open lparUtil.log ,
the df command tells us that /dev/hd9var is 100% used, laprUtil.log file is 0 Ko !!
i don't know what i can delete to free space,
the file is locked , i... (2 Replies)
Discussion started by: waste
2 Replies
14. Post Here to Contact Site Administrators and Moderators
Hi guys this problem exists on all my machines...
Windows 8.1, Ubuntu, iMac and this MBP.
All use fireFox, latest current version.
If I log in there is NOT a problem.
I usually enter this site as an outsider and I have noticed that there is some rouge code and/or advert that slows the... (5 Replies)
Okay, so i have this problem, i have a raspberry with rasbian lite (now i have openbox running on) and i do a few script for my client. But i have a question and a problem.... i got the logs file, that file need to open automatically the browser without having to do all the steps again at the next... (1 Reply)