Skip to content

Commit

Permalink
Add: Improve troubleshooting of failed of failed to find port list
Browse files Browse the repository at this point in the history
Mention the log message when gvmd indicated it actually has loaded the
port list from the feed.
  • Loading branch information
bjoernricks authored and greenbonebot committed Mar 4, 2024
1 parent 506bbaa commit ca48aae
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/22.4/source-build/feed-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ data is loaded. For port lists, these messages are similar to:
```{code-block} none
:caption: gvmd port list loaded log message
Port list All IANA assigned TCP (33d0cd82-57c6-11e1-8ed1-406186ea4fc5) has been created by admin
Port list All IANA assigned TCP (33d0cd82-57c6-11e1-8ed1-406186ea4fc5) has been created by admin
```

For report formats:
Expand Down
13 changes: 11 additions & 2 deletions src/22.4/source-build/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ caption: Checking if port list is already synced
find /var/lib/gvm/data-objects/ -name "*33d0cd82-57c6-11e1-8ed1-406186ea4fc5*.xml"
```

If the {command}`find` command does not return an XML file for your release, the
data objects have not been synced from the {term}`feed` (yet).
If the {command}`find` command does not return an XML file, the data objects
have not been synced from the {term}`feed` (yet).

```{code-block} shell
---
Expand All @@ -44,6 +44,15 @@ caption: Syncing data objects processed by gvmd
sudo -u gvm gvmd --rebuild-gvmd-data=all
```

When {command}`gvmd` has loaded the port list successfully the {file}`/var/log/gvm/gvmd.log`
file shows the following output

```{code-block} none
:caption: gvmd port list loaded log message
Port list All IANA assigned TCP (33d0cd82-57c6-11e1-8ed1-406186ea4fc5) has been created by admin
```

### Failed to find scan configuration

This issue is similar to [Failed to find port_list](#failed-to-find-port_list-33d0cd82-57c6-11e1-8ed1-406186ea4fc5).
Expand Down
1 change: 1 addition & 0 deletions src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Calendar Versioning](https://calver.org).
* Move `Facing an issue with the Greenbone Community Edition` section from
source build troubleshooting to generic troubleshooting page
* Add section about getting the log messages for the Community Containers
* Improved troubleshooting for *Failed to find port_list*
* Update gvm-libs to 22.8.0
* Update gvmd to 23.2.0
* Update pg-gvm to 22.6.4
Expand Down

0 comments on commit ca48aae

Please sign in to comment.