• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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