我正在尝试运行一台Arma 3专用服务器,但在启动时,它说缺少steam.sh。我已经对.steam目录做了适当的清除和删除,reran,它仍然缺失。我还重新安装了Arma 3专用服务器,但仍然得到了相同的错误。
~/arma3$ /home/steam/arma3/arma3master/arma3server -name=server1 -profiles=/home/steam/arma3/arma3profiles
0:39:34 No product.bin found, using defaults for a core engine.
sh: 1: /home/steam/.steam/steam.sh: not found
0:39:34 Unable to locate a running instance of Steam. Restarting...
ErrorMessage: Unable to locate a running instance of Steam
Application terminated intentionally
0:39:34 ../lib/Network/networkServer.cpp ClearNetServer:NOT IMPLEMENTED - briefing!
Unable to locate a running instance of Steam
0:39:34 Extensions:下面是我对ls目录执行.steam时所显示的内容
~/.steam$ ls
SteamApps appcache config logs registry.vdf root ssfn6918091982445337148 steam steam.pid steam.pipe steamcmd ubuntu12_32 userdata我还试着开着它开着蒸汽,却没能启动。不确定是否相关。
~$ steam
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2019-06-30 00:41:25] Startup - updater built Nov 23 2016 01:05:42
../steamexe/updateui_xwin.cpp (339) : Assertion Failed: Could not open connection to X
../steamexe/main.cpp (525) : Assertion Failed: failed to initialize update status ui, or create initial window
sh: 1: /home/steam/.steam/steam_msg.sh: not found我的Ubuntu版本信息:
Distributor ID: Ubuntu 描述:Ubuntu18.04.2LTS发布: 18.04 代码名:仿生
发布于 2019-06-30 07:37:23
这个问题是因为没有在arma3master所在的Arma 3专用服务器文件夹中。尽管使用绝对路径运行可执行文件,但仍然需要在可执行文件所在的文件夹中。
解决方案是将目录更改为可执行文件夹。
$ cd /home/steam/arma3/arma3master/
$ /home/steam/arma3/arma3master/arma3server -name=server1 -profiles=/home/steam/arma3/arma3profiles
15:12:31 SteamAPI initialization failed. Steam features won't be accessible!
15:12:31 Initializing stats manager.
15:12:31 Stats config disabled.
15:12:31 sessionID: 48e7e271bbb26c6d5aea043682c0101f9e0b6f61
15:12:37 Updating base class RscShortcutButton->RscButton, by a3\editor_f\config.bin/RscDisplayEditObject/Controls/B_OK/ (original bin\config.bin)
# ...https://askubuntu.com/questions/1154939
复制相似问题