MAG as mount directory in Ubuntu

  • Hi to all,


    It is possible to set a MAG for ConQuest that is a mount directory in Ubuntu 12.04?


    I have a remote directory that I access with SSH connection. I set rights in that directory to read and write but when I send commands to ConQuest like "--display_status" the dgate stops and I get the error: "segmentation fault".


    I need to know if there is anything that I can do to solve this problem.


    Thank you very much.


    Best Regards.

  • Hi,


    conquest needs to read, write, seek fiels and know free space of the file system. If your mount behaves like a normal disk conquest should work. Can you show me your dicom.ini?


    Marcel

  • Hi Marcel,


    Thank you for your fast reply. My dicom.ini file is:


    The path

    Quote

    /home/user/sftp2/

    is where is mount the directory.


    Thank you.


    Best Regards.

  • Hi,


    dicom.ini looks good, try to add:


    IgnoreMAGDeviceThreshHold = 1


    and see what happens. Also 1) what does the server log before it crashes. And 2) you may run it in gdb:


    Code
    gdb dgate
    run -v
    [wait until crash]
    bt


    To get the crashing function (post the bt results)


    Marcel

  • Hi Marcel,


    Thank you for your help.


    I changed the dicom.ini adding the line mentioned. I ran ConQuest in debug mode and I get the error:

    Code
    Program received signal SIGSEGV, Segmentation fault.


    After that I ran the command bt and get:

    Code
    #0 0x005d6816 in vfprintf () from /lib/i386-linux-gnu/libc.so.6
    #1 0x005e0bef in fprintf () from /lib/i386-linux-gnu/libc.so.6
    #2 0x080abe6d in StatusDisplay(_IO_FILE*) ()
    #3 0x080edb88 in StorageApp::ServerChild(int) ()
    #4 0x080e176e in DriverApp::ServerChildThread(int) ()
    #5 0x080e17a6 in DriverHelper(void*) ()
    #6 0x00139d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
    #7 0x00680ace in clone () from /lib/i386-linux-gnu/libc.so.6


    Thank you.


    Best Regards,

  • Hi Marcel,


    Sorry but I tried different scenarios but I guess with similar problems. I just want to inform you.


    1) I mount a folder in Ubuntu via samba(share folder in Window)
    I get the right permissions to read and write. When I ran the ConQuest I didn't get the same error. However when I try to retrieve some study I get the error:

    Code
    ***GUI could not find file:(...)


    So I tried a different way.


    2) I installed the ConQuest Server (version 1.4.17alpha) in Windows 7
    I share a folder in a different PC and a get the folder as a Windows drive (where is installed the ConQuest). The GUI informs that the MAG0 is the right folder.
    But happens the same error in scenario 1. When I try to retrieve some study I get a similar error:

    Code
    *** Could still not find file: (...)


    Thank you.


    Best Regards,

  • Hi,


    Conquest uses regular file i/o calls and should (and does) work over windows shares. Usually problems occu when conquest runs as a service (the system account cannot access all shares) or maybe if there is a problem with the string that defines MAGDevice0, i.e., too many \\ or //.


    Try to make it work locally and then slowly change the config.


    Marcel

Participate now!

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