Symantec Access Management

  • 1.  CA Directory 14 .forever directory

    Posted Jul 12, 2018 10:57 AM

    I just upgraded to CA Dir 14 and am noticing that my $HOME directory is filling up.  I see there is some subdirectory called .forever and it has a very large log file.  It must have something to do with the management UI as the management UI won't start when the $HOME disk fills up from this log directory.  As soon as I remove those huge log files, the management UI starts right up.

     

    Is there a way to control these log files or should I create a cron job and delete them on a regular basis?

     

    Thanks



  • 2.  Re: CA Directory 14 .forever directory

    Posted Jul 16, 2018 05:27 AM

    Hi,

     

    Check for the log level. Might be you have enabled the debug log for your directory. If yes then stop your server change it to "info" and start it again.

     

    If your log set to the info only then you have to write a cron job to delete it.

     

    Thanks,

    Bherulal Dhakad



  • 3.  Re: CA Directory 14 .forever directory
    Best Answer

    Broadcom Employee
    Posted Jul 16, 2018 09:31 AM

    Hello Samatnys,

     

    Management UI is developed using Node JS, and for its continuous availability we used a library called  forever.

    I understand your concern regarding the log rotation of this library.

     

    Old logs of ‘.forever’ can be deleted using

    PATH=/opt/CA/Directory/management-ui/node.js/bin:$PATH /opt/CA/Directory/management-ui/node_modules/.bin/forever cleanlogs

     

    The above command can be included into dxmgmtuiserver as below,

     

    1. open ‘dxmgmtuiserver’ script file for editing.
    2. search for “echo "Starting Management UI server …”
    3. insert the below line right after the above echo statement,
      1. ${DXUIHOME}/node_modules/.bin/forever cleanlogs

     

    The above steps will make sure to clean the old logs when ever Management UI is stopped and started on the command line.

     

    Thanks,

    -Vikas.



  • 4.  Re: CA Directory 14 .forever directory

    Posted Jul 16, 2018 09:39 AM

    Thanks Vikas.  Just seems like something like this should be documented.  Finding out the hard way by a full disk is not the most pleasant thing.



  • 5.  Re: CA Directory 14 .forever directory

    Broadcom Employee
    Posted Jul 16, 2018 09:57 AM

    I completely agree with you. We will get this addressed in the product.

     

    Thanks for your valuable time and feedback,

    -Vikas.