can't change hostname

Trouble during PacsOne Server installations
Post Reply
jdiazkropman
Posts:12
Joined:Tue Apr 28, 2009 4:29 pm
can't change hostname

Post by jdiazkropman » Tue Jan 19, 2010 4:06 pm

Hello,

I'm testing PacsOne over CentOS and it's been working fine for a couple of weeks, but I needed to move the server to a new office in order to test MedDream's performance over the Internet. So I had to change AETitle, IP, and port.

I renamed and modified the AETITLE.ini file within /pacsone install directory, and also ran "update config set port='New_POrt';" and "update config set aetitle='New_AETitle';" in mysql. I started PacsOne and when I go to the Dicom AE config screen, I can see AETitle and Port updated, but Hostname says "localhost" instead of the IP of the machine.

How do I change that "hostname" to reflect the host's IPs? I don;t see a field for that within the ini file or in the config table in MySQL.

Thank you for your help!
Regards,
Jorge

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

Post by pacsone » Tue Jan 19, 2010 4:28 pm

There is no need to change the hostname from the Configuration page of PacsOne Server, because PacsOne is always installed on the same host (localhost) where Apache/MySQL/PHP are located.

The external IP address of the host has nothing to do with PacsOne Server (not used), as it is only used by the external clients which need to establish connections to the host where PacsOne is installed.

jdiazkropman
Posts:12
Joined:Tue Apr 28, 2009 4:29 pm

Post by jdiazkropman » Tue Jan 19, 2010 5:44 pm

Well, but the original testing server in this office is configured exactly the same as this one except that in the Hostname field, instead of "localhost" has the machine IP: 10.1.13.80.

The original testing server can ECHO the 2 modalities without any problem, but the replacement one I want to test with can't ECHO the modalities (and modalities can't echo the server). I changed IP and AETitle to match the original server that was here, and the only difference is the localhost/IP field in the DicomAE configuration screen.

I stopped Pacsone, restarted, and still can't get connected. And can;t be an issue with licenses because earlier today before changing the AETitle on the new server, I only changed the IP and connected both PacsOne servers to each other to transfer studies....so I may be reaching the end of the trial but for today it should be ok ;-) I transfer studies earlier today.

That's why I think my modalities expect the IP in the hostname field to properly connect with PacsOne.

Does this make sense? Can I still change it?

I'll try now turning on the original server, I'll change the IP and try to connect both PacsOne servers again, but I'm pretty sure my modalities are complaining because of the hostname :-(

Jorge

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

Post by pacsone » Tue Jan 19, 2010 6:15 pm

If you are trying to ECHO the modalities (or any other remote AE), you need to configure them in the Application Entity page of PacsOne Server by entering the hostname or IP address of the remote AE. The hostname of the host where PacsOne is installed seems to be totally irrelevant here.

jdiazkropman
Posts:12
Joined:Tue Apr 28, 2009 4:29 pm

Post by jdiazkropman » Tue Jan 19, 2010 6:27 pm

you are completely right ;-)

I turned on the original server and configured it with the AETitle/port of the old one, and that server also has hostname=localhost and modalities can connect to. I can also Echo from one PacsOne server to the other, but not the opposite.

So I thought something may be wrong with the licenses, and that's what happens. I was transferring studies this morning as I told you and the license was fine. But then, before I found out the correct way to change AETitle/port, I tried a re-install of PacsOne on the same server by selecting "U" for update and the new values of AETitle and port. The installation failed, but I noticed I have a file now under pacsone installation directory called license.expire (from today at 9:33 when I ran the update).

The original license.dat that you sent me by email on Dec-17 is still there. Can I remove the license.expire and leave the other one alone? The trial will expire in 2 weeks when 45-days are due, but I don;t need more than an extra week to complete my testing on the actual server through the internet. Can I do that to revert the update process I did this morning?

I don;t recall the ps -ef|grep.... command to find out if PacsOne is running, but I bet that's what's happening :-(

Thanks,
Jorge

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

Post by pacsone » Tue Jan 19, 2010 7:58 pm

The license.expire file is created when your current trial license has expired, and removing it does not help with the expired trial license. You should contact mailto:pacsone@pacsone.net about the possibility of extending your current trial license instead.

Post Reply