On Sun, 2006-06-04 at 20:26 -0400, William Hooper wrote: > Ankush Grover wrote: > >> 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 > > I see no "CONFIG_FILE" entry in the default init script. Have you tried > specifying the "-f" option on the line that starts the program? > The default init script does however do a source on /etc/sysconfig/sshd which does not exist by default. Why not put a line in there that can be used by the init command that actually starts sshd. $SSHD $OPTIONS && success || failure $OPTIONS has no value by default, so if something like OPTIONS="-f /your/config/file" were put into the specialized sshd file in /etc/sysconfig (or even into the beginning of the specialized init script) it should work. > -- > William Hooper > -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list