Endpoint Protection

 View Only
Expand all | Collapse all

Initialization of Database failed - SQL2008 existing database

Migration User

Migration UserSep 06, 2010 11:53 AM

Migration User

Migration UserSep 06, 2010 12:00 PM

Migration User

Migration UserSep 07, 2010 02:58 AM

Migration User

Migration UserSep 07, 2010 03:46 AM

  • 1.  Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:14 AM
    Hi,

    I've installed The SEPM, I already have a cluster of SQL 2008 and my DBA's configured a DB for me (do the database already exists). I let them know of the required file groups and special permissions mentioned in the documentation.
    When I try to setup the SEPM, it fails with the "initialization of database error", I tryed looking for the log file the message mentioned in ...\tomcat\logs\install_log.err and the log file was empty.I thought there might be some sort of a problem with the file, so I deleted it and when I retry the process it does not create the log file at all.
    I'm not certain what's wrong, but I think the permissions on the directory are O.K. - not certain what to do next?



  • 2.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:22 AM
    What version of SEPM are you trying to install Make sure you are using RU6MP1 (11.0.6100.xxxx )


  • 3.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:27 AM
    Are you doing this through RDP session?

    If yes then try to install through console session.


    Product corruption or failure appears during an installation or migration while using an improperly configured remote session.

    http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2008061215013248


  • 4.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:28 AM

    Is the Database on the same Machine where you are trying to install SEPM?

    Check the following article

    Title: 'Best Practices guide for Installing the Symantec Endpoint Protection Manager 11 RU5 with a SQL Server 2008 Database'
    Web URL: http://service1.symantec.com/support/ent-security.nsf/docid/2009093006181448




  • 5.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:29 AM
    Yes 11.0.6MP1, After restart I found that the file-groups are missing associated files.
    I thought the setup will create those, now how should I know which files, size & parameters should be defined for each filegroup.
    Is there a scripts that generate it?


  • 6.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:31 AM
    BTW, I can't use the New database as my DBA won't allow the application to touch the master database & the rest of the databases (only this specific database).


  • 7.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:32 AM
    No RDP session involved, and I mentioned this already - restart solved the log issue.


  • 8.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:34 AM

    Try this

    Login to the SQL Server Management Studio using Windows Authentication

    Right Click on the Server Name/Instance name click properties

    Select Security and Change the Authentication Mode of the SQL server from "Windows Authentication Mode (Windows Authentication)"
    to "Mixed Mode (Windows Authentication and SQL Server Authentication)".

    Click OK

    Under the SQL Server Management Studio expand Security and then expand Logins.

    Right Click on "sa" click properties go to Status and change it to Enabled.

    Click OK

    Again right click on Server name\Instance Name and click Restart.

    It will restart the SQLSERVER service and you should be able to install SEPM.



  • 9.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:38 AM
    My DBA won't allow it and I've been told that it is not a seperate instance, only a seperate DB (so it will shut the rest of the DB's down).
    Beyond that, allowing sa is prohibited by my admin.
    In other words, I need to get a script or something to run on the SQL to associate files to those filegroups with the right parameters.
    Is there such a script?


  • 10.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:46 AM

    How many workstations do you have in the network on which you will be installing SEP Client?


  • 11.  RE: Initialization of Database failed - SQL2008 existing database



  • 12.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:53 AM
    ~4000 worksations


  • 13.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 11:55 AM

    Any specific reason you want to use SQL?

    You can also use Embedded Database that comes with SEPM, which can be used for 5000 Client. This is a suggestion as there are few limitations you using the SQL Server.


  • 14.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 12:00 PM
    ~4000 worksations


  • 15.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 12:02 PM
    Since Symantec representative highly recommended us to use SQL, that's what we do.
    In the future we might setup 2 server that will backup one each other - and this will be a preperation.


  • 16.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 12:03 PM
    I did the mentioned steps, but still there were no files associated to the filegroup.


  • 17.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 12:03 PM
    Here is the error message:

    SQL Exception:
    SQL Command: ALTER TABLE LOG_CONFIG ADD CONSTRAINT PK_LOG_CONFIG PRIMARY KEY NONCLUSTERED (LOG_TYPE) ON FG_INDEX
    SQLState:  S1000
    Message:  The filegroup "FG_INDEX" has no files assigned to it. Tables, indexes, text columns, ntext columns, and image columns cannot be populated on this filegroup until a file is added.
    Vendor:  622
    java.sql.SQLException: The filegroup "FG_INDEX" has no files assigned to it. Tables, indexes, text columns, ntext columns, and image columns cannot be populated on this filegroup until a file is added.
    at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:364)
    at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2754)
    at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2195)
    at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:620)
    at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:483)
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:445)
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:623)
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeUpdate(JtdsStatement.java:1042)
    at net.sourceforge.jtds.jdbc.JtdsStatement.executeUpdate(JtdsStatement.java:999)
    at com.sygate.scm.server.db.util.DatabaseUtilities.execCommandFromScript(DatabaseUtilities.java:1253)
    at com.sygate.scm.install.ui.MainFrame.initDatabase(MainFrame.java:1963)
    at com.sygate.scm.install.ui.MainFrame.configureDB(MainFrame.java:1253)
    at com.sygate.scm.install.ui.MainFrame.nextBtnActionPerformed(MainFrame.java:838)
    at com.sygate.scm.install.ui.MainFrame.access$400(MainFrame.java:183)
    at com.sygate.scm.install.ui.MainFrame$3$1.construct(MainFrame.java:617)
    at com.sygate.scm.install.util.SwingWorker$2.run(SwingWorker.java:121)
    at java.lang.Thread.run(Thread.java:619)


  • 18.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 12:05 PM

    If that is the case then is it possible to install SQL only for SEPM on the same machine where you have to install SEPM



  • 19.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 12:10 PM
    As of now the cause for this issue is not knwon. You can try install SQL DB locally on the same machine as SEPM.


  • 20.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 12:21 PM

    The user account for database access must have privileges db_ddladmin, db_datareader, and db_datawriter.

    If these requirements are not met, your installation fails. A best practice is to define a new database.


    http://seer.entsupport.symantec.com/docs/330748.htm



  • 21.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 06, 2010 12:40 PM
    To create the database you have to be logged in as DBA ..using SA..If using Windows Authentication then login as Domain Admin


  • 22.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 07, 2010 01:59 AM
    The privileges for the DB user where already given and the filegroups where defined.
    For some reason it is not enough.


  • 23.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 07, 2010 02:10 AM
    How the SQL server installed?Is it in windows authentication mode or in Mixed authentication mode?


  • 24.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 07, 2010 02:12 AM
    Also go tho start--->programs--->Microsoft SQL 2008--->SQL server management studio and try to login to SQL server with the given credentials.Are you able to login here?


  • 25.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 07, 2010 02:30 AM
    SQL server is installed with mixed mode and the authentication I was given is SQL authentication.
    And Yes, I'm capable of performing login with my user & password.


  • 26.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 07, 2010 02:38 AM

    Is there any issue in installing the database locally?


  • 27.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 07, 2010 02:43 AM

    Can you try to install SQL locally on the same machine and then try ?


  • 28.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 07, 2010 02:58 AM
    What is the OS of your SEPM?


  • 29.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 07, 2010 03:06 AM
    TCP Offload Engine may be the culprit here.Disable it.have a look at this KB
    Symantec Endpoint Protection appears to cause networking problems with NICs using a TCP Offload Engine


  • 30.  RE: Initialization of Database failed - SQL2008 existing database
    Best Answer

    Posted Sep 07, 2010 03:40 AM
    Hi Guys,
    I just followed the below parameters when configured the file groups and everything seems to be working just fine.

    http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2008063014073748

    Thanks for your assistance,
    Shalom Cohen


  • 31.  RE: Initialization of Database failed - SQL2008 existing database

    Posted Sep 07, 2010 03:46 AM
    Happy to hear your problem got rectified