Hi everyone!
I'm starting with the use of pacsone and I'm having some problems to make it work. Our server uses Windows XP (SP 2), MySQL 4.1.9, PHP 5.2 and Apache 2.2 (all working fine for other applications).
We didn't have any problems running the installation of pacsone software, but when I try to execute the setup program that crates the database tables, I receive the following message:
(Microsoft Visual C++)
"This application has requested the Runtime to terminate it in an unusual way, contact the application' support team."
I tryed to run the setup in two laptops (one of then has just Windows XP without service packs) and got the same message. I also tryed to make it work in a laptop with windows Vista, but I think the file pacsone.exe is not Vista compatible.
There is a way to solve this problem? Or, since this file is just creates the database tables, can you post here or send me the mysql scripts to do so?
Thanks in advance.
Setup error
There should be a file log/dbinstall.log under the directory where PacsOne is installed, which should contains the logs from the Setup.exe during installation. Can you send the file to mailto:pacsone@pacsone.net so that we can check it out?
Also, what MySQL username did you use when running the "Setup.exe" installer, and is there any special characters (e.g., space, double or single quotes, etc) within either the MySQL username or password that you entered into the Installer dialog?
Also, what MySQL username did you use when running the "Setup.exe" installer, and is there any special characters (e.g., space, double or single quotes, etc) within either the MySQL username or password that you entered into the Installer dialog?
I tryed with an user named 'dicom', and after with 'root', both with the same password (that contains no special characters nor spaces). I'm sure this is not the reason of the problem.
In Windows Vista, the program terminates in an unespected way and generates no log, I just tryed to execute it and I think it should generate a 'pacsone-friday.log' in the log directory, but it didn't. The only log that I found is the pacsone-Wednesday.log (I tryed to install pacsone for the first time two days ago):
Wed May 27 14:53:16 2009 INFO - Process Intialized
Wed May 27 14:53:16 2009 INFO - Server Socket: 428 created successfully
Wed May 27 14:53:16 2009 ERROR - Cannot bind() socket to port: 80, Error: 10048
In Windows XP, the log shows the following messages (file pacsone-Wednesday.log):
Wed May 27 14:42:44 2009 INFO - Process Intialized
Wed May 27 14:42:44 2009 INFO - Server Socket: 288 created successfully
Wed May 27 14:42:44 2009 ERROR - Cannot bind() socket to port: 80, Error: 10048
Wed May 27 14:42:52 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:42:57 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:02 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:07 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:12 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:17 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:22 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:27 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:32 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:37 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:42 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:47 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:52 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:57 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:44:02 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:44:07 2009 ERROR - Exeption encountered in Database Job Thread
Thanks for your help.
In Windows Vista, the program terminates in an unespected way and generates no log, I just tryed to execute it and I think it should generate a 'pacsone-friday.log' in the log directory, but it didn't. The only log that I found is the pacsone-Wednesday.log (I tryed to install pacsone for the first time two days ago):
Wed May 27 14:53:16 2009 INFO - Process Intialized
Wed May 27 14:53:16 2009 INFO - Server Socket: 428 created successfully
Wed May 27 14:53:16 2009 ERROR - Cannot bind() socket to port: 80, Error: 10048
In Windows XP, the log shows the following messages (file pacsone-Wednesday.log):
Wed May 27 14:42:44 2009 INFO - Process Intialized
Wed May 27 14:42:44 2009 INFO - Server Socket: 288 created successfully
Wed May 27 14:42:44 2009 ERROR - Cannot bind() socket to port: 80, Error: 10048
Wed May 27 14:42:52 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:42:57 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:02 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:07 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:12 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:17 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:22 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:27 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:32 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:37 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:42 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:47 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:52 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:43:57 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:44:02 2009 ERROR - Exeption encountered in Database Job Thread
Wed May 27 14:44:07 2009 ERROR - Exeption encountered in Database Job Thread
Thanks for your help.
There're 2 issues:
1. You seem to have selected port 80 for PacsOne Server, but that port is generally reserved/used by web servers such as Apache or IIS, thus the error logged by PacsOne Server when trying to bind to that port which is already in use. You should pick an available TCP port number larger than 1024, as any number below 1024 is reserved for well-known protocols such as HTTP, Telnet, SMTP, etc.
2. Have you tried logging into MySQL using the assigned username/password ("dicom" as you've configured) from a local command shell? e.g.,
C:\mysql\bin>mysql -u dicom $database
where $database is the name of the MySQL database assigned to PacsOne Server.
1. You seem to have selected port 80 for PacsOne Server, but that port is generally reserved/used by web servers such as Apache or IIS, thus the error logged by PacsOne Server when trying to bind to that port which is already in use. You should pick an available TCP port number larger than 1024, as any number below 1024 is reserved for well-known protocols such as HTTP, Telnet, SMTP, etc.
2. Have you tried logging into MySQL using the assigned username/password ("dicom" as you've configured) from a local command shell? e.g.,
C:\mysql\bin>mysql -u dicom $database
where $database is the name of the MySQL database assigned to PacsOne Server.
I had to login to MySQL to create the database, everything works fine.
Just changed the port to deafault 1234, then I restarted the computer and tested again. Both the problems are the same as before in Windows Vista and Windows XP.
What if I install the premium version in other computer? My idea is to try to create the database, generate the table scripts and then execute the scripts in the pacsone server. Will it work? I believe it doesn't, anyway it's just an idea...
Thanks for your help.
Just changed the port to deafault 1234, then I restarted the computer and tested again. Both the problems are the same as before in Windows Vista and Windows XP.
What if I install the premium version in other computer? My idea is to try to create the database, generate the table scripts and then execute the scripts in the pacsone server. Will it work? I believe it doesn't, anyway it's just an idea...
Thanks for your help.
Check the following Registry key:
HKEY_LOCAL_MACHINE\Software\RainbowFish Software\PacsOne\
There should be one (and only one) sub-key under the above Registry key which should be named with the AE Title you assigned to PacsOne Server. Any other sub-keys should be removed.
There should be one (and only one) DWORD value under the above Registry key which should be named with the AE Title you assigned to PacsOne Server, and its DWORD value should be the TCP port number you assigned to PacsOne Server. Any other values should be removed.
HKEY_LOCAL_MACHINE\Software\RainbowFish Software\PacsOne\
There should be one (and only one) sub-key under the above Registry key which should be named with the AE Title you assigned to PacsOne Server. Any other sub-keys should be removed.
There should be one (and only one) DWORD value under the above Registry key which should be named with the AE Title you assigned to PacsOne Server, and its DWORD value should be the TCP port number you assigned to PacsOne Server. Any other values should be removed.