thiagomaframg / interproscan

Automatically exported from code.google.com/p/interproscan
0 stars 0 forks source link

Acces denied to dabases - test run #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installing interproscan not in home directory in opensuse 12.3 on 64bit 
system
2. Running test procedure "./interproscan.sh -i test_proteins.fasta -f tsv"
from interproscan directory

What is the expected output? What do you see instead?

I wanted to test if wverything is ok

What version of the product are you using? On what operating system?

interproscan 5RC6 on opensuse 12.3 64bit
with java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (suse-8.14.5-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

Please provide any additional information below.

Smetimes I have problems with permissions when I run program not from home 
directory.
"brak dostepu" in code means "acces denied"

zea@ip094183:/run/media/zea/dane2/my_interproscan/interproscan-5-RC6> sh 
./interproscan.sh -i test_proteins.fasta -f tsv
01/07/2013 14:37:58 Welcome to InterProScan 5RC6
Running the following analyses:
[jobTIGRFAM-13.0, jobProDom-2006.1, jobPanther-7.2, jobSMART-6.2, 
jobPrositeProfiles-20.89, jobPrositePatterns-20.89, jobPfamA-26.0, 
jobSuperFamily-1.75, jobPRINTS-42.0, jobGene3d-3.5.0, jobPIRSF-2.83, 
jobHAMAP-201302.26, jobCoils-2.2]
Running InterProScan v5 in STANDALONE mode...
Available matches will be retrieved from the pre-calculated match lookup 
service.

Matches for any sequences that are not represented in the lookup service will 
be calculated locally.
2013-07-01 14:38:15,883 
[uk.ac.ebi.interpro.scan.jms.activemq.WorkerListener:106] ERROR - Execution 
thrown when attempting to executeInTransaction the StepExecution.  All database 
activity rolled back.
java.lang.IllegalStateException: IOException thrown when attempting to run 
binary
    at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:108)
    at uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    at com.sun.proxy.$Proxy94.executeInTransaction(Unknown Source)
    at uk.ac.ebi.interpro.scan.jms.activemq.WorkerListener.onMessage(WorkerListener.java:102)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:500)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:326)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:264)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1071)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1063)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:960)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Cannot run program "bin/coils/ncoils": 
error=13, Brak dostępu
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
    at uk.ac.ebi.interpro.scan.io.cli.CommandLineConversationImpl.runCommand(CommandLineConversationImpl.java:102)
    at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:106)
    ... 22 more
Caused by: java.io.IOException: error=13, Brak dostępu
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
    at java.lang.ProcessImpl.start(ProcessImpl.java:130)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
    ... 24 more
01/07/2013 14:38:15 29% completed
2013-07-01 14:38:16,118 
[uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster:48] WARN - 
StepInstance 3 is being re-run following a failure.
2013-07-01 14:38:16,128 
[uk.ac.ebi.interpro.scan.jms.activemq.WorkerListener:106] ERROR - Execution 
thrown when attempting to executeInTransaction the StepExecution.  All database 
activity rolled back.
java.lang.IllegalStateException: IOException thrown when attempting to run 
binary
    at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:108)
    at uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    at com.sun.proxy.$Proxy94.executeInTransaction(Unknown Source)
    at uk.ac.ebi.interpro.scan.jms.activemq.WorkerListener.onMessage(WorkerListener.java:102)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:500)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:326)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:264)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1071)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1063)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:960)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Cannot run program "bin/coils/ncoils": 
error=13, Brak dostępu
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
    at uk.ac.ebi.interpro.scan.io.cli.CommandLineConversationImpl.runCommand(CommandLineConversationImpl.java:102)
    at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:106)
    ... 22 more
Caused by: java.io.IOException: error=13, Brak dostępu
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
    at java.lang.ProcessImpl.start(ProcessImpl.java:130)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
    ... 24 more
2013-07-01 14:38:16,358 
[uk.ac.ebi.interpro.scan.jms.master.StandaloneBlackBoxMaster:48] WARN - 
StepInstance 3 is being re-run following a failure.
2013-07-01 14:38:16,366 
[uk.ac.ebi.interpro.scan.jms.activemq.WorkerListener:106] ERROR - Execution 
thrown when attempting to executeInTransaction the StepExecution.  All database 
activity rolled back.
java.lang.IllegalStateException: IOException thrown when attempting to run 
binary
    at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:108)
    at uk.ac.ebi.interpro.scan.jms.activemq.StepExecutionTransactionImpl.executeInTransaction(StepExecutionTransactionImpl.java:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    at com.sun.proxy.$Proxy94.executeInTransaction(Unknown Source)
    at uk.ac.ebi.interpro.scan.jms.activemq.WorkerListener.onMessage(WorkerListener.java:102)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:500)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:326)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:264)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1071)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1063)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:960)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Cannot run program "bin/coils/ncoils": 
error=13, Brak dostępu
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
    at uk.ac.ebi.interpro.scan.io.cli.CommandLineConversationImpl.runCommand(CommandLineConversationImpl.java:102)
    at uk.ac.ebi.interpro.scan.management.model.implementations.RunBinaryStep.execute(RunBinaryStep.java:106)
    ... 22 more
Caused by: java.io.IOException: error=13, Brak dostępu
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
    at java.lang.ProcessImpl.start(ProcessImpl.java:130)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
    ... 24 more
2013-07-01 14:38:16,599 
[uk.ac.ebi.interpro.scan.jms.activemq.NonZeroExitOnUnrecoverableError:24] FATAL 
- Analysis step 3 : Run fingerprintscan Binary for selected proteins for 
proteins 1 to 4 has failed irretrievably.  Available StackTraces follow.
2013-07-01 14:38:16,599 
[uk.ac.ebi.interpro.scan.jms.activemq.NonZeroExitOnUnrecoverableError:41] FATAL 
- The JVM will now exit with a non-zero exit status.
zea@ip094183:/run/media/zea/dane2/my_interproscan/interproscan-5-RC6> 

Original issue reported on code.google.com by maciejjo...@gmail.com on 1 Jul 2013 at 12:49

GoogleCodeExporter commented 8 years ago
I forgot to mention.
Before that error I've error with localhost (when I just run 
"interproscan.sh"). I've modidied /etc/hosts file adding "ip094183" at the end 
of
127.0.0.1   localhost
"interproscan.sh" alone show info as specified in manual

Original comment by maciejjo...@gmail.com on 1 Jul 2013 at 12:56

GoogleCodeExporter commented 8 years ago
It seems the coils binary is not working on your system. You can verify this by 
checking if the following command runs successfully:

./interproscan.sh -i test_proteins.fasta -f tsv -appl gene3d

but the following fails:

./interproscan.sh -i test_proteins.fasta -f tsv -appl coils

The binaries that we distribute with InterProScan should work on most Linux 
systems. In your case you may have to compile the coils binary for your system 
for it to work.

You will find further information on how to compile binaries here:
http://code.google.com/p/interproscan/wiki/CompilingBinaries

Regards,
Gift

Original comment by nuka....@gmail.com on 1 Jul 2013 at 1:42

GoogleCodeExporter commented 8 years ago
Thanks for feedback.
You are right coils doesn't work.

I try to compile it as written under link you provided but after I execute
"cc -O2 -I. -o ncoils-osf ncoils.c read_matrix.c -lm"

I'm getting error

ncoils.c: In function ‘main’:
ncoils.c:41:2: warning: incompatible implicit declaration of built-in function 
‘strcpy’ [enabled by default]
ncoils.c:42:19: warning: incompatible implicit declaration of built-in function 
‘strlen’ [enabled by default]
ncoils.c: In function ‘pred_coils’:
ncoils.c:188:6: warning: incompatible implicit declaration of built-in function 
‘strlen’ [enabled by default]
read_matrix.c: In function ‘read_matrix’:
read_matrix.c:17:11: warning: incompatible implicit declaration of built-in 
function ‘strlen’ [enabled by default]

I'm also not able to run ncoils-osf and ncolis-irix

Original comment by maciejjo...@gmail.com on 2 Jul 2013 at 8:45

GoogleCodeExporter commented 8 years ago
If compiling coils didn't work you will need to get in touch with the developer 
to see if they can help - robert.russell@russelllab.org

Craig

Original comment by interpro...@googlemail.com on 5 Aug 2013 at 1:09

GoogleCodeExporter commented 8 years ago

Original comment by Maxim.Sc...@gmail.com on 15 May 2014 at 9:10