LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-25-2006, 01:18 PM   #1
mivz
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
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Maybe you don't have permission to write to that file or directory.
 
Old 02-03-2006, 02:28 AM   #3
mivz
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.
 
  


Reply


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:10 AM.

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