[ome-users] webadmin login

josh.moore at gmx.de josh.moore at gmx.de
Fri Jun 26 11:51:47 BST 2009


Gordon W. Laurie writes:
 > Dear Josh:
 > 
 > Thanks, that worked.  

Ah, splendid! Glad to help.

 > How do I set PATH, DYLD_LIBRARY_PATH, and PYTHONPATH 
 > permanently in my environment?

Perhaps see:
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_01.html#sect_03_01_02

Cheers,
~Josh.

 > Gordon.
 > 
 > 
 > 
 > 
 > On Fri, 26 Jun 2009 09:15:55 +0200
 >   josh.moore at gmx.de wrote:
 > > 
 > > Gordon W. Laurie writes:
 > > > Dear Josh:
 > > 
 > > Hi Gordon.
 > > 
 > > > Thanks.  The password is not omero.  I rec'd the message below.
 > > > 
 > > > Looking into pgAdmin III under properties, it appears that postgreS is 
 > >not 
 > > > connected.
 > > > 
 > > > I wonder if it is best if I start from scratch.  Instead of using
 > > > Alex's directions, I go with the official OMERO.server
 > > > installation.  My uncertainty is getting the Environment Variables
 > > > correct.
 > > 
 > > I think you're doing quite well. Just missing a step. In one of your
 > > previous messages you posted this:
 > > 
 > > d-128-15-155:~ gordonlaurie$ export PATH=/opt/Ice-3.3/bin:$PATH
 > > d-128-15-155:~ gordonlaurie$ export 
 > > DYLD_LIBRARY_PATH=/opt/Ice-3.3/lib:$DYLD_LIBRARY_PATH
 > > d-128-15-155:~ gordonlaurie$ export 
 > > PYTHONPATH=/opt/Ice-3.3/python:$PYTHONPATH
 > > d-128-15-155:~ gordonlaurie$ export 
 > > CLASSPATH=/opt/Ice-3.3/lib/Ice.jar:$CLASSPATH
 > > d-128-15-155:~ gordonlaurie$ export 
 > > CLASSPATH=/opt/Ice-3.3/lib/db.jar:$CLASSPATHd-128-15-155:~ gordonlaurie$ 
 > > export PYTHONPATH=/usr/share/omero/omero_dist/lib/python/:$PYTHONPATH
 > > d-128-15-155:~ gordonlaurie$ cd /usr/share/omero/omero_dist
 > > d-128-15-155:omero_dist gordonlaurie$ 
 > >/usr/share/omero/omero_dist/bin/omero 
 > > db script
 > > 
 > > 
 > > In order to get "bin/omero config set" to work properly you'll have to
 > > do the following:
 > > 
 > >  export PATH=/opt/Ice-3.3/bin:$PATH
 > >  export DYLD_LIBRARY_PATH=/opt/Ice-3.3/lib:$DYLD_LIBRARY_PATH
 > >  export PYTHONPATH=/opt/Ice-3.3/python:$PYTHONPATH
 > >  /usr/share/omero/omero_dist/bin/omero config set omero.db.pass 
 > >YourSecretPassword
 > > 
 > > In general, to use the "bin/omero" command, you'll always have to set
 > > PATH, DYLD_LIBRARY_PATH, and PYTHONPATH because of how Ice is
 > > installed on your system. You may want to set these permanently in
 > > your environment.
 > > 
 > > Best wishes,
 > > ~Josh.
 > > 
 > > > Gordon.
 > > > 
 > > > d-128-15-155:omero_dist gordonlaurie$ bin/omero config set omero.db.pass 
 > > > MySecretPassword
 > > > Traceback (most recent call last):
 > > >    File "bin/omero", line 67, in <module>
 > > >      import omero.cli
 > > >    File "/usr/share/omero/omero_dist/lib/python/omero/__init__.py", line 
 > >14, 
 > > > in <module>
 > > >      import Ice, Glacier2
 > > > ImportError: No module named Ice
 > > > 
 > > > 
 > > > 
 > > > On Thu, 25 Jun 2009 15:50:12 +0200
 > > >   josh.moore at gmx.de wrote:
 > > > > 
 > > > > > At this point, it's guaranteed that the webclient won't be able to
 > > > > > connect, since the server couldn't startup. It would help to have:
 > > > > > 
 > > > > > zip logs.zip /usr/share/omero/omero_dist/var/log/*
 > > > > 
 > > > > In the logs (sent offlist), there's this error message:
 > > > > 
 > > > >  Caused by: org.postgresql.util.PSQLException: FATAL: password
 > > > >  authentication failed for user "omero"
 > > > > 
 > > > > If the password is something other than "omero" (hopefully it is!),
 > > > > did you configure it?
 > > > > 
 > > > > bin/omero config set omero.db.pass MySecretPassword
 > > > > 
 > > > > Another option would be to use pg_hba.conf to allow passwordless
 > > > > login. See:
 > > > > 
 > > > >  https://www.openmicroscopy.org/site/support/omero4/server/postgresql
 > > > > 
 > > > > for more information.
 > > > > 
 > > > > Cheers,
 > > > > ~J.
 > > > 
 > > > Gordon W. Laurie, PhD
 > > > Associate Professor
 > > > Department of Cell Biology
 > > > Director, Biotechnology Training Program
 > > > University of Virginia
 > 
 > Gordon W. Laurie, PhD
 > Associate Professor
 > Department of Cell Biology
 > Director, Biotechnology Training Program
 > University of Virginia



More information about the ome-users mailing list