Elleni Veteran
Joined: 23 May 2006 Posts: 1289
|
Posted: Thu Aug 08, 2024 9:23 am Post subject: [solved] error starting gvm / notus-scanner |
|
|
While following the wiki step by step, I was able to install the needed packages, and configure and start openvas-redis and postgreqql.
But then starting notus-scanner failed thus I created a ticket:
Thought, I should post the result here too, if maybe somebody already knows about this problem and how to mitigate or solve it.
https://bugs.gentoo.org/937564
The errors seem to imply a problem with access rights on logging?
Code: | raceback (most recent call last):
File "/usr/lib/python-exec/python3.12/notus-scanner", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.12/site-packages/notus/scanner/daemon.py", line 117, in main
init_logging(
File "/usr/lib/python3.12/site-packages/notus/scanner/utils.py", line 128, in init_logging
log_file_handler = WatchedFileHandler(log_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/logging/handlers.py", line 475, in __init__
logging.FileHandler.__init__(self, filename, mode=mode,
File "/usr/lib/python3.12/logging/__init__.py", line 1231, in __init__
StreamHandler.__init__(self, self._open())
^^^^^^^^^^^^
File "/usr/lib/python3.12/logging/__init__.py", line 1263, in _open
return open_func(self.baseFilename, self.mode,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/var/log/gvm/notus-scanner.log'
* start-stop-daemon: failed to start `/usr/bin/notus-scanner'
* Failed to start Greenbone Notus Scanner [ !! ]
* ERROR: notus-scanner failed to start |
Last edited by Elleni on Tue Aug 13, 2024 8:00 am; edited 1 time in total |
|