GateOne icon indicating copy to clipboard operation
GateOne copied to clipboard

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

Open Oniric75 opened this issue 10 years ago • 5 comments

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

Oniric75 avatar Oct 07 '15 21:10 Oniric75

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.

liftoff avatar Oct 13 '15 15:10 liftoff

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

Minikea avatar Oct 21 '15 12:10 Minikea

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.

Oniric75 avatar Oct 29 '15 16:10 Oniric75

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.

liftoff avatar Oct 30 '15 00:10 liftoff

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!

u4i-pietro avatar Apr 05 '19 08:04 u4i-pietro