<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>OK, I'm a little farther but can't login to that admin interface. I set the web admin user using:<br><br>bin/omero web superuser<br>answering questions.<br><br>Here is the output of bin/omero admin diagnostics<br>bash-3.2$ bin/omero admin diagnostics<br><br>================================================================================<br>OMERO Diagnostics Beta-4.1.0-r5585-b12<br>================================================================================<br> <br>Commands: java -version 1.6.0 (/opt/jdk1.6.0_07/bin/java -- 2 others)<br>Commands: python -V 2.4 (/usr/bin/python)<br>Commands: icegridnode --version 3.3 (/usr/bin/icegridnode)<br>Commands: icegridadmin --version 3.3 (/usr/bin/icegridadmin)<br>Commands: psql --version 8.1.11 (/usr/bin/psql)<br><br>Server: icegridnode running<br>Server: Blitz-0 active (pid = 31983, enabled)<br>Server: DropBox inactive (disabled)<br>Server: FSServer inactive (disabled)<br>Server: Indexer-0 active (pid = 31994, enabled)<br>Server: OMERO.Glacier2 active (pid = 31996, enabled)<br>Server: OMERO.IceStorm active (pid = 31997, enabled)<br>Server: Processor-0 active (pid = 32004, enabled)<br>Server: Tables-0 inactive (disabled)<br>Server: TestDropBox inactive (enabled)<br>Server: Web inactive (enabled)<br><br>Log dir: /data/omero-Beta4.1.0/var/log exists<br><br>Log files: Blitz-0.log 73.0 KB errors=0 warnings=4 <br>Log files: DropBox.log 3.0 KB errors=4 warnings=0 <br>Log files: FSServer.log 1.0 KB errors=2 warnings=0 <br>Log files: Indexer-0.log 3.0 KB errors=0 warnings=2 <br>Log files: OMEROweb.log n/a<br>Log files: Processor-0.log 2.0 KB errors=0 warnings=1 <br>Log files: Tables-0.log n/a<br>Log files: TestDropBox.log n/a<br>Log files: master.err 1.0 KB errors=0 warnings=4 <br>Log files: master.out 0.0 KB <br>Log files: Total size 0.09 MB<br><br>output of bin/omero config get<br>-bash-3.2$ bin/omero config get<br>omero.data.dir=/data/OMERO<br>omero.db.name=omero3<br>omero.db.pass=<secret><br>omero.db.user=omero<br><br>Tested my connection to postgres running on localhost with username and password. That works<br><br>Using mod_python and virtualhost on apache2 which works fine. I can get to the webadmin and webadmin login.<br><br>What's a little confusing is the omero.server an on demand daemon or does it need to be running when apache is running?<br><br>I started with bin/omero admin start<br><br>ps ax<br>...<br>31948 ? Sl 0:00 icegridnode --daemon --pidfile /data/omero-Beta4.1.0/var/master/master.pid --nochdir --Ice.Config=/data/omero-Beta4.1.0/etc/internal.cfg,/data/omero-Beta4.1.0/etc/master.<br>31983 ? Sl 0:29 java -Xmx512M -Djava.awt.headless=true -Dlog4j.configuration=etc/log4j.xml -Domero.logfile=var/log/${omero.name}.log -Domero.name=Blitz-0 -jar lib/server/blitz.jar --Ice.<br>31994 ? Sl 0:35 java -Xmx256M -Djava.awt.headless=true -Dlog4j.configuration=etc/log4j-indexing.xml -Domero.logfile=var/log/${omero.name}.log -Domero.name=Indexer-0 -jar lib/server/blitz<br>31996 ? Sl 0:00 glacier2router --Ice.Config=/data/omero-Beta4.1.0/var/master/servers/OMERO.Glacier2/config/config<br>31997 ? Sl 0:00 icebox --Ice.Config=/data/omero-Beta4.1.0/var/master/servers/OMERO.IceStorm/config/config<br>32004 ? Sl 0:00 python lib/python/runProcessor.py --Ice.Config=/data/omero-Beta4.1.0/var/master/servers/Processor-0/config/config<br>32095 ? S 0:03 postgres: omero omero3 127.0.0.1(52367) idle <br>...<br><br>The only thing I see in the weblog is:<br>...<br>2009-11-05 20:32:05,491 blitz_gateway: INFO first create session had errors, hold off 10 secs and retry (but only once)<br>2009-11-05 20:32:05,509 blitz_gateway: INFO (3) calling createSession()<br>2009-11-05 20:32:05,563 webgateway : ERROR Critical error during connect, retrying after _purge<br>2009-11-05 20:32:05,592 blitz_gateway: INFO host: localhost, port: 4063<br>2009-11-05 20:32:05,620 blitz_gateway: INFO (1) calling createSession()<br>2009-11-05 20:32:05,648 blitz_gateway: INFO BlitzGateway.connect().createSession(): Traceback (most recent call last):<br> File "/data/omero-Beta4.1.0/lib/python/omero/gateway/__init__.py", line 423, in connect<br> self._createSession()<br> File "/data/omero-Beta4.1.0/lib/python/omero/gateway/__init__.py", line 315, in _createSession<br> self._ic_props[omero.constants.PASSWORD])<br> File "/data/omero-Beta4.1.0/lib/python/omero/clients.py", line 376, in createSession<br> prx = self.getRouter(self.__ic).createSession(username, password)<br> File "/usr/lib/python2.4/site-packages/Ice/Glacier2_Router_ice.py", line 107, in createSession<br> return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx))<br>PermissionDeniedException: exception ::Glacier2::PermissionDeniedException<br>{<br> reason = permission denied<br>}<br><br>2009-11-05 20:32:05,687 blitz_gateway: INFO first create session had errors, hold off 10 secs and retry (but only once)<br>2009-11-05 20:32:05,706 blitz_gateway: INFO (3) calling createSession()<br>2009-11-05 20:32:06,034 views-web : INFO INIT '32218'<br>...<br><br>Any ideas? Anywhere else I can look?<br><br>Kent<br><br>----- Original Message -----<br>From: "Bernhard Holländer" <bernhard.voigt@gmail.com><br>To: "Kent Nasveschuk" <knasveschuk@mbl.edu><br>Cc: "Open Microscopy" <ome-users@lists.openmicroscopy.org.uk><br>Sent: Thursday, November 5, 2009 3:02:50 AM GMT -05:00 US/Canada Eastern<br>Subject: Re: [ome-users] Migrating from 3.1.x to 4.1.0<br><br>Good morning!<br><br>The settings.py file is the configuration file for Omero.Web and<br>you're right, that's only relevant if you have been running Omero4.0<br>before.<br><br>Here's the migration path I took:<br><br>0. stopped Omero3.x<br>1. made a dump of the Omer3.x db<br>2. created new Omero4 db (only the createdb and createlang steps)<br>3. restored the Omero3.x dump into the newly created Omero4 db<br>4. ran all the sql upgrade scripts on the Omero4 db<br>5. configured Omero4 to use the omero4 db and the existing file<br>repository from the Omero3 installation<br>6. started Omero4<br><br>Cheers! Bernhard<br><br>On Wed, Nov 4, 2009 at 8:29 PM, Kent Nasveschuk <knasveschuk@mbl.edu> wrote:<br>> Hello,<br>> I'm trying to migrate from a Beta3.1.1 installation to Beta4.1.0. I have<br>> gone from 3.1.1 to 3.2, then upgraded the postgresql database to 4.0.0. It<br>> says in the upgrade documentation<br>> (http://www.openmicroscopy.org/site/support/omero4/server/upgrade) to copy<br>> setting.py from your 4.0.0 installation to 4.1.0. Settings.py is I guess<br>> unique to the 4.x version and hasn't been configure yet.<br>><br>> Any help would be appreciated.<br>><br>> Kent<br>><br>> _______________________________________________<br>> ome-users mailing list<br>> ome-users@lists.openmicroscopy.org.uk<br>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br>><br>><br></div></body></html>