We're Hiring!

CLOSED: Also cannot login to webadmin

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Re: Also cannot login to webadmin

Postby oscshall » Tue Oct 12, 2010 12:36 pm

Sorry I haven't gotten back to you. Work has slowed down on this project for us, but I just wanted to let you know that we did resolve the issue. Thanks for your help!
oscshall
 
Posts: 8
Joined: Thu Sep 09, 2010 5:32 pm

Re: CLOSED: Also cannot login to webadmin

Postby hajaalin » Mon Oct 25, 2010 3:11 pm

Hello,

how did you manage to solve the problem? I have exactly same symptoms here:
- Correct password does not work, web admin login screen comes back.
- With wrong password I get "client and server version don't match".

Attached are logs and diagnostics.

The weird thing is this used to work last week, I just reinstalled it... so I suspect I made something stupid when reinstalling, but can't figure out what...

Can sombody maybe spot what's going on?

Thanks, best regards,
Harri


================================================================================
OMERO Diagnostics Beta-4.2.0-r7571-b29
================================================================================

Commands: java -version 1.6.0 (/usr/bin/java)
Commands: python -V 2.4.3 (/usr/bin/python)
Commands: icegridnode --version 3.3.1 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.3.1 (/usr/bin/icegridadmin)
Commands: psql --version 8.1.22 (/usr/bin/psql)

Server: icegridnode running
Server: Blitz-0 active (pid = 16437, enabled)
Server: DropBox inactive (disabled)
Server: FileServer active (pid = 16451, enabled)
Server: Indexer-0 active (pid = 16455, enabled)
Server: MonitorServer inactive (disabled)
Server: OMERO.Glacier2 active (pid = 16462, enabled)
Server: OMERO.IceStorm active (pid = 16463, enabled)
Server: Processor-0 active (pid = 16465, enabled)
Server: Repository-1 error: node `repo' couldn't be reached:
the node is not active
Server: Tables-0 inactive (disabled)
Server: TestDropBox inactive (enabled)

Log dir: /OMERO/OMERO.server-Beta-4.2.0/var/log exists

Log files: Blitz-0.log 27.0 KB errors=0 warnings=9
Log files: DropBox.log 0.0 KB errors=2 warnings=0
Log files: FileServer.log 0.0 KB
Log files: Indexer-0.log 2.0 KB errors=0 warnings=9
Log files: MonitorServer.log 0.0 KB errors=1 warnings=0
Log files: OMEROweb.log 4.0 KB errors=5 warnings=0
Log files: Processor-0.log 0.0 KB
Log files: Tables-0.log n/a
Log files: TestDropBox.log n/a
Log files: master.err 0.0 KB
Log files: master.out 0.0 KB
Log files: Total size 0.04 MB

Parsing Blitz-0.log:[line:17] => Server restarted <=

Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:PATH=/usr/kerberos/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/jdk1.6.0_22/bin:/usr/lib/python2.3/site-packages/Ice
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)
Attachments
logs_after_wronglogin.tar
(50 KiB) Downloaded 214 times
hajaalin
 
Posts: 6
Joined: Thu Oct 21, 2010 7:18 am

Re: CLOSED: Also cannot login to webadmin

Postby jmoore » Mon Oct 25, 2010 6:58 pm

Hi Harri,

this is a bug in 4.2.0 in which a wrong password displays the wrong error message. Looking at your server log (Blitz-0.log) the server has started up correctly, but there are several attempts to login as "root" which return false (wrong password).

If you think there's a chance it got changed, you can use the 'bin/omero db password' command to reset it:

Code: Select all
$ bin/omero db password
Please enter password for OMERO root user:
Please re-enter password for OMERO root user:
UPDATE password SET hash = 'vvFwuczAmpyoRC0Nsv8FCw==' WHERE experimenter_id = 0;
$ bin/omero db password | psql omero
Please enter password for OMERO root user:
Please re-enter password for OMERO root user:
UPDATE 1


If you think there's something else wrong, please let us know.

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: CLOSED: Also cannot login to webadmin

Postby hajaalin » Tue Oct 26, 2010 11:10 am

Hi Josh,

for the wrong password, this seems clear:

------ clip ------
PermissionDeniedException: exception ::Glacier2::PermissionDeniedException
{
reason = Password check failed
}

Tue, 26 Oct 2010 11:52:13 webgateway ERROR Critical error during connect, retrying after _purge
Tue, 26 Oct 2010 11:52:13 webgateway INFO reached connector_pool_size (70), size after purge: (1)
Tue, 26 Oct 2010 11:52:13 views-admin INFO Have connection as Guest
Tue, 26 Oct 2010 11:52:13 views-admin ERROR Traceback (most recent call last):
File "/OMERO/OMERO.server-Beta-4.2.0/lib/python/omeroweb/webadmin/views.py", line 100, in _checkVersion
agent = conn.getServerVersion()
AttributeError: 'NoneType' object has no attribute 'getServerVersion'

Tue, 26 Oct 2010 11:52:27 omero.util.UpgradeCheck INFO no update needed
------ clip --------


After that I tried with the correct password, and the log shows this


----- clip ------
Tue, 26 Oct 2010 11:52:27 webgateway INFO getBlitzConnection(host=localhost, port=4064, ssl=True, username=root)
Tue, 26 Oct 2010 11:52:27 blitz_gateway INFO created connection (uuid=19f9f859-f481-4e27-b8c3-0964bff87baf)
----- clip ------

Is that proof that the login was successful? I am wondering if there could be a problem accessing the database. Ah yes, that seems to be the case. I used bin/omero config to set a wrong db.pass, and still I get the same print as above.

Is there also a ticket for checking db access at startup :) ?

I still don't get how I have messed up the connection, though...

Cheers,
Harri
hajaalin
 
Posts: 6
Joined: Thu Oct 21, 2010 7:18 am

Re: CLOSED: Also cannot login to webadmin

Postby oscshall » Tue Oct 26, 2010 1:28 pm

I'm sorry that I don't have more details for you, but another person here actually resolved the issue and didn't keep notes on what he did. He said that the issue stemmed from problems with the local configuration and permissions. He did say that he did have to do something with /var/tmp/django_cache file as atarkowska suggested.

I hope this little bit of information helps.
oscshall
 
Posts: 8
Joined: Thu Sep 09, 2010 5:32 pm

Re: CLOSED: Also cannot login to webadmin

Postby jmoore » Tue Oct 26, 2010 3:21 pm

There is now. :)

~J.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: CLOSED: Also cannot login to webadmin

Postby hajaalin » Wed Oct 27, 2010 8:10 am

Thanks,

oscshall wrote:...He said that the issue stemmed from problems with the local configuration and permissions. He did say that he did have to do something with /var/tmp/django_cache file as atarkowska suggested...


this did the trick! I was wondering, because things worked with one username, but when I wanted to install omero under "omerouser" account, it failed.

Cheers,
Harri
hajaalin
 
Posts: 6
Joined: Thu Oct 21, 2010 7:18 am

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest