• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved cfgmon file difference returning "missing operand"/"Errno 32 broken pipe"

Bitpalast

Plesk addicted!
Plesk Guru
According to the example in https://docs.plesk.com/en-US/17.0/a...racking-changes-in-configuration-files.73233/ we tried to list the changes in ssl.conf. However, this failed with "ERROR:cfgmon:[Errno 32] Broken pipe". Why is that / what is the "missing operand" after the file name?

[root@XXXX psa]# plesk sbin cfgmon -s /etc/httpd/conf.d/ssl.conf
Rev. TimeStamp File path In Storage
66 2016-07-22 15:39:05 /etc/httpd/conf.d/ssl.conf /var/lib/plesk/cfgmon/ssl.conf_2016_07_22_17_39_05_447661
225 2016-09-03 01:38:27 /etc/httpd/conf.d/ssl.conf /var/lib/plesk/cfgmon/ssl.conf_2016_09_03_03_38_27_887370

[root@XXXX psa]# plesk sbin cfgmon -r 225 | diff /etc/httpd/conf.d/ssl.conf
diff: missing operand after '/etc/httpd/conf.d/ssl.conf'
diff: Try 'diff --help' for more information.
ERROR:cfgmon:[Errno 32] Broken pipe
exit status 1
 
The documentation seems to be missing a single dash "-" to represent the STDIN for the diff command.

False:
# plesk sbin cfgmon -r 48 | diff /etc/httpd/conf.d/ssl.conf

Instead, the Plesk documentation should read:
# plesk sbin cfgmon -r 48 | diff /etc/httpd/conf.d/ssl.conf -n

For the example given above:
[root@XXXX psa]# plesk sbin cfgmon -r 225 | diff /etc/httpd/conf.d/ssl.conf -
 
Hi Peter Debik,

you could as well use for example:

Code:
diff -u /var/lib/plesk/cfgmon/ssl.conf_2016_09_03_03_38_27_887370 /var/lib/plesk/cfgmon/ssl.conf_2016_07_22_17_39_05_447661
;)
 
Back
Top