Forum Discussion

Dollypee's avatar
Dollypee
Moderator
11 years ago

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

  • 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.

  • 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.
     

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

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