spacer
Support - Platinum Support
tab end BCS Web Site divider MySupport divider Log Out navbar end
navbar end home symantec alerting service security center knowledge base navbar end
spacer
BCS Knowledge Base

spacer
spacer

Rate This Document
1x3 spacer
1x1 spacer

print this documentDocument ID:2007090613570348
Last Modified:09/20/2008

Symantec Endpoint Protection Manager service stops with a Java -1 error in the event log

Situation:The Symantec Endpoint Protection Manager (SEPM) 11.x service "SemSrv" stops a few seconds after it has been started.
In the event log there is an error: "The Java Virtual Machine has exited with a code of -1, the service is being stopped".

Solution:This problem can have several different causes. Most common are problems connecting to the database but examine the full list of possible causes below.
    • This issue can happen if the SEPM web server in IIS is set to bind to a specific IP address instead of (All Unassigned) which is the default.
      1. To correct this go to the Properties dialog of the Default Web Site (or the site configured during the install) in the IIS management console and change the IP address binding back to (All Unassigned).
      2. If running on a 64bit machine IIS needs to be in 64bit mode(default but can be changed by other programs if IIS is running other sites before the install of the manager.
    • If you see this error just after an install or a database reconfiguration or restore then the error might be caused by incomplete database settings.
      1. Open up the "Management Server Configuration Wizard" from the start menu and walk through the "Reconfigure the management server" wizard to make sure all settings for the database are correct. Once this is completed the Symantec Endpoint Protection Manager service should start properly again.
    • If configured to use a Microsoft SQL server and the database is down or the machine unreachable this can also cause the SEPM service to shut down.
      1. Verify the connection to the SQL database from the SEPM machine.
    • If configured to use the embedded database verify that it is running and reachable.
      1. Verify that the "Symantec Embedded Database" service is running and that the dbsrv9.exe process is listening on TCP port 2638.
    • If there is already an application listening on one of the TCP ports the console is configured to use it can also cause the service to fail.
      1. Verify that no other process is listening on TCP ports 8443, 9090 or 8005
      2. See this article for more information: "Which communication ports does the Symantec Endpoint Protection Manager 11.x use?"
    • This issue can occur if folder permissions are not correct on the "Symantec Endpoint Protection Manager" folder.
      1. Verify that "Users" have at least "Read & Execute", "List File Contents", and "Read" permissions on the "Symantec Endpoint Protection Manager" folder.


If the above solutions do not help, then enable debug logging of the Symantec Endpoint Protection Manager to gather more information about the problem.
    1. Open the file C:\Program Files\Symantec\Symantec Endpoint Protection Manager\tomcat\etc\conf.properties for editing.
    2. Add the line scm.log.loglevel=fine to the bottom of the file.
    3. Try restarting the Symantec Endpoint Protection Manager service again.
    4. After the service has stopped look for hints to the problem in the catalina.out and scm-server-0.log files located in the "Symantec Endpoint Protection Manager\tomcat\logs" folder.
    5. See the article "How to: Debug the Symantec Endpoint Protection Manager (SEPM) 11.x console" for more information"

    References:This document is available in the following languages:

    print this documentDocument ID:2007090613570348
    Last Modified:09/20/2008


    rate this document
    Does this document answer your question?
    Yes
    No
    Maybe, need to test
    None of the above
    Is this document well written and easy to use?
    Submit specific suggestions to improve the quality of this document.


    Product(s): Endpoint Protection 11, Network Access Control 11
    Operating Systems(s):
    Date Created: 09/06/2007

      © 1995-2014 Symantec Corporation. All rights reserved. feedback | legal notices | privacy policy