K-PACS Server Broken in 0.9.7

  • Hi


    I have just installed version 0.9.7, over version 0.9.5.


    I had the server running as an NT-service, and this stopped working.


    Everytime I tried to start the service from the Server Admin Tool, it would dissapear from the task manager almost immediately.


    If I tried to restart the service using the cmd interface, initially it would complain that it was already running, and if I stopped it then ran it again it would appear very briefly in the task manager and dissapear again.


    I have now 'upgraded!' to 0.9.5, and all is well again.


    Help!


    ----
    I am running WindowsXP, with all current updates.

  • Hello again


    I have now discovered that actually the NT-Service doesn't work with 0.9.5 either :cry:


    If I try to start the service using

    Code
    kpserver-NT-Service /IA

    it tells me it is already running. But it does not appear in the Windows Task Manager and it doesn't work. If I stop the service using

    Code
    kpserver-NT-Service /U

    and then run it again with

    Code
    /IA

    it appears very briefly in the Task Manager and dissapears.


    However, if I start the service using the K-Pacs Server configuration utility it does work, and it remains in the Task Manager. When I tried this on the later version (0.9.7) even this didn't work.


    Is anyone else having any problems with the NT-Service app? I need this to work without being logged on to the machine or interacting with it, so the NT-Service is brilliant when it works! :lol:


    Or am I the only person who uses K-PACS in this way :?:


    Ed

  • Hi all,


    I experience some strange behaviour of K-Pacs when running as NT-service, too. It does not start automatically and sometimes when trying to start it manually it says "Could not start the K-Pacs DICOM server on Local Computer. The service did not return an error. This could be a internal Windows error or an internal service error. if the problem persists, contact your system administrator."


    This happens independently of what version of K-Pacs I attempt to run.

  • I don't think the version in 0.9.7 was particularly broken, as the same problem happened when I reinstalled 0.9.5.


    I have now installed 0.9.8, and again I have the same issue. Just before installing 0.9.8, I noticed that 0.9.5 was working correctly again!


    Just after I installed it, I noticed the following notice next to the download:

    Quote

    Attention: make shure that KPServer.exe is not running before updating K-PACS!


    As you might guess, I had it running when I did the update. What are the consequenses of leaving it running during the update - could this be the cause of my problems?


    Thanks,
    Ed

  • The file (in this case KPServer.exe) is looked by your operation system when you try to delete or change it while it is running. Finally, this means it will not be changed during the K-PACS update.


    The process does not start (as 'normal' process or as service) when the used port is already used by another instance of KPServer or another process. Make sure you only have one instance of KPServer running at the same time and no process uses the port you want KPServer.exe to use.
    - Use the windows task manager to verify there is no other instance of KPServer running.
    - Use the 'netstat' command or the advanced Microsoft tool 'PortQry' to verify the local port is not used


    regards,


    Yves Neumann

  • Thanks Yves


    I have had a look at the PortQry tool. I used the command

    Code
    PortQry -wport 104 -wt 5

    .


    If I start and stop the server through the K-Pacs Server Admin tool, PortQry tells me that port 104 is listening when it is started, and that

    Code
    the specified port currently does not have any port mappings

    when it is stopped.


    If I do the same thing with

    Code
    kpserver-NT-Service /U

    and

    Code
    kpserver-NT-Service /IA

    there is no activity from PortQry.


    I really can't work out what is going on here!

  • I just tried it with a fresh install of K-PACS 0.9.8.1 and it worked fine for me. Did you start the service with the windows service control manager???


    The command

    Code
    kpserver-NT-Service /IA

    is only installing the service but does not start it. Start the service with the service control manager or just reboot your machine.


    Regards,


    Yves

  • Thanks again.


    I hadn't heard of the windows service control manager! I have now downloaded such a thing from http://www.nttools-online.de/english/srvmgr.htm, and sure enough the service was listed, but not started.


    I have now started it, and it does seem to be working! Hoorah! Thanks.


    Any chance you could update the sticky on this subject to include starting the service - what is the best way to access the service control manager?


    Ed

  • You can access the service control manager (SCM) by browsing to
    "Start"->"Control Panel"->"Administrative Tools" and open "services".
    It will open the built-in SCM. The SCM is available on NT4.0, W2k, XP, W2k3 systems.


    Regards,
    Yves

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!