Linux Redhat ES4 pacsone

Trouble during PacsOne Server installations
Post Reply
Thor
Posts:7
Joined:Wed Mar 01, 2006 11:53 pm
Linux Redhat ES4 pacsone

Post by Thor » Thu Mar 02, 2006 12:04 am

I am unable to get the pacsone service to run on Redhat 4.0 ES (On 32 Bit X86) The install script runs good and the DB gets populated but the service will not start. In the /var/log/messages I am recieving this error:
Mar 1 18:21:33 test1 kernel: audit(1141258893.268:0): avc: denied { read write } for pid=3568 comm=PacsOneSrv.exe name=2 dev=devpts ino=4 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:devpts_t tclass=chr_file
Mar 1 18:21:33 test1 kernel: audit(1141258893.268:0): avc: denied { execute } for pid=3568 comm=PacsOneSrv.exe path=/etc/ld.so.cache dev=dm-0 ino=577222 scontext=root:system_r:httpd_sys_script_t tcontext=root:object_r:ld_so_cache_t tclass=file
Mar 1 18:21:33 test1 kernel: audit(1141258893.270:0): avc: denied { create } for pid=3568 comm=PacsOneSrv.exe scontext=root:system_r:httpd_sys_script_t tcontext=root:system_r:httpd_sys_script_t tclass=unix_dgram_socket
Mar 1 18:21:33 test1 kernel: audit(1141258893.270:0): avc: denied { create } for pid=3568 comm=PacsOneSrv.exe scontext=root:system_r:httpd_sys_script_t tcontext=root:system_r:httpd_sys_script_t tclass=unix_dgram_socket
Mar 1 18:21:33 test1 kernel: audit(1141258893.270:0): avc: denied { write } for pid=3568 comm=PacsOneSrv.exe name=console dev=tmpfs ino=436 scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:console_device_t tclass=chr_file
Mar 1 18:21:33 test1 kernel: audit(1141258893.271:0): avc: denied { create } for pid=3568 comm=PacsOneSrv.exe key=8678 scontext=root:system_r:httpd_sys_script_t tcontext=root:system_r:httpd_sys_script_t tclass=sem
Mar 1 18:21:33 test1 kernel: audit(1141258893.272:0): avc: denied { create } for pid=3568 comm=PacsOneSrv.exe scontext=root:system_r:httpd_sys_script_t tcontext=root:system_r:httpd_sys_script_t tclass=unix_dgram_socket
Mar 1 18:21:33 test1 kernel: audit(1141258893.272:0): avc: denied { write } for pid=3568 comm=PacsOneSrv.exe name=console dev=tmpfs ino=436 scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:console_device_t tclass=chr_file
Mar 1 18:21:33 test1 kernel: audit(1141258893.272:0): avc: denied { create } for pid=3568 comm=PacsOneSrv.exe scontext=root:system_r:httpd_sys_script_t tcontext=root:system_r:httpd_sys_script_t tclass=unix_dgram_socket
Mar 1 18:21:33 test1 kernel: audit(1141258893.272:0): avc: denied { write } for pid=3568 comm=PacsOneSrv.exe name=console dev=tmpfs ino=436 scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:console_device_t tclass=chr_file
Please any help would be greatly appreciated.

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

Post by pacsone » Thu Mar 02, 2006 2:24 am

These look like SELinux errors.

You need to create/modify your SELinux policy to allow PacsOne to run as a service and listen to the configured TCP port for incoming connections.

Or you can disable SELinux for now, finish the PacsOne installation first and make sure everything works first, then worry about enabling SELinux and modify its policy to accommodate PacsOne.

Thor
Posts:7
Joined:Wed Mar 01, 2006 11:53 pm

Post by Thor » Thu Mar 02, 2006 3:12 pm

Thanks that was it. Now I able to run Setup.exe and PacsOneSvc is running. :)

Thor
Posts:7
Joined:Wed Mar 01, 2006 11:53 pm

Post by Thor » Thu Mar 02, 2006 3:26 pm

I just did an nmap on the server and did not see that process listed. How do I test to see if everything is working before we start sending it images?

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

Post by pacsone » Thu Mar 02, 2006 4:23 pm

1. Run:

Code: Select all

ps -ef|grep PacsOne
You should see both PacsOne.exe and PacsOneSrv.exe listed. Otherwise, you have license problems.

2. Check the PacsOne Server logs and see if there are any errors.

3. Run:

Code: Select all

netstat -tanp
and check if there's any process listening to the TCP port you've configured PacsOne to listen to. The PID listening to that port should be the process id of PacsOne.exe in #1 above.

Thor
Posts:7
Joined:Wed Mar 01, 2006 11:53 pm

Post by Thor » Thu Mar 02, 2006 5:15 pm

Thank you so much for your help.
netstat said the PacsOne.exe was running on correct port.

I now have another problem. Here is the tail of the pacsone error log:
Thu Mar 2 11:30:35 2006 INFO - Session: <397> started from SCU: 10.1.1.247
Thu Mar 2 11:30:35 2006 INFO - <397> Receiving A-ASSOCIATE-RQ PDU
Thu Mar 2 11:30:35 2006 INFO - 0 record found in [applentity] table
Thu Mar 2 11:30:35 2006 ERROR - Access denied for Application Entity: [elegra ], REJECTING
Thu Mar 2 11:30:35 2006 INFO - <397> Sending A-ASSOCIATE-RJ PDU
Thu Mar 2 11:30:35 2006 INFO - <397> A-ASSOCIATE-RJ PDU sent successfully
Thu Mar 2 11:30:35 2006 INFO - Session: <397> disconnected for client: 10.1.1.247
Thu Mar 2 11:30:53 2006 INFO - Server Process [4316] Initialized as AE Title: [PACSONE]
Thu Mar 2 11:30:53 2006 INFO - Server Socket: 4 created successfully
Thu Mar 2 11:30:53 2006 ERROR - Cannot bind() socket to port: 2200, Error: 98
Any idea of what is going on?

Thanks again for your help.

Jonathan
Posts:184
Joined:Mon Mar 22, 2004 11:52 am
Location:The Netherlands
Contact:

Post by Jonathan » Thu Mar 02, 2006 7:33 pm

Thu Mar 2 11:30:35 2006 INFO - 0 record found in [applentity] table
It seems to me that you forgot to configure the AE titles from which PacsONE is accepting connections or that you misconfigured them as no entry was found in the application applentity (Aplication Entity) table for the elegra AE title.

If you have the web interface running log in as root user and under Application Entities set up the AE titles, ip numbers, ports etc of the hosts you would like to be able to connect to the PacsONE system.

If you do not have the webinterface running you will have to insert it manually by SQL code, as I have no access to my server I can not easily give you the syntax for this instruction.

Jonathan

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

Post by pacsone » Fri Mar 03, 2006 1:07 am

Thor wrote: Thu Mar 2 11:30:35 2006 ERROR - Access denied for Application Entity: [elegra ], REJECTING
As Jonathan mentioned, this error means PacsOne does not recognize the calling AE Title of elegra in this incoming connection request, so PacsOne has rejected the connection. You'll need to add an AE with such AE Title (and assign a storage directory), if you want this AE elegra to communicate with PacsOne (and send images to PacsOne).

Thor
Posts:7
Joined:Wed Mar 01, 2006 11:53 pm

Post by Thor » Fri Mar 03, 2006 3:09 pm

Thanks guys that was it. Now all I have to do is get the applet viewer working and I am done with this project. Thanks again

Post Reply