Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start gateone.service: Unit gateone.service failed to load: No such file or directory. #558

Open
Oniric75 opened this issue Oct 7, 2015 · 5 comments

Comments

@Oniric75
Copy link

Oniric75 commented Oct 7, 2015

Hello,

i made a standard install of gateone behind a nginx RP. it was working on a different machine a couple of month ago, but now i can't make it work ...
i tried on debian 7 & 8. same result.

i followed the install guide and here is my issue :

root@GateSSH:# python -V
Python 2.7.9
root@GateSSH:
# service gateone start
Failed to start gateone.service: Unit gateone.service failed to load: No such file or directory.
root@GateSSH:~# gateone
[I 151008 01:43:28 server:4180] Gate One License: AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html)
[I 151008 01:43:28 server:4189] Imported applications: Terminal
[I 151008 01:43:28 server:4341] Version: 1.2.0 (20150624125036)
[I 151008 01:43:28 server:4342] Tornado version 4.2.1
[I 151008 01:43:28 server:4362] Connections to this server will be allowed from the following origins: 'localhost 127.0.0.1 GateSSH.leterrier.fr GateSSH 127.0.1.1'
[I 151008 01:43:28 server:3679] No authentication method configured. All users will be ANONYMOUS
[I 151008 01:43:28 server:3760] Loaded global plugins: gateone.plugins.editor, gateone.plugins.help
[I 151008 01:43:28 server:4477] Listening on http://127.0.0.1:8888/
[I 151008 01:43:28 server:4545] Process running with pid 14518
[I 151008 01:43:58 async:514] Shutting down the MultiprocessRunner executor.
[W 151008 01:46:13 web:1908] 404 GET /gateone/ (127.0.0.1) 0.84ms

i tried to access my server but i got a 404 i don't understand why ... but the 404 could be a problem on my nginx conf, but the service won't start anyway with a gateone.service failed to load.

i took the master.zip today

@liftoff
Copy link
Owner

liftoff commented Oct 13, 2015

It sounds like Gate One didn't get fully installed. "No such file or directory" says to me that something referenced by the gateone file inside /etc/init is missing on your system. I recommend re-running "python setup.py install" and see if that fixes it.

@Minikea
Copy link

Minikea commented Oct 21, 2015

do you modify the gateone.service?
is gateone installed in /var/lib/gateone ?
where is the gateone bin?

my gateone.service for reference:

[Unit]
Description=Web-based terminal

[Service]
Type=simple
PIDFile=/tmp/gateone.pid
WorkingDirectory=/var/lib/gateone
ExecStart=/usr/bin/gateone
Restart=on-abort

[Install]
WantedBy=multi-user.target

@Oniric75
Copy link
Author

Hello sorry for the delay, i didn't change anything but i'm using debian 8 jessy. everything was working great on debian 7 but since i migrated (full reinstall so no migration issue), i got this trouble.
i will try to get the full package again from master.zip (i can't use git on this machine) and launch a python install again. i will keep you in touch.

@liftoff
Copy link
Owner

liftoff commented Oct 30, 2015

Well I haven't got Debian 8 to play with at the moment but I'll see what I can do... If you figure out that there's a change needed to the service let me know. I suspect it might have something to do with the switch from Upstart to systemd. Gate One should automatically detect systemd but if you have /etc/init still hanging around it might get confused and install the Upstart service instead.

I plan to investigate but I won't have much time until after November 1st.

@u4i-pietro
Copy link

Hello! Thank you for your work! I have installed GateOne on an Amazon machine (Ubuntu Server 16.04 LTS) and I used python3.5.2 and tornado 4.2 to run setup.py in the GateOne folder. I have the same errors, the file gateone.service simply doesn't exist. How can I fix this? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants