{"id":4957,"date":"2024-09-12T12:36:25","date_gmt":"2024-09-12T11:36:25","guid":{"rendered":"https:\/\/www.uk-cheapest.co.uk\/support\/?p=4957"},"modified":"2024-09-12T15:44:02","modified_gmt":"2024-09-12T14:44:02","slug":"access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed","status":"publish","type":"post","link":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/","title":{"rendered":"Access logs are not rotated on Plesk server: Rotation of files with multiple hard links is not allowed"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation-1024x585.jpg\" alt=\"\" class=\"wp-image-4960\" srcset=\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation-1024x585.jpg 1024w, https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation-300x171.jpg 300w, https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation-768x439.jpg 768w, https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation-1536x878.jpg 1536w, https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation.jpg 1792w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><br><br>This <a href=\"https:\/\/docs.plesk.com\/en-US\/obsidian\/\" target=\"_blank\" rel=\"noreferrer noopener\">Plesk Obisidian<\/a> issue was initially handled by <a href=\"https:\/\/support.plesk.com\/hc\/en-us\/articles\/12376956193431-Access-logs-are-not-rotated-on-Plesk-server-Rotation-of-files-with-multiple-hard-links-is-not-allowed\" target=\"_blank\" rel=\"noreferrer noopener\">Plesk Support<\/a>, but the solution wasn\u2019t ideal, as it applied changes to all configuration files, including those that didn\u2019t require it. This resulted in duplicated options being added to the files.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-symptoms\">Symptoms<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log rotation doesn&#8217;t rotate logs, resulting in no compressed <code>.gz<\/code> files being created.<\/li>\n\n\n\n<li>Forcing log rotation for a specific domain results in the following error:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/psa\/logrotate\/sbin\/logrotate -v -f \/usr\/local\/psa\/etc\/logrotate.d\/example.com\n(...)\nconsidering log \/var\/www\/vhosts\/system\/example.com\/logs\/access_log.processed log \n\/var\/www\/vhosts\/system\/example.com\/logs\/access_log.processed has multiple (2) hard links. \nRotation of files with multiple hard links is not allowed for \n\/var\/www\/vhosts\/system\/example.com\/logs\/*.processed -- skipping.\n(...)\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-cause\">Cause<\/h2>\n\n\n\n<p>This issue is due to product bugs, resolved in the following updates:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#PPPM-13562:<\/strong> &#8220;Fixed the issue where log rotation failed for files with two or more hard links.&#8221;<br>Fixed in: Plesk Obsidian 18.0.60 (02 April 2024)<\/li>\n\n\n\n<li><strong>#PPPM-13473:<\/strong> &#8220;Log rotation now works correctly after updating to Plesk Obsidian 18.0.42.&#8221;<br>Fixed in: Plesk Obsidian 18.0.43 (12 April 2022)<\/li>\n\n\n\n<li><strong>#PPPM-13519:<\/strong> &#8220;Log rotation now works correctly after updating to Plesk Obsidian 18.0.43 even if <code>\/usr\/local\/psa\/etc\/logrotate.conf<\/code> was customized.&#8221;<br>Fixed in: Plesk Obsidian 18.0.44 (24 May 2022)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-resolution\">Resolution<\/h2>\n\n\n\n<p>It is recommended to update your server to the latest Plesk version. For guidance, see: <a href=\"https:\/\/support.plesk.com\/hc\/en-us\/articles\/115000824794-How-to-install-Plesk-updates\">How to install Plesk updates<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-workaround\">Workaround<\/h2>\n\n\n\n<p>If updating is not possible, you can try adding the <code>allowhardlink<\/code> directive in the log rotation configuration files as a workaround.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-workaround-adding-the-allowhardlink-directive-to-log-rotation-files\">Workaround: Adding the &#8220;allowhardlink&#8221; Directive to Log Rotation Files<\/h2>\n\n\n\n<p>If updating is not an option, you can manually add the <code>allowhardlink<\/code> directive to log rotation configuration files as a workaround. Follow these steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-create-a-backup-optional-but-recommended\">1. Create a Backup (Optional but Recommended)<\/h3>\n\n\n\n<p>Before making any changes, it\u2019s recommended to back up the existing configuration files. Run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp -r \/usr\/local\/psa\/etc\/logrotate.d\/ \/usr\/local\/psa\/etc\/logrotate.d_backup\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-create-and-run-a-script-to-add-the-directive\">2. Create and Run a Script to Add the Directive<\/h3>\n\n\n\n<p>You can create a script that checks if the <code>allowhardlink<\/code> directive is missing in each log configuration file, and add it only if necessary.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\n<ol class=\"wp-block-list\">\n<li>Open your terminal and create the script:<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/root\/add_allowhardlink.sh<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\n<ol class=\"wp-block-list\">\n<li>Paste the following script into the file:<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>\n#!\/bin\/bash\n\n# Directory containing the logrotate configuration files\nLOGROTATE_DIR=\"\/usr\/local\/psa\/etc\/logrotate.d\/\"\n\n# Loop through each configuration file in the directory\nfor config_file in \"$LOGROTATE_DIR\"\/*; do\n  # Check if the file contains \"allowhardlink\"\n  if ! grep -q \"allowhardlink\" \"$config_file\"; then\n    # If not, append \"allowhardlink\" after \"copytruncate\"\n    sed -i '\/copytruncate\/a allowhardlink' \"$config_file\"\n    echo \"Added 'allowhardlink' to $config_file\"\n  else\n    echo \"'allowhardlink' already exists in $config_file\"\n  fi\ndone\n  <\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\n<ol class=\"wp-block-list\">\n<li>Save and exit the file by pressing <code>CTRL + X<\/code>, then <code>Y<\/code>, and <code>Enter<\/code>.<\/li>\n\n\n\n<li>Make the script executable by running:<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod +x \/root\/add_allowhardlink.sh<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\n<ol class=\"wp-block-list\">\n<li>Run the script to apply the changes:<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>\/root\/add_allowhardlink.sh<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-3-verify-the-changes\">3. Verify the Changes<\/h3>\n\n\n\n<p>Once the script has run, you can manually check some configuration files to ensure the <code>allowhardlink<\/code> directive has been correctly added. Run the following command to check a specific file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/usr\/local\/psa\/etc\/logrotate.d\/your-config-file<\/code><\/pre>\n\n\n\n<p>This solution ensures that the <code>allowhardlink<\/code> directive is only added to files where it\u2019s missing, preventing duplicate entries.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Plesk Obisidian issue was initially handled by Plesk Support, but the solution wasn\u2019t ideal, as it applied changes to all configuration files, including those that didn\u2019t require it. This resulted in duplicated options being added to the files. Symptoms Cause This issue is due to product bugs, resolved in the following updates: Resolution It &#8230; <a title=\"Access logs are not rotated on Plesk server: Rotation of files with multiple hard links is not allowed\" class=\"read-more\" href=\"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/\" aria-label=\"Read more about Access logs are not rotated on Plesk server: Rotation of files with multiple hard links is not allowed\">Read more&#8230;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"generate_page_header":"","footnotes":""},"categories":[63],"tags":[],"class_list":["post-4957","post","type-post","status-publish","format-standard","hentry","category-plesk-support"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.4 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Fixing Plesk Log Rotation: Error and Bug Resolutions - UK-Cheapest.co.uk<\/title>\n<meta name=\"description\" content=\"Solve log rotation issues in Plesk with these recommended updates. Learn how to fix the problem of logs not being compressed or rotated.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Access logs are not rotated on Plesk server: Rotation of files with multiple hard links is not allowed\" \/>\n<meta property=\"og:description\" content=\"Solve log rotation issues in Plesk with these recommended updates. Learn how to fix the problem of logs not being compressed or rotated.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/\" \/>\n<meta property=\"og:site_name\" content=\"UK-Cheapest.co.uk\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-12T11:36:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-12T14:44:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation-1024x585.jpg\" \/>\n<meta name=\"author\" content=\"UKC\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ukchelpdesk\" \/>\n<meta name=\"twitter:site\" content=\"@ukchelpdesk\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"UKC\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/\"},\"author\":{\"name\":\"UKC\",\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/#\\\/schema\\\/person\\\/135cf981b8a3a120603fcbc027eed746\"},\"headline\":\"Access logs are not rotated on Plesk server: Rotation of files with multiple hard links is not allowed\",\"datePublished\":\"2024-09-12T11:36:25+00:00\",\"dateModified\":\"2024-09-12T14:44:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/\"},\"wordCount\":370,\"publisher\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/plesk-log-rotation-1024x585.jpg\",\"articleSection\":[\"Plesk\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/\",\"url\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/\",\"name\":\"Fixing Plesk Log Rotation: Error and Bug Resolutions - UK-Cheapest.co.uk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/plesk-log-rotation-1024x585.jpg\",\"datePublished\":\"2024-09-12T11:36:25+00:00\",\"dateModified\":\"2024-09-12T14:44:02+00:00\",\"description\":\"Solve log rotation issues in Plesk with these recommended updates. Learn how to fix the problem of logs not being compressed or rotated.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/plesk-log-rotation.jpg\",\"contentUrl\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/plesk-log-rotation.jpg\",\"width\":1792,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"UK-Cheapest.co.uk\",\"item\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Access logs are not rotated on Plesk server: Rotation of files with multiple hard links is not allowed\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/\",\"name\":\"UK-Cheapest.co.uk\",\"description\":\"Cheap Domain Names, Web Hosting, Site Builder &amp; Web Security\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/#organization\",\"name\":\"UKC\",\"url\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Screenshot-2023-12-14-at-17.40.07.png\",\"contentUrl\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Screenshot-2023-12-14-at-17.40.07.png\",\"width\":217,\"height\":55,\"caption\":\"UKC\"},\"image\":{\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/ukchelpdesk\",\"https:\\\/\\\/www.instagram.com\\\/ukc_hosting\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/#\\\/schema\\\/person\\\/135cf981b8a3a120603fcbc027eed746\",\"name\":\"UKC\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/afbfe91204852778e8698de79f854348bec9aea508bef650c084d0c6daf2588d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/afbfe91204852778e8698de79f854348bec9aea508bef650c084d0c6daf2588d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/afbfe91204852778e8698de79f854348bec9aea508bef650c084d0c6daf2588d?s=96&d=mm&r=g\",\"caption\":\"UKC\"},\"sameAs\":[\"https:\\\/\\\/www.uk-cheapest.co.uk\"],\"url\":\"https:\\\/\\\/www.uk-cheapest.co.uk\\\/support\\\/author\\\/colin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Fixing Plesk Log Rotation: Error and Bug Resolutions - UK-Cheapest.co.uk","description":"Solve log rotation issues in Plesk with these recommended updates. Learn how to fix the problem of logs not being compressed or rotated.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/","og_locale":"en_GB","og_type":"article","og_title":"Access logs are not rotated on Plesk server: Rotation of files with multiple hard links is not allowed","og_description":"Solve log rotation issues in Plesk with these recommended updates. Learn how to fix the problem of logs not being compressed or rotated.","og_url":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/","og_site_name":"UK-Cheapest.co.uk","article_published_time":"2024-09-12T11:36:25+00:00","article_modified_time":"2024-09-12T14:44:02+00:00","og_image":[{"url":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation-1024x585.jpg","type":"","width":"","height":""}],"author":"UKC","twitter_card":"summary_large_image","twitter_creator":"@ukchelpdesk","twitter_site":"@ukchelpdesk","twitter_misc":{"Written by":"UKC","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/#article","isPartOf":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/"},"author":{"name":"UKC","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/person\/135cf981b8a3a120603fcbc027eed746"},"headline":"Access logs are not rotated on Plesk server: Rotation of files with multiple hard links is not allowed","datePublished":"2024-09-12T11:36:25+00:00","dateModified":"2024-09-12T14:44:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/"},"wordCount":370,"publisher":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#organization"},"image":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/#primaryimage"},"thumbnailUrl":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation-1024x585.jpg","articleSection":["Plesk"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/","url":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/","name":"Fixing Plesk Log Rotation: Error and Bug Resolutions - UK-Cheapest.co.uk","isPartOf":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/#primaryimage"},"image":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/#primaryimage"},"thumbnailUrl":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation-1024x585.jpg","datePublished":"2024-09-12T11:36:25+00:00","dateModified":"2024-09-12T14:44:02+00:00","description":"Solve log rotation issues in Plesk with these recommended updates. Learn how to fix the problem of logs not being compressed or rotated.","breadcrumb":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/#primaryimage","url":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation.jpg","contentUrl":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2024\/09\/plesk-log-rotation.jpg","width":1792,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/access-logs-are-not-rotated-on-plesk-server-rotation-of-files-with-multiple-hard-links-is-not-allowed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"UK-Cheapest.co.uk","item":"https:\/\/www.uk-cheapest.co.uk\/support\/"},{"@type":"ListItem","position":2,"name":"Access logs are not rotated on Plesk server: Rotation of files with multiple hard links is not allowed"}]},{"@type":"WebSite","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#website","url":"https:\/\/www.uk-cheapest.co.uk\/support\/","name":"UK-Cheapest.co.uk","description":"Cheap Domain Names, Web Hosting, Site Builder &amp; Web Security","publisher":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.uk-cheapest.co.uk\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#organization","name":"UKC","url":"https:\/\/www.uk-cheapest.co.uk\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2023\/12\/Screenshot-2023-12-14-at-17.40.07.png","contentUrl":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-content\/uploads\/2023\/12\/Screenshot-2023-12-14-at-17.40.07.png","width":217,"height":55,"caption":"UKC"},"image":{"@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/ukchelpdesk","https:\/\/www.instagram.com\/ukc_hosting\/"]},{"@type":"Person","@id":"https:\/\/www.uk-cheapest.co.uk\/support\/#\/schema\/person\/135cf981b8a3a120603fcbc027eed746","name":"UKC","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/afbfe91204852778e8698de79f854348bec9aea508bef650c084d0c6daf2588d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/afbfe91204852778e8698de79f854348bec9aea508bef650c084d0c6daf2588d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/afbfe91204852778e8698de79f854348bec9aea508bef650c084d0c6daf2588d?s=96&d=mm&r=g","caption":"UKC"},"sameAs":["https:\/\/www.uk-cheapest.co.uk"],"url":"https:\/\/www.uk-cheapest.co.uk\/support\/author\/colin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/posts\/4957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/comments?post=4957"}],"version-history":[{"count":5,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/posts\/4957\/revisions"}],"predecessor-version":[{"id":4972,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/posts\/4957\/revisions\/4972"}],"wp:attachment":[{"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/media?parent=4957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/categories?post=4957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.uk-cheapest.co.uk\/support\/wp-json\/wp\/v2\/tags?post=4957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}