LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   nohup + java > select: interrupted system call (https://www.linuxquestions.org/questions/linux-software-2/nohup-java-select-interrupted-system-call-407890/)

mivz 01-25-2006 01:18 PM

nohup + java > select: interrupted system call
 
I wrote a init script wich runs:

nohup /usr/spine/HelloWorld.class </dev/null >>/var/log/spine.console 2>>/var/log/spine.err &

It uses binfmt_misc to run java. I use the latest sun-jdk-1.5.
It works good, except the first time I run it after boot. It quits telling me:

select: interrupted system call.

And it does not run.
If I remove the /var/lib/init.d/satrted/ file and run the script again, there is no problem. It just runs perfect.
What could cause this unexpected behavior?

stress_junkie 02-02-2006 01:08 PM

Maybe you don't have permission to write to that file or directory.

mivz 02-03-2006 02:28 AM

Then it also should not run the second time.
Also, if I add the service to my default runlevel, it runs without any problems.
Onley when run manually, the first time after boot it does this.


All times are GMT -5. The time now is 10:40 AM.