Can't receive images

Trouble during PacsOne Server installations
Post Reply
tyrbl
Posts:6
Joined:Thu Jul 12, 2007 1:09 pm
Can't receive images

Post by tyrbl » Thu Jul 12, 2007 1:21 pm

I installed the pacsone last week, so far the pacsone server still can't receive any images from my sender.

Current PacsOne Server Configurations:

Application Entity Title: MyAeTitle
Hostname: localhost
TCP Port Number: 1234

I use the SimpleDicom sender to send the image to pacsone, and there is error information in the window:

Association Rejected
Result: 1 Source 1 Reason 3
Abnormal exit
1a0012 DUL Association Rejected

Also, I find some other error log in pacsone:

In Job status:
Cannot initiate session: I/O error
Failed SOP Instance:

In Today's Log:
Thu Jul 12 09:05:50 2007 INFO - Session: <551> started from SCU: 127.0.0.1
Thu Jul 12 09:05:50 2007 INFO - <551> Receiving A-ASSOCIATE-RQ PDU
Thu Jul 12 09:05:50 2007 INFO - 0 record found in [applentity] table
Thu Jul 12 09:05:50 2007 ERROR - Access denied for Application Entity: [DICOM_TEST ], REJECTING
Thu Jul 12 09:05:50 2007 INFO - <551> Sending A-ASSOCIATE-RJ PDU
Thu Jul 12 09:05:50 2007 INFO - <551> A-ASSOCIATE-RJ PDU sent successfully
Thu Jul 12 09:05:50 2007 INFO - Session: <551> disconnected for client: 127.0.0.1
Thu Jul 12 09:09:42 2007 INFO - Processing database job <660>
Thu Jul 12 09:09:42 2007 INFO - Session: <553> started from SCU: 127.0.0.1
Thu Jul 12 09:09:42 2007 INFO - <553> Receiving A-ASSOCIATE-RQ PDU
Thu Jul 12 09:09:42 2007 INFO - C-FIND session: <552> started for SCP: 127.0.0.1 Port: 1234
Thu Jul 12 09:09:42 2007 INFO - <552> Sending A-ASSOCIATE-RQ PDU
Thu Jul 12 09:09:42 2007 INFO - Processing database job <661>
Thu Jul 12 09:09:42 2007 INFO - <552> Waiting for A-ASSOCIATE result
Thu Jul 12 09:09:42 2007 INFO - 1 record found in [applentity] table
Thu Jul 12 09:09:42 2007 INFO - <553> A-ASSOCIATE-RQ received successfully
Thu Jul 12 09:09:42 2007 INFO - <553> Sending A-ASSOCIATE-AC PDU
Thu Jul 12 09:09:42 2007 INFO - <552> A-ASSOCIATE-RQ accepted
Thu Jul 12 09:09:42 2007 INFO - <552> Sending P-DATA-TF PDU
Thu Jul 12 09:09:42 2007 INFO - <553> A-ASSOCIATE-AC PDU sent successfully
Thu Jul 12 09:09:42 2007 INFO - <553> Receiving P-DATA-TF PDU
Thu Jul 12 09:09:42 2007 INFO - <553> C-FIND [83] command received in P-DATA-TF PDU
Thu Jul 12 09:09:42 2007 INFO - 0 record found in [worklist] table
Thu Jul 12 09:09:42 2007 INFO - 12 tags processed in CDataSetPdv
Thu Jul 12 09:09:42 2007 INFO - C-FIND-RSP status: [0]
Thu Jul 12 09:09:42 2007 INFO - <552> Sending A-ASSOCIATE-RELEASE PDU
Thu Jul 12 09:09:42 2007 INFO - <552> A-ASSOCIATE-RELEASE-RQ PDU sent successfully
Thu Jul 12 09:09:42 2007 INFO - Session: <552> disconnected for client: 127.0.0.1
Thu Jul 12 09:09:42 2007 INFO - <553> A-ASSOCIATE-RELEASE-RQ PDU received
Thu Jul 12 09:09:42 2007 INFO - <553> Sending A-ASSOCIATE-RELEASE-RSP PDU
Thu Jul 12 09:09:42 2007 INFO - <553> A-ASSOCIATE-RELEASE-RSP PDU sent successfully
Thu Jul 12 09:09:42 2007 INFO - Session: <553> disconnected for client: 127.0.0.1
Thu Jul 12 09:09:43 2007 INFO - C-FIND session: <554> started for SCP: 10.40.40.94 Port: 104
Thu Jul 12 09:09:43 2007 INFO - <554> Sending A-ASSOCIATE-RQ PDU
Thu Jul 12 09:09:43 2007 ERROR - Session: <554> SEND error: [10057]
Thu Jul 12 09:09:43 2007 INFO - Session: <554> disconnected for client: 10.40.40.94

Help Please.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu Jul 12, 2007 1:48 pm

There seems to be 2 unrelated issues here:

1. The Association Rejection error when you send imags to PacsOne from SimpleDicom:

You need to configure an AE for this SimpleDicom application in the Application Entity page of PacsOne. Otherwise, this AE is unknown to PacsOne (unknown AE Title) so any association request sent from this AE will be rejected.

2. The send error when PacsOne tries to query this remote AE at IP address 10.40.40.94 Port: 104:
Thu Jul 12 09:09:43 2007 ERROR - Session: <554> SEND error: [10057]
The 10057 Winsock error code suggests that the host where PacsOne is located could not connect to port 104 at the IP address 10.40.40.94, either because there is no Dicom application listening to port 104 at that IP address, or there's a firewall blocking the incoming packets to port 104 at that IP address.

tyrbl
Posts:6
Joined:Thu Jul 12, 2007 1:09 pm

Post by tyrbl » Thu Jul 12, 2007 2:10 pm

Thanks.

1.As for the AE, I create an AE in pacsone as you mentioned a lot of times in this forum. But I am not sure if it is correct.Please have a look of my configuration.


Current PacsOne Server Configurations:

Application Entity Title: MyAeTitle
Hostname: localhost
TCP Port Number: 1234

And I create an AE Title in pacsone as:

AE Titel: MyAeTitle
Host: Localhost
IP Address: 127.0.0.1
Port number: 1234
Archive Directory:N/A
Maximum Connections:10

In the SimpleDicom sender, I also configured the Dicom destination:
AE Title:MyAeTitle
IP Address:127.0.0.1
Port number: 1234

Did I configure correct AE Title?

In addition, the pacsone is installed in my PC(windows XP) with IP (10.40.40.94). Is the port number 1234 the listening port for Pacsone receiveing data?


2. About the port 104. I am sorry not to tell you I was using SimpleDicom receiver with the port 104 to do the sending test. Now I stop the receiver.
I send an image to pacsone again from SimpleDicom, there is some new message in the log:

Thu Jul 12 10:12:30 2007 INFO - Session: <579> started from SCU: 127.0.0.1
Thu Jul 12 10:12:30 2007 INFO - <579> Receiving A-ASSOCIATE-RQ PDU
Thu Jul 12 10:12:30 2007 INFO - 0 record found in [applentity] table
Thu Jul 12 10:12:30 2007 ERROR - Access denied for Application Entity: [DICOM_TEST ], REJECTING
Thu Jul 12 10:12:30 2007 INFO - <579> Sending A-ASSOCIATE-RJ PDU
Thu Jul 12 10:12:30 2007 INFO - <579> A-ASSOCIATE-RJ PDU sent successfully
Thu Jul 12 10:12:30 2007 INFO - Session: <579> disconnected for client: 127.0.0.1

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu Jul 12, 2007 2:23 pm

1. No, you need to add an AE for the SimpleDicom application using the AE Title, IP address and TCP port number assigned to SimpleDicom, but not the current settings for PacsOne.

In SimpleDicom, the configurations for PacsOne looks fine except for the IP address of 127.0.0.1, which is valid only if this SimpleDicom application is running on the same host as PacsOne.

2. You seemed to have configured a remote AE with the IP address of 10.40.40.94 and TCP port of 104, and has checked the Query/Retrieve SCP checkbox for this AE indicating that it supports Dicom QUery/Retrieve as a SCP.

If you are not sure about what this remote AE is for, you should delete it from the Application Entity table of PacsOne Server.

tyrbl
Posts:6
Joined:Thu Jul 12, 2007 1:09 pm

Post by tyrbl » Thu Jul 12, 2007 5:28 pm

I updated the AE configuration, and it works now. Thank you.

In addition, I have other questions to ask:

1. Our lab bought Pacsone for Linux last year, and licence is still valid. Now, we are considering to move it to Windows system. Do we transfer the license to windows or we need to buy a new one ? Currently, the pacsone installed on my pc is free trial version.

2. As for the system architecture, do you have any suggestion to build a effective and secure PACSone system in our hospital. For example, Is it possible to install pacsone and mysql seperately. And the real dicom files will be stored in a seperate file system. There will be a lot of researchers and labs to send images from MRI scanners to pacsone.Do you have any complete solution for the whole system?

Thanks a lot.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Fri Jul 13, 2007 1:09 am

1. You can only transfer the existing PacsOne Server license to the same host, i.e., you would need to run Windows on the same physical server in order for the existing license to work.

2. PacsOne currently does not support running MySQL and PacsOne Server separately on two physical servers, since it's more complex and costs more to run than a single-box solution. But you can store received images on both local and network-shared (e.g., NAS, SAN, etc) file systems, and you can assign separate Archive Directory for different AEs from the Application Entity page of PacsOne.

tyrbl
Posts:6
Joined:Thu Jul 12, 2007 1:09 pm

Post by tyrbl » Fri Jul 13, 2007 8:53 pm

Thank you.

Now I installed the pacsone in Windows, and there are two optional location for the received images. One is in the windows file folder,and another is in Linux system. Both of them are in seperate machine. Now how the pacsone save the receiving images in remote file system.

I edit the AE application , in the "Archive Directory", I put in

\\ssnf2\Bioinformatics\Users\LingHuang\Dataset

which is in windows and accessable from the pacsone machine

Also, I edit another AE application, in the "Archive Directory", I put in

\\10.40.40.119\glx_linux_write_win_share

which is in Linux and accessabel from the pacsone machine using samba

But after I change the Archive Directory to those location above, Pacsone can not store the images.

There is some error information:

Fri Jul 13 16:51:12 2007 INFO - <54> A-ASSOCIATE-AC PDU sent successfully
Fri Jul 13 16:51:12 2007 INFO - <54> Receiving P-DATA-TF PDU
Fri Jul 13 16:51:12 2007 INFO - <54> C-STORE [1] command received in P-DATA-TF PDU
Fri Jul 13 16:51:12 2007 ERROR - Failure accessing directory: //ssnf2/Bioinformatics/Users/LingHuang/Dataset/2007-07-13-FRI/
Fri Jul 13 16:51:12 2007 INFO - <54> A-ASSOCIATE-RELEASE-RQ PDU received
Fri Jul 13 16:51:12 2007 INFO - <54> Sending A-ASSOCIATE-RELEASE-RSP PDU
Fri Jul 13 16:51:12 2007 INFO - <54> A-ASSOCIATE-RELEASE-RSP PDU sent successfully
Fri Jul 13 16:51:12 2007 INFO - Session: <54> disconnected for client: 10.40.40.94

Can you give me some suggestion? Thanks.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Sat Jul 14, 2007 1:42 am

If you assign a network-shared folder as the Archive Directory for storing received images, make sure you grant sufficient permissions from the network-shared host to the user account PacsOne is running as (by default it's the builit-in SYSTEM account for Windows, and root for Linux/MacOS X), i.e., you need to make sure the user account PacsOne is running as (on the host where PacsOne is installed) has sufficient privileges to create/modify/delete files in the network-shared folder.

If you can create/modify/delete files in the network-shared folder when logging in as a particular user account on the host where PacsOne is installed, you can then try running PacsOne Server using that specific user account and see if PacsOne can store received images under the same network-shared folder. If so, that means the previously-assigned user account does not have sufficient privilege to create/modify/delete files under that network-shared folder.

tyrbl
Posts:6
Joined:Thu Jul 12, 2007 1:09 pm

Post by tyrbl » Mon Jul 16, 2007 6:11 pm

Thank you very much.

After changing the configuration of the user permission,the images can be stored well now.

Thanks again!!!

Post Reply