K2 BlackPearl Server Service

Last post 06-17-2008, 5:06 PM by Rui Martinho. 11 replies.
Sort Posts: Previous Next
  •  08-29-2007, 1:40 PM 18232

    K2 BlackPearl Server Service

    Hi

    I did installed and configured BP along with all components successfully, however, whenever I start the server service, it stops immediately by itself.

     Any ideas why?? or how to fix this?


    Yousef T. Eqtait
    K2 Consultant - DXB
    Filed under:
  •  08-29-2007, 3:36 PM 18233 in reply to 18232

    • robind is not online. Last active: 02 Dec 2008, 11:21 AM robind
    • Top 200 Contributor
    • Joined on 06-13-2007
    • Wellington, New Zealand
    • Posts 21
    • Points 63

    Re: K2 BlackPearl Server Service

    Hi

     We have also had a problem similar to yours. Similarly when we run the K2[blackpearl] Host Server the server will start and then complain about a SQL Bind error and close the window.

     One way to get around (this works for us :-) ) this is to shutdown IIS then restart the K2[blackpearl] Host Server which should successfully start the Server and then restart IIS.

     Let me know how you get on.

  •  08-30-2007, 3:19 AM 18250 in reply to 18232

    Re: K2 BlackPearl Server Service

    Hi,

    You generally have to give the service account running K2 [blackpearl] server "Log on as a Service Right"

    This quickest way to do this is to go into the services console and verify the account on the "Log On" Tab.

    This will give the account the Log on as a service right automatically.

    For more information, please see the K2 [blackpearl] installation guide > Post Installation > Service Account and Security > Configure the Host Service Logon.

    If this is not what is wrong, start K2 [blackpearl] server in console mode while the service is stopped. This should show you what the problem is.

    Hope this helps.


    JohanL
    __________________________________________________________________
    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  08-30-2007, 3:24 AM 18251 in reply to 18232

    Re: K2 BlackPearl Server Service

    I had the same problem. Simply run K2 Blackpearl HostServer (console mode) in order to get more details about the error. If you previously installed Blackpearl Beta 2.1, the issue is discussed here : http://k2underground.com/forums/thread/17940.aspx
    Please remember to change the thread status when a valid answer has been given
  •  08-30-2007, 3:31 AM 18252 in reply to 18251

    Re: K2 BlackPearl Server Service

    I did have beta 2 and beta2.1 installed and seems i didnt clean up the computer completely.

    I will do the cleanup and see...will keep you posted.

     

    thanks everybody


    Yousef T. Eqtait
    K2 Consultant - DXB
  •  08-31-2007, 4:10 PM 18320 in reply to 18252

    • rk2d2 is not online. Last active: 01-25-2008, 9:07 AM rk2d2
    • Top 500 Contributor
    • Joined on 08-17-2007
    • thRedmond, WA
    • Posts 7
    • Points 16

    Re: K2 BlackPearl Server Service

    If you have two K2 Services because the Beta version is still there, set the old K2 Service to disabled. I believe there is documentation for installing over Beta, but here's what I did [in order] for a single machine install:

    Run the uninstaller for the Beta documentation

    Uninstall all other Beta K2 Black Pearl installations.

    Modify the machine.config

    Delete all of the Black Pearl databases on the SQL Server

    Delete the K2 Black Pearl folder in the Program Files directory

    Set the existing K2 Service to disabled

    Install the later version of Black Pearl

     

     


    K9[dogfood]


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  09-04-2007, 7:45 AM 18389 in reply to 18252

    • geek is not online. Last active: 04-08-2008, 9:09 AM geek
    • Top 50 Contributor
    • Joined on 06-10-2007
    • Jiddah, Saudi Arabia
    • Posts 71
    • Points 246

    Re: K2 BlackPearl Server Service

    Hi,

    I suggest to start the service in a prompt mode rather than Windows Service Manager, try to cmd the service "path to executable" in the K2 BP Host Service properties dialog, most likely you'll get the same path:

    "C:\Program Files\K2 blackpearl\Host Server\Bin\K2BlackPearlServer.exe" 

     

  •  06-16-2008, 7:44 AM 24297 in reply to 18389

    Re: K2 BlackPearl Server Service

    I'm having the same problem, did a clean installation of blackpearl 0803 and the service stops after a few seconds.

     Did anyone solve this problem?

    Thanks

  •  06-16-2008, 8:21 PM 24309 in reply to 24297

    Re: K2 BlackPearl Server Service

    Normally it means there's some issue initializing.

     I would first turn on file tracing and set the logging level to all (see http://k2underground.com/blogs/johnny/archive/2007/10/06/how-do-i-use-logging-in-k2-blackpearl.aspx) and then check the log trace for errors.

    If that doesn't tell you anything.  Try the event log to see if there are other errors logged there.  So far I have been able to get further clues in either of these two locations.

  •  06-17-2008, 2:30 AM 24313 in reply to 24309

    Re: K2 BlackPearl Server Service

    I'm getting this error in the log:

    "3966","2008-06-17 10:18:20","Error","System","2001","ServerStartError","SourceCode.Hosting.Server.Runtime.HostServerEngine.StartHostServer","2001 Error Starting Host Server: Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened. (c:\program files\k2 blackpearl\Host Server\Bin\K2HostServer.config line 34)","system","10.40.0.127","HCISAPL03:c:\program files\k2 blackpearl\Host Server\Bin","3966","9514e8809f54491a88cd426c449cebc1",""

     

    Should I use the ASPNet_regiis tool to add K2 Server service user (k2bpservice) to the ACL of the key container using the –pa parameter?:

    aspnet_regiis -pa "NetFrameworkConfigurationKey" "k2bpservice"

  •  06-17-2008, 5:29 AM 24317 in reply to 24313

    Re: K2 BlackPearl Server Service

    Rui,

    I saw this error message once when the account running the K2 service was not a local admin.  If possible, make sure your service account is a member of the local admin group.  If you are not allowed to do that for policy reasons, take a look at our article called "Security and Authentication in blackpearl" to see what additional permissions the account must have.  In my case, giving the K2 service account full control over %ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA and all of it's subdirectories did the trick. 

    That article should be posted somewhere here on underground or on our customer portal site.


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  06-17-2008, 5:06 PM 24329 in reply to 24317

    Re: K2 BlackPearl Server Service

    Thanks!

    The subdirectories did it, the user only had at full control at %ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA

View as RSS news feed in XML