08-17-2010
well, actually i didn't have exp with truss commands....
I know that truss -p <pid> will give something but as ps -eaf not showing any sys process.....so no pid...
how to use it for this syslog??
Thanks
10 More Discussions You Might Find Interesting
1. Solaris
I have been installing syslog-ng on our Solaris 9 servers. All ov them are working except two which return the following error:
# /etc/init.d/syslog start
syslog-ng service starting.
Error binding socket; addr='AF_INET(0.0.0.0:514)', error='Address already in use (125)'
... (6 Replies)
Discussion started by: takendal
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a question on /etc/syslog.conf file in Solaris 10.
Below is a line taken from /etc/syslog.conf file and I know that the last field (operator) is where the logs gets outputted but how do I find out what the output file name format is going to be and which directory it gets outputted... (1 Reply)
Discussion started by: stevefox
1 Replies
3. Solaris
Hi all,
I want to implement a Syslog Server but i'm new in this area. I donīt know how to configure it in Solaris. I should like send all the logs to a application(manipule the information, por example: do the alerts, configure it, etc...) How can I do that? or Which manual can help me? Exists... (2 Replies)
Discussion started by: yflores
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Im editing the file /etc/syslog.conf for Solaris 10 server in production.
I need to add "auth and authpriv.":
someone set the same? Have been successful?
I would appreciate any suggestions.
Greetings.
The unmodified arhive is: (0 Replies)
Discussion started by: musul
0 Replies
5. Solaris
Hi folks,
I am attempting to setup a Solaris 10 syslog server to receive logs from linux machines. Here's what I did:
On the server (SunOS sun226 5.10), IP address: 192.168.212.226:
1. start syslogdby issuing $/usr/sbin/syslogd -T
On a client (SunOS sun221 5.8):
1. Configured... (1 Reply)
Discussion started by: kimurayuki
1 Replies
6. Solaris
We have this Sun Solaris that we use for SYSLOG. Existing firewalls send warning level to this SYSLOG and it works great. We added a new firewall, I pointed the firewall to this SYSLOG server but nothing is being logged (windows KIWI works but not UNIX & I dont like KIWI). I am wondering what to do... (10 Replies)
Discussion started by: fjm1502
10 Replies
7. Solaris
Well, this kind of silly but I think I am missing something. So we have this Solaris 10 server which acts as syslog server for network devices. Problem is the syslogs clutters whenever I use the screen utility for any work.
I am posting the conetent of /etc/syslog.conf
# more... (3 Replies)
Discussion started by: admin_xor
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a solaris 11.1 server with many network interfaces (real and virtual), and one is connected to another server.
i need that syslog send the info through one specific interface, i know that in the syslog.conf file can write:
*.* @xxx.xxx.xxx.xxx (remote server IP)
but... (0 Replies)
Discussion started by: iocx
0 Replies
9. UNIX for Advanced & Expert Users
Hi,
I have a solaris 11.1 server with many network interfaces (real and virtual), and one is connected to another server.
i need that syslog send the info through one specific interface, i know that in the syslog.conf file can write:
*.* @xxx.xxx.xxx.xxx (remote server IP)
but... (1 Reply)
Discussion started by: iocx
1 Replies
10. Solaris
HI
how can i send solaris syslog to centralized logging server?
i have tried adding like below and got error:
*.err;kern.debug;daemon.notice;mail.crit @172.16.200.50:5000
and the error i got in /var/adm/messages is:
Jun 10 13:02:24 aresdb-new.alshaya.com syslogd: line 14:... (10 Replies)
Discussion started by: bentech4u
10 Replies
LEARN ABOUT OSF1
syslog.conf
syslog.conf(4) Kernel Interfaces Manual syslog.conf(4)
NAME
syslog.conf - syslogd configuration file
SYNOPSIS
facility.severity destination Where: Is part of the system generating the message, specified in /usr/include/sys/syslog_pri.h.
See also the syslogd(8) reference page. The severity level, which can be emerg, alert, crit, err, warning, notice, info, or debug. See
/usr/include/sys/syslog_pri.h.
The syslogd daemon logs all messages of the specified severity level plus all messages of greater severity. For example, if you
specify level err, all messages of levels err, crit, alert, and emerg or panic are logged. A local file pathname to a log file, a
host name for remote logging or a list of users. In the latter case the users will receive messages when they are logged in. An
asterisk (*) causes a message to be sent to all users who are currently logged in.
DESCRIPTION
The /etc/syslog.conf file is a system file that enables you to configure or filter events that are to be logged by syslogd. You can specify
more than one facility and its severity level by separating them with semicolons.
You can specify more than one facility logs to the same file by separating the facilities with commas, as shown in the EXAMPLES section.
The syslogd daemon ignores blank lines and lines that begin with an octothorpe (#). You can specify # as the first character in a line to
include comments in the file or to disable an entry. The facility and severity level are separated from the destination by one or more tab
characters.
If you want the syslogd daemon to use a configuration file other than the default, you must specify the file name with the following com-
mand: # syslogd -f config_file
Daily Log Files
You can specify in the /etc/syslog.conf file that the syslogd daemon create daily log files. To create daily log files, use the following
syntax to specify the path name of the message destination: /var/adm/syslog.dated/ { file} The file variable specifies the name of the log
file, for example, mail.log or kern.log. If you specify a /var/adm/syslog.dated/file path name destination, each day the syslogd daemon
creates a sub-directory under the /var/adm/syslog.dated directory and a log file in the sub-directory, using the following syntax:
/var/adm/syslog.dated/ date / file Where: The date variable specifies the day, month, and time that the log file was created. The file
variable specifies the name of the log file you previously specified in the /etc/syslog.conf file. The syslogd daemon automatically cre-
ates a new date directory every 24 hours and also when you boot the system. The current directory is a link to the latest date directory.
To get the latest logs, you only need to reference the /var/adm/syslog.dated/current directory.
EXAMPLES
The following is a sample /etc/syslog.conf file: # # syslogd config file # # facilities: kern user mail daemon auth syslog lpr binary #
priorities: emerg alert crit err warning notice info debug # kern.debug /var/adm/syslog.dated/kern.log user.debug /var/adm/sys-
log.dated/user.log daemon.debug /var/adm/syslog.dated/daemon.log auth.crit;syslog.debug /var/adm/syslog.dated/syslog.log mail,lpr.debug
/var/adm/syslog.dated/misc.log msgbuf.err /var/adm/crash.dated/msgbuf.savecore kern.debug /var/adm/messages kern.debug /dev/console *.emerg
*
FILES
/etc/syslog.conf
/etc/syslog.auth - Authorization file for remote logging.
/usr/include/sys/syslog_pri.h - Common components of a syslog event log record.
RELATED INFORMATION
Commands: /usr/sbin/syslogd(8), /usr/sbin/binlogd(8)
System Administration delim off
syslog.conf(4)