autostart dcmserver on port 11112

880 views
Skip to first unread message

Sanjarbek Amatov

unread,
Mar 10, 2014, 1:37:04 PM3/10/14
to dcm...@googlegroups.com
I googled for 5 hours to solve this problem, unfortunately not success.

I am newbie on pacs systems. I installed dcm4chee on ubuntu following off.site instructions. I added ae title of workstations to dcm4chee, tested, everything  seems worked, except dicom workstations can not connect to dcm4chee server. On dicom workstation I added as ae title DCM4CHEE, as hostname ip address of server and as port 11112. Then I checked on server port 11112. It is not listening by any service. Firewall is disabled.

I read that I have to manually start service on 11112, but I can't figure out how. My dcm4chee version is 2.17.
How to autostart service on 11112?

Sanjarbek Amatov

unread,
Mar 10, 2014, 9:43:17 PM3/10/14
to
Any idea? Or for everyone except me it is working by default?

Sanjarbek Amatov

unread,
Mar 11, 2014, 12:24:00 PM3/11/14
to dcm...@googlegroups.com
HEEEEELP!!!

Thethinice

unread,
Mar 11, 2014, 7:09:51 PM3/11/14
to dcm...@googlegroups.com
You should add in dcm the aetitle, ip and port of the workstations

Sanjarbek Amatov

unread,
Mar 11, 2014, 9:25:05 PM3/11/14
to dcm...@googlegroups.com
As I wrote, I added aetitle, ip and port of the workstations. I am able to ping and echo successfully from dcm to workstations. But cannot echo from workstations to dcm, because dcm port 11112 is not opened. My question why it is not opened by default and how to  open it? When say 11112 port is not opened I mean no proccess listening this port. Firewall is disabled at all. I saw examples how to open this port like this "#/var/lib/dcm4chee/bin/dcmsrv 11112 &", but in dcm4chee version 2.17 i didn't find any file with such name.

среда, 12 марта 2014 г., 5:09:51 UTC+6 пользователь Thethinice написал:

Pablo

unread,
Mar 12, 2014, 3:26:24 AM3/12/14
to dcm...@googlegroups.com
Supposing your dcm4chee installation directory is in /var/lib/dcm4chee then you must execute
/var/lib/dcm4chee/bin/run.sh 
If the installation directory is different change the path accordingly.

Sanjarbek Amatov

unread,
Mar 12, 2014, 7:55:08 AM3/12/14
to dcm...@googlegroups.com
dcm4chee is working, even after rebooting OS it starts automatically. The problem is not listening port 11112. Do I manually run some process which will be accept connections on port 11112? As I understand port 11112 listened by dicom server, which will accept sended dicom images. So, why dicom server is not start automatically? I look at log files, boot.log and server.log, dont see any errors.

среда, 12 марта 2014 г., 13:26:24 UTC+6 пользователь Pablo написал:

Sanjarbek Amatov

unread,
Mar 12, 2014, 10:11:42 AM3/12/14
to
This is a output of netstat command.

sanzhar@pacs:/var/lib/dcm4chee$ sudo netstat -naltup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      723/sshd       
tcp        0      0 0.0.0.0:60215           0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:10104           0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:4444            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:4445            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:4446            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:55711           0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:58911           0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:3873            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:8009            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:4457            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:1098            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      879/mysqld     
tcp        0      0 0.0.0.0:1099            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:8083            0.0.0.0:*               LISTEN      941/java       
tcp        0      0 0.0.0.0:50100           0.0.0.0:*               LISTEN      941/java       
tcp        0      0 192.168.1.101:22        192.168.1.10:40354      ESTABLISHED 2024/sshd: sanzhar
tcp        1      0 127.0.1.1:58911         127.0.0.1:43454         CLOSE_WAIT  941/java       
tcp6       0      0 :::22                   :::*                    LISTEN      723/sshd       
udp        0      0 0.0.0.0:68              0.0.0.0:*                     
      701/dhclient3  
udp        0      0 0.0.0.0:59062           0.0.0.0:*                     
      941/java       
sanzhar@pacs:/var/lib/
dcm4chee$


The log files were attached.


boot.log
server.log

fleetwoodfc

unread,
Mar 12, 2014, 11:03:58 AM3/12/14
to dcm...@googlegroups.com
Your server.log is showing that none of the dicom services were deployed i.e. the log shows ERRORS with this information:

--- MBeans waiting for other MBeans ---
ObjectName: dcm4chee.archive:service=AE
 
State: CONFIGURED
  I
Depend On:
    jboss
.j2ee:service=EJB,jndiName=ejb/AEManager
    dcm4chee
.archive:service=AuditLogger
    dcm4chee
.archive:service=ECHOService
 
Depends On Me:
    dcm4chee
.archive:service=AttributesModificationScp
    dcm4chee
.archive:service=GPWLScp
    dcm4chee
.archive:service=HPScp
    dcm4chee
.archive:service=IANScp
    dcm4chee
.archive:service=MPPSScp
    dcm4chee
.archive:service=MWLFindScp
    dcm4chee
.archive:service=QueryRetrieveScp
    dcm4chee
.archive:service=StgCmtScuScp.........

I would suspect a file permissions problem - the server does not have permission to write to it's default folders.

Sanjarbek Amatov

unread,
Mar 12, 2014, 11:18:33 AM3/12/14
to dcm...@googlegroups.com
sanzhar@pacs:/var/lib/dcm4chee$ ll
total 36
drwxr-xr-x  9 dcm4chee dcm4chee 4096 Mar  9 17:01 ./
drwxr-xr-x 36 root     root     4096 Mar  9 17:24 ../
drwxr-xr-x  3 dcm4chee dcm4chee 4096 Mar  9 17:01 bin/
drwxr-xr-x  2 dcm4chee dcm4chee 4096 Mar  9 17:01 client/
drwxr-xr-x  3 dcm4chee dcm4chee 4096 Mar  9 17:01 doc/
drwxr-xr-x  3 dcm4chee dcm4chee 4096 Mar  9 17:01 lib/
drwxr-xr-x  3 dcm4chee dcm4chee 4096 Mar  9 17:01 server/
drwxr-xr-x  2 dcm4chee dcm4chee 4096 Mar  9 17:01 sql/
drwxr-xr-x  2 dcm4chee dcm4chee 4096 Mar  9 17:01 tempinst/
sanzhar@pacs:/var/lib/dcm4chee$


I think no problem with permission. What does 'not deployed' mean?
I see that many ports opened by dcm4chee, and only 104 and 11112 ports not opened.


среда, 12 марта 2014 г., 21:03:58 UTC+6 пользователь fleetwoodfc написал:

Sanjarbek Amatov

unread,
Mar 12, 2014, 12:04:10 PM3/12/14
to dcm...@googlegroups.com
I reinstalled completely. And now it is working. Instead of package dcm4chee-arr-3-1.0.11.deb which I used in first installation I used dcm4chee-arr-3.0.11.deb, and now it is working.

Thanks to everyone who tried to help me.
Reply all
Reply to author
Forward
0 new messages