| | |
executing the normal program from linux.rc - different bahaviour
![]() |
•
•
Join Date: Aug 2007
Posts: 2
Reputation:
Solved Threads: 0
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 ?
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
- calling one perl program from within another (Perl)
- how to test a software program on linux (C)
- what to consider before moving to linux (Getting Started and Choosing a Distro)
- How to use 'top' using Python (Python)
- Linux Sound?? (Game Development)
- WINDOWS vs LINUX (Windows NT / 2000 / XP)
- Mounting a FAT32 drive in linux? (*nix Hardware Configuration)
- substitute for conio.h in linux (C)
- Executing a C++ program in another (C++)
Other Threads in the Kernels and Modules Forum
- Previous Thread: Installing software on ubuntu
- Next Thread: file(1) reports weird Linux version
Views: 2282 | Replies: 0
| Thread Tools | Search this Thread |





