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

Open
opened 2018-08-23 20:13:07 +00:00 by josh · 9 comments
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.
Owner

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`?
Owner

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`?
Author
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.
Author
Collaborator

*services not processes.

*services not processes.
Author
Collaborator

This is only present on the one machine.

This is only present on the one machine.
josh closed this issue 2018-09-11 19:19:01 +00:00
Owner

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 ```
Author
Collaborator

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

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

It works!

It works!
Owner

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 reopened this issue 2018-11-20 23:39:16 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coolaj86/telebit.js#6
No description provided.