Page 1 of 2
problem with a onepacs gateway
Posted: Tue May 21, 2013 3:25 pm
by hilario
I have a problem with a gateway working perfectly but after some windows/java upgrades the gateway stuck.
I was not able to access even the gateway console with the
http://localhost:8080/onepacsgateway.
I have re-run the gateway installation , selected the REPAIR option, everything goes fine
Then I now I have response when I type
http://localhost:8080/onepacsgateway.
But when I try to access via standard user password, I am rejected.
I checked the user password in other systems and works fine.
It is as if I am accesing another database.
What do you suggest to check and restart service.
Thank you
Hilario
Re: problem with a onepacs gateway
Posted: Tue May 21, 2013 3:57 pm
by jeremy
It sounds like you may have troubles with the postgresql database. Windows updates may cause some services, like the database, to hang. A restart may be necessary.
Some examples of problems could be a port conflict with some other software, a file locked by some other process such as antivirus, or the postgresql service user could have been deactivated if you are on a domain with certain restrictions.
I suggest the following.
1. Attempt to restart the computer. Recheck the gateway.
2. Investigate the OnePacs and Postgresql database services (Right click my computer -> Manage -> services and applications) Check if they are listed as started. Stop and start the services from the services console if needed. If they do not start you may want to check each log. C:/OnePacs/Gateway/server/default/log/server.log. Search for the word "ERROR". Check the postgresql logs in %Postgresql directory%/data/pg_log/%dated-file%
3, Check Windows Event Viewer logs to see why a service may not be starting. (Right click my computer -> Manage -> Event Viewer -> Windows Logs - either application or system logs)
4. If necessary, uninstall the OnePacs Gateway and the Postgresql database software. Then reinstall the Gateway software. (Note previous gateway data will be lost during this process)
1) Uninstall the Gateway
2) Uninstall PostgreSQL 8.3
3) Delete the C:\Program Files\PostgreSQL directory
4) Delete the oppostgres Windows user account.
5) Reboot
6) Reinstall the Gateway
Regards,
Jeremy
Re: problem with a onepacs gateway
Posted: Wed May 22, 2013 12:39 pm
by hilario
Hello Jeremy. I am going to re-install.
How can I have the information about the DICOM AE I was connected to without beeing able to log the database.
Is there any file where I can find this information?
Thanks
Re: problem with a onepacs gateway
Posted: Wed May 22, 2013 12:44 pm
by jeremy
Gateway AE titles are available for admin accounts on the web. Use the Admin -> Facilities menu to show a list of your facilities. The facility list and the facility form both have the Gateway AE title listed that will be needed to install the Gateway.
Regards
Re: problem with a onepacs gateway
Posted: Wed May 22, 2013 12:58 pm
by justin
Hilario,
Just to reiterate what Jeremy said above, you should re-check your anti-virus to see it if is interfering with the PostgreSQL database server. Your issue sounds like the database is not starting.
Add anti-virus exclusions for the following directories:
C:\onepacs
C:\Program Files\PostgreSQL
http://wiki.onepacsforums.com/doku.php? ... exclusions
Thanks,
Justin
Re: problem with a onepacs gateway
Posted: Wed May 22, 2013 12:59 pm
by john (from OnePacs)
Hilario,
I wouldnt go straight to the un/re-install. That's the last resort described above, after trying the first few steps.
For example, are you sure an antivirus program isn't interfering with the database? Maybe try uninstalling or disabling the antivirus software first, then rebooting with antivirus software disabled to see if it works properly?
Thanks
Re: problem with a onepacs gateway
Posted: Wed May 22, 2013 1:25 pm
by hilario
Thank you for your support.
I have tried to restart diferrent way, but it is true I haven't stopped totally the antivirus.
I am gone do this test before continuing.
Keep you on touch
Re: problem with a onepacs gateway
Posted: Wed May 22, 2013 1:31 pm
by hilario
The DICOM info I need is not the one between Gateway to ONEPACS
the one I need if I finally reinstall will be Gateway to Facilities.
This one is not on the onepacas server as far as I know.
Re: problem with a onepacs gateway
Posted: Wed May 22, 2013 1:48 pm
by jeremy
The called AE Title for the OnePacs Gateway can be any of the following. (The one that your modality can be configured to use)
1. ONEPACS
2. GATEWAY
3. The AE title used during Gateway installation. It is mentioned on the facilities page mentioned above.
We recommend using ONEPACS as the called AE title.
The port is 4104 by default.
The host is the static internal IP address of the Gateway computer.
The above information is also available here
wiki.onepacsforums.com/doku.php?id=installguide
Regards
Re: problem with a onepacs gateway
Posted: Wed May 22, 2013 2:34 pm
by hilario
I have uninstalled anti-virus and the same behaviour persist.
I get the screen I send you
http://screencast.com/t/PDCu1uHymM
If I type the usual name and keyword it doesn't allow me to access.
Does this means Postgress is working but ONEpacs services NO?
Here you can also see the services
http://screencast.com/t/72CazWGnC2
Looking into the log I found this
2013-05-21 23:03:02,595 DEBUG -> (Timer-3) [com.onepacs.poller.server.mgmt.zip.TempZipFileService] Attempting to clear the temporary zip directory.
2013-05-21 23:03:02,595 INFO -> (Timer-3) [com.onepacs.poller.server.mgmt.zip.TempZipFileService] Temp zip directory does not exist or is not writable. No files deleted.
2013-05-21 23:03:02,970 WARN -> (main) [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException: FATAL: database "pacsdb" does not exist)
It looks as if pacsdb database doesnt exist.
This message happened yesterday probably since it stop responding.
I can send you the file it is 2 MB if you need to have more info.
Thank for any idea
After this message