cancel
Showing results for 
Search instead for 
Did you mean: 

Logs not getting generated on master server

Pratham13
Level 3

On master servers the logs are not generated in the logs directory....previously the logs  created got purged at the end of the day...I tried increasing the retention period of logs to 1000 days still the logs got purged and now the logs are not created...need some suggestion to troubleshoot this issue...

1 ACCEPTED SOLUTION

Accepted Solutions

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi,

 

Maybe you should set everything to default again, remove all verbose entries, set the retention to 30, and run vxlogcfg -a -p 51216 -o Default -s DebugLevel=1 -s DiagnosticLevel=1

 

Then restart your services.

View solution in original post

9 REPLIES 9

Marianne
Level 6
Partner    VIP    Accredited Certified

Which NBU version? Which OS?

Legacy or unified logs?

Pratham13
Level 3

NBU version is 6.5.4 and OS is SLES 10 SP3

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Legacy or Unified Logging?

Pratham13
Level 3

sry... i replied to ur query incompletely..

Legacy logs in /usr/openv/netbackup/logs directory

Marianne
Level 6
Partner    VIP    Accredited Certified

Which logs? Legacy or unified?

Legacy logs are under /usr/openv/netbackup/logs
Which logs have you enabled here?

Unified logs are under /usr/openv/logs

Please post output of:

bpconfig -L

and

vxlogcfg -p 51216 -o Default -l

 

If I may ask - why 1000 days? That is close to 3 years? Does your master server have the space and resources to deal with this amount of logs? Each times NBU is restarted, and each night at midnight every single log file has to be evaluated for purging.

Pratham13
Level 3

As mentioned above in my earlier post I am talking about unified logs under /usr/openv/netbackup/logs directory

 

The ouput you required is mentioned below..

# sudo /usr/openv/netbackup/bin/admincmd/bpconfig -L

Mail Admin:             *NULL*
Job Retry Delay:        10 minutes
Max Jobs/Client:        1
Backup Tries:           2 in 12 hours
Keep Logs:              10245 days
Max drives/master:      0
Compress DB Files:      (not enabled)
Media Mnt Timeout:      0 minutes (unlimited)
Shared Timeout:         0 minutes(unlimited)
Display Reports:        24 hours ago
Keep TIR Info:          1 days
Prep Interval:          4 hours (default)
Max Backup Copies:      2
DB Clean Interval:      12 hours
DB Clean Wait Time:     60 minutes
Policy Update Interval: 10 minutes

# sudo /usr/openv/netbackup/bin/vxlogcfg -p 51216 -o Default -l
Configuration settings for originator 112, of product 51216...
LogDirectory = /usr/openv/logs/
DebugLevel = 6
DiagnosticLevel = 6
DynaReloadInSec = 0
LogToStdout = False
LogToStderr = False
LogToOslog = False
RolloverMode = FileSize
LogRecycle = False
MaxLogFileSizeKB = 51200
RolloverPeriodInSeconds = 43200
RolloverAtLocalTime = 0:00
NumberOfLogFiles = 3
OIDNames =
L10nLib = /usr/openv/lib/libvxexticu.so.1
L10nResourceDir = /usr/openv/resources
SyslogIdent = VRTS-NB
SyslogOpt = 0
SyslogFacility = LOG_LOCAL5
LogFilePermissions = 664

 

On your query of putting log retention for 10000 days.. I was just testing it...so that logs do not get deleted.. we keep the logs just for 30 days and then they are moved to our log management server


 

jyo
Level 2

Have you specified any number for verbose in bp.conf entries?

Marianne
Level 6
Partner    VIP    Accredited Certified

Which log directories have you actually created under /usr/openv/netbackup/logs?

Did the logging stop after you increased the 30 days to 1024? 

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi,

 

Maybe you should set everything to default again, remove all verbose entries, set the retention to 30, and run vxlogcfg -a -p 51216 -o Default -s DebugLevel=1 -s DiagnosticLevel=1

 

Then restart your services.