| Previous | Next | Contents | Index |
The following list of tasks must be completed after you install PMDF for the first time:
/usr/bin in the shell's search path (thereby making the
pmdf command available in the form documented). If this is
not the case, either add /usr/bin to your shell's search
path, or use the fully qualified command name,
/usr/bin/pmdf.
# /pmdf/bin/http_server -s |
http://localhost:7633/ |
cron to schedule two periodic jobs and to run the
two shell scripts that are located in the /pmdf/bin
directory (post.sh and return.sh). Process
Software recommends the following:
post.sh shell script should be scheduled to run
every four hours.
return.sh shell script should be scheduled to run
at 30 minutes after midnight each day.
post.sh shell script
(indicating when the script will start running) to different values on
different nodes (to better balance mail flow).
Use the following commands to schedule cron jobs:
# su pmdf $ crontab /pmdf/table/cronjobs $ exit |
sendmail system startup script with PMDF's
pmdf startup script. This can be done by using the
following command:
# /pmdf/bin/symlink install |
In each of the directories /sbin/rc0.d,
/sbin/rc2.d, and /sbin/rc3.d, there are files
that begin with either the letter " " K or the
letter " " S, , followed by a two-digit number,
followed by a command name. The startup script removes the links where
this command name is sendmail, and creates a corresponding
link with pmdf substituted for sendmail,
using the same initial letter and two-digit number. For example,
original links might be:
sendmail links. The remaining commands create the
corresponding pmdf links. The effect of the /pmdf/bin/symlink can be undone by using the following
command:
|
sendmail), you must replace
sendmail with PMDF's /pmdf/bin/sendmail.
First, save the original sendmail by renaming it to
sendmail.org. Next, create a symbolic link that links
sendmail to /pmdf/bin/sendmail. You can do
this by using the following commands:
# mv /usr/sbin/sendmail /usr/sbin/sendmail.org # ln -s /pmdf/bin/sendmail /usr/sbin/sendmail |
sendmail processes
that might exist and be accepting connections. This could also be
necessary if an operating system upgrade starts up non-PMDF
sendmail processes.
Killing these processes is not necessary after an upgrade of PMDF. Even after the first installation of PMDF, or after an upgrade of the operating system, there will be no non-PMDF sendmail
processes if the system has been rebooted and the previous
post-installation tasks have been performed.
|
sendmail processes, use the
following command:
# ps ax | grep sendmail |
5431 ?? S 0:00.02 -accepting connections (sendmail) |
# kill 5431 |
# pmdf startup |
| Previous | Next | Contents | Index |