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


 
Thread Tools Search this Thread
Operating Systems Solaris Local zone is not logging systems messages to /var/adm/messages
# 1  
Old 05-29-2019
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  
Old 05-29-2019
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  
Old 05-29-2019
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:
# 4  
Old 05-30-2019
Thanks, using diff helped me figure out what was missing.
# 5  
Old 06-01-2019
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  
Old 06-02-2019
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:
# 7  
Old 06-03-2019
Status: enabled for syslogd

Also checked the log provided within svcs and nothing out of the ordinary
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Why there are /var/adm/messages.0,messages.1,messages.2,messages.3

Hi folks, In what circumstance does the log move to /var/adm/messages.0.......messages.1,messages.2,messages.3 .......etc ---------- Post updated at 06:23 PM ---------- Previous update was at 06:17 PM ---------- To make my questions more understandable, What are the processes that... (4 Replies)
Discussion started by: kimurayuki
4 Replies

2. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

3. UNIX for Advanced & Expert Users

/var/adm/messages vs /var/log/messages

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? (2 Replies)
Discussion started by: gomes1333
2 Replies

4. Solaris

uamod messages in /var/adm/messages

Hello, I am using Solaris 10 and I'm geting the folowing error in /var/adm/messages. Feb 12 09:01:18 srp21ce1 uamod: NOTICE: (uamod480 @ Q 0x600159db710) set threshold to default values Feb 12 09:01:18 srp21ce1 uamod: NOTICE: (uamod480 @ Q 0x600159db710) threshold values... (4 Replies)
Discussion started by: toshibelul
4 Replies

5. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

6. Solaris

[kern.warning] messages in /var/adm/messages

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:... (1 Reply)
Discussion started by: jpg.2009
1 Replies

7. Solaris

Help understanding [daemon.warning] messages in /var/adm/messages

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... (1 Reply)
Discussion started by: jpg.2009
1 Replies

8. Solaris

Info req: /var/adm/messages - Kern.warning - different ID messages

Hi all, where I can find a list and meaning of the ID number (for example ID 353554 kern.warning)? Thanks in advance Pierluigi (1 Reply)
Discussion started by: Petrucci
1 Replies

9. UNIX for Advanced & Expert Users

error messages in /var/adm/messages

Hi, I have a SunFire V490, Solaris 10 with XP1024 storage and HP Library. I have noticed the following error messages in the /var/adm/messages file. These errors are being generated constantly. Also commands like devfsadm, format cfgadm etc are getting hung. After a reboot it works fine for a... (1 Reply)
Discussion started by: nitinp82
1 Replies
Login or Register to Ask a Question