cancel
Showing results for 
Search instead for 
Did you mean: 

Saving Opscenter log to different disk

Dollypee
Moderator
Moderator
   VIP    Certified

Opscenter version : 7.6.0.1

Hardware: WIN server 2008 R2

Question:

Am trying to move/save opscenter logs to different disk on the same system using vxlogcfg.bat. But some how getting below errors.

Please help:

D:\Program Files\Symantec\OpsCenter\server\bin>vxlogcfg.bat -a -p 58330 -o 148 -s D:\Program Files\Symantec\OpsCenter\server\log
V-1-8-5 An unknown argument Files\Symantec\OpsCenter\server\logs=E:\ was passed.

Where E:\ is the new log directory am try to move to.
4 REPLIES 4

Andrew_Madsen
Level 6
Partner

Use quotes(" ") to enclose all options with spaces in them.

"D:\Program Files\Symantec\OpsCenter\server\log"

 

Dollypee
Moderator
Moderator
   VIP    Certified

Can you please type her the full commands. Here's what i ran:

vxlogcfg.bat -a -p 58330 -o 148 -s "D:\Program Files\Symantec\OpsCenter\server\logs"="E:\"

 

Errors:

D:\Program Files\Symantec\OpsCenter\server\bin>vxlogcfg.bat -a -p 58330 -o 148 -s "D:\Program Files\Symantec\OpsCenter\server\lo
V-1-8-12 Warning! Invalid setting D:\Program Files\Symantec\OpsCenter\server\logs.
 

Yogesh_Jadhav1
Level 5

Hey Dolly,

Did you checked the regedit option and tried??

ontherocks
Level 6
Partner Accredited Certified

Hi Dolly,

You are missing "-s LogDirectory=" in the command.

 

Try Below command :-

D:\Program Files\Symantec\OpsCenter\server\bin\vxlogcfg.exe -a -p 58330 -o <OID> -s LogDirectory="<New logdirectory location>"

Note: 58330 is the OpsCenter product ID.