• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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