Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #3042 (closed)

Opened 9 years ago

Closed 9 years ago

Bug: bin\omero admin start shuts down server prematurely

Reported by: jamoore Owned by: jamoore
Priority: critical Milestone: OMERO-Beta4.2.1
Component: Deployment Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-09-30 (17)

Description

After changes to bin\omero admin start, non-async startup on Windows is broken. From Chris:

Starting server
Creating C:\hudson\workspace\OMERO-trunk-windows-integration\trunk\dist\var\master
Initializing C:\hudson\workspace\OMERO-trunk-windows-integration\trunk\dist\var\log
Creating C:\hudson\workspace\OMERO-trunk-windows-integration\trunk\dist\var\registry


SERVICE_NAME: OMERO.hudson 

        TYPE               : 10  WIN32_OWN_PROCESS  

        STATE              : 2  START_PENDING 

                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN))

        WIN32_EXIT_CODE    : 0  (0x0)

        SERVICE_EXIT_CODE  : 0  (0x0)

        CHECKPOINT         : 0x0

        WAIT_HINT          : 0x7d0

        PID                : 132

        FLAGS              : 


Waiting on startup. Use CTRL-C to exit
.............................No descriptor given. Using etc\grid\windefault.xml

Failed to startup some components after 5 minutes
Calling "stop" on remaining components
Server not running
Failed 43
Previously logged in to localhost as root

It certainly did start up as far as I could tell.

See #2862

Change History (3)

comment:1 Changed 9 years ago by jmoore

  • Owner set to jmoore

comment:2 Changed 9 years ago by jmoore

  • Status changed from new to assigned

comment:3 Changed 9 years ago by jmoore

  • Remaining Time changed from 0.25 to 0
  • Resolution set to worksforme
  • Status changed from assigned to closed

I can't reproduce this. I'm going to close. If it happens again, try executing with debug enabled (see below) and capture the Blitz-0.log.

With "set DEBUG=1":

C:\hudson\workspace\dist-tmp>bin\omero admin start
Deprecated warning: use the 'bin/omero --debug=x [args]' to debug
Running omero with debugging == 1
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\admin.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\basics.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\cecog.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\db.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\delete.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\download.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\export.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\group.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\hql.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\import.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\node.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\perf.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\prefs.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\script.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\server.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\sessions.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\submit.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\upload.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\user.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\web.py
Loading C:\hudson\workspace\dist-tmp\lib\python\omero\plugins\__init__.py
Returning popen: ['icegridnode', '--version']
Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp\
\etc\\internal.cfg', '-e', 'node ping master']
No descriptor given. Using etc\grid\windefault.xml
Ignoring stdout 'Listening for transport' from DEBUG=1
Returning popen: ['sc', 'create', 'OMERO.master', 'binPath=', u'icegridnode.exe
"--Ice.Config=C:\\hudson\\workspace\\dist-tmp\\etc\\internal.cfg,C:\\hudson\\wor
kspace\\dist-tmp\\etc\\master.cfg,C:\\hudson\\workspace\\dist-tmp\\etc\\Windows.
cfg" --deploy "C:\\hudson\\workspace\\dist-tmp\\etc\\grid\\windefault.xml" --ser
vice OMERO.master', 'DisplayName=', 'OMERO.master', 'start=', 'auto']
[SC] CreateService SUCCESS

Returning popen: ['sc', 'start', 'OMERO.master']

SERVICE_NAME: OMERO.master
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN))

        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x7d0
        PID                : 4044
        FLAGS              :

Waiting on startup. Use CTRL-C to exit
Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp\
\etc\\internal.cfg', '-e', 'node ping master']
.Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp
\\etc\\internal.cfg', '-e', 'node ping master']
Server reachable
C:\hudson\workspace\dist-tmp>bin\omero -d1 admin stop
Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp\
\etc\\internal.cfg', '-e', 'node ping master']
Returning popen: ['sc', 'stop', 'OMERO.master']

SERVICE_NAME: OMERO.master
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

Returning popen: ['sc', 'delete', 'OMERO.master']
[SC] DeleteService SUCCESS

Waiting on shutdown. Use CTRL-C to exit
Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp\
\etc\\internal.cfg', '-e', 'node ping master']
.Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp
\\etc\\internal.cfg', '-e', 'node ping master']

C:\hudson\workspace\dist-tmp>bin\omero -d1 admin start
Returning popen: ['icegridnode', '--version']
Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp\
\etc\\internal.cfg', '-e', 'node ping master']
No descriptor given. Using etc\grid\windefault.xml
Returning popen: ['sc', 'create', 'OMERO.master', 'binPath=', u'icegridnode.exe
"--Ice.Config=C:\\hudson\\workspace\\dist-tmp\\etc\\internal.cfg,C:\\hudson\\wor
kspace\\dist-tmp\\etc\\master.cfg,C:\\hudson\\workspace\\dist-tmp\\etc\\Windows.
cfg" --deploy "C:\\hudson\\workspace\\dist-tmp\\etc\\grid\\windefault.xml" --ser
vice OMERO.master', 'DisplayName=', 'OMERO.master', 'start=', 'auto']
[SC] CreateService SUCCESS

Returning popen: ['sc', 'start', 'OMERO.master']

SERVICE_NAME: OMERO.master
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN))

        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x7d0
        PID                : 3892
        FLAGS              :

Waiting on startup. Use CTRL-C to exit
Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp\
\etc\\internal.cfg', '-e', 'node ping master']
.Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp
\\etc\\internal.cfg', '-e', 'node ping master']
Server reachable

C:\hudson\workspace\dist-tmp>bin\omero -d1 admin status || echo oops
Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp\
\etc\\internal.cfg', '-e', 'node ping master']
Server reachable

C:\hudson\workspace\dist-tmp>bin\omero -d1 admin waitup || echo oops
Waiting on startup. Use CTRL-C to exit
Returning popen: ['icegridadmin', '--Ice.Config=C:\\hudson\\workspace\\dist-tmp\
\etc\\internal.cfg', '-e', 'node ping master']
Server reachable
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.74982 sec.)

We're Hiring!