First time here? Check out the FAQ!
0

The remote agent could not be installed

I'm trying to configure a remote project between a client (mac sierra) and a remote server (linux 16.04). I have ssh key connection between the system that works from the terminal.

In the process of installing the remote agent I get:

The remote agent could not be installed on host id lxhome2. Failed to create /usr/lib/wingide6/wingdebugpw. 

Output received:

ls: cannot access '/usr/lib/wingide6/wingdebugpw': no such file or directory,

Please advise,

Thanks, Avishai

Avishai Bartov's avatar
1
Avishai Bartov
asked 2017-10-01 13:15:00 -0600
Wingware Support's avatar
4k
Wingware Support
updated 2019-03-13 10:09:36 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

3 Answers

0

Thanks for the quick response,I have submitted a bug report

Avishai Bartov's avatar
1
Avishai Bartov
answered 2017-10-26 00:36:00 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Hi,

Trying to install on another remote host. This time I'm using VPN to the site and do ssh from there.

Host: Ubuntu 14.04.

When installing the remote agent I get:

"The remote agent could not be installed on host id XXLinux. Timed out. No output was received"

Please advise,

Thanks

Avishai Bartov's avatar
1
Avishai Bartov
answered 2017-10-25 09:30:00 -0600
Wingware Admin's avatar
231
Wingware Admin
updated 2019-03-07 07:51:36 -0600
edit flag offensive 0 remove flag delete link

Comments

My guess is ssh setup isn't working right or remote host config is wrong.  Can you send us a bug report from the Help menu with the error log included?  The above doesn't tell me much...

Wingware Support's avatar Wingware Support (2017-10-25 17:25:00 -0600) edit
add a comment see more comments
0

You do not want to use /usr/lib/wingide6 as WINGHOME.  Instead, use some other directory that the user on the remote host can write to.  In this case, the problem is that Wing is trying to write additional files to WINGHOME and fails to do that.  The directory you choose for the remote WINGHOME should not exist, or should be empty, but the parent directory does need to exist.  For example, if /home/myuser is the home directory of the user you are sshing in as, /home/myuser/winghome would work fine.We'll try to clarify that WINGHOME should no longer be a Wing install, or more likely will just automate this.  Earlier in the design of this system is was OK to use the Wing install directory on the remote host but it no longer works.  Thanks for pointing out that potential source of confusion!

Wingware Support's avatar
4k
Wingware Support
answered 2017-10-01 20:00:00 -0600
Wingware Admin's avatar
231
Wingware Admin
updated 2019-03-07 07:52:10 -0600
edit flag offensive 0 remove flag delete link

Comments

Hi,Thanks for the quick response,I have changed the winghome folder as suggested. It seems like the agent installation passed (I can see the new folder and files). However, I get that:Connecting to host id lxhome failed. Please check your configuration. Output received:OpenSSH_7.4p1, LibreSSL 2.5.0 debug1: Reading configuration data /Users/avishai/.ssh/config debug1: /Users/avishai/.ssh/config line 6: Applying options for 10.0.0.60 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 10.0.0.60 [10.0.0.60] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /Users/avishai/.ssh/lxhome type 1 debug1: key_load_public: No such file or directory debug1: identity file /Users/avishai/.ssh/lxhome-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.4 debug1: Remote protocol version 2.0, remote software version ... (more)

Avishai Bartov's avatar Avishai Bartov (2017-10-02 05:53:00 -0600) edit

Exit code 126 is the bash error code for a command that was found but couldn't be executed.  Wing is trying to run the Python you've listed in Python Executable in your remote agent.  What is that set to and can you run it manually as the same user on the remote host?

Wingware Support's avatar Wingware Support (2017-10-02 08:34:00 -0600) edit

Thanks! that was the problem.Thank again for the super fast and effective support,Avishai

Avishai Bartov's avatar Avishai Bartov (2017-10-02 09:17:00 -0600) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer