>It really does not matter what those scripts do as the fapsrv
>script in /etc/init.d/ never gets executed with the "stop"
>argument. I have modified the fapsrv script by adding an echo
>of the script name and command line params and piped it to a
>file in /tmp (appended). A check of the contents of this "log"
>file only show the script as starting during runlevel 3. It
>does not get executed as K01fapsrv from the rc0.d, rc1.d and
>rc6.d (as setup by chkconfig). I have even tried using a
>different number 04 (instead of 01) and no go.

You still haven't answered my query.  Does it work when you do it manually?

If you do "/etc/init.d/fapsrv start" and then follow it with
"/etc/init.d/fapsrv stop", does the server actually start and then stop?

Correct me if I am wrong, but /tmp might not be the right place to put it.
I believe that /tmp gets cleaned out at boot time, which means only the
script start will show up.

Place the output into /var/log, or drop it as /fapsrv.log.out

No matter what, please let us know the result of running the script manually.

If you delve deeper into the init.d sendmail script, you can see what is
going on while the system is booting or stopping, i.e., you'll get the
message on the screen about it starting or stopping.  It is a really nice
system for displaying on the screen what is gong on and when.  While it
does make your script more complicated, it does provide great debugging.

MB
-- 
e-mail: [EMAIL PROTECTED]       It is God's job to forgive bin Laden.
                                It is our job to set up the meeting.
                                    U.S. Marine Corp.
Visit - URL: http://www.vidiot.com/  (Your link to Star Trek and UPN)



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to