/var/adm/messages empty?

/var/adm/messages empty?

Post by wfcha » Fri, 22 Nov 2002 19:16:55



hi, all there,

My solaris system as follows:
#uname -a
SunOS refamsun 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-250

the syslogd is running, but why /var/adm/messages is empty?
Some other administrator may have cleared /var/adm/messages.
TIA.

For your reference, /etc/syslog.conf as follows:

*.err;kern.notice;auth.notice           /dev/sysmsg
*.err;kern.debug;daemon.info;mail.crit;user.info    /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:


#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#

 
 
 

/var/adm/messages empty?

Post by Glodale » Fri, 22 Nov 2002 22:24:42




> hi, all there,

> My solaris system as follows:
> #uname -a
> SunOS refamsun 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-250

> the syslogd is running, but why /var/adm/messages is empty?
> Some other administrator may have cleared /var/adm/messages.
> TIA.

> For your reference, /etc/syslog.conf as follows:

> *.err;kern.notice;auth.notice           /dev/sysmsg
> *.err;kern.debug;daemon.info;mail.crit;user.info    /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:


> #
> # non-loghost machines will use the following lines to cause "user"
> # log messages to be logged locally.
> #

Perhaps no messages fit since the last logrotate event ?? How many days
is old /var/adm/messages and what is uptime ?

 
 
 

/var/adm/messages empty?

Post by Glodale » Fri, 22 Nov 2002 22:25:42




> hi, all there,

> My solaris system as follows:
> #uname -a
> SunOS refamsun 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-250

> the syslogd is running, but why /var/adm/messages is empty?
> Some other administrator may have cleared /var/adm/messages.
> TIA.

> For your reference, /etc/syslog.conf as follows:

> *.err;kern.notice;auth.notice           /dev/sysmsg
> *.err;kern.debug;daemon.info;mail.crit;user.info    /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:


> #
> # non-loghost machines will use the following lines to cause "user"
> # log messages to be logged locally.
> #

And try

# logger -p mail.crit "This must be in /var/adm/messages"

otherwise someone has created a new file after syslogd was [re]started

 
 
 

/var/adm/messages empty?

Post by Richard Pugli » Sat, 23 Nov 2002 02:44:06


Are you sure syslogd is running? Also, be careful, syslog.conf is a tabbed file.
 
 
 

1. /var/adm/messages - empty?

I'm running Solaris 2.3 on a Tadpole Sparcbook.  /var/adm/messages
is empty, and Tadpole support tells me that 2.3 no longer uses
that mechanism.

Ok, where are messages I "echo" in startup scripts going?  Are they
only going to the console and scrolling off the screen forever? Can
I use syslog for this (but syslog hasn't been started yet!)

Thanks in advance for any help

2. control I/O from a browser?

3. trimming /var/adm/messages & /var/adm/syslog

4. how to use cursor to move through history

5. Clean way to remove /var/adm/messages and /var/adm/syslog

6. Help Please. Problem with X/Linux.

7. /var/adm/messages is empty!

8. Rebooting: possible with this error message?

9. empty /var/adm/messages

10. INIT: Cannot create /var/adm/utmp or /var/adm/utmpx

11. what is /var/adm/lastlog and /var/adm/wtmp ?

12. INIT: Cannot create /var/adm/utmp or /var/adm/utmpx

13. Cannot create /var/adm/utpm or /var/adm/utmpx