gns3-server icon indicating copy to clipboard operation
gns3-server copied to clipboard

Server does not start.

Open D33M0N opened this issue 4 years ago • 2 comments

running the server in local computer, not in any virtual machine. trying to run the new version in AUR, 2.2.0 and...

[deemon@Zen ~]$ gns3server 2019-10-07 00:14:56 INFO run.py:219 GNS3 server version 2.2.0 2019-10-07 00:14:56 INFO run.py:221 Copyright (c) 2007-2019 GNS3 Technologies Inc. 2019-10-07 00:14:56 INFO run.py:224 Config file /home/deemon/.config/GNS3/2.2/gns3_server.conf loaded 2019-10-07 00:14:56 INFO run.py:238 Running with Python 3.7.4 and has PID 8606 2019-10-07 00:14:56 INFO run.py:79 Current locale is et_EE.UTF-8 2019-10-07 00:14:56 INFO web_server.py:294 Starting server on None:3080 2019-10-07 00:14:56 INFO init.py:62 Load controller configuration file /home/deemon/.config/GNS3/2.2/gns3_controller.conf 2019-10-07 00:14:56 INFO init.py:66 Controller is starting 2019-10-07 00:14:56 INFO compute.py:63 Create compute local 2019-10-07 00:14:56 INFO compute.py:360 Connecting to compute 'local' 2019-10-07 00:14:56 CRITICAL web_server.py:87 Could not start the server: [Errno -2] Name or service not known

downgraded to 2.1.21 and it properly starts the server in 127.0.0.1 instead of the new "None" that seems to bug out.

EDIT: got it fixed myself by editing the .config/GNS3/2.2/gns3_server.conf file (which I have never ever edited manually myself before and it came as it did by default) and changed there the host = None to host = 127.0.0.1 .. and now it works.

D33M0N avatar Oct 06 '19 21:10 D33M0N

Fixed.

grossmj avatar Oct 08 '19 10:10 grossmj

@grossmj Well, maybe not quite fixed. I experienced the same problem (and workaround) now with version 2.2.17.

This was on an old Fedora 30 system that installed version version 2.1.20 via dnf. That version suffered from issue #463, but rather than trying to solve that directly I instead installed latest version with pip.

$ pip3 install --user gns3-server==2.2.17
...
$ gns3server       
2020-12-24 01:03:59 INFO run.py:219 GNS3 server version 2.2.17
2020-12-24 01:03:59 INFO run.py:221 Copyright (c) 2007-2020 GNS3 Technologies Inc.
2020-12-24 01:03:59 INFO run.py:224 Config file /home/hlovdal/.config/GNS3/2.2/gns3_server.conf loaded
2020-12-24 01:03:59 INFO run.py:237 HTTP authentication is enabled with username 'admin'
2020-12-24 01:03:59 INFO run.py:244 Running with Python 3.7.7 and has PID 13053
2020-12-24 01:03:59 INFO run.py:79 Current locale is nb_NO.UTF-8
2020-12-24 01:03:59 INFO web_server.py:318 Starting server on None:3080
2020-12-24 01:03:59 INFO __init__.py:62 Load controller configuration file /home/hlovdal/.config/GNS3/2.2/gns3_controller.conf
2020-12-24 01:03:59 INFO __init__.py:66 Controller is starting
2020-12-24 01:03:59 INFO compute.py:64 Create compute local
2020-12-24 01:03:59 INFO compute.py:364 Connecting to compute 'local'
2020-12-24 01:03:59 CRITICAL web_server.py:88 Could not start the server: [Errno -2] Name or service not known

Changing the host value as described in the first comment made the server start successfully.

hlovdal avatar Dec 24 '20 00:12 hlovdal