Hello All,
I used the below command to get its version.
gvm-cli socket --socketpath /run/gvmd.sock --xml “<get_version/>”
I received this:(at last it says no such device or address)
Traceback (most recent call last):
File “/bin/gvm-cli”, line 11, in
load_entry_point(‘gvm-tools==1.4.1’, ‘console_scripts’, ‘gvm-cli’)()
File “/usr/lib/python3.6/site-packages/gmp/clients/gvm_cli.py”, line 157, in main
args = parser.parse_args(remaining_args)
File “/usr/lib64/python3.6/argparse.py”, line 1734, in parse_args
args, argv = self.parse_known_args(args, namespace)
File “/usr/lib64/python3.6/argparse.py”, line 1766, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File “/usr/lib64/python3.6/argparse.py”, line 1954, in _parse_known_args
positionals_end_index = consume_positionals(start_index)
File “/usr/lib64/python3.6/argparse.py”, line 1931, in consume_positionals
take_action(action, args)
File “/usr/lib64/python3.6/argparse.py”, line 1840, in take_action
action(self, namespace, argument_values, option_string)
File “/usr/lib64/python3.6/argparse.py”, line 1137, in call
subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
File “/usr/lib64/python3.6/argparse.py”, line 1766, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File “/usr/lib64/python3.6/argparse.py”, line 1954, in _parse_known_args
positionals_end_index = consume_positionals(start_index)
File “/usr/lib64/python3.6/argparse.py”, line 1931, in consume_positionals
take_action(action, args)
File “/usr/lib64/python3.6/argparse.py”, line 1824, in take_action
argument_values = self._get_values(action, argument_strings)
File “/usr/lib64/python3.6/argparse.py”, line 2265, in _get_values
value = self._get_value(action, arg_string)
File “/usr/lib64/python3.6/argparse.py”, line 2294, in _get_value
result = type_func(arg_string)
OSError: [Errno 6] No such device or address: ‘/run/gvmd.sock’
Please help.