liftoff/GateOne

An error was encountered trying to listen on...

Closed this issue · 1 comments

Good day,

Wondering if you could help me out. I installed GateOne with python setup.py install. When running gateone I get the below message:

root@screen:~/GateOne # gateone --logging=debug
[W 170224 07:20:15 app_terminal:2806] dtach command not found.  dtach support has been disabled.
[I 170224 07:20:16 server:4179] Gate One License: AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html)
[I 170224 07:20:16 server:4188] Imported applications: Terminal
[I 170224 07:20:16 server:4340] Version: 1.2.0 (20160618135724)
[I 170224 07:20:16 server:4341] Tornado version 4.4.2
[I 170224 07:20:16 server:4361] Connections to this server will be allowed from the following origins: '172.16.1.26 localhost 127.0.0.1 screen'
[W 170224 07:20:16 server:4391] Logging is set to DEBUG.  Be aware that this will record the keystrokes of all users.  Don't be evil!
[I 170224 07:20:16 server:3678] No authentication method configured. All users will be ANONYMOUS
[I 170224 07:20:16 server:3759] Loaded global plugins: gateone.plugins.editor, gateone.plugins.help
[I 170224 07:20:16 server:4477] Listening on https://172.16.1.26:443/
[I 170224 07:20:16 server:4477] Listening on https://127.0.6.1:443/
[E 170224 07:20:16 server:4567] An error was encountered trying to listen on 172.16.1.26;127.0.6.1:443...
[E 170224 07:20:16 server:4568] Exception was: (2, 'No such file or directory')
[I 170224 07:20:16 server:4575] Clearing cache_dir: /tmp/gateone_cache
[I 170224 07:20:16 server:4578] pid file removed.
[D 170224 07:20:16 server:632] Killing all sessions...
root@screen:~/GateOne #

OS is FreeBSD 10.3, GateOne is installed in a jail.
Any information that can help me would be greatly appreciated.

Reinstalled the jail and got everything up.
There was however a small issue that I believe might need to be addressed for FreeBSD users.
When launching gateone I got a message that '/dev/ptmx' was missing. I've edited this file '/usr/local/lib/python2.7/site-packages/gateone-1.2.0-py2.7.egg/gateone/core/server.py' on line 4504 and changed to:

ptm = '/dev/pts' if os.path.exists('/dev/pts') else '/dev/pty'
        tty_gid = os.stat(ptm).st_gid