core services will not start (NETIQKB70531)

  • 7770531
  • 19-Jul-2007
  • 31-Dec-2007

Environment

Security Manager 5.6
Security Manager 6.0

Situation

SmServiceHost log file....ERROR NetIQ.BusinessServicesManager.ServicesManager: Cannot open database requested in login 'OnePoint'. Login fails.
Login failed for user Domainname\username.

Resolution

Check the program files\netiq security manager\netiq security manager core\smservicehost.exe.config file, do a find for the businessservices configuration section.  If the databases are indicating a local host instead of the actual database server, then there is a problem.

To fix the issue, do a search for the C:\Documents and Settings\user_name\Local Settings\Temp\NetIQsm-maininstallation-mmddyyyy hhmmss.txt on the CC where the core service won't start.  Look for this string in the file: BusinessServiceServerConfiguration.exe /dir:"C:\Program Files\NetIQ Security Manager\NetIQ Security Manager Core" /onepointdb:SQL_server_name  /commondb:SQL_server_name  /host:Core_services_computer /id:{54172006-AFE5-4187-8120-0DDB002EE6D1} /name:"Config_group_name"

If there are double double quotes or double brackets around the last 2 entries (guid and config_group name), remove it and then run this string from a command line.

An example of an incorrect string would be: BusinessServiceServerConfiguration.exe /dir:"C:\Program Files\NetIQ Security Manager\NetIQ Security Manager Core" /onepointdb:SQL_server_name /commondb:SQL_server_name  /host:Core_services_computer  /id:{{54172006-AFE5-4187-8120-0DDB002EE6D1}} /name:""config_group_name""

The correct command to fix the issue would be: C:\program files\netiq security manager\netiq security manager core\BusinessServiceServerConfiguration.exe /dir:"C:\Program Files\NetIQ Security Manager\NetIQ Security Manager Core" /onepointdb:SQL_server_name  /commondb:SQL_server_name  /host:Core_services_computer  /id:{54172006-AFE5-4187-8120-0DDB002EE6D1} /name:"config_group_name"

 

Cause

The smservicehost.exe.config had "local host" as the sql server.  Subsequently the core service cannot find the sql server.

Additional Information

Formerly known as NETIQKB70531