Steps to take before you upgrade the Brightmail Control Center to version 6.0.3 for Symantec Brightmail AntiSpam

Article:TECH83964  |  Created: 2005-01-07  |  Updated: 2010-09-24  |  Article URL http://www.symantec.com/docs/TECH83964
Article Type
Technical Solution


Environment

Issue



You plan to upgrade the Brightmail Control Center to version 6.0.3. You need to know what to do before you perform the upgrade.


Solution



If the 6.0.2 version was previously upgraded from versions 6.0.0 or 6.0.1, a problem can occur when you upgrade from version 6.0.2 to version 6.0.3. The problem is the inability to log on to the Control Center after you upgrade to version 6.0.3.

If you already tried to upgrade to version 6.0.3 and you can no longer log on to the Brightmail Control Center, contact Symantec Technical Support.

This page does not apply if one of the following is true:

  • The software upgrade is from version 6.0.0 to 6.0.3.
  • The software upgrade is from version 6.0.1 to 6.0.3
  • The installed 6.0.2 version is the first release of Symantec Brightmail AntiSpam on the appliance and you upgrade to version 6.0.3.


To edit the Zero G file to change the version number

  1. In a text editor, open the .com.zerog.registry.xml file.
    The locations of this file are as follows:
    • Solaris or Linux
      /var
    • Windows
      • <Drive:>\Program Files\Zero G Registry
  2. Change all instances of the version 6.0.x.100 to 6.0.2.100, where .x. is a number.
    The specific line then reads as follows:

    <component ref_id="0752f4b5-1eca-11b2-97d9-df95d51bf173" version="6.0.2.100"

  3. Save the updated file.
  4. Proceed with the upgrade installation to version 6.0.3.





Technical Information
The following procedures are presented as an alternative to a manual update of the Zero G file.


To update the Zero G file on Solaris or Linux systems

  1. Copy the .com.zerog.registry.xml file to /var/tmp/zerog_601_602.xml
    The file location is as follows:

    /var
  2. At a command prompt, type the following command:

    sed -e '/0752f4b5-1eca-11b2-97d9-df95d51bf173/s/6.0.1.100/6.0.2.100/' \ /var/tmp/zerog_601_602.xml \ > /var/.com.zerog.registry.xml
  3. Run the Symantec Brightmail AntiSpam 6.0.3 installer.



To update the Zero G file on Windows by using a VBS script

  • Create and run the following VBS script (change the "source" and "target" variables to match your installation):

    '----------------------------------------------------
    Dim fso, buf, source, target, Inpt, Outpt, re_key, six01, six02

    source  = "C:\Program Files\Zero G Registry\.com.zerog.registry.xml"
    target  = "C:\Program Files\Zero G Registry\copy_of.com.zerog.registry.xml"

    six02   = "6.0.2"
    six01   = "6.0.1"
    oid     = "0752f4b5-1eca-11b2-97d9-df95d51bf173"
    count   = 0
    set fso         = CreateObject( "Scripting.FileSystemObject" )
    set re_key      = new regexp
    re_key.Pattern  = "0752f4b5-1eca-11b2-97d9-df95d51bf173"

    if Not fso.FileExists( source ) then
       Wscript.Echo vbCrLf & "Unable to locate " & source
       Wscript.Echo "Modify the 'source' variable and re-run the script"
       Wscript.Quit
    end if

    fso.MoveFile source, target
    set Inpt  = fso.OpenTextFile( target, 1, False, 0 ) set Outpt = fso.OpenTextFile( source, 2, True,  0 )

    Do while not Inpt.AtEndOfStream
       buf = Inpt.ReadLine
       re_key.Pattern = oid
       if re_key.Test( buf ) then
          re_key.Pattern = six01
          if re_key.Test( buf ) then
             buf = replace(buf, six01, six02, 1, 1, 1)
             count = count + 1
          end if
       end if
       Outpt.WriteLine buf
    Loop
    Wscript.Echo "Run complete:  updated " & count & " lines"
    '-------------- EOF edit_zerog.vbs ----------------------------------

 



Legacy ID



2005120716042263


Article URL http://www.symantec.com/docs/TECH83964


Terms of use for this information are found in Legal Notices