Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Local zone is not logging systems messages to /var/adm/messages


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Local zone is not logging systems messages to /var/adm/messages

  • This is isolated to just 1 non-global zone out of many zones managed
  • This is a Solaris 11 system on SPARC
  • This is NOT a branded zone
  • syslogd is active

This came to our attention when one of our scripts didn't run over the weekend prompting us to check our messages logging in /var/adm/messages. To our surprise, there was no system error/activity logging to the file except dates. Simply our /var/adm/message* were all filled with just your typical date outputs. We have other zones on the same machine that do NOT have this issue, so it's isolated to just this zone.

Any suggestions aside from logger which, we did and it posted to the messages file ?
# 2  
Initially I would get hold of the /etc/syslog.conf file from a working local zone and compare that to the file on the non-logging zone and see what the difference is.
These 2 Users Gave Thanks to hicksd8 For This Post:
# 3  
Did you check syslog.conf on the problem zone - if there is any doubt about the contents do a diff against a syslog.conf file with working logging.

.... assuming you are not using rsyslog and svcadm enable turned on messaging.

Edit: Dennis beat me to it.
These 2 Users Gave Thanks to jim mcnamara For This Post:
# 5  
I compared both global and local zone against the zone which is not logging. The difference was not much if not, anything warranted for a change. This is actually baffling as this appears to be somewhat of a common problem on solaris systems after a search on the net. I'll still figure out what puzzle piece is missing but I've been on this for about 2 weeks and even Oracle support doesn't know what's going on. They've been just providing me with scripts.
# 6  
What does the
Code:
svcs

command show? You can have a service in different status modes.
This User Gave Thanks to jim mcnamara For This Post:
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
/var/adm/messages vs /var/log/messages
gomes1333
The /var/adm/messages in Solaris seem to log more system messages/errors compared to /var/log/messages in Linux. I checked the log level in Linux and they seem OK. Is there any other log file that contains the messages or is it just that Linux doesn't log great many things?... UNIX for Advanced & Expert Users
2
UNIX for Advanced & Expert Users
[kern.warning] messages in /var/adm/messages
jpg.2009
Hi Having looked through the log file /var/adm/messages i've noticed these kernel warning messages and i don't know what they mean: !-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> cpudrv: NOTICE: cpu_acpi: _TSS package not found. cpudrv: WARNING:...... Solaris
1
Solaris
Help understanding [daemon.warning] messages in /var/adm/messages
jpg.2009
Hi I've been using solaris for a few days now. During the install process i had some problems configuring my nic as i needed to install a third-party driver, which i got from a a linked site from the Sun Device Detector tool a ran prior to installing. I got it working eventually, but i'm...... Solaris
1
Solaris
Info req: /var/adm/messages - Kern.warning - different ID messages
Petrucci
Hi all, where I can find a list and meaning of the ID number (for example ID 353554 kern.warning)? Thanks in advance Pierluigi... Solaris
1
Solaris

Featured Tech Videos