When I run the RSM 11.0 "Test Server", I receive the following error. Why?

ANSYS.Scripting.Process.FatalCommandException:rcp::not a plain fileServer stack trace: at ScriptDevelop.RPCCommand.apr_OnReceivedStdErrMess
The previous command failed to complete successfully: retrying in 10 seconds


Based on the "ls" output of RSM log, his "ls" output does not conform to the POSIX locale.

The environment variable LANG is overriding the default POSIX locale output. If you unset LANG from the Unix/Linux account it displays the default date and time for the command `ls `l``

However, instead of un-defining this environment, RSM can be fixed to work with this by changing this line in Operations.cs file under
C:program filesAnsys Incv110RSMConfigscripts:

CommandLineCommand command = commandFactory.CreateRemoteShellCommand( string.Format( "ls -l {0} | awk '{{OFS=""|{1}|"""; print $5, $9}}'", targetPath, randomNumber ), "" );

to

CommandLineCommand command = commandFactory.CreateRemoteShellCommand( string.Format( "ls -l {0} | awk '{{OFS=""|{1}|"""; print $5, $NF}}'", targetPath, randomNumber ), "" );





Show Form
No comments yet. Be the first to add a comment!