Failed to connect to bus: No such file or directory #6

開放中
建立於 2018-08-23 20:13:07 +00:00josh · 9 comment
Collaborator

uname -a gives Linux cityofardon 4.4.88-mainline-rev1 #1 SMP Wed Sep 13 23:49:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

curl -fsSL https://get.telebit.cloud | bash returns:


Installing Telebit Remote to '/home/josh/Applications/telebit'
........Failed to connect to bus: No such file or directory

I theorize that it might have to do with Systemd but I don't know.

`uname -a` gives `Linux cityofardon 4.4.88-mainline-rev1 #1 SMP Wed Sep 13 23:49:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux` `curl -fsSL https://get.telebit.cloud | bash` returns: ``` Installing Telebit Remote to '/home/josh/Applications/telebit' ........Failed to connect to bus: No such file or directory ``` I theorize that it might have to do with Systemd but I don't know.
擁有者

It does expect systemd to be available to the user.

What’s cat /etc/issue?

What system and version and hardware are you on?

There’s a good chance that that step is one of the last, after installation is complete. Can you still run ./telebit init?

It does expect systemd to be available to the user. What’s `cat /etc/issue`? What system and version and hardware are you on? There’s a good chance that that step is one of the last, after installation is complete. Can you still run `./telebit init`?
擁有者

It does expect systemd to be available to the user.

What’s cat /etc/issue?

What system and version and hardware are you on?

There’s a good chance that that step is one of the last, after installation is complete. Can you still run ./telebit init?

It does expect systemd to be available to the user. What’s `cat /etc/issue`? What system and version and hardware are you on? There’s a good chance that that step is one of the last, after installation is complete. Can you still run `./telebit init`?
作者
Collaborator

cat /etc/issue Ubuntu 16.04.3 LTS \n \l

Ubuntu Server 16.04.3 It's a VPS.. I'll have to wait for a non-blocked wifi to try on my laptop or figure out a way to do a system-wide SSH tunnel (SOCKS proxy). I'm at the library and they block some of the requests in the installation process, which is why I'm using the VPS.

cd ~/Applications/telebit/bin
./telebit init

Gives:

telebit remote v0.19.28 (--config "/home/josh/.config/telebit/telebit.yml")
/home/josh/Applications/telebit/bin/telebit.js:673
  var verstr = [ pkg.name + ' daemon v' + state.config.version ];
                                                       ^

TypeError: Cannot read property 'version' of undefined
    at handleConfig (/home/josh/Applications/telebit/bin/telebit.js:673:56)
    at /home/josh/Applications/telebit/bin/telebit.js:386:22
    at /home/josh/Applications/telebit/usr/share/install-launcher.js:236:24
    at ChildProcess.exithandler (child_process.js:298:5)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:961:16)
    at Socket.stream.socket.on (internal/child_process.js:380:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close (net.js:598:12)

SystemD seems to be working fine, I can start, stop and restart processes.

`cat /etc/issue` `Ubuntu 16.04.3 LTS \n \l` `Ubuntu Server 16.04.3` It's a VPS.. I'll have to wait for a non-blocked wifi to try on my laptop or figure out a way to do a system-wide SSH tunnel (SOCKS proxy). I'm at the library and they block some of the requests in the installation process, which is why I'm using the VPS. ``` cd ~/Applications/telebit/bin ./telebit init ``` Gives: ``` telebit remote v0.19.28 (--config "/home/josh/.config/telebit/telebit.yml") /home/josh/Applications/telebit/bin/telebit.js:673 var verstr = [ pkg.name + ' daemon v' + state.config.version ]; ^ TypeError: Cannot read property 'version' of undefined at handleConfig (/home/josh/Applications/telebit/bin/telebit.js:673:56) at /home/josh/Applications/telebit/bin/telebit.js:386:22 at /home/josh/Applications/telebit/usr/share/install-launcher.js:236:24 at ChildProcess.exithandler (child_process.js:298:5) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:961:16) at Socket.stream.socket.on (internal/child_process.js:380:11) at Socket.emit (events.js:182:13) at Pipe._handle.close (net.js:598:12) ``` SystemD seems to be working fine, I can start, stop and restart processes.
作者
Collaborator

*services not processes.

*services not processes.
作者
Collaborator

This is only present on the one machine.

This is only present on the one machine.
josh 關閉了這個問題 2018-09-11 19:19:01 +00:00
擁有者

This is the solution

sudo apt-get install libpam-systemd
sudo reboot

And then

systemctl --user enable telebit.service
systemctl --user restart telebit.service

found in

.config/systemd/user/telebit.service
This is the solution ```bash sudo apt-get install libpam-systemd sudo reboot ``` And then ``` systemctl --user enable telebit.service systemctl --user restart telebit.service ``` found in ``` .config/systemd/user/telebit.service ```
作者
Collaborator

Cool. Thank you. I'll have to try that tomorrow.

Cool. Thank you. I'll have to try that tomorrow.
作者
Collaborator

It works!

It works!
擁有者

Reopening because the install should complete successfully and prompt the user to install the dependency rather than be left in a non-usable state.

Reopening because the install should complete successfully and prompt the user to install the dependency rather than be left in a non-usable state.
coolaj86 重新開放了這個問題 2018-11-20 23:39:16 +00:00
登入 才能加入這對話。
2 參與者
通知
截止日期
未設定截止日期。
先決條件

未設定先決條件。

參考: coolaj86/telebit.js#6
No description provided.