Hello all,
As i said , i can ssh into both the virtual IP's (B&C) from the host A but only as a user not as a root. For example , i can do like this ,
sougata@sougata-desktop:~ ssh <ip B> -l sougata and it gets logged instantly but the moment i try to do like below -
sougata@sougata-desktop:~ ssh <ip B> -l root , it ask's for a password.
root@ip B:<> , and no matter how many times i give the root password for the machine A, as both the IP's B and C are virtual IP's on this host A , it doesn't take it. And after 3 times it get's out like this way below -
sougata@sougata-desktop:~ ssh <ip B> -l root
root@ip B's password:
Permission Denied
root@ip B's password:
Permission denied (publickey,password)
I can't even run the ./prepare.sh script as root as everytime i get this password asking.
So when i am running from user sougata like below , i am getting permission denied error like below ,
sougata@sougata-desktop:~/ims_bench/ims_bench_0$ ./prepare.sh
Preparing TS1 (ip B) ...
scp: /usr/local/sipp/ims_users_1.inf: Permission denied
scp: /usr/local/sipp/run_1.sh: Permission denied
scp: /usr/local/sipp/sipp: Permission denied
Error: Failed to prepare TS1
And when i am trying to run from root ,
root@sougata-desktop:~/ims_bench/ims_bench_0$ ./prepare.sh
Preparing TS1 (ip B) ...
root@ip B's password:
And that permission deny error and am getting out after 3 times.
Now what i am understanding from this error analysis(CORRECT ME IF I AM WRONG) is that, only if i can ssh to both the virtual IP's B and C from host A as ROOT , only in that scenario i can run the .prepare.sh script along with necessary permissions.
Now how to do this as i can only ssh as user but not as root. Trying so many times but failing everytime
(.
Btw , when i do ls -l , i see -
sougata@sougata-desktop:~/ims_bench$ ls -l
total 3776
-rw-r--r-- 1 root root 24430 2010-10-11 17:43 actions.cpp
-rw-r--r-- 1 root root 8743 2010-10-11 17:43 actions.hpp
-rw-r--r-- 1 root root 78232 2010-11-12 18:59 actions.o
-rw-r--r-- 1 root root 4930 2010-10-11 17:43 asyncevent.cpp
-rw-r--r-- 1 root root 2222 2010-10-11 17:43 asyncevent.hpp
-rw-r--r-- 1 root root 9188 2010-11-12 18:59 asyncevent.o
-rw-r--r-- 1 root root 18220 2010-10-11 17:43 auth.cpp
-rw-r--r-- 1 root root 12408 2010-11-12 18:59 auth.o
-rw-r--r-- 1 root root 139550 2010-11-12 18:37 call.cpp
-rw-r--r-- 1 root root 139522 2010-10-11 17:43 call.cpp~
-rw-r--r-- 1 root root 14764 2010-10-11 17:43 call.hpp
-rw-r--r-- 1 root root 195176 2010-11-12 18:59 call.o
-rw-r--r-- 1 root root 1619 2010-10-11 17:43 comp.cpp
-rw-r--r-- 1 root root 1706 2010-10-11 17:43 comp.h
-rw-r--r-- 1 root root 1808 2010-11-12 18:59 comp.o
-rw-r--r-- 1 root root 151 2010-10-11 17:43 convunix.sh
-rw-r--r-- 1 root root 13237 2010-10-11 17:43 cpumem.cpp
-rw-r--r-- 1 root root 14255 2010-10-11 17:43 csocket.cpp
-rw-r--r-- 1 root root 3787 2010-10-11 17:43 csocket.hpp
-rw-r--r-- 1 root root 26092 2010-11-12 18:59 csocket.o
-rw-r--r-- 1 root root 3511 2010-11-12 18:47 except.cpp
-rw-r--r-- 1 root root 3511 2010-11-12 18:46 except.cpp~
-rw-r--r-- 1 root root 6273 2010-10-11 17:43 except.hpp
-rw-r--r-- 1 root root 15900 2010-11-12 18:59 except.o
drwxrwxrwx 2 root root 4096 2010-12-14 17:14 ims_bench_0
-rw-r--r-- 1 root root 16959 2010-10-11 17:43 LICENSE.txt
-rw-r--r-- 1 root root 149 2010-10-11 17:43 local.mk
-rw-r--r-- 1 root root 9177 2010-10-11 17:43 Makefile
-rwxr-xr-x 1 root root 133992 2010-11-12 19:00 mana
Regards to all ,
Sougata