10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
2. AIX
Been trying to get a directory NFS-mounted with no success. I've tried both NFS v3 and v4, but currently trying v4. I can't figure out what's going on here.
server: sbkovwadmd01
sbkovwadmd01# chnfsdom
Current local domain: edw.dev
sbkovwadmd01# lssrc -a | grep nfs | grep active
nfsd ... (3 Replies)
Discussion started by: eckertd
3 Replies
3. Solaris
I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet.
... (2 Replies)
Discussion started by: christr
2 Replies
4. Solaris
Need help experts
I am trying start a service that is required for my application (it was running fine till yesterday)
to start my service, i will got to my application Install folder and
/Serverroot/bin/run_tc_idsm
I get a error below
unable to register (rpc_prog_number = 536875586 ,... (0 Replies)
Discussion started by: karghum
0 Replies
5. UNIX for Dummies Questions & Answers
im kinda new to shell scripting so i need some help
i try to run this script and get the error code
> 5 ")syntax error: operand expected (error token is "
the code for the script is
#!/bin/sh
#
# script to see if the given value is correct
#
# Define errors
ER_AF=86 # Var is... (4 Replies)
Discussion started by: metal005
4 Replies
6. UNIX for Dummies Questions & Answers
I've created a script that checks the health of a piece of equipment out in the field by first establishing that it is pingable, and then parsing
log files to gather information. Today I realized that there are times where the equipment may be pingable, and will not show any
immediate issues in... (1 Reply)
Discussion started by: DeCoTwc
1 Replies
7. AIX
--------------------------------------------------------------------------------
Hello, help me please.
I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? :
Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies
8. UNIX for Dummies Questions & Answers
hi there
i write one awk script file in shell programing
the code is related to dd/mm/yy to month, day year format
but i get an error
please can anybody help me out in this problem ??????
i give my code here including error
awk `
# date-month -- convert mm/dd/yy to month day,... (2 Replies)
Discussion started by: Herry
2 Replies
9. UNIX for Dummies Questions & Answers
Hey guys, need some help. Running AIX Version 5.2 and one of our cron jobs is writing errors to a log file. Any ideas on the following error message.
Error: Internal system error: Unable to initialize standard output file
I'm guessing more info might be needed, so let me know.
Thanks (2 Replies)
Discussion started by: firkus
2 Replies
10. UNIX for Dummies Questions & Answers
I use HP-UX 11.0
I type a command:
#rpcinfo #with no parameters
And system gave the following messages:
rpcinfo:can't contact rcpbind :RPC: Rpcbind failure - RPC: Failed(unspecified error)
Why? (1 Reply)
Discussion started by: uxnt
1 Replies
RPCINFO(8) BSD System Manager's Manual RPCINFO(8)
NAME
rpcinfo -- report RPC information
SYNOPSIS
rpcinfo -p [host]
rpcinfo [-n portnum] -u host program [version]
rpcinfo [-n portnum] -t host program [version]
rpcinfo -b program version
rpcinfo -d program version
DESCRIPTION
rpcinfo makes an RPC call to an RPC server and reports what it finds.
OPTIONS
-p Probe the portmapper on host, and print a list of all registered RPC programs. If host is not specified, it defaults to the value
returned by hostname(1).
-u Make an RPC call to procedure 0 of program on the specified host using UDP, and report whether a response was received.
-t Make an RPC call to procedure 0 of program on the specified host using TCP, and report whether a response was received.
-n Use portnum as the port number for the -t and -u options instead of the port number given by the portmapper.
-b Make an RPC broadcast to procedure 0 of the specified program and version using UDP and report all hosts that respond.
-d Delete registration for the RPC service of the specified program and version. This option can be exercised only by the super-user.
The program argument can be either a name or a number.
If a version is specified, rpcinfo attempts to call that version of the specified program. Otherwise, rpcinfo attempts to find all the reg-
istered version numbers for the specified program by calling version 0 (which is presumed not to exist; if it does exist, rpcinfo attempts to
obtain this information by calling an extremely high version number instead) and attempts to call each registered version. Note: the version
number is required for -b and -d options.
EXAMPLES
To show all of the RPC services registered on the local machine use:
example% rpcinfo -p
To show all of the RPC services registered on the machine named klaxon use:
example% rpcinfo -p klaxon
To show all machines on the local net that are running the Yellow Pages service use:
example% rpcinfo -b ypserv 'version' | uniq
where 'version' is the current Yellow Pages version obtained from the results of the -p switch above.
To delete the registration for version 1 of the walld service use:
example% rpcinfo -d walld 1
SEE ALSO
rpc(5), portmap(8)
RPC Programming Guide.
BUGS
In releases prior to SunOS 3.0, the Network File System (NFS) did not register itself with the portmapper; rpcinfo cannot be used to make RPC
calls to the NFS server on hosts running such releases.
Red Hat Linux March 9, 2001 Red Hat Linux