Not enough rights to write in MAG0

  • Just did a fresh install of conquest server on 64bit Ubuntu 12.04. Install went well and everything seem to go OK however when I run ./dgate -v &, I get the following error.



    frank@flats:~/Downloads/conquestlinux1416$ ./dgate -v &
    [2] 49045
    frank@flats:~/Downloads/conquestlinux1416$ *** Not enough rights to write in MAG0
    DGATE (1.4.16, build Mon Jun 25 13:03:41 2012, bits 64) is running as threaded server
    Database type: native MySQL connection
    ***Failed to Listen () - bind error



    I have my conquest.db3 in /home/downloads/conquestlinux1416/data/dbase
    My first dicom.ini is in /home/downloads/conquestlinux1416
    the other is in /usr/lib/cgi-bin


    cgi-bin dicom.ini


    [sscscp]
    MicroPACS = sscscp



    # database layout (copy dicom.sql to the web server script directory or point to the one in your dicom server directory)


    kFactorFile = /home/downloads/conquestlinux1416/dicom.sql
    TruncateFieldNames = 10



    # default IP address and port of DICOM server (may be non-local, web pages empty if wrong)
    # use version 1.4.14 up, if an older version some feautues will not work


    WebServerFor = 127.0.0.1
    TCPPort = 5678



    # path to script engine: ocx will not download images if wrong - shows as black square with controls
    # for wamp: dgate.exe runs if it is put in C:\wamp\Apache2\cgi-bin


    WebScriptAddress = http://127.0.0.1/cgi-bin/dgate.exe




    Other dicom.ini


    [sscscp]
    MicroPACS = sscscp
    Edition = Personal


    # Network configuration: server name and TCP/IP port#
    MyACRNema = fav3
    TCPPort = 5678


    # Reference to other files: known dicom servers; database layout; sops
    ACRNemaMap = acrnema.map
    kFactorFile = dicom.sql
    SOPClassList = dgatesop.lst


    # Host for postgres or mysql only, name, username and password for database
    SQLHost = localhost
    SQLServer = conquest
    Username = flats
    Password = rocky4
    PostGres = 0
    MySQL = 1
    SQLite = 0


    UseEscapeStringConstants = 0
    DoubleBackSlashToDB = 1
    #IndexDBF = 1
    #PackDBF = 0
    #LongQueryDBF = 1000


    # Configure database
    TruncateFieldNames = 10
    MaxFieldLength = 254
    MaxFileNameLength = 255
    FixPhilips = 0
    FixKodak = 0
    UIDPrefix = 99999.99999
    EnableReadAheadThread = 1
    PatientQuerySortOrder =
    StudyQuerySortOrder =
    SeriesQuerySortOrder =
    ImageQuerySortOrder =
    EnableComputedFields = 1
    TCPIPTimeOut = 300
    FailHoldOff = 60
    RetryDelay = 100
    QueueSize = 128
    WorkListMode = 0
    WorkListReturnsISO_IR_100 = 1
    DebugLevel = 0
    Prefetcher = 0
    LRUSort =
    AllowTruncate =
    DecompressNon16BitsJpeg = 1
    UseBuiltInJPEG = 1
    IgnoreOutOfMemoryErrors = 0
    PadAEWithZeros = 0
    FileNameSyntax = 3


    # Configuration of compression for incoming images and archival
    DroppedFileCompression = un
    IncomingCompression = un
    ArchiveCompression = as


    # Names of the database tables
    PatientTableName = DICOMPatients
    StudyTableName = DICOMStudies
    SeriesTableName = DICOMSeries
    ImageTableName = DICOMImages
    DMarkTableName = DICOMAccessUpdates
    RegisteredMOPDeviceTable = RegisteredMOPIDs
    UIDToMOPIDTable = UIDToMOPID
    UIDToCDRIDTable = UIDToCDRID


    # Banner and host for debug information
    PACSName = CONQUESTSRV1
    OperatorConsole = 127.0.0.1


    # Configuration of disk(s) to store images
    MAGDeviceThreshhold = 0
    MAGDevices = 1
    MAGDevice0 = /home/downloads/conquestlinux1416/data/




    Any help would be appreciated.


    Thanks

  • Hi,


    I then beleive the message may be correct and that you do not have write access to the folder. Furthermore the message "Failed to Listen () - bind error" means that some other server is already running at port 5678.


    Marcel

  • Hi Marcel!


    I join the topic because I'm getting the same problem.


    client with conquest installed in c:\dicom
    server with mapped drive (X:\) on the client to store the images.


    mag0 is something same to X:\images\....


    I get, when the conquest starts, the message "Not enough rights to write in MAG0" even If (from the client) I'm able to write, create new files and delete the existing one (from windows I mean)


    server is win 2008 server, client win7 pro.


    what else I can check?


    regards,
    ciro

  • Hi Ciro,


    if windows is running as a service, drive x:, or all drive mappings will not exist. You have to edit dicom.ini to change x:\images\ into \\server\drive\images\


    Do not forget the trailing backslash.


    Marcel

  • Hi Marcel!


    it does the same with the GUI open.
    consider that on win xp the same works without problem!


    so, give me an hint because I don't know when


    -conquest run as service, I extract the zip into a folder c:\dicom, choose dbf archive type and save configuration. I didn't click on install as NT service.
    When I open the gui I get the error, then server is running.


    I think is not installed as service.


    By the way, If i use the doubleslash for service and gui should work?

  • Ok Marcel, after some tests I can confirm that using \\server\myfolder instead of a mapped network drive seems to work.


    It's strange that in another medical centre with same configurations (win7pro client, win2008 server) works with mapped network drive......microsoft mistery!?!?!?!


    by the way, conquest is not installed as service (if I click on uninstall, I get the warning message that is not installed as service), and I launch the GUI from the exe file as administrator.


    I use DBF database.


    Regarding, my other problem, I left a reply on the topic "still problems on win7".


    thankkkkssssss


    bye
    ciro

Participate now!

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