The output of your command "zpool status" is:

--> -->
 
 
CalledProcessError
Python 3.10.12: /usr/bin/python3
Thu Sep 19 15:28:09 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/cgi-bin/lincmd.cgi in <module>
     58     print('<h3>The output of your command "<FONT color=#008500><B>{}</B></FONT>" is:</h3>'.format(mycmd))
     59     #result2 = subprocess.run("ls -l", shell=True, check=True, stdout=subprocess.PIPE)
=>   60     result2 = subprocess.run(mycmd, shell=True, check=True, stdout=subprocess.PIPE)
     61     #print('<PRE>' + result2.stdout.decode() + '</PRE>')
     62     line = result2.stdout.decode()
result2 undefined, subprocess = <module 'subprocess' from '/usr/lib/python3.10/subprocess.py'>, subprocess.run = <function run>, mycmd = 'zpool status', shell undefined, check undefined, stdout undefined, subprocess.PIPE = -1
 /usr/lib/python3.10/subprocess.py in run(input=None, capture_output=False, timeout=None, check=True, *popenargs=('zpool status',), **kwargs={'shell': True, 'stdout': -1})
    524         retcode = process.poll()
    525         if check and retcode:
=>  526             raise CalledProcessError(retcode, process.args,
=>  527                                      output=stdout, stderr=stderr)
    528     return CompletedProcess(process.args, retcode, stdout, stderr)
global CalledProcessError = <class 'subprocess.CalledProcessError'>, retcode = 127, process = <Popen: returncode: 127 args: 'zpool status'>, process.args = 'zpool status', output undefined, stdout = b'', stderr = None

CalledProcessError: Command 'zpool status' returned non-zero exit status 127.
      args = (127, 'zpool status')
      cmd = 'zpool status'
      output = b''
      returncode = 127
      stderr = None
      stdout = b''
      with_traceback = <built-in method with_traceback of CalledProcessError object>