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? |
Maybe you don't have permission to write to that file or directory.
|
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. |