Can you start the 3 instances yourself using the command line instead of the init script? If so, your script changes aren't doing what you expect to use the right config files.
yes I can start the 3 instances from the command line but not from the init script even though I have mentioned in the init script which config file to use for example for sshd1 KEYGEN=/usr/bin/ssh-keygen SSHD=/usr/sbin/sshd1 RSA1_KEY=/etc/ssh/ssh_host_key RSA_KEY=/etc/ssh/ssh_host_rsa_key DSA_KEY=/etc/ssh/ssh_host_dsa_key PID_FILE=/var/run/sshd1.pid ---> pid CONFIG_FILE=/etc/ssh/sshd_config1 ---> config file But still the problem remains the same. Thanks & Regards Ankush Grover