executing the normal program from linux.rc - different bahaviour

Reply

Join Date: Aug 2007
Posts: 2
Reputation: ajaymeka is an unknown quantity at this point 
Solved Threads: 0
ajaymeka ajaymeka is offline Offline
Newbie Poster

executing the normal program from linux.rc - different bahaviour

 
0
  #1
Aug 14th, 2007
Hi

I had a client server program executing on two linux machines ( RHEL ).

I am getting different execution bahaviour with the following scenarios:

1) Login to the Server machine as root
Start the Server Program as background process
Login to the Client Machine as root
Start the Client program to connect to the Server

Reboot the Server machine
Client is getting the Socket disconnection event

1) Place the Server program in rc.local file ( to start it as background process, automatically when the system reboots )
reboot the Server machine ( verify that the Server program is started )
Login to the Client Machine as root
Start the Client program to connect to the Server

Reboot the Server machine
Client is NOT getting the Socket disconnection event

Is there any difference between starting the program in command prompt as a root and starting the program from rc.local ?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Kernels and Modules Forum


Views: 2282 | Replies: 0
Thread Tools Search this Thread



Tag cloud for Kernels and Modules
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC