03-29-2012
does it run separately . if its running then whats the error that you are getting during combined run ??
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hey gents,
I'm working on something that will use snmpwalk to query the devices on my network and retreive the device name, device IP, device model and device serial. I'm using Nmap for the enumeration and sed to clean up the results for use by snmpwalk. Once i get all the data organized I'm... (8 Replies)
Discussion started by: mitch
8 Replies
2. Shell Programming and Scripting
I have the following data file.
zz=aa azxc-1234 aa=aa
zz=bb azxc-1234 bb=bb
zz=cc azxc-1234 cc=cc
zz=dd azxc-2345 dd=dd
zz=ee azxc-2345 ee=ee
zz=ff azxc-3456 ff=ff
zz=gg azxc-4567 gg=gg
zz=hh azxc-4567 hh=hh
zz=ii azxc-4567 ii=ii
I want to make 2nd field pattern matching multiple lines... (13 Replies)
Discussion started by: VTAWKVT
13 Replies
3. Shell Programming and Scripting
I have 5 hosts and each host as 3 java process .I have one machine which has ssh keys so it can login without any passwords etc to all the machines.
How can I find out say jstack or some command so it goes to each machine and run the command . For example machine 1 has 3 java process and they... (2 Replies)
Discussion started by: gubbu
2 Replies
4. Shell Programming and Scripting
Hi,
I would like to write a script with include more than 6 unix commands.
my script like below:
echo " script started"
ls -ld
bdf | grep "rama"
tail -10 log.txt
...
..
...
now, i want to run above unix commands one by one.
example:
first the ls -ld command will be... (3 Replies)
Discussion started by: koti_rama
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I will use below command for grep single string ("osuser" is search string)
ex: find . -type f | xarg grep -il osuser
but i have one more string "v$session"
here i want to grep in which file these two strings are present.
any help is appreciated,
Thanks in advance.
Gagan (2 Replies)
Discussion started by: gagan4599
2 Replies
6. Shell Programming and Scripting
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
Discussion started by: Bhuvaneswari
1 Replies
7. Shell Programming and Scripting
Hi All,
I have two scripts which i want to run in a single command line(or in a single script). And if both the scripts in the main script fail then i want to pass a value to a Application specific utility which will trigger some alert.The value can be anything. Somebody please help.It is... (1 Reply)
Discussion started by: shroh
1 Replies
8. UNIX for Dummies Questions & Answers
Normally i would do this-
cd abc
ls -ltr
I wish to run above command in a single line, like this-
cd abc | ls -ltr
But above command doesn't works, it simply runs the second command, ignoring the 1st one.
:confused: (4 Replies)
Discussion started by: boy18nj
4 Replies
9. Shell Programming and Scripting
Hi all,
I have a single line output like below
echo $ips
10.26.208.28 10.26.208.26 10.26.208.27
want to convert above single line output as below format. Pls advice how to do ?
10.26.208.28
10.26.208.26
10.26.208.27
Regards
Kannan (6 Replies)
Discussion started by: kamauv234
6 Replies
10. Shell Programming and Scripting
here is what i want to achieve.. i have a file with below contents
cat fileName
blah blah blah
.
.DROP this
REJECT that
.
--sport 7800 -j REJECT --reject-with icmp-port-unreachable
--dport 7800 -j REJECT --reject-with icmp-port-unreachable
.
.
.
more blah blah blah
--dport 3306... (14 Replies)
Discussion started by: vivek d r
14 Replies
LEARN ABOUT CENTOS
ipa-replica-conncheck
ipa-replica-conncheck(1) IPA Manual Pages ipa-replica-conncheck(1)
NAME
ipa-replica-conncheck - Check a replica-master network connection before installation
SYNOPSIS
ipa-replica-conncheck [OPTION]...
DESCRIPTION
When an IPA replica is being installed a network connection between a replica machine and a replicated IPA master machine has to be pre-
pared for master-replica communication. In case of a flawed connection the installation may fail with inconvenient error messages. A common
connection problem is a misconfigured firewall with closed required port on a replica or master machine.
The connection is checked by running a set of tests from both master and replica machines. The program is incorporated to
ipa-replica-install(1) but can be also run separately.
OPTIONS
REPLICA MACHINE OPTIONS
This set of options is used when the connection check is run on a prepared IPA replica machine.
-m MASTER, --master=MASTER
Remote master machine address
-a, --auto-master-check
Automatically log in to master machine and execute the master machine part of the connection check. The following options for
replica part are only evaluated when this option is set
-r REALM, --realm=REALM
The Kerberos realm name for the IPA server
-k KDC, --kdc=KDC
KDC server address. Defaults t MASTER
-p PRINCIPAL, --principal=PRINCIPAL
Authorized Kerberos principal to use to log in to master machine. Defaults to admin
-w PASSWORD, --password=PASSWORD
Password for given principal. The password will be prompted interactively when this option is missing
MASTER MACHINE OPTIONS
This set of options is used when the connection check is run on a master machine against a running ipa-replica-conncheck(1) on a replica
machine.
-R REPLICA, --replica=REPLICA
Remote replica machine address
COMMON OPTIONS
-c, --check-ca
Include in a check also a set of dogtag connection requirements. Only needed when the master was installed with Dogtag 9 or lower.
-h HOSTNAME, --hostname=HOSTNAME
The hostname of this server (FQDN). By default a nodename from uname(2) is used
-d, --debug
Print debugging information
-q, --quiet
Output only errors
EXAMPLES
ipa-replica-conncheck -m master.example.com
Run a replica machine connection check against a remote master master.example.com. If the connection to the remote master machine is
successful the program will switch to listening mode and prompt for running the master machine part. The second part check the con-
nection from master to replica.
ipa-replica-conncheck -R replica.example.com
Run a master machine connection check part. This is either run automatically by replica part of the connection check program (when
-a option is set) or manually by the user. A running ipa-replica-conncheck(1) in a listening mode must be already running on a
replica machine.
ipa-replica-conncheck -m master.example.com -a -r EXAMPLE.COM -w password
Run a replica-master connection check. In case of a success switch to listening mode, automatically log to master.example.com in a
realm EXAMPLE.COM with a password password and run the second part of the connection check.
EXIT STATUS
0 if the connection check was successful
1 if an error occurred
SEE ALSO
ipa-replica-install(1)
IPA
Jun 2 2011 ipa-replica-conncheck(1)