08-18-2010
# file /usr/sbin/syslogd
-r-xr-xr-x 1 root sys 79396 Jun 10 2008 /usr/sbin/syslogddynamically linked, stripped
# ls -l /usr/sbin/syslogd
-r-xr-xr-x 1 root sys 79396 Jun 10 2008 /usr/sbin/syslogd
# ls -l /dev/log
lrwxrwxrwx 1 root other 27 Sep 29 2006 /dev/log -> ../devices/pseudo/log@0:log
# ls -l /devices/pseudo/log\@0\:log
crw-r----- 1 root sys 21, 5 Sep 29 2006 /devices/pseudo/log@0:log
# /etc/init.d/syslog start
syslog service starting.
# tail -5 /var/adm/messages
Aug 17 09:06:06 eric krtld: [ID 819705 kern.notice] /kernel/sys/sparcv9/nfs: undefined symbol
Aug 17 09:06:06 eric krtld: [ID 826211 kern.notice] 'crsetugid'
Aug 17 09:06:06 eric krtld: [ID 472681 kern.notice] WARNING: mod_load: cannot load module 'nfs'
Aug 18 08:20:36 eric krtld: [ID 819705 kern.notice] /kernel/sys/sparcv9/doorfs: undefined symbol
Aug 18 08:20:36 eric krtld: [ID 826211 kern.notice] 'copyout_nowatch'
Here eric is my host name
# cat /etc/syslog.conf
#ident "@(#)syslog.conf 1.5 98/12/14 SMI" /* SunOS 5.0 */
#
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words. Also, within ifdef's, arguments
# containing commas must be quoted.
#
*.err;kern.notice;auth.notice /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages
*.alert;kern.err;daemon.err operator
*.alert root
*.emerg *
# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /dev/sysmsg
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *
)
#Save oracle rdbms audit trail to oracle_audit.log
local0.warning /var/log/oracle/oracle_audit.log
#Send oracle rdbms audit trail to remote syslog server
#local0.info @
I think all files are correct as they should be...Is it because of the dependancies that I mentioned in previous posts...???
---------- Post updated at 04:38 PM ---------- Previous update was at 08:23 AM ----------
Hi Citaylor/Niyazi,
Could you please go through my last post.....
It might help to recognize the solution.....
thnx
Last edited by snchaudhari2; 08-18-2010 at 11:44 AM..
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 DEBIAN
log::agent::channel::syslog
Agent::Channel::Syslog(3pm) User Contributed Perl Documentation Agent::Channel::Syslog(3pm)
NAME
Log::Agent::Channel::Syslog - syslog logging channel for Log::Agent::Logger
SYNOPSIS
require Log::Agent::Channel::Syslog;
my $channel = Log::Agent::Channel::Syslog->make(
# Specific attributes
-prefix => prefix,
-facility => "user",
-showpid => 1,
-socktype => "unix",
-logopt => "ndelay",
);
DESCRIPTION
The syslog logging channels directs operations to syslog() via the Sys::Syslog(3) interface.
The creation routine make() takes the following switches:
"-facility" => facility
Tell syslog() which facility to use (e.g. "user", "auth", "daemon"). Unlike the Sys::Syslog(3) interface, the facility is set once and
for all: every message logged through this channel will use the same facility.
"-logopt" => syslog options
Specifies logging options, under the form of a string containing zero or more of the words ndelay, cons or nowait.
"-prefix" => prefix
The prefix here is syslog's identification string.
"-showpid" => flag
Set to true to have the PID of the process logged. It is false by default.
"-socktype" => (unix | inet)
Specifies the logging socket type to use. The default behaviour is to use Sys:Syslog's default.
AUTHOR
Raphael Manfredi <Raphael_Manfredi@pobox.com>
SEE ALSO
Log::Agent::Logger(3).
perl v5.10.0 2002-03-09 Agent::Channel::Syslog(3pm)