ajaymeka 0 Newbie Poster

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 ?