plugins: Unable to get iperf package running after fresh 23.1(.6) install

Had to unfortunately reload my firewall this past week (100% my fault!), but unfortunately after reinstalling and restoring my config backup I get the following error thrown in the ‘backend’ log file when trying to start iperf:

image

[f9554eee-440c-40dd-8c03-f8be60111476] Script action failed with Command '/usr/local/etc/rc.d/iperf status ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 482, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/etc/rc.d/iperf status ' returned non-zero exit status 1.

I’ve tried uninstalling/re-installing the plugin multiple times, but it seems like no matter what I do this same error always gets thrown. I’ve seen this error on some other posts online, but haven’t yet found anything to point me in the right direction towards a resolution. Anyone else seen this before?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

@fichtner rexml is part of the standard rollout but not a core library and it looks like freebsd messes around with the package to make it installable as a separate package to keep the ruby package smaller and update it out of band. https://nts.strzibny.name/ruby-stdlib-default-bundled-gems/

In my opinion, we can just add it back by adding rubygem-rexml as a dependency so we have the status of before the upgrade to the newer version of the ruby package.

Same issue here. Installed the package on fresh install and service won’t start.

Same issue here on 23.1.6 after upgrade. Others seem to have the problem as well: IPerf3 on OpnSense - stopped working for me, has it for you?

Thanks @fichtner for clarifying. Then a pkg install rubygem-rexml is only a workaround. Could we address this issue to the maintainer please?