Skip to main content

Management Console (vconsole/mc) logrotate path incorrect?

  • July 3, 2014
  • 2 replies
  • 17 views

Stig_1
Hello and thanks for Vertica help,
 
The vertica-console-7.0.1-2.x86_64 RPM for RHEL5/6 provides /opt/vconsole/config/logrotate/vertica-console
 
tail -n 12  /opt/vconsole/config/logrotate/vertica-console
/opt/vertica/log/mc/*.log {
    # rotate weekly
    daily
    # and keep for 8  weeks
    rotate 8
    # no complaining if vertica did not start yet
    missingok
    # compress log after rotation
    compress
    # rotate by copying it aside and truncating
    copytruncate
}
 
Is the path in the logrotate config incorrect?
 
I see mconsole.log files (not compressed and older than 8 weeks) in /opt/vconsole/log/mc/ and /opt/vertica/log/mc does not exist.
 
Thanks

2 replies

wwong2
Forum|alt.badge.img
  • Participating Frequently
  • July 3, 2014
Hi, yes the path is incorrect.  it should be /opt/vconsole/log/mc as you noted. 
You should be able to modify it to the correct path.  I will see if there is a bug for this already logged and if not, log one

Regards

Stig_1
  • Author
  • New Participant
  • July 3, 2014
Thanks for the quick reply.