标题:vscode ssh连接进行python开发,vscode服务启动失败
取消只看楼主
zhouxiaoshu
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2023-3-21
结帖率:0
已结贴  问题点数:20 回复次数:0 
vscode ssh连接进行python开发,vscode服务启动失败
突然ssh链接失败,重装,删除配置文件都不管用。
错误如下
求助大神救救孩子的毕设吧
程序代码:

 
[18:14:38.147] > zhouxiaoshu@172.20.10.13's password: 
[18:14:43.179] > 
[18:14:43.679] > 08d440dfccd5: running
[18:14:43.738] > Acquiring lock on /run/user/1000/vscode-remote-lock.zhouxiaoshu.ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
[18:14:43.758] > Found existing installation at /home/zhouxiaoshu/.vscode-server/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884...
> Checking /home/zhouxiaoshu/.vscode-server/.ee2b180d582a7f601fa6ecfdad8d9fd269ab1884.log and /home/zhouxiaoshu/.vscode-server/.ee2b
> 180d582a7f601fa6ecfdad8d9fd269ab1884.pid for a running server
[18:14:43.774] > Looking for server with pid: 19494
[18:14:43.793] > Running ssh connection command... /home/zhouxiaoshu/.vscode-server/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/code-server --
> start-server --host=127.0.0.1 --accept-server-license-terms --enable-remote-auto-shutdown --port=0 --telemetry-level all   &> "/ho
> me/zhouxiaoshu/.vscode-server/.ee2b180d582a7f601fa6ecfdad8d9fd269ab1884.log" < /dev/null
> printenv:
[18:14:43.813] >     SHELL=/bin/bash
>     LANGUAGE=zh_CN.UTF-8
>     PWD=/home/zhouxiaoshu
>     LOGNAME=zhouxiaoshu
>     XDG_SESSION_TYPE=tty
>     MOTD_SHOWN=pam
>     HOME=/home/zhouxiaoshu
>     LANG=zh_CN.UTF-8
>     VSCODE_AGENT_FOLDER=/home/zhouxiaoshu/.vscode-server 
>     SSH_CONNECTION=172.20.10.11 52811 172.20.10.13 22    
>     XDG_SESSION_CLASS=user
>     USER=zhouxiaoshu
>     SHLVL=0
>     XDG_SESSION_ID=10
>     XDG_RUNTIME_DIR=/run/user/1000
>     SSH_CLIENT=172.20.10.11 52811 22
>     LC_ALL=zh_CN.UTF-8
>     PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
>     DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
>     _=/usr/bin/printenv
> Removing old logfile at /home/zhouxiaoshu/.vscode-server/.ee2b180d582a7f601fa6ecfdad8d9fd269ab1884.log
[18:14:43.828] > 
> Spawned remote server: 8059
> Waiting for server log...
[18:14:43.838] > 
.
.
.
.
.
[18:14:43.865] > Waiting for server log...
[18:14:58.317] > Waiting for server log...
[18:14:58.363] > Waiting for server log...
[18:14:58.406] >  
> *
> * Visual Studio Code Server
> *
> * By using the software, you agree to
> * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
> * the Microsoft Privacy Statement (https://privacy.).
> *
> 
[18:14:58.422] > 
[18:14:58.436] > Server did not start successfully. Full server log at /home/zhouxiaoshu/.vscode-server/.ee2b180d582a7f601fa6ecfdad8d9fd269ab1884.l
> og >>>
[18:14:58.450] > /home/zhouxiaoshu/.vscode-server/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/code-server: 12: /home/zhouxiaoshu/.vscode-serve
> r/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/node: Exec format error
> <<< End of server log
> 08d440dfccd5: start
> exitCode==32==
> listeningOn====
> osReleaseId==raspbian==
> arch==aarch64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> extInstallTime====
[18:14:58.458] > serverStartTime==14603==
> 08d440dfccd5: end
[18:14:58.459] Received install output: 
exitCode==32==
listeningOn====
osReleaseId==raspbian==
arch==aarch64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime==14603==

[18:14:58.461] Resolver error: Error: The VS Code Server failed to start
    at m.ServerInstallError (c:\Users\agent lv\.vscode\extensions\ms-vscode-remote.remote-ssh-0.98.0\out\extension.js:1:584322)
    at f (c:\Users\agent lv\.vscode\extensions\ms-vscode-remote.remote-ssh-0.98.0\out\extension.js:1:578379)
    at t.handleInstallOutput (c:\Users\agent lv\.vscode\extensions\ms-vscode-remote.remote-ssh-0.98.0\out\extension.js:1:581404)
    at t.tryInstall (c:\Users\agent lv\.vscode\extensions\ms-vscode-remote.remote-ssh-0.98.0\out\extension.js:1:681793)
    at async c:\Users\agent lv\.vscode\extensions\ms-vscode-remote.remote-ssh-0.98.0\out\extension.js:1:644041
    at async t.withShowDetailsEvent (c:\Users\agent lv\.vscode\extensions\ms-vscode-remote.remote-ssh-0.98.0\out\extension.js:1:647359)
    at async t.resolve (c:\Users\agent lv\.vscode\extensions\ms-vscode-remote.remote-ssh-0.98.0\out\extension.js:1:645091)
    at async c:\Users\agent lv\.vscode\extensions\ms-vscode-remote.remote-ssh-0.98.0\out\extension.js:1:720839
[18:14:58.469] ------




[18:14:58.661] > 
[18:14:59.749] "install" terminal command done
[18:14:59.749] Install terminal quit with output: 

搜索更多相关主题的帖子: bin home vscode server out 
2023-03-21 18:27



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-511628-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.072428 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved