We're Hiring!

[SOLVED] password check failed

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.

[SOLVED] password check failed

Postby carandraug » Wed Apr 13, 2011 5:45 pm

Hi!

I'm trying to run admin cleanse on our omero server but no avail. I keep getting a "Password check failed error" even though the password is absolutely correct. Any idea what I'm doing wrong?

Code: Select all
$ bin/omero admin cleanse --dry-run /mnt/nccblmd/OMERO/
Server: [localhost]
Username: [omero]
Password:
Password check failed


I'm assuming the values between square brackets are the values entered by default if I write nothing. I also tried to actually write them but result was the same.

here's the content of etc/grid/config.xml (by the way, I noticed that I'm using 4.2.2 but this file says that the config version is 4.2.1)

Code: Select all
<?xml version="1.0" ?>
<icegrid>
  <!--

        This file was generated at Wed Apr 13 18:35:02 2011 by the OmeroConfig system.
        Do not edit directly but see bin/omero config for details.
        This file may be included into your IceGrid application.

-->
  <properties id="__ACTIVE__">
    <property name="omero.config.profile" value="default"/>
    <property name="omero.config.version" value="4.2.1"/>
    <property name="omero.data.dir" value="/mnt/nccblmd/OMERO/"/>
    <property name="omero.db.pass" value="omero"/>
    <property name="omero.db.user" value="omero"/>
  </properties>
  <properties id="default">
    <property name="omero.config.version" value="4.2.0"/>
    <property name="omero.data.dir" value="/mnt/nccblmd/OMERO/"/>
    <property name="omero.db.pass" value="omero"/>
    <property name="omero.db.user" value="omero"/>
  </properties>
</icegrid>


and here's the output of bin/omero admin diagnostics, just in case it helps
Code: Select all
$  bin/omero admin diagnostics

================================================================================
OMERO Diagnostics Beta4.2.2-r8718-Beta4.2-b56
================================================================================
       
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.4.5     (/usr/bin/psql)

Server:     icegridnode                    running
Server:     Blitz-0                        active (pid = 25828, enabled)
Server:     DropBox                        inactive (disabled)
Server:     FileServer                     active (pid = 25847, enabled)
Server:     Indexer-0                      active (pid = 25848, enabled)
Server:     MonitorServer                  inactive (disabled)
Server:     OMERO.Glacier2                 active (pid = 25852, enabled)
Server:     OMERO.IceStorm                 active (pid = 25854, enabled)
Server:     Processor-0                    active (pid = 25856, 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:    /home/omero/OMERO.server-Beta-4.2.2/var/log exists

Log files:  Blitz-0.log                    289.0 KB      errors=1    warnings=53 
Log files:  DropBox.log                    2.0 KB        errors=8    warnings=0   
Log files:  FileServer.log                 1.0 KB       
Log files:  Indexer-0.log                  17.0 KB       errors=1    warnings=36 
Log files:  MonitorServer.log              3.0 KB        errors=4    warnings=0   
Log files:  OMEROweb.log                   0.0 KB       
Log files:  Processor-0.log                5.0 KB        errors=0    warnings=3   
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.32 MB

Parsing Blitz-0.log:[line:25] => Server restarted <=
Parsing Blitz-0.log:[line:1438] => Server restarted <=
Parsing Blitz-0.log:[line:1603] => Server restarted <=
Parsing Blitz-0.log:[line:1758] => Server restarted <=

Environment:OMERO_HOME=(unset)             
Environment:OMERO_NODE=(unset)             
Environment:OMERO_MASTER=(unset)           
Environment:PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/omero/bin
Environment:ICE_HOME=(unset)               
Environment:LD_LIBRARY_PATH=(unset)       
Environment:DYLD_LIBRARY_PATH=(unset)     

OMERO data dir: '/mnt/nccblmd/OMERO/'   Exists? True   Is writable? True
OMERO.web status... [NOT STARTED]


Any help would be most appreciated. I have some other problems but I'll open other thread since they're quite unrelated.
Last edited by carandraug on Thu Apr 14, 2011 3:26 pm, edited 1 time in total.
carandraug
 
Posts: 15
Joined: Mon Sep 06, 2010 8:50 pm

Re: password check failed

Postby jmoore » Thu Apr 14, 2011 1:20 pm

carandraug wrote:Hi!


Hello.

I'm trying to run admin cleanse on our omero server but no avail. I keep getting a "Password check failed error" even though the password is absolutely correct. Any idea what I'm doing wrong?

Code: Select all
$ bin/omero admin cleanse --dry-run /mnt/nccblmd/OMERO/
Server: [localhost]
Username: [omero]
Password:
Password check failed


I'm assuming the values between square brackets are the values entered by default if I write nothing.


Correct.

I also tried to actually write them but result was the same.

here's the content of etc/grid/config.xml (by the way, I noticed that I'm using 4.2.2 but this file says that the config version is 4.2.1)

Code: Select all
    <property name="omero.db.pass" value="omero"/>
    <property name="omero.db.user" value="omero"/>

...
Any help would be most appreciated. I have some other problems but I'll open other thread since they're quite unrelated.


The omero/omero values are your PostgreSQL user and password. The command line is asking for your OMERO user and password ("root" and whatever you set during "bin/omero db script"). You may want to take a look at Troubleshooting: Which password do I use where? for more information.

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

Re: password check failed

Postby carandraug » Thu Apr 14, 2011 3:24 pm

jmoore wrote:The omero/omero values are your PostgreSQL user and password. The command line is asking for your OMERO user and password ("root" and whatever you set during "bin/omero db script"). You may want to take a look at Troubleshooting: Which password do I use where? for more information.

Hope that helps.
~Josh

Yes, that was the problem. Now that I see it was a really silly question, thank you very much.
carandraug
 
Posts: 15
Joined: Mon Sep 06, 2010 8:50 pm

Re: [SOLVED] password check failed

Postby jmoore » Thu Apr 14, 2011 3:28 pm

No problem. Glad to help.
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest