Endpoint Protection

 View Only
Expand all | Collapse all

Can't Start "Symantec Embedded Database" service.

Migration User

Migration UserFeb 03, 2010 02:07 AM

Migration User

Migration UserFeb 03, 2010 02:19 AM

Migration User

Migration UserFeb 03, 2010 02:48 AM

  • 1.  Can't Start "Symantec Embedded Database" service.

    Posted Jan 29, 2010 09:19 AM

    Can't Start "Symantec Embedded Database" service.

    I get this in my event viewer:

    "The description for Event ID ( 1 ) in Source ( ASA 9.0 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: ASANYs_sem5, Could not start server."

    On trying to start the service in Services I get a message that says:

    "The Symantec Embedded Database service started then stopped. Some services stop automatically if they have no work to do."

    How do I fix this? None of the fixes I have read up on have worked. I have tried a repair too but to no avail. Please someone sort me out!

    Urgent.



  • 2.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Jan 29, 2010 09:37 AM
    @Kui

    I have experienced this same error before.
    What I did to fix the issue is rename the sem5.log to sem5.old file in "\Symantec Endpoint Protection Manager\db". See if that helps.

    Mike


  • 3.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Jan 29, 2010 09:48 AM
    Strangely..I can't locate sem5.log.

    All that's there is sem5.db and sem5.txt.


  • 4.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Jan 29, 2010 10:00 AM
    That's probably because you have done a repair on the install. Do you have a backup of the database?
    The backup zips are usually stored here: \Symantec Endpoint Protection Manager\data\backup

    Try unzipping the backup, and copying it to the the db folder "\Symantec Endpoint Protection Manager\db". Try starting the service.

    Most likely, the database is damaged. You might have to do a clean install.

    Mike



  • 5.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Jan 29, 2010 10:23 AM
    As was told, it might happen due to a broken database too ... Unfortunately you can't even check if the db is broken or not coz the dbvalidator needs DB service to be running... Okay, try this..

    * Check if you have any process called dbsrv9.exe running.( It won' be there, check it anyway)

    * Run dbsrv9.exe from SEPM\ASA\Win32 \

    * Provide the server name and point the app to the sem5.db .. It ill try to initiate a connection with database.... If that's successfully started, the problem is with the service...

    * Paste the output of running that file, Lets check what it says :)


  • 6.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Jan 30, 2010 01:38 AM
    2 logical processor(s) on 1 physical processor(s) detected.
    Per-processor licensing model. The server is limited to use 16 processor(s).
    This server is licensed to:
        Symantec
        Symantec
    Running on Windows 2003 Build 3790 Service Pack 1
    2048K of memory used for caching
    Minimum cache size: 2048K, maximum cache size: 262144K
    Using a maximum page size of 8192 bytes
    Starting database "sem5" (C:\Program Files\Symantec\Symantec Endpoint Protection Manager\ASA\win32\sem5.db) at Sat Jan 30 2010 09:20
    Performance warning: Database file "C:\Program Files\Symantec\Symantec Endpoint Protection Manager\ASA\win32\sem5.db" consists of 51 disk fragments
    Transaction log: sem5.log
    Starting checkpoint of "sem5" (sem5.db) at Sat Jan 30 2010 09:20
    Finished checkpoint of "sem5" (sem5.db) at Sat Jan 30 2010 09:20
    Database "sem5" (sem5.db) started at Sat Jan 30 2010 09:20
    Database server started at Sat Jan 30 2010 09:20
    Trying to start SharedMemory link ...

        SharedMemory link started successfully

    Trying to start NamedPipes link ...

        NamedPipes link started successfully

    Trying to start TCPIP link ...

    Starting on port 2638
        TCPIP link started successfully

    Trying to start SPX link ...

    SPX communication link not started

    Now accepting requests


  • 7.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Jan 30, 2010 02:29 AM
    In the ODBC properties, uncheck SPX commmunication in the 'Network' Tab...  and try to runthis application again... If its started succesfully, it wil minimize itself to system tray ..

    * Run dbvalidator.bat and check the log under tomcat\logs\dbvalidator.log

    * Run management server config wizard and reconfigure the server.

    Lets see what happens :)


  • 8.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Jan 30, 2010 03:14 AM
    Thanks ALOT for helping me out.

    SPX Comm was not checked in ODBC properties. Left it as is.

    After running dbsrv9 again: It minimises....*good thing*

    Log from dbvalidator:

    2010-01-30 10:45:58.106 INFO: logger initialized ...
    2010-01-30 10:45:58.106 INFO: SEPM Server Home:[C:\Program Files\Symantec\Symantec Endpoint Protection Manager\Tools\..\tomcat]
    2010-01-30 10:46:01.700 SEVERE: ERROR: can't init database. exit.

    That does not look good.

    Running management server config wizard doesn't work: error is Failed to connect to database (which would make sense coz it's not starting up.

    Please don't tell me I have to do a clean install.


  • 9.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Jan 30, 2010 03:30 AM
    Reboot the machine and see if the database service is getting started or not.

    if that does not work in that and to case you have to uinsstall and reinstall the SEPM and use the sylink replacer to bring back all the cleint in SEPM

    else if you have a back up of the SEPM database then you can restore it in the new SEPM and you can get all your settings back


  • 10.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Jan 30, 2010 04:53 AM
    As long as you have this DB folder and as long as its not corrupted,we can easily rebuild the system.. But lets check few things before we go with the ultimate solution :)

    * Change the registry key :

    - HKLM\System\CurrentControlSet\Services\ASANY_sem5
    - Edit the parameters key
    - Scroll to he right end and you can find the db port, change it to 2639(Something different from the usual 2638)
    - Close down the registry and try to start the service.

    * If we still have the problem, run dbsrv9.exe and let it connect over 2639(or the new port)

    * Now run mgmt server wizard and change the db por to 2639 and proceed.

    Note: Symantec Embedded service is nothing but the dbsrv9.exe , so we are basically trying to launch it as a process than as a service.


  • 11.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 01, 2010 02:29 AM
    Changed the port number to 2639, the service still did not start.

    When I run dbsrv9.exe it still tries to connect over 2638 instead of 2639. Restarted the server and it's still doing that.

    Can't change port number in mgmt server wizard because it still sees 2638 as the port number. Is there somewhere else I need to change the port number so that dbsrv9 recognises it?

    What would the ultimate solution be?


  • 12.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 01, 2010 02:38 AM
    Symantec Endpoint Protection: Why and how is the port changed on an embedded database? http://service1.symantec.com/SUPPORT/ent-security.nsf/2326c6a13572aeb788257363002b62aa/fbeaa0c45477d3d8652573d40062f2b5?OpenDocument


  • 13.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 01, 2010 03:20 AM
    Enbedded db service is not running so I can't do this. It's the problem I'm having in the first place.


  • 14.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 01, 2010 03:27 AM
    It seems that you have tried alomost all the steps , in this senario you have to uinsstall and reinstall the SEPM and use the sylink replacer to bring back all the cleint in SEPM

    else if you have a back up of the SEPM database then you can restore it in the new SEPM and you can get all your settings back



  • 15.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 01, 2010 03:51 AM
    Are you able to start the reconfiguration wizard?
    If yes jst try to reconfigure it after changing the port no in registry..


  • 16.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 01, 2010 09:49 AM
    Kindly check in the properties file for the db port...

    SEPM \ Tomcat \ etc \ conf.properties

    Ultimate solutions, unfortunately, happens to be a rebuild! .. (If we are helpless!! :( )


  • 17.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 01:59 AM
    I can start the wizard, but won't get past the page that you specify port number and password. Tried to change the port number but it won't recognise the new one.


  • 18.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 02:07 AM
    Do you have any database backup? 


  • 19.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 02:17 AM
    Thanks again.Below is my conf.properties file.

    #Mon Feb 01 10:10:29 GMT+03:00 2010
    scm.server.version=11.0.4014.26
    scm.timer.lu_delta=2
    scm.server.type=master
    scm.db.client.bin=C\:\\Program Files\\Symantec\\Symantec Endpoint Protection Manager\\ASA\\win32
    scm.timer.agentstatus=60
    scm.timer.activedirectory=86400
    scm.companysize=3
    scm.timer.logcollection=20
    scm.liveupdateclient.path=C\:\\Program Files\\Symantec\\LiveUpdate
    scm.agent.root=C\:\\Program Files\\Symantec\\Symantec Endpoint Protection Manager\\data
    scm.server.port=8443
    scm.iis.http.defaultsite=0
    scm.timer.iiscache=10
    scm.agent.groupcreation=false
    scm.agent.kcs=A9259ED1A4AE2927E8CBB3F33EC9948E
    scm.db.datasource=jdbc/metadatabase
    scm.timer.appcollection=20
    scm.timer.packagebuilder=60
    scm.iis.http.port=8014
    scm.http.port=9090
    scm.extlog.deli=,
    scm.server.backup=C\:\\Program Files\\Symantec\\Symantec Endpoint Protection Manager\\Server Private Key Backup\\
    scm.console.log=true
    scm.server.name="x"
    scm.server.id=6D23BC90C0A800030087C80196F6C98E


    Can't find the db port in it. Not a good thing. Is there a way to insert it?


  • 20.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 02:19 AM
    None. Was a new install. Barely two months old.


  • 21.  RE: Can't Start "Symantec Embedded Database" service.



  • 22.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 02:48 AM
    Please get me the link to get it.


  • 23.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 02:49 AM
    To obtain "SylinkReplacer", contact Symantec Technical support at:
    http://www.symantec.com/business/support/index.jsp
     


  • 24.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 03:54 AM
    Not available in my country. An email address i could send an email to to request it?


  • 25.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 05:52 AM


  • 26.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 07:17 AM
    Got it.

    Thanks alot.

    Quick confirmation. I run it before uninstalling the SEPM right?


  • 27.  RE: Can't Start "Symantec Embedded Database" service.

    Posted Feb 03, 2010 07:26 AM
    you run that after u install new sepm.
    take sylink from new sepm and run the tool
    there is a pdf, go through it , well explained :)