We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


Management Console (vconsole/mc) logrotate path incorrect? — Vertica Forum

Management Console (vconsole/mc) logrotate path incorrect?

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

Comments

  • wwong2wwong2 Employee
    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
  • Thanks for the quick reply.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file