# Famous 404 response code from GSA

**URL:** <https://forum.greenbone.net/t/famous-404-response-code-from-gsa/20029>\
**Category:** Getting Started\
**Created:** [January 2, 2025, 3:51am UTC](https://forum.greenbone.net/t/famous-404-response-code-from-gsa/20029 "2025-01-02T03:51:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michal\_security](https://forum.greenbone.net/letter_avatar/michal_security/32/6_449c533f586939b6e5f246632a46421f.png) [@Michal\_security](https://forum.greenbone.net/u/Michal_security)\
**Post date:** [January 2, 2025, 3:51am UTC](https://forum.greenbone.net/t/famous-404-response-code-from-gsa/20029/1 "2025-01-02T03:51:48Z")

</div>

Hello,  
It looks like this is common problem, but no real solution.

Problem description:  
when connecting to https://my\_ip:9392 i am able to negotiate SSL and then always getting response code 404 (tried also /login or /gsa).

Details:

- gvm installation checker shows all is fine
- no more errors in gvm and gsa logs
- all latest versions (on current ubuntu server)
- wireshark showing all as expected: SSL session is fine, getting http response code 404

More details:

```auto
root@ubuntu:~# netstat -atcpn | grep "93"
tcp 0 0 0.0.0.0:9392 0.0.0.0:* LISTEN 25104/gsad
tcp 0 0 198.27.76.48:9390 0.0.0.0:* LISTEN 24869/gvmd: Waiting

root@ubuntu:~# gsad --version
Greenbone Security Assistant 22.08.0~git
root@ubuntu:~# gvmd --version
Greenbone Vulnerability Manager 23.1.0
Manager DB revision 255
Copyright (C) 2009-2021 Greenbone AG
License: AGPL-3.0-or-later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

```

Also:

```auto
root@ubuntu:~# gvm-check-setup
gvm-check-setup 23.11.0
  Test completeness and readiness of GVM-23.11.0
Step 1: Checking OpenVAS (Scanner)...
        OK: OpenVAS Scanner is present in version 22.7.9.
        OK: Notus Scanner is present in version 22.6.2.
        OK: Server CA Certificate is present as /var/lib/gvm/CA/servercert.pem.
Checking permissions of /var/lib/openvas/gnupg/*
        OK: _gvm owns all files in /var/lib/openvas/gnupg
        OK: redis-server is present.
        OK: scanner (db_address setting) is configured properly using the redis-server socket: /var/run/redis-openvas/redis-server.sock
        OK: the mqtt_server_uri is defined in /etc/openvas/openvas.conf
        OK: _gvm owns all files in /var/lib/openvas/plugins
        OK: NVT collection in /var/lib/openvas/plugins contains 93034 NVTs.
        OK: The notus directory /var/lib/notus/products contains 472 NVTs.
Checking that the obsolete redis database has been removed
        OK: No old Redis DB
        OK: ospd-openvas service is active.
        OK: ospd-OpenVAS is present in version 22.6.2.
Step 2: Checking GVMD Manager ...
        OK: GVM Manager (gvmd) is present in version 23.1.0.
Step 3: Checking Certificates ...
        OK: GVM client certificate is valid and present as /var/lib/gvm/CA/clientcert.pem.
        OK: Your GVM certificate infrastructure passed validation.
Step 4: Checking data ...
        OK: SCAP data found in /var/lib/gvm/scap-data.
        OK: CERT data found in /var/lib/gvm/cert-data.
Step 5: Checking Postgresql DB and user ...
        OK: Postgresql version and default port are OK.
 gvmd | _gvm | UTF8 | libc | en_US.UTF-8 | en_US.UTF-8 | | |
16440|pg-gvm|10|2200|f|22.6||
        OK: At least one user exists.
Step 6: Checking Greenbone Security Assistant (GSA) ...
        OK: Greenbone Security Assistant is present in version 22.08.0~git.
Step 7: Checking if GVM services are up and running ...
        OK: gvmd service is active.
        OK: gsad service is active.
Step 8: Checking few other requirements...
        OK: nmap is present.
        OK: ssh-keygen found, LSC credential generation for GNU/Linux targets is likely to work.
        OK: nsis found, LSC credential package generation for Microsoft Windows targets is likely to work.
        OK: xsltproc found.
        WARNING: Your password policy is empty.
        SUGGEST: Edit the /etc/gvm/pwpolicy.conf file to set a password policy.
Step 9: Checking greenbone-security-assistant...
        WARNING: the package greenbone-security-assistant is not installed
        FIX: install the package greenbone-security-assistant (available in non-free)

It seems like your GVM-23.11.0 installation is OK.

```

And:

```auto
root@ubuntu:~# cat /var/log/gvm/gsad.log | tail -5
gsad main:MESSAGE:2024-12-29 18h00.27 utc:24531: Starting GSAD version 22.08.0~git
gsad main:MESSAGE:2024-12-29 18h04.53 utc:24675: Starting GSAD version 22.08.0~git
gsad main:MESSAGE:2024-12-29 18h11.16 utc:24982: Starting GSAD version 22.08.0~git
gsad main:MESSAGE:2024-12-29 18h12.32 utc:25104: Starting GSAD version 22.08.0~git

And

```

root@ubuntu:~# cat /lib/systemd/system/gsad.service  
[Unit]  
Description=Greenbone Security Assistant daemon (gsad)  
Documentation=man:gsad(8) [https://www.greenbone.net](https://www.greenbone.net)  
After=network.target gvmd.service  
Wants=gvmd.service

[Service]  
Type=exec  
User=\_gvm  
Group=\_gvm  
RuntimeDirectory=gsad  
RuntimeDirectoryMode=2775  
PIDFile=/run/gsad/gsad.pid  
ExecStart=/usr/sbin/gsad --foreground --listen 0.0.0.0 --port 9392 --mlisten=198.27.76.48 --mport=9390 --no-redirect  
Restart=always  
TimeoutStopSec=10

[Install]  
WantedBy=multi-user.target  
Alias=greenbone-security-assistant.service

root@ubuntu:~# cat /lib/systemd/system/gvmd.service  
[Unit]  
Description=Greenbone Vulnerability Manager daemon (gvmd)  
After=network.target networking.service postgresql.service ospd-openvas.service  
Wants=postgresql.service ospd-openvas.service  
Documentation=man:gvmd(8)  
ConditionKernelCommandLine=!recovery

[Service]  
Type=forking  
User=\_gvm  
Group=\_gvm  
PIDFile=/run/gvmd/gvmd.pid  
RuntimeDirectory=gvmd  
RuntimeDirectoryMode=2775  
ExecStart=/usr/sbin/gvmd --osp-vt-update=/run/ospd/ospd.sock --listen-group=\_gvm --listen=198.27.76.48 --port=9390  
Restart=always  
TimeoutStopSec=10

[Install]  
WantedBy=multi-user.target

```auto

What am i missing ?

Thanks,
Michal
```

---

<div class="post-metadata">

**Author:** ![rippledj](https://forum.greenbone.net/user_avatar/forum.greenbone.net/rippledj/32/4398_2.png) [@rippledj](https://forum.greenbone.net/u/rippledj)\
**Post date:** [January 2, 2025, 9:41pm UTC](https://forum.greenbone.net/t/famous-404-response-code-from-gsa/20029/2 "2025-01-02T21:41:31Z")

</div>

It looks like you have installed from Ubuntu native repositories. However, these may not be maintained. This bug should be addressed with the [Ubuntu bug tracking](https://help.ubuntu.com/stable/ubuntu-help/report-ubuntu-bug.html.en).

---

<div class="post-metadata">

**Author:** ![bricks](https://forum.greenbone.net/user_avatar/forum.greenbone.net/bricks/32/46_2.png) [@bricks](https://forum.greenbone.net/u/bricks)\
**Post date:** [January 3, 2025, 7:14am UTC](https://forum.greenbone.net/t/famous-404-response-code-from-gsa/20029/3 "2025-01-03T07:14:14Z")

</div>

As @rippledj mentioned the version 22.08 of gsad is very outdated because the Ubuntu repo doesn’t contain current versions of our software. It is very very likely your issue is fixes with a current version of gsad.

---

<div class="post-metadata">

**Author:** ![cfi](https://forum.greenbone.net/letter_avatar/cfi/32/6_449c533f586939b6e5f246632a46421f.png) [@cfi](https://forum.greenbone.net/u/cfi)\
**Post date:** [January 9, 2025, 11:25am UTC](https://forum.greenbone.net/t/famous-404-response-code-from-gsa/20029/4 "2025-01-09T11:25:18Z")

</div>

This is basically also a duplicate of the following existing topic:

> [@Setup on Ubuntu 22.10 - URL NOT FOUND](https://forum.greenbone.net/t/setup-on-ubuntu-22-10-url-not-found/14124):
>
> Hi. I am a GVM newbie and trying to install it on my fresh Ubuntu 22.10 installation. As far as I remember back I installed it like this: $ sudo apt install gvm $ sudo gvm-setup $ sudo gvm-check-setup $ sudo apt install openvas-scanner $ sudo apt install gsad At the beginning GSAD did not start, /var/log/gvm/gsad.log complained about file access issues in /usr/share/gvm and the error message was something like “cannot access file or directory ‘gsad’ - error!”. By trial and error I created such…

and this posting from there is still valid:

> [@Setup on Ubuntu 22.10 - URL NOT FOUND](https://forum.greenbone.net/t/setup-on-ubuntu-22-10-url-not-found/14124/6):
>
> Unfortunately it’s quite difficult to provide a solution beside not using the Ubuntu packages at all and build completely from sources: [Building 22.4 from Source - Greenbone Community Documentation](https://greenbone.github.io/docs/latest/22.4/source-build/index.html) or use the docker containers instead: [Greenbone Community Containers 22.4 - Greenbone Community Documentation](https://greenbone.github.io/docs/latest/22.4/container/index.html) Requesting to package the gsa / greenbone-security-assistant component (not to be mixed with gsad which is something different and already packaged) from Ubuntu would be an alternative b…
