Skip to Content.
Sympa Menu

perfsonar-user - Re: [GN2-JRA1] SSH/Telnet MP configuration step

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [GN2-JRA1] SSH/Telnet MP configuration step


Chronological Thread 
  • From: Frederic LOUI <>
  • To:
  • Cc: Stijn Melis <>, Loukik Kudarimoti <>, 'GEANT2-JRA1' <>,
  • Subject: Re: [GN2-JRA1] SSH/Telnet MP configuration step
  • Date: Tue, 22 May 2007 14:38:26 +0200
  • Organization: GIP RENATER

Frederic LOUI a écrit :
Stijn Melis a écrit :
Hi Loukik,


I am trying to install the SSH/Telnet MP using the bundle installer I found here http://anonsvn.internet2.edu/svn/pS-download/trunk/download/bundles/perfsonar-bundle-2.0-RC1.tar.gz.

During the configuration step of the SSH/Telnet MP, I get the following error:

Available actions:
1. pre-install
2. configure
3. deploy
4. test
5. undeploy
6. enable/disable verbose
7. restart script
0. exit
Please choose a number: 2

Executing action configure...

[echo] Configuring...
[java] java.io.FileNotFoundException: ../conf/service.properties (No such file or directory)
[java] at java.io.FileOutputStream.openAppend(Native Method)
[java] at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
[java] at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
[java] at java.io.FileWriter.<init>(FileWriter.java:61)
[java] at org.perfsonar.service.measurementPoint.lookingGlassType.engine.adapters.ServicePropertiesConfigurator.doStuff(Unknown Source)
[java] at org.perfsonar.service.measurementPoint.lookingGlassType.engine.adapters.ServicePropertiesConfigurator.main(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[input] Turn on service registration to Lookup Service? (y,n)
n

BUILD SUCCESSFUL
Total time: 7 seconds


I tried the installation directly from the ant dir in the SSH/Telnet dir, and everything works fine, so I guess there is a bug in the bundle installer.

Regards,

Stijn


Hi everyone,

I confirm that I have the same issue...
At the end of the installation process, I got a message saying that "Apparently the installation was successful"
But when I want to run the step 4, the test supplied by the installer failed.

I tried installation using the service packege from ant directory and it was OK.

To finalize the test:
* I registered 1 equipment
* For this equipment, one command: "show ip bgp summary" with no parameters.

From the JAVA Looking Glass client software g, I manage:
* To contact the TELNET/SSH MP
* To list the equipement I registered
* To see the "show ip bgp summary" command

But when I click on the Query button, no result is retrieved and I got a time-out message. (Here attached to this mail)
I look into the service log folder but no clue telling us what's going on:

loui@SCRIPTS1:~ % cd perfsonar-bundle-2.0-RC1/webapps/JAVA-SSHTELNET-MP-1.0/WEB-INF/logs
loui@SCRIPTS1:JAVA-SSHTELNET-MP-1.0/WEB-INF/logs % ls 14:13
perfsonar_debug.log
loui@SCRIPTS1:JAVA-SSHTELNET-MP-1.0/WEB-INF/logs % tail -f perfsonar_debug.log
2007-05-22 14:11:58,603 DEBUG - Request.execute: run Service Engine for extracted request
2007-05-22 14:11:58,603 DEBUG - NUMBER OF BLOCKs: 1
2007-05-22 14:11:58,603 DEBUG - [CiscoSshIpAdapter] Constructor started
2007-05-22 14:11:58,603 DEBUG - [CiscoSshIpAdapter] Constructor finished
2007-05-22 14:11:58,604 DEBUG - [CiscoSshIpv6Adapter] Constructor started
2007-05-22 14:11:58,604 DEBUG - [CiscoSshIpv6Adapter] Constructor finished
2007-05-22 14:11:58,622 DEBUG - [CiscoSshStatusAdapter] Constructor started
2007-05-22 14:11:58,622 DEBUG - [CiscoSshStatusAdapter] Constructor finished
2007-05-22 14:11:58,622 DEBUG - [CiscoSshBgpAdapter] Constructor started
2007-05-22 14:11:58,622 DEBUG - [CiscoSshBgpAdapter] Constructor finished

In addition when I log into the equipment, I can't see any SSH session previously spawned
except the one I used to connect the equuipment

Any explanation ?

Thanks in advance for your help.
Bgrds/Frederic

Same mail with the screenshot.
In addition, I can't see any socket with port destination 22 (SSH)
in the NMS where resides the TELNET/SSH MP service:

loui@SCRIPTS1:~ % netstat -a | grep nantes 14:25
loui@SCRIPTS1:~ %
And no connection from the router itself:
...
nantes#sh users
Line User Host(s) Idle Location
* 2 vty 0 loui idle 00:00:00 scripts1.renater.fr
...

Thanks
Bgrds/Frederic

--
Frederic LOUI / GIP RENATER

Service de Suivi Operationnel / Metrologie & QoS
Network Operations Service / Metrology & QoS

Tel: +33 1 53 94 20 40 / Fax: +33 1 53 94 20 31
http://www.renater.fr

JPEG image




Archive powered by MHonArc 2.6.16.

Top of Page