• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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