[eq-dev] ssh with an "-l " option

nkwei nkwei at 139.com
Mon Mar 30 02:36:20 CEST 2009


Hi Stefan, 


Hello,

On 28. Mar 2009, at 7:31, nkwei (via Nabble) wrote:

> but the eqserver show errors as below:
>
> ----------------------------------
> 628 19481328 ..\lib\net\connectionDescription.cpp:170 Could not  
> parse connection
>  description: ssh

Without looking further into it, my guess is that the parsing of the  
command line parameters on the render client fails due to command  
argument quoting. On Windows there is no convention on how to quote  
command arguments which contain white space. Your best be is to debug  
the parsing in ConnectionDescription::fromString to see why it is  
failing. Alternatively you might resolve the error by trial-and-error  
with the launch command and launch command quotes.


HTH,

Stefan.




Thanks for your reply. I've tried to set a break point at line 170 in ..\lib\net\connectionDescription.cpp and debug it with vs2005sp1. I found that during the executation it step into ConnectionDescription::fromString once, but didn't run to line 170, and the " :170 Could not parse connection  description: ssh" message was not showed this time. So I steped over it and continue to run, after seconds the message showed, but it did'nt step into ConnectionDescription::fromString. I assumed that the message might be printed by another process spawned by the main process. Is it right? I still could not solve this problem by now. Could you tell me how to run eqply with multi-nodes config in Win-xp (not in Cygwin)? Which ssh server and ssh client are you using? Thanks very mush.

The entire message eqServer printed out was:

3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\client\init.cpp:29 3.266 Equalizer v0.6 initializing
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\init.cpp:33 3.436 Log level INFO topics 0
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:93 4.792 New Node @00AE8008 2c0fc3e7-6f12-4126-8700-0e77e8dcd705
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\client\client.cpp:39  5.03 New client at 00AE8008
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:150 5.163 args: E:/cpp_prj/Equalizer/src/trunk/build/vs2005/win32/debug/eqPly.exe, --, --eq-client, 421c7393-115f-4ec5-a0cf-5c8d8da64bfc#1#TCPIP#0#ssh, -n, -l, id_rsa, %h, %c#34#60000#localhost#0#3#E:/cpp_prj/Equalizer/src/trunk/build/vs2005/win32/debug#421c7393-115f-4ec5-a0cf-5c8d8da64bfc#256#e47eff28-668d-48ee-9ae0-10d78c724d60#1#TCPIP#0#ssh, -n, -l, id_rsa, %h, %c#34#60000#localhost#4242#, 
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:574   5.7 Node data: 421c7393-115f-4ec5-a0cf-5c8d8da64bfc#1#TCPIP#0#ssh
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\connectiondescription.cpp:170 5.892 Could not parse connection description: ssh
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:613 6.029 Error during node connection data parsing
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:192 6.165 Failed to parse client listen port parameters
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:209 6.422 Listener data: 421c7393-115f-4ec5-a0cf-5c8d8da64bfc#1#TCPIP#0##39#10000##0#
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\socketconnection.cpp:107 7.396 Address 0.0.0.0:0
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\socketconnection.cpp:152  7.57 Bound to port 3073
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\socketconnection.cpp:199 10.26 Listening on hp-sss[0.0.0.0]:3073 (TCPIP#0##39#10000#hp-sss#3073#)
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:265 10.64 node 421c7393-115f-4ec5-a0cf-5c8d8da64bfc listening.
3796 21120384 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:121 10.73 Thread successfully initialized
3796 21120136 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:121  10.6 Thread successfully initialized
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:219  10.8 Client node started from command line with option ssh
3796 21120384 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:641 11.07 Entered receiver thread of class eqPly::EqPly
3796 21120136 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:900  11.1 Entered command thread of class eqPly::EqPly
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:1698 11.02 Could not parse request identifier: ssh
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:224 11.31 Exit node process 4
3796 21120136 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:966 11.49 Cmd stop node 421c7393-115f-4ec5-a0cf-5c8d8da64bfc
3796 21120384 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:720 11.76 Leaving receiver thread of class eqPly::EqPly
3796 21120136 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:926 11.76 Leaving command thread of class eqPly::EqPly
3796 21120384 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:127 12.01 Thread finished with result 00000000
3796 21120136 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:127 12.02 Thread finished with result 00000000
3796 21120384 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:208 12.15 Exiting thread
3796 21120136 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:208 12.16 Exiting thread
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\connectionset.cpp:62 12.45 FD set modified, restarting select
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\net\node.cpp:282 12.77 0 connections open after stopListening
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:295 13.07 3 thread listeners active
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:299 13.22     class eq::base::PerThread<class eq::base::Log>
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:299 13.39     class eq::base::PerThread<class eq::`anonymous namespace'::ResultImage>
3796 21119512 e:\cpp_prj\equalizer\src\trunk\lib\base\thread.cpp:299 13.58     class eq::base::PerThread<class eq::`anonymous namespace'::HandlerMap>

-- 
View this message in context: http://n2.nabble.com/ssh-with-an-%22-l-%22-option-tp2548242p2554884.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.




More information about the eq-dev mailing list