Avamar: The ddrmaint.log is not rotating due to a missing configuration file.

Summary: The ddrmaint.log file is not rotating due to a missing /etc/logrotate.d/ddrmaint configuration file.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

The size of the ddrmaint.log (Found in the /usr/local/avamar/var/ddrmaintlogs directory) is larger than the expected size of 25MB:

ls -al /usr/local/avamar/var/ddrmaintlogs 
total 1.7G
drwxr-x---  2 admin admin 4.0K Dec  5  2018 .
drwxr-xr-t 20 admin admin 4.0K Jul 20 06:00 ..
-rw-r-----  1 root  admin 1.7G Jul 20 14:26 ddrmaint.log
 

The /etc/logrotate.d/ddrmaint file does not exist:

ls -al /etc/logrotate.d/ddrmaint
ls: cannot access '/etc/logrotate.d/ddrmaint': No such file or directory
 

The following command confirms that dpnddrmaint is installed:

rpm -qa | grep dpnddrmaint
dpnddrmaint-<Avamar_version>

Cause

This issue is due to a condition in the sec_install_os_errata_sles.pl script in the Operating System (OS) rollup package.
  • It removes multiple logrotate configuration files then replaces them depending on the node type.
  • It determines this by the existence of the /usr/local/avamar/var/probe.xml file, which should only exist on the Avamar Utility Node.

However, as the probe.xml file is not created until the Avamar software is configured for a site, the script only works when the rollup package is deployed on a configured grid. If deployed at installation before configuration, it fails to reinstall the logrotate files for an Avamar Utility Node.

Resolution

To address the issue, the /etc/logrotate.d/ddrmaint file must be re-created.
 
Note: This is specific to the installed SUSE version.
 
 

1. Log in to the Avamar Utility Node as admin.

2. Elevate to root privilege.

3. Determine the version of SUSE running:

cat /etc/*release* |grep VERSION
 

If the VERSION is 11, go to Step 4.

If the VERSION is 12, go to Step 5.

4. Create and populate the file:

a. Create the file:

vi /etc/logrotate.d/ddrmaint 
 

b. Paste the contents into the newly created file:

/usr/local/avamar/var/ddrmaintlogs/ddrmaint.log {
    nodateext
    daily
    missingok
    notifempty
    nocompress
    noolddir
    nomail
    su root root
    create 0664 admin admin
    start 1
    rotate 40
    size 25M
    postrotate
        /usr/bin/killall -HUP syslog-ng
    endscript
}
 

c. Exit and save the file.

d. Go to step 6.

5. Create and populate the file:

a. Create the file:

vi /etc/logrotate.d/ddrmaint 
 

b. Paste the contents into the newly created file:

/usr/local/avamar/var/ddrmaintlogs/ddrmaint.log {
    nodateext
    daily
    missingok
    notifempty
    nocompress
    noolddir
    nomail
    su root root
    create 0664 admin admin
    start 1
    rotate 40
    size 25M
    postrotate
        /usr/bin/systemctl reload syslog.service
    endscript
} 
 

c. Exit and save the file.

d. Go to step 6.

6. Rotate the ddrmaint.log running the following command:

logrotate -v -f /etc/logrotate.d/ddrmaint 

Affected Products

Avamar, Avamar Server
Article Properties
Article Number: 000080665
Article Type: Solution
Last Modified: 15 Jul 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.