We're Hiring!

No processor available

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please 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

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

No processor available

Postby Hang » Wed May 09, 2018 9:30 pm

Hi there,

I'm getting the following error with my Omero server:

Traceback (most recent call last):
File "/home/omero/OMERO.server/bin/omero", line 125, in <module>
rv = omero.cli.argv()
File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 1620, in argv
cli.invoke(args[1:])
File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 1095, in invoke
stop = self.onecmd(line, previous_args)
File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 1172, in onecmd
self.execute(line, previous_args)
File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 1254, in execute
args.func(args)
File "/home/omero/OMERO.server/lib/python/omero/plugins/script.py", line 408, in launch
params = svc.getParams(script_id)
File "/home/omero/OMERO.server/lib/python/omero_api_IScript_ice.py", line 820, in getParams
return _M_omero.api.IScript._op_getParams.invoke(self, ((scriptID, ), _ctx))
omero.NoProcessorAvailable: exception ::omero::NoProcessorAvailable
{
serverStackTrace =
serverExceptionClass =
message = No processor available! [1 response(s)]
processorCount = 1
}

I tried to restart the server, but the error still exists.

Thanks,

Hang
Hang
 
Posts: 46
Joined: Wed Mar 07, 2018 10:22 pm

Re: No processor available

Postby jmoore » Thu May 10, 2018 7:31 am

Hi Hang,

can you show us the output of `bin/omero admin diagnostics` and the contents of var/log/Processor-0.log?

What command were you running? Did it previously work?

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

Re: No processor available

Postby Hang » Thu May 10, 2018 8:45 pm

1.
omero admin diagnostics

================================================================================
OMERO Diagnostics (admin) 5.4.4-ice36-b82
================================================================================

Commands: java -version 1.8.0 (/usr/bin/java)
Commands: python -V 2.7.12 (/usr/bin/python)
Commands: icegridnode --version 3.6.4 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.6.4 (/usr/bin/icegridadmin)
Commands: psql --version 9.6.8 (/usr/bin/psql)

Server: icegridnode running
Server: Blitz-0 active (pid = 1641, enabled)
Server: DropBox active (pid = 1762, enabled)
Server: FileServer active (pid = 1766, enabled)
Server: Indexer-0 active (pid = 1768, enabled)
Server: MonitorServer active (pid = 1769, enabled)
Server: OMERO.Glacier2 active (pid = 1771, enabled)
Server: OMERO.IceStorm active (pid = 1773, enabled)
Server: PixelData-0 active (pid = 1774, enabled)
Server: Processor-0 active (pid = 3600, enabled)
Server: Tables-0 active (pid = 1804, enabled)
Server: TestDropBox inactive (enabled)

Log dir: /home/omero/OMERO.server/var/log exists
Log files: Blitz-0.log 99.0 MB errors=33 warnings=173
Log files: DropBox.log 43.0 KB errors=18 warnings=20
Log files: FileServer.log 6.0 KB
Log files: Indexer-0.log 1.0 MB errors=37 warnings=84
Log files: MonitorServer.log 18.0 KB
Log files: PixelData-0.log 680.0 KB errors=36 warnings=83
Log files: Processor-0.log 2.0 MB errors=60 warnings=117
Log files: Tables-0.log 170.0 KB errors=43 warnings=82
Log files: TestDropBox.log n/a
Log files: master.err 27.0 KB errors=17 warnings=45
Log files: master.out 0.0 KB
Log files: Total size 104.24 MB


Environment:OMERO_HOME=/home/omero/OMERO.server
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_USERDIR=(unset)
Environment:OMERO_TMPDIR=(unset)
Environment:PATH=/home/omero/bin:/home/omero/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/home/omero/OMERO.server/bin
Environment:PYTHONPATH=/home/omero/OMERO.server/lib/python:/usr/local/MATLAB/MATLAB_Runtime/v94/mcr/toolbox/matlab/external/interfaces/python
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)

OMERO SSL port:4064
OMERO TCP port:4063
OMERO data dir:'/OMERO' Exists? True Is writable? True
OMERO temp dir:'/home/omero/omero/tmp' Exists? True Is writable? True (Size: 0)

JVM settings: Blitz-${index} -Xmx5051m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Indexer-${index} -Xmx3367m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: PixelData-${index} -Xmx5051m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Repository-${index} -Xmx3367m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions

2. var/log/Processor-0.log

2018-05-10 00:00:51,696 INFO [ omero.processor.ProcessI] (Thread-2 ) <proc:5508,rc=1,uuid=24d072c6-dcfa-4ded-b7aa-cd6de1e6270b> : Keep alive failed
2018-05-10 00:00:51,697 INFO [ omero.remote] (Thread-2 ) Meth: ProcessI.poll
2018-05-10 00:00:51,697 INFO [ omero.remote] (Thread-2 ) Rslt: object #0 (::omero::RInt)
{
_val = 1
}
2018-05-10 00:00:51,699 INFO [ omero.processor.ProcessI] (Thread-2 ) <proc:5493,rc=1,uuid=4c5982aa-64c0-4297-a700-9b0aa1d3e8ff> : Keep alive failed
2018-05-10 00:00:51,699 INFO [ omero.remote] (Thread-2 ) Meth: ProcessI.poll
2018-05-10 00:00:51,699 INFO [ omero.remote] (Thread-2 ) Rslt: object #0 (::omero::RInt)
{
_val = 1
}
2018-05-10 00:00:51,701 INFO [ omero.processor.ProcessI] (Thread-2 ) <proc:5321,rc=1,uuid=acff0d16-e405-47e9-adbf-2fafd11fe6e3> : Keep alive failed
2018-05-10 16:42:39,225 INFO [ omero.remote] (Dummy-5 ) Meth: ProcessorI.willAccept
2018-05-10 16:42:39,252 INFO [ omero.remote] (Dummy-5 ) Rslt: False
2018-05-10 16:42:44,576 INFO [ omero.remote] (Dummy-4 ) Meth: ProcessorI.willAccept
2018-05-10 16:42:44,597 INFO [ omero.remote] (Dummy-4 ) Rslt: False

(I'm showing the end of the log file here. The ones on 05/10 around 16:42 is when I just tried to run a script)
Hang
 
Posts: 46
Joined: Wed Mar 07, 2018 10:22 pm

Re: No processor available

Postby jmoore » Fri May 11, 2018 9:56 am

Hi Hang,

Thanks for the logs. Unfortunately, I don't immediately see what might be going wrong. What script is this that you are trying to run? Is it one of the standard ones?

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

Re: No processor available

Postby Hang » Fri May 11, 2018 2:49 pm

Hi Josh,

No. It's one I wrote and uploaded to omero.

Hang
Hang
 
Posts: 46
Joined: Wed Mar 07, 2018 10:22 pm

Re: No processor available

Postby kennethgillen » Fri May 11, 2018 3:12 pm

Hi Hang,

Chances are the community would want to see the script to be able to work out what's going wrong.

Can you post a github gist or similar?

Cheers,

Kenny
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: No processor available

Postby Hang » Fri May 11, 2018 3:18 pm

The problem is gone as we speak... I didn't do anything... Actually, it was the same thing when it happened last time. This no processor error seems to just pop up randomly..

Hang
Hang
 
Posts: 46
Joined: Wed Mar 07, 2018 10:22 pm

Re: No processor available

Postby mtbc » Mon May 14, 2018 8:51 am

Dear Hang,

That's not a problem we usually see. If you'd like to share a script that exhibits the failure then we're happy to try to check it for any clues as to problems.

Cheers,
Mark
User avatar
mtbc
Team Member
 
Posts: 282
Joined: Tue Oct 23, 2012 10:59 am
Location: Dundee, Scotland


Return to Developer Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron