-
Notifications
You must be signed in to change notification settings - Fork 268
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
GNS3 3.0.3 system service fails to start #2500
Comments
You should not use the gns3/ppa repository since you already have The gns3/ppa is only to install version 2.2.x Remove it and purge the current gns3-server installation.
then install using the gns3-remote-install.sh script:
|
Thank you very much for your response, Jeremy (especially on a Friday night). I tried doing what you've proposed but still the system service fails. After further investigation, it looks like the gns3server and gns3vmnet executables end up in my user's home directory as opposed to the "/usr/share/gns3/gns3-server/bin/" See below: ls -la of home directory: ls -la of /usr/share/gns3/gns3-server/bin: It seems like I'm missing something very simple. When I execute the "gns3server", it works perfectly, but my projects, images, etc are coming all out of my home directory, except /opt/gns3. |
I have tried to install GNS server version 3.0.3 on Ubuntu 22.0.4. I have followed the following process:
sudo add-apt-repository ppa:gns3/ppa
cd /tmp
curl https://raw.githubusercontent.com/GNS3/gns3-server/master/scripts/remote-install.sh > gns3-remote-install.sh
sudo bash gns3-remote-install.sh --custom-repository ppa-v3
Bash script runs successfully, however this is what the process shows:
sudo systemctl status gns3.service ● gns3.service - GNS3 server Loaded: loaded (/lib/systemd/system/gns3.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sat 2025-02-15 01:32:28 UTC; 2s ago Process: 7544 ExecStartPre=/bin/mkdir -p /var/log/gns3 /var/run/gns3 (code=exited, status=0/SUCCESS) Process: 7545 ExecStartPre=/bin/chown -R gns3:gns3 /var/log/gns3 /var/run/gns3 (code=exited, status=0/SUCCESS) Process: 7546 ExecStart=/usr/bin/gns3server --log /var/log/gns3/gns3.log (code=exited, status=203/EXEC) Main PID: 7546 (code=exited, status=203/EXEC) CPU: 9ms
Below is the contents of /usr/bin/gns3server:
ls -la /usr/bin/gns3server lrwxrwxrwx 1 root root 40 Jan 22 09:11 /usr/bin/gns3server -> ../share/gns3/gns3-server/bin/gns3server
When browsing the /share/gns3/gns3-server/bin/ folder there is no "gns3server" executable (see below)
ls -la /usr/share/gns3/gns3-server/bin/
total 68
drwxr-xr-x 2 root root 4096 Feb 15 01:03 .
drwxr-xr-x 5 root root 4096 Feb 15 01:03 ..
-rw-r--r-- 1 root root 2146 Jan 22 09:11 activate
-rw-r--r-- 1 root root 1438 Jan 22 09:11 activate.csh
-rw-r--r-- 1 root root 3023 Jan 22 09:11 activate.fish
-rw-r--r-- 1 root root 1429 Jan 22 09:11 activate.nu
-rw-r--r-- 1 root root 1754 Jan 22 09:11 activate.ps1
-rw-r--r-- 1 root root 1200 Jan 22 09:11 activate_this.py
-rwxr-xr-x 1 root root 235 Jan 22 09:11 alembic
-rwxr-xr-x 1 root root 228 Jan 22 09:11 cpuinfo
-rw-r--r-- 1 root root 333 Jan 22 09:11 deactivate.nu
-rwxr-xr-x 1 root root 234 Jan 22 09:11 distro
-rwxr-xr-x 1 root root 245 Jan 22 09:11 email_validator
-rwxr-xr-x 1 root root 232 Jan 22 09:11 fastapi
-rwxr-xr-x 1 root root 235 Jan 22 09:11 mako-render
lrwxrwxrwx 1 root root 23 Jan 22 09:11 python -> ../../../../bin/python3
lrwxrwxrwx 1 root root 6 Jan 22 09:11 python3 -> python
lrwxrwxrwx 1 root root 6 Jan 22 09:11 python3.10 -> python
-rwxr-xr-x 1 root root 233 Jan 22 09:11 uvicorn
-rwxr-xr-x 1 root root 239 Jan 22 09:11 watchmedo
Any assistance would be appreciated. Thank you!
The text was updated successfully, but these errors were encountered: