Good Day everyone,
I have been having an issue with our GSM 150 unit that has been sitting running for months on end with no management done to it since i started at my company and i have been tasked at getting it back up to proper care.
the issue i am having is when the unit boots i get an error message when i try to log in:
Welcome to the Greenbone OS
Transaction file corrupted.
The current transaction file will be deleted and a new one will be created.
Traceback (most recent call last):
File “/usr/bin/pyspatch”, line 11, in
load_entry_point(‘PySpatch==2.5’, ‘console_scripts’, ‘pyspatch’)()
File “/usr/lib/python3/dist-packages/pyspatch/init.py”, line 40, in cli_entry
return main(args)
File “/usr/lib/python3/dist-packages/pyspatch/init.py”, line 33, in main
ret = action(interface)
File “/usr/lib/python3/dist-packages/pyspatch/actions.py”, line 113, in call
if action(dialog):
File “/usr/lib/python3/dist-packages/pyspatch/dialogs.py”, line 161, in call
dialog.infobox(PT(self.text), title=PT(self.title))
File “/usr/lib/python3/dist-packages/dialog.py”, line 2687, in infobox
kwargs)
File “/usr/lib/python3/dist-packages/dialog.py”, line 1717, in _widget_with_no_output
code, output = self._perform(args, **kwargs)
File “/usr/lib/python3/dist-packages/dialog.py”, line 1501, in _perform
**kwargs)
File “/usr/lib/python3/dist-packages/dialog.py”, line 1290, in _call_program
mode=“w”, prefix=“pythondialog.tmp”, delete=False)
File “/usr/lib/python3.5/tempfile.py”, line 679, in NamedTemporaryFile
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File “/usr/lib/python3.5/tempfile.py”, line 269, in _sanitize_params
dir = gettempdir()
File “/usr/lib/python3.5/tempfile.py”, line 435, in gettempdir
tempdir = _get_default_tempdir()
File “/usr/lib/python3.5/tempfile.py”, line 370, in _get_default_tempdir
dirlist)
FileNotFoundError: [Errno 2] No usable temporary directory found in [’/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/home/admin’]
one i try to log in again it lets me log in, however I have no superuser access and i have tried the GOS commands i found on another post but those result in admin not having permission to user su as root and we do not have the root login information.
am i stuck with this and just have to do a fresh setup on this unit as i cannot clear any used space at all as my current user level access.
Also, when the unit boots it says GOS 5 near the top, which i am assuming this version it is running is way behind the current supported of GOS 21. maybe i just do a clean install?
Thanks,