11-25-2008
10 More Discussions You Might Find Interesting
1. Programming
Hi,
Perhaps I am asking a silly question, but I really don't know about it. Can anyone tell me the function for "sleep" kind of functionality in C language for Unix. I don't think any function with the name of sleep() exits in Unix's C language. or perhaps I am not known with the header file... (3 Replies)
Discussion started by: Ahsan
3 Replies
2. UNIX for Dummies Questions & Answers
hi
i am not able to the zones after i enable BSM, but i am able to login using "zlogin -S" option.
is there any command which i can use to troubleshoot.
thanks a lot! :cool: (0 Replies)
Discussion started by: legato
0 Replies
3. Solaris
Hi,
I want to know the difference between halt and shutdown commands and which is better to use?
Regards,
visu (2 Replies)
Discussion started by: visu_ak
2 Replies
4. Solaris
Hi
i have created a solaris zone but have not yet connected any network cables for this new zone,
can i set the zone up without running the command 'add net' and not adding an ip or physical interface?
i tried to add dummy internet settings and get this
zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies
5. Emergency UNIX and Linux Support
I've got critical patching this weekend on 6 HP UX machines, back to back and the customer has requested to shutdown, and halt the machines and to bring it up at a later period. The thing is the servers are located offshore and we are just the support team. I have a special login thru a console... (16 Replies)
Discussion started by: hedkandi
16 Replies
6. Solaris
I am trying to use a serial communications device that is connected to /dev/ttyb on a netra 240 server. This is a solaris zone configuration using solaris 10 0910. I am able to access /dev/ttyb from the global zone but not throught he non-global zone. I have enabled all of the tty devices in my... (0 Replies)
Discussion started by: disagreeable
0 Replies
7. Solaris
Hi,
I am unable to find remaining space on solaris 10. below is output.
I am facing this issue on zone server.
bash-3.00# df -h /
Filesystem size used avail capacity Mounted on
/ 59G 59G 0K 100% /
bash-3.00# pwd
/
bash-3.00# du -sh *
1K File_Stores
19K TT_DB
9K app
1K bin... (4 Replies)
Discussion started by: manoj.solaris
4 Replies
8. Solaris
Hello, I followed these instructions to create a Solaris 11 zone:
http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html
And I am unable to ping anything from the Local Zone except for the IP address of the global zone.
My global zone has an IP... (6 Replies)
Discussion started by: unblockable
6 Replies
9. Solaris
TLDR; non-global-zone has same configuration files (sendmail.cf) as global-zone but still unable to send mail out using mailx
I have a S11.3 system that has a non-global-zone which uses the exact same sendmail.cf configurations as the global but, unable to send mail out from it.
Apparently... (2 Replies)
Discussion started by: samthewildone
2 Replies
10. Solaris
tldr; We've installed a non-global-zone from a unified archive which once booted, we're unable to gain access to the system either through zlogin or zlogin -C.
Errors;
svc.startd: instance svc:/system/console-login:default exited with status 127
Investigation;
1) Already opened a SR with... (1 Reply)
Discussion started by: samthewildone
1 Replies
LEARN ABOUT OPENSOLARIS
getzonelabelbyid
getzonelabelbyid(3TSOL) Trusted Extensions Library Functions getzonelabelbyid(3TSOL)
NAME
getzonelabelbyid, getzonelabelbyname, getzoneidbylabel - map between zones and labels
SYNOPSIS
cc [flags...] file... -ltsol [library...]
#include <tsol/label.h>
m_label_t *getzonelabelbyid(zoneid_t zoneid);
m_label_t *getzonelabelbyname(const char *zonename);
zoneid_t *getzoneidbylabel(const m_label_t *label);
DESCRIPTION
The getzonelabelbyid() function returns the mandatory access control (MAC) label of zoneid.
The getzonelabelbyname() function returns the MAC label of the zone whose name is zonename.
The getzoneidbylabel() function returns the zone ID of the zone whose label is label.
All of these functions require that the specified zone's state is at least ZONE_IS_READY. The zone of the calling process must dominate the
specified zone's label, or the calling process must be in the global zone.
RETURN VALUES
On successful completion, the getzonelabelbyid() and getzonelabelbyname() functions return a pointer to a sensitivity label that is allo-
cated within these functions. To free the storage, use m_label_free(3TSOL). If the zone does not exist, NULL is returned.
On successful completion, the getzoneidbylabel() function returns the zone ID with the matching label. If there is no matching zone, the
function returns -1.
ERRORS
The getzonelabelbyid() and getzonelabelbyname() functions will fail if:
ENOENT The specified zone does not exist.
The getzonelabelbyid() function will fail if:
ENOENT No zone corresponds to the specified label.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
Intro(2), getzonenamebyid(3C), getzoneidbyname(3C), libtsol(3LIB), m_label_free(3TSOL), attributes(5), labels(5)
NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
SunOS 5.11 20 Jul 2007 getzonelabelbyid(3TSOL)