943,990 Members | Top Members by Rank

Ad:
Aug 14th, 2007
0

executing the normal program from linux.rc - different bahaviour

Expand Post »
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 ?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ajaymeka is offline Offline
2 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Kernel and Hardware Setup Forum Timeline: Dual core Opteron vs Dual xeon for web serving
Next Thread in Linux Kernel and Hardware Setup Forum Timeline: Very Hot Webcam





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC