Page 1 of 1

Gentoo install

Posted: Mon Oct 08, 2007 8:44 pm
by alter
Everything installed properly when I ran the ./install.sh
No errors generated
I goto run the pacsone server and I get:

Code: Select all

localhost init.d # ./pacsone start
localhost init.d # ps -ef|grep PacsOne
root     24054 10516  0 16:02 ?        00:00:01 kwrite [kdeinit] /opt/lampp/htdocs/pacsone/MyAeTitle/PacsOne-Monday.log
root     24126 16357  0 16:25 pts/1    00:00:00 grep --colour=auto PacsOne
localhost init.d # cd /opt/lampp/htdocs/pacsone/

I find a log file under ~/MyAeTitle/Pacsone-Monday.log

Code: Select all

Mon Oct  8 15:02:26 2007 ERROR - Failed to open license semaphore, error = 2
Mon Oct  8 15:02:26 2007 ERROR - Maximum licensed server instances exceeded.
Mon Oct  8 16:02:09 2007 ERROR - Failed to open license semaphore, error = 2
Mon Oct  8 16:02:09 2007 ERROR - Maximum licensed server instances exceeded.
Mon Oct  8 16:02:14 2007 ERROR - MySQL: Couldn't connect to: Database, error = Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2), user = dicom
I find it strange that it is looking for a user called dicom when I never input in the install script that user. It seems like my install is going back to defaults instead of using my configuration.
I have never successfully sent a single exam/image/report to this server since I have never been able to connect. If it is a license issue, I don't know how that is possible since I have only had it for 3 days.

Posted: Mon Oct 08, 2007 10:36 pm
by pacsone
It seemed that you have configured more than one (1) instances of PacsOne Server, but the trial license only supports one, thus the errors in the PacsOne Server logs.

Look for all the *.ini files under the directory where PacsOne is installed, there should be only one such *.ini file there if you're running with a trial license, and it should be named with the AE Title you've assigned to PacsOne, i.e., ${AeTitle}.ini. Delete the extra/bogus *.ini files, and examine the content of the only configuration file there. Then restart PacsOne Server and see if the errors disappear.

If you're not sure which *.ini file to keep, you can delete them all, then run the Setup.exe under the directory where PacsOne is installed:

Code: Select all

# ./Setup.exe
Be sure to enter the correct AE Title, TCP port number and MySQL database name/username that you expect.

Posted: Tue Oct 09, 2007 1:09 pm
by alter
I deleted both *.ini files that were located in the directory.
I then ran ./Setup.exe
Install again was successful but when I do a ./pacsone start, I get

Code: Select all

localhost pacsone # ./pacsone start
localhost pacsone #
localhost pacsone #  ps -ef|grep PacsOne
root     25820 25732  0 09:04 pts/1    00:00:00 grep --colour=auto PacsOne
localhost pacsone #    
I still do not see the server running. I only have one *.ini called pacs1.ini in the folder.

Edit:
I ran the uninstall.sh and decided to start over

Downloaded the most recent release. Untarred the file.
Ran ./Setup.exe

Code: Select all

*******************************************************************
Cannot locate PacsOne Server Initialization Script!

*******************************************************************
I now get this error. If I run ./install.sh I can get passed this but I go back to the original problem.

Posted: Tue Oct 09, 2007 5:06 pm
by pacsone
You should not un-install PacsOne as doing so will remove the trial license created during the initial install, but the trial license will not be created again even if you re-install PacsOne.

Anyway, we can create a new trial license for your server if you could send the output text of the following command run from a shell on your server:

Code: Select all

$ uname -a;/sbin/ifconfig
Send the output text of the above command to pacsone@pacsone.net[/b], and we'll be able to send you a new trial license required to run PacsOne Server.