Solaris 10 Not Logging Anything


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 Not Logging Anything
# 1  
Old 07-14-2011
Solaris 10 Not Logging Anything

Hello,

It would appear that my server is no longer logging anything. Last time anything was written to /var/adm/messages and /var/log/syslog was Aug 26 2010. I was told there was a storm and the power went out or something around that time, but there were never any problems. I've tried restarting syslogd and it still won't log anything, and my /etc/syslog.conf file is identical to another server I have that is properly logging.

I'd really appreciate some help with this. Thanks guys
# 2  
Old 07-14-2011
can you post
Code:
/etc/syslog.conf

configuration
# 3  
Old 07-15-2011
Code:
#
# Copyright (c) 2000-2002 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident  "@(#)syslog.conf        2.3     02/02/21        SMI"
#
# This "syslog.conf" file was installed by JASS.  This
# file should be used to log information both locally as
# well as to a centralized log server (or servers) so that
# proactive log analysis can be done.

*.err;kern.notice;auth.notice   /dev/console
*.alert                         root
*.emerg                         *

*.debug                         /var/adm/messages
# *.debug                       @loghost1
# *.debug                       @loghost2
mail.info;mail.notice;          /var/adm/mail.log
mail.debug;mail.alert           /var/adm/mail.log
mail.emerg                      /var/adm/mail.log

# 4  
Old 07-19-2011
Bump

Is anything wrong with my syslog.conf?

Last edited by Scott; 07-19-2011 at 09:56 AM.. Reason: Moved to Solaris forum
# 5  
Old 07-19-2011
Did you use SMF to restart syslog daemon? If not then try it now:
Code:
svcadm restart system-log

After that post the output of:
Code:
svcs -xv system-log

# 6  
Old 07-20-2011
Code:
svc:/system/system-log:default (system log)
 State: online since Wed Jul 20 08:59:36 2011
   See: man -M /usr/share/man -s 1M syslogd
   See: /var/svc/log/system-system-log:default.log
Impact: None.

I'd like to note that I removed all of the existing messages files from /var/adm and when I restarted syslog it created a new empty messages file but still won't log to it.
# 7  
Old 07-20-2011
Try:
Code:
logger -p daemon.error test

Then check if it got logged into the messages file.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Connection Logging in Solaris 10 & 11 - Beginner

Excuse my ignorance as I am very new to working with Solaris. I'm looking for documentation on how to create a network log in Solaris 10 & 11. I don't wish to edit any of the logs currently the system. I simply want a log that will capture all incoming IP addresses and log them with a time-in... (8 Replies)
Discussion started by: FamousAv8er
8 Replies

2. Solaris

Solaris 2.6 failed login logging

Holla! Sorry to spam the board with all my Solaris 2.6 questions (I just found this forum). My most recent problem is that not ALL failed log-ins are getting logged in /var/log/authlog. It seems to work fine for the "su" command from a non-root user, but the actual "login" command or a desktop... (4 Replies)
Discussion started by: rrossorr
4 Replies

3. Solaris

How to enable logging in Solaris 10?

hi all, i want to log every thing happen in my server is any body can provide me with articals, pdf's is that correct to log every thing in the system what is the most important thing i should i log it (4 Replies)
Discussion started by: corvinusbsd
4 Replies

4. UNIX for Advanced & Expert Users

Solaris auditing (file access logging) for specific directory only.

Hello, We need to log the operations that specific user on Solaris 10 (SPARC) is performing on one directory and it's contents. I was able to configure solaris auditing service (auditd) and it works fine. The only problem is that auditd logs huge amount of unneeded information. We need to log... (0 Replies)
Discussion started by: +Yan
0 Replies

5. Solaris

logging incoming connections on solaris 10

i've been able to log incoming telnet and ssh connections on solaris 9 using the following lines in /etc/syslog.conf # Telnet connections are logged to auth.notice auth.notice /var/adm/authlog # An entry in /etc/profile logs all telnet connections... (2 Replies)
Discussion started by: soliberus
2 Replies

6. Solaris

Xferlog in solaris (FTP logging)

HI all, i Have a requirement for my customer fro tracking the ftp user sessions details. After some google search i got to know i need to confgure xferlog for the same.Want to know how to start the xferlog in solaris 10. Please help me :( (2 Replies)
Discussion started by: rgrandhi
2 Replies

7. Solaris

Logging Connections in Solaris

Hi All, Is there a built in function/tool in Solaris that enables creation of a history file on any connection (via telnet, ssh, rsh or nfs) to Solaris machine? I would like to create a script that records IP Address, date and timestamp, and command excuted for any connection to a Solaris... (2 Replies)
Discussion started by: racbern
2 Replies

8. Solaris

Solaris 10 freezes up while logging in.....!!!!

Hi all, I have installed Solaris along with Xp ....The installation was successful... I get the Grub menu displaying Solaris along with Win Xp....After i select Solaris the following happens, "Failed to initialize inband hotplug controller" The above message repeats three times & i get the... (2 Replies)
Discussion started by: codewarrior
2 Replies

9. UNIX for Dummies Questions & Answers

Mysql logging in Solaris

Folks; i have mysql installed on Solaris box (sparc). The problem is under /opt/mysql/data directory, there's a log file that grows very fast & becomes a huge size. Is there a way to stop the logging under the data directory so i don't have the issue of running out of space? Your help will... (6 Replies)
Discussion started by: moe2266
6 Replies

10. Solaris

logging solaris 10 tcp-wrappers

I want to log tcp-wrapper events Solaris 10. I researched and saw that I could make a syslog entry in the hosts.deny, which I did below. After restarting syslog and having ssh blocking, I see nothing logging. I also do not get the email that should be generated. The file was taken from a... (2 Replies)
Discussion started by: csgonan
2 Replies
Login or Register to Ask a Question