[ome-users] icegridnode: error: property `Ice.Default.Locator' is not set

Josh Moore josh at glencoesoftware.com
Sat Jan 9 19:31:26 GMT 2010


Hi Ken,

SIGTERM sent to the icegridnode process will cleanly shutdown the
entire OMERO instance, yes. (I usually use "killall icegridnode" on
systems where I know there is only one OMERO running.) It does this by
sending a SIGTERM to each of the processes, and then exiting itself.

If you send the Java process a SIGTERM directly, it will also shutdown
cleanly, but icegridnode will start it back up again unless told not
to.

~Josh

Arcieri, Kenneth (NIH/NICHD) [V] writes:
 > In reference to the launchd:
 > 
 > If a SIGTERM is sent to the OMERO server, will it cause the server
 > to shut down?
 > 
 > -Ken
 > 
 > ________________________________________
 > From: Josh Moore [josh at glencoesoftware.com]
 > Sent: Wednesday, December 30, 2009 4:42 PM
 > To: Arcieri, Kenneth (NIH/NICHD) [V]
 > Cc: ome-users at lists.openmicroscopy.org.uk
 > Subject: Re: [ome-users] icegridnode: error: property `Ice.Default.Locator' is  not set
 > 
 > You might take a look at:
 > 
 >   http://trac.edgewall.org/wiki/TracOnOsxTracdAsLaunchdService
 > 
 > for an example of how to get started and possibly use a launchd editor
 > like lingon:
 > 
 >   http://sourceforge.net/projects/lingon/files/
 > 
 > If you have MacPorts installed, you may want to use daemondo in
 > combination with launchd:
 > 
 >   http://guide.macports.org/#reference.startupitems
 > 
 > Let us know how things go.
 > ~Josh
 > 
 > Arcieri, Kenneth (NIH/NICHD) [V] writes:
 >  > Oh, for my problem I was using the wrong login for the server.  I
 >  > was a little confused because when I didn't have the right username
 >  > and password it told it it couldn't connect to the database.
 >  >
 >  > I'm trying to make a StartupItem, but maybe that isn't the right
 >  > route to go?  I'll look into the launchd since I am working on osx.
 >  >
 >  > ~Ken
 >  >
 >  > ________________________________________
 >  > From: josh.moore at gmx.de [josh.moore at gmx.de]
 >  > Sent: Wednesday, December 30, 2009 4:03 PM
 >  > To: Arcieri, Kenneth (NIH/NICHD) [V]
 >  > Cc: ome-users at lists.openmicroscopy.org.uk
 >  > Subject: Re: [ome-users] icegridnode: error: property `Ice.Default.Locator' is  not set
 >  >
 >  > Arcieri, Kenneth (NIH/NICHD) [V] writes:
 >  >
 >  >  > I resolved the problem, but now I have another one!
 >  >
 >  > Great!. What was the trick? (I'm sure others will run into the same
 >  > problem)
 >  >
 >  >  > If I want the server to start when the machine starts up, do you
 >  >  > have any documentation on how to do this?  When I start the server
 >  >  > up manually it works fine, but when I start the server up as a
 >  >  > service it cannot find the "Ice" python library.  I did set the
 >  >  > python path, but I have a feeling there is another path that isn't
 >  >  > set in the .profile file that I am missing.
 >  >
 >  > If you have a startup script from which you source .profile along with
 >  > something like .bashrc, you should have all the same environment
 >  > settings as when you login, but it depends on the OS and what's been
 >  > set.
 >  >
 >  > I don't think there's currently any documentation for this. I added a
 >  > ticket:
 >  >
 >  >   https://trac.openmicroscopy.org.uk/omero/ticket/1728
 >  >
 >  > to make sure some gets added for 4.2. To do this properly, you will
 >  > need an init.d script (linux) or a launchd entry (osx). I know some
 >  > others have created something similar. Anyone up for contributing?
 >  >
 >  > ~Josh.
 >  >
 >  >  > Thanks for your help thus far!
 >  >  > Kenneth
 >  >  >
 >  >  > ________________________________________
 >  >  > From: Josh Moore [josh at glencoesoftware.com]
 >  >  > Sent: Tuesday, December 29, 2009 5:46 AM
 >  >  > To: Arcieri, Kenneth (NIH/NICHD) [V]
 >  >  > Cc: ome-users at lists.openmicroscopy.org.uk
 >  >  > Subject: [ome-users] icegridnode: error: property `Ice.Default.Locator' is      not set
 >  >  >
 >  >  > Hi Kenneth,
 >  >  >
 >  >  > our apologies: your email slipped through the ASCB/holidays crack. Did
 >  >  > you have any luck getting your server started? If not, could you
 >  >  > possibly zip up the files under var/log and send them to me. (Off list
 >  >  > is fine)
 >  >  >
 >  >  > Arcieri, Kenneth (NIH/NICHD) [V] writes:
 >  >  >  > I'm trying to launch the Omero server on a mac machine, but when I
 >  >  >  > run: "bin/omero admin start"
 >  >  >  >
 >  >  >  > I get: Waiting on startup. Use CTRL-C to exit
 >  >  >  > .............................Failed to startup after 5 minutes
 >  >  >  >
 >  >  >  >
 >  >  >  > When I tired to find out what the problem is, I found that it might
 >  >  >  > be related to icegridnode.  When I run icegridnode I get the
 >  >  >  > following error: icegridnode: error: property `Ice.Default.Locator'
 >  >  >  > is not set
 >  >  >
 >  >  > Do you mean that you tried to run "icegridnode" by itself? If so, then
 >  >  > the error message is expected. icegridnode needs several configuration
 >  >  > files (e.g. internal.cfg & master.cfg) which is part of what
 >  >  > 'bin/omero admin start' takes care of.
 >  >  >
 >  >  >  > Any recommendations on where to go from here?
 >  >  >
 >  >  > You could also send us the output of:
 >  >  >
 >  >  >   bin/omero admin diagnostics
 >  >  >
 >  >  >
 >  >  >  > Thanks,
 >  >  >  > Kenneth Arcieri
 >  >  >
 >  >  > Cheers,
 >  >  > ~Josh



More information about the ome-users mailing list