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:
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Solaris
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
3. Solaris
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
4. Solaris
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
5. Solaris
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
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
7. UNIX for Advanced & Expert Users
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
8. Solaris
Hi,
Is the contents in /var/log/syslog and /var/adm/messages are same??
Regards (3 Replies)
Discussion started by: vks47
3 Replies
9. UNIX for Dummies Questions & Answers
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
LEARN ABOUT OPENSOLARIS
getzoneid
getzoneid(3C) Standard C Library Functions getzoneid(3C)
NAME
getzoneid, getzoneidbyname, getzonenamebyid - map between zone id and name
SYNOPSIS
#include <zone.h>
zoneid_t getzoneid(void);
zoneid_t getzoneidbyname(const char *name);
ssize_t getzonenamebyid(zoneid_t id, char *buf, size_t buflen);
DESCRIPTION
The getzoneid() function returns the zone ID of the calling process.
The getzoneidbyname() function returns the zone ID corresponding to the named zone, if that zone is currently active. If name is NULL, the
function returns the zone ID of the calling process.
The getzonenamebyid() function stores the name of the zone with ID specified by id in the location specified by buf. The bufsize argument
specifies the size in bytes of the buffer. If the buffer is too small to hold the complete null-terminated name, the first bufsize bytes of
the name are stored in the buffer. A buffer of size {ZONENAME_MAX} is sufficient to hold any zone name. If buf is NULL or bufsize is 0, the
name is not copied into the buffer.
RETURN VALUES
On successful completion, getzoneid() and getzoneidbyname() return a non-negative zone ID. Otherwise, getzoneidbyname() returns -1 and sets
errno to indicate the error.
On successful completion, the getzonenamebyid() function returns the buffer size required to hold the full null-terminated name. Otherwise,
it returns -1 and sets errno to indicate the error.
ERRORS
The getzoneidbyname() function will fail if:
EFAULT The name argument is non-null and points to an illegal address.
EINVAL A zone with the indicated name is not active.
ENAMETOOLONG The length of the name argument exceeds {ZONENAME_MAX}.
The getzonenamebyid() function will fail if:
EINVAL A zone with the specified ID is not active.
EFAULT The buf argument points to an illegal address.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
Intro(2), chroot(2), malloc(3C), attributes(5), zones(5)
SunOS 5.11 1 Nov 2004 getzoneid(3C)