cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Saving Opscenter log to different disk

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
Highlighted

Use quotes(" ") to enclose

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

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

 

Highlighted

Can you please type her the

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.
 

Highlighted

Hey Dolly, Did you checked

Hey Dolly,

Did you checked the regedit option and tried??

Highlighted

Hi Dolly, You are missing "-s

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.