• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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