Sponsored Content
Operating Systems Solaris /sbin/zonename file giving me problems Post 93744 by BG_JrAdmin on Wednesday 21st of December 2005 07:33:06 PM
Old 12-21-2005
/sbin/zonename file giving me problems

I'm trying to install the recommended patch cluster on a x86 Solaris 10 box.
I get this error:

ERROR: /sbin/zonename cannot be found. install_cluster for 10_x86 patch cluster not applied. Exiting.

I tried touching the file and it gave a different error of: expected argument..

anyone have this happen?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/sbin

I attempted to run a commands from directory /sbin..............it works only (as example) also: ./fdisk But I want to make simple: fdisk Can me help somebody ? (4 Replies)
Discussion started by: Pennywize
4 Replies

2. HP-UX

RLOGIN giving problems.

Hi, I am using RDIST to sync /interfaces directory between two systems say ukblx176 (source) & ukapx063 (target), but when i do rlogin ukapx063 from ukblx176 its asking for password (i dont want it to ask password). when i do rlogin ukblx176 from ukapx063 its doesnt ask for password. ukapx063... (8 Replies)
Discussion started by: vishal_ranjan
8 Replies

3. Shell Programming and Scripting

Giving input to a c++ file

My C++ program creates a nxn matrix with given value. For e.g if the input is 10 it will creates a matrix of 10x10 now what i want is the script should run program and give input values in a variation of 1000. Say first matrix of 1000 then 2000 , 3000 ..... 10000. I tried using for loop but unable... (2 Replies)
Discussion started by: tonyaim83
2 Replies

4. Solaris

different between /sbin/init and /usr/sbin/init

root@test09 # ls -al /sbin/init -r-xr-xr-x 1 root sys 550000 Jun 29 2002 /sbin/init root@test09 # ls -al /usr/sbin/init -r-xr-xr-x 1 root sys 37100 Jun 29 2002 /usr/sbin/init (2 Replies)
Discussion started by: userking
2 Replies

5. Shell Programming and Scripting

Giving format to a file

hi all, i have a big problem and i don't know what to do. This is the thing: i have a flat file with 26 fields, which are separated by ';' by example, i have this: Peter;Smith;2005;200508; ......... if the lengths of the fields are: field 1: Alphanumeric - field 2: Alphanumeric - field... (4 Replies)
Discussion started by: DebianJ
4 Replies

6. Shell Programming and Scripting

simulation of wc command giving problems

Hello, i am developing a simple shell script for simulation of wc command but it's not working.Please tell me what is the problem. I have commented the problematic line if then echo "<Improper Usage>" echo "wcassg <options> file" else eval file=\$$# if then chars=0 words=0... (2 Replies)
Discussion started by: salman4u
2 Replies

7. Shell Programming and Scripting

Sorting row in a giving file

hi I would like to sort rows in a givin file except the first colomn (or first element of a row) just like the following example file input : 1 3 8 5 2 2 8 1 3 9 8 10 file output : 1 8 5 3 2 8 2 1 3 10 9 8 (4 Replies)
Discussion started by: yassinegoth
4 Replies

8. Shell Programming and Scripting

GetLine fn always giving last line of the file

Hi, Its bit urget for me to complete. pls help me. I am parsing 2 file 1. INDATA(Data file) 2. GRPFIL(Reference) every record in INDATA should be verified with GRP_DATA. I am seeing the output from only the last line of ref file, its not searching all the lines. INDATA sample... (1 Reply)
Discussion started by: hyperion.krish
1 Replies

9. UNIX for Advanced & Expert Users

/sbin/ldconfig: File /usr/lib/libquazip.so.1.0.0 is empty, not checked.

I thought I would document this error since its not documented very well. The package or file may be different but the idea is the same. $ sudo yum updateLoaded plugins: langpacks, presto, refresh-packagekit, versionlock Setting up Update Process Resolving Dependencies --> Running... (0 Replies)
Discussion started by: cokedude
0 Replies

10. Shell Programming and Scripting

Grabbing IP and zonename from multiline 'ifconfig' output

Hi There, I have a Solaris server that has a bunch of zones configured and I am trying to write a script that will take all interfaces other than the loopback ones (e.g. lo0:3 etc) and present them so that I can easily determine the zone that owns the IP So in the case of the following... (2 Replies)
Discussion started by: hcclnoodles
2 Replies
scha_cluster_getzone(3HA)				 Sun Cluster HA and Data Services				 scha_cluster_getzone(3HA)

NAME
scha_cluster_getzone - zone name access function SYNOPSIS
cc [flags...] -I /usr/cluster/include file -L /usr/cluster/lib -l scha #include <scha.h> scha_err_t scha_cluster_getzone(char **zonename); DESCRIPTION
The scha_cluster_getzone() function returns a string that identifies the zone from which the function is called. If you call this function in a non-global zone, the zone name and the node name are returned, in the format nodename:zonename. If you call this function in the global zone, only the node name is returned. The node name is not necessarily the same as the Solaris system name. The function returns an error status. If successful, the function also returns a string that contains the node name and the zone name in the location that is pointed to by the zonename argument. If the call fails, the zonename argument is set to NULL. The caller of scha_cluster_getzone() is responsible for freeing the memory that is allocated for the returned string by using the standard C library function free(3C). Freeing the memory is required only if the function succeeds. RETURN VALUES
The scha_cluster_getzone() function returns the following values: 0 The function succeeded. nonzero The function failed. ERRORS
SCHA_ERR_NOERR The function succeeded. See scha_calls(3HA) for a description of other error codes. EXAMPLES
Example 1 Using the scha_cluster_getzone() Function scha_err_t err_code; char *zonename; err_code = scha_cluster_getzone(&zonename); ... if (zonename != NULL) free(zonename); FILES
/usr/cluster/include/scha.h Include file /usr/cluster/lib/libscha.so Library ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscdev | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
free(3C), scha_calls(3HA), scha_cluster_get(3HA), scha_cluster_getnodename(3HA), scha_strerror(3HA), attributes(5) Sun Cluster 3.2 7 Sep 2007 scha_cluster_getzone(3HA)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy