Ubuntu Error dicom communication
Hi there,
I've the following issues with an install on ubuntu server 10.1
first thing it becomes with anti-spam code like this:
*** Anti-Spam Code: 1673 ***
Probably it dosen't see the jpeg.so image (think so not sure)
The second one it's when configuring Dicom AE tilte when it becomes the problem it dosen't accept the connection it becomes with
fsockopen() failed: Connection refused(111)
Any help ?
Version of pacsone 6.2.5
I've the following issues with an install on ubuntu server 10.1
first thing it becomes with anti-spam code like this:
*** Anti-Spam Code: 1673 ***
Probably it dosen't see the jpeg.so image (think so not sure)
The second one it's when configuring Dicom AE tilte when it becomes the problem it dosen't accept the connection it becomes with
fsockopen() failed: Connection refused(111)
Any help ?
Version of pacsone 6.2.5
1. Check if you see the ImageMagick PHP extension is loaded successfully from the output of the test page:
http://localhost/pacsone/Hello.php
2. Try connecting to the IP address/TCP port you've configured for this remote Dicom AE from a local command shell from the host where PacsOne is installed:
If the telnet command cannot connect to the configured IP address/TCP port, then neither will PacsOne Server. If this is the case, you should check and make sure there is no firewall blocking inbound packets to that IP adress/TCP port, and there is indeed some application accepting connections at that IP address/TCP port.
http://localhost/pacsone/Hello.php
2. Try connecting to the IP address/TCP port you've configured for this remote Dicom AE from a local command shell from the host where PacsOne is installed:
Code: Select all
$ telnet $ipAddress $tcpPort
Doing that
Hi there,
Doing that on first step I have this:
PHP Version 5.3.3-1ubuntu9.3
System Linux PacsoneLinux 2.6.35-25-generic-pae #44-Ubuntu SMP Fri Jan 21 19:01:46 UTC 2011 i686
Build Date Jan 12 2011 16:08:01
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/apache2
Loaded Configuration File /etc/php5/apache2/php.ini
Scan this dir for additional .ini files /etc/php5/apache2/conf.d
Additional .ini files parsed /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/imagick.ini, /etc/php5/apache2/conf.d/mcrypt.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
PHP API 20090626
PHP Extension 20090626
Zend Extension 220090626
Zend Extension Build API220090626,NTS
PHP Extension Build API20090626,NTS
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
Zend Multibyte Support disabled
IPv6 Support enabled
Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
imagick
ImageMagick support enabled
Magick Backend ImageMagick
ImageMagick version 5.5.6
PHP imagick version 0.9.11
MaxRGB 65535
Supported image formats IMPLICIT
Font Family - Name AvantGarde - AvantGarde-Book
Font Family - Name AvantGarde - AvantGarde-BookOblique
Font Family - Name AvantGarde - AvantGarde-Demi
Font Family - Name AvantGarde - AvantGarde-DemiOblique
Font Family - Name Bookman - Bookman-Demi
Font Family - Name Bookman - Bookman-DemiItalic
Font Family - Name Bookman - Bookman-Light
Font Family - Name Bookman - Bookman-LightItalic
Font Family - Name Courier - Courier
Font Family - Name Courier - Courier-Bold
Font Family - Name Courier - Courier-Oblique
Font Family - Name Courier - Courier-BoldOblique
Font Family - Name Helvetica - Helvetica
Font Family - Name Helvetica - Helvetica-Bold
Font Family - Name Helvetica - Helvetica-Oblique
Font Family - Name Helvetica - Helvetica-BoldOblique
Font Family - Name Helvetica Narrow - Helvetica-Narrow
Font Family - Name Helvetica Narrow - Helvetica-Narrow-Oblique
Font Family - Name Helvetica Narrow - Helvetica-Narrow-Bold
Font Family - Name Helvetica Narrow - Helvetica-Narrow-BoldOblique
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-Roman
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-Italic
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-Bold
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-BoldItalic
Font Family - Name Palatino - Palatino-Roman
Font Family - Name Palatino - Palatino-Italic
Font Family - Name Palatino - Palatino-Bold
Font Family - Name Palatino - Palatino-BoldItalic
Font Family - Name Times - Times-Roman
Font Family - Name Times - Times-Bold
Font Family - Name Times - Times-Italic
Font Family - Name Times - Times-BoldItalic
Font Family - Name Symbol - Symbol
Then on second Step I've got the following
root@PacsoneLinux:/home/pacsone/php# telnet 192.168.1.150 104
Trying 192.168.1.150...
Connected to 192.168.1.150.
Escape character is '^]'.
It works
Doing that on first step I have this:
PHP Version 5.3.3-1ubuntu9.3
System Linux PacsoneLinux 2.6.35-25-generic-pae #44-Ubuntu SMP Fri Jan 21 19:01:46 UTC 2011 i686
Build Date Jan 12 2011 16:08:01
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/apache2
Loaded Configuration File /etc/php5/apache2/php.ini
Scan this dir for additional .ini files /etc/php5/apache2/conf.d
Additional .ini files parsed /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/imagick.ini, /etc/php5/apache2/conf.d/mcrypt.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
PHP API 20090626
PHP Extension 20090626
Zend Extension 220090626
Zend Extension Build API220090626,NTS
PHP Extension Build API20090626,NTS
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
Zend Multibyte Support disabled
IPv6 Support enabled
Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
imagick
ImageMagick support enabled
Magick Backend ImageMagick
ImageMagick version 5.5.6
PHP imagick version 0.9.11
MaxRGB 65535
Supported image formats IMPLICIT
Font Family - Name AvantGarde - AvantGarde-Book
Font Family - Name AvantGarde - AvantGarde-BookOblique
Font Family - Name AvantGarde - AvantGarde-Demi
Font Family - Name AvantGarde - AvantGarde-DemiOblique
Font Family - Name Bookman - Bookman-Demi
Font Family - Name Bookman - Bookman-DemiItalic
Font Family - Name Bookman - Bookman-Light
Font Family - Name Bookman - Bookman-LightItalic
Font Family - Name Courier - Courier
Font Family - Name Courier - Courier-Bold
Font Family - Name Courier - Courier-Oblique
Font Family - Name Courier - Courier-BoldOblique
Font Family - Name Helvetica - Helvetica
Font Family - Name Helvetica - Helvetica-Bold
Font Family - Name Helvetica - Helvetica-Oblique
Font Family - Name Helvetica - Helvetica-BoldOblique
Font Family - Name Helvetica Narrow - Helvetica-Narrow
Font Family - Name Helvetica Narrow - Helvetica-Narrow-Oblique
Font Family - Name Helvetica Narrow - Helvetica-Narrow-Bold
Font Family - Name Helvetica Narrow - Helvetica-Narrow-BoldOblique
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-Roman
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-Italic
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-Bold
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-BoldItalic
Font Family - Name Palatino - Palatino-Roman
Font Family - Name Palatino - Palatino-Italic
Font Family - Name Palatino - Palatino-Bold
Font Family - Name Palatino - Palatino-BoldItalic
Font Family - Name Times - Times-Roman
Font Family - Name Times - Times-Bold
Font Family - Name Times - Times-Italic
Font Family - Name Times - Times-BoldItalic
Font Family - Name Symbol - Symbol
Then on second Step I've got the following
root@PacsoneLinux:/home/pacsone/php# telnet 192.168.1.150 104
Trying 192.168.1.150...
Connected to 192.168.1.150.
Escape character is '^]'.
It works
1. It's confirmed that the ImageMagick PHP extension is loaded successfully from the output of your test page. The next thing to check is whether you have installed the GhostScript fonts package which is used to "burn-in" the anti-spam text displayed at the Login page. If you know the directory where the GhostScript fonts are installed, e.g., /usr/share/fonts/ghostscripts/, etc., then you need to update the /usr/local/lib/ImageMagick-5.5.6-Q16/type-ghostscript.mgk configuration file accordingly to set to whatever directory where the GhostScript fonts are installed on your server.
2. Did you configure a hostname for that remote Dicom AE as well? If so, did you check if the telnet command can connect to that hostname?
2. Did you configure a hostname for that remote Dicom AE as well? If so, did you check if the telnet command can connect to that hostname?
Code: Select all
$ telnet $hostName 104
Found
Hi there,
I think at the moment I have solved one problem and miraculously gained another problem:
So I've removed mysql and ini from pacsone install and reinstalled mysql-server and client and then pacsone using the config on mysql has:
/var/run/mysqld/mysqld.sock (the default could not authenticate)
So my AE Title is sending the studies but I've got another problem,
reported on an earlier post (http://www.pacsone.net/forum/viewtopic.php?t=1267) , and then commented with email, and the solution was a step back (or could be a foolish from my part).
All studies when seeing sequences does not present images only a stop signal.
I think at the moment I have solved one problem and miraculously gained another problem:
So I've removed mysql and ini from pacsone install and reinstalled mysql-server and client and then pacsone using the config on mysql has:
/var/run/mysqld/mysqld.sock (the default could not authenticate)
So my AE Title is sending the studies but I've got another problem,
reported on an earlier post (http://www.pacsone.net/forum/viewtopic.php?t=1267) , and then commented with email, and the solution was a step back (or could be a foolish from my part).
All studies when seeing sequences does not present images only a stop signal.
1. Did you check the font files in the /usr/local/lib/ImageMagick-5.5.6-Q16/type-ghostscript.mgk configuration file, and make sure the following font files are present and accessible to the user/group account that the Apache web server is running as?
Code: Select all
<type
name="Courier-Bold"
fullname="Courier Bold"
family="Courier"
foundry="URW"
weight="700"
style="normal"
stretch="normal"
format="type1"
metrics="/usr/share/ghostscript/fonts/n022004l.afm"
glyphs="/usr/share/ghostscript/fonts/n022004l.pfb"
/>
Problem
HI there,
The problem it's the same the font is installed on
-rwxr-xr-x 1 www-data root 11K 2011-03-02 19:27 type-ghostscript.mgk
<type
name="Courier-Bold"
fullname="Courier Bold"
family="Courier"
foundry="URW"
weight="700"
style="normal"
stretch="normal"
format="type1"
metrics="/usr/share/fonts/type1/gsfonts/n022004l.afm"
glyphs="/usr/share/fonts/type1/gsfonts/n022004l.pfb"
/>
and the still the same.
The problem it's the same the font is installed on
-rwxr-xr-x 1 www-data root 11K 2011-03-02 19:27 type-ghostscript.mgk
<type
name="Courier-Bold"
fullname="Courier Bold"
family="Courier"
foundry="URW"
weight="700"
style="normal"
stretch="normal"
format="type1"
metrics="/usr/share/fonts/type1/gsfonts/n022004l.afm"
glyphs="/usr/share/fonts/type1/gsfonts/n022004l.pfb"
/>
and the still the same.
Did you check the security permission settings of these files?
Code: Select all
$ ls -l /usr/share/fonts/type1/gsfonts/n022004l.afm
$ ls -l /usr/share/fonts/type1/gsfonts/n022004l.pfb
Permissions
Hi there,
Here are the permissions:
-rw-r--r-- 1 root root 42114 2010-09-21 20:28 /usr/share/fonts/type1/gsfonts/n022004l.afm
-rw-r--r-- 1 root root 101592 2010-09-21 20:28 /usr/share/fonts/type1/gsfonts/n022004l.pfb
Did this must be changed to apache user ?
Here are the permissions:
-rw-r--r-- 1 root root 42114 2010-09-21 20:28 /usr/share/fonts/type1/gsfonts/n022004l.afm
-rw-r--r-- 1 root root 101592 2010-09-21 20:28 /usr/share/fonts/type1/gsfonts/n022004l.pfb
Did this must be changed to apache user ?
No, just the Read permission will suffice.
The next thing to check is the security permission of the "php/antispam/" sub-folder where PacsOne is installed. This is the directory where the "burn-in" anti-spam JPG image file will be created, so you need to make sure the user/group account that Apache web server is running has sufficient permission to create/write files in this directory.
The next thing to check is the security permission of the "php/antispam/" sub-folder where PacsOne is installed. This is the directory where the "burn-in" anti-spam JPG image file will be created, so you need to make sure the user/group account that Apache web server is running has sufficient permission to create/write files in this directory.
Permissions
Hi there,
The image of antispam code is solved when apache user add permissions to folder.
Althout I've got trouble on seeing images on pacsone when consulting series I only can see stop signal.
Any Help ?
The image of antispam code is solved when apache user add permissions to folder.
Althout I've got trouble on seeing images on pacsone when consulting series I only can see stop signal.
Any Help ?
This error means there is Dicom connectivity between PacsOne Server and this remote AE, but this remote AE has rejected the Dicom association request sent from PacsOne, most likely due to some kind of security control feature. For example, PacsOne Server would reject Dicom association requests sent from unknown AE Titles. So you'd need to check this remote AE and find out what needs to be done in order for it to accept (instead of rejecting) the association request sent from PacsOne Server.