• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • 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 unknown option 'allowhardlink'

enerspace

Basic Pleskian
Username:

TITLE

unknown option 'allowhardlink'

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Alma 8.9
18.0.62 Update #2

PROBLEM DESCRIPTION

The following command: /usr/sbin/logrotate -f /usr/local/psa/etc/logrotate.conf causes the following error: error: /usr/local/psa/etc/logrotate.conf:1 unknown option 'allowhardlink' -- ignoring line.

STEPS TO REPRODUCE

To execute the command: /usr/sbin/logrotate -f /usr/local/psa/etc/logrotate.conf

ACTUAL RESULT

The error message says: unknown option 'allowhardlink'.

EXPECTED RESULT

No error

ANY ADDITIONAL INFORMATION

This line was added earlier, see the bug report: Forwarded to devs - Rotation of files with multiple hard links is not allowed

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
"allowhardlink" is an important setting. Plesk, please do not remove it. @enerspace It will be worth asking official Plesk support on this as this seems to be a case where a check directly on your server is required.
 
„allowhardlink“ ist eine wichtige Einstellung. Plesk, bitte entfernen Sie sie nicht. @enerspace Es lohnt sich, den offiziellen Plesk-Support diesbezüglich zu fragen, da dies ein Fall zu sein scheint, in dem eine Überprüfung direkt auf Ihrem Server erforderlich ist.

Why should there be an issue with my operating system? In most CentOS versions, Logrotate 3.18.0 is the maximum installed version:
Almalinux 8 / Rockylinux 8: 3.14.0
Almalinux 9 / Rockylinux 9: 3.18.0

But I noticed that Plesk uses its own version: /usr/local/psa/logrotate/sbin/logrotate:3.21.0

The 'allowhardlink' option was integrated in Logrotate version 3.19.0.

Thanks!
 
Hello, @enerspace. First, we would like to apologize for the delayed response. Your report was reviewed by our engineers and according to them you are not supposed to use system’s logrotate binary with Plesk conf file.
Valid usage is to call plesk logrotate binary (which comes from `psa-logrotate-3.22.0-2.redhat.8+p18.0.63.1+t240809.1058.x86_64`):

/usr/local/psa/logrotate/sbin/logrotate -f /usr/local/psa/etc/logrotate.conf
 
Back
Top