Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-25-2006, 01:18 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Unhappy 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?
Old 02-02-2006, 01:08 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Maybe you don't have permission to write to that file or directory.
Old 02-03-2006, 02:28 AM   #3
LQ Newbie
Registered: Jan 2006
Posts: 2

Original Poster
Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
C sockets Select call when to use? cranium2004 Programming 1 03-14-2005 05:56 AM
IPC in socket using select system call Gomathy Linux - Networking 0 01-28-2005 06:37 AM
system call in java alaios Programming 1 01-18-2005 09:54 AM
how to call a system command with java applet? nickhx Programming 4 08-11-2004 12:46 AM
NETPERF: ERROR --> send_udp_stream: error on remote: Interrupted system call dravya Linux - General 1 05-29-2004 05:49 PM

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration