PMDF System Manager's Guide


Previous Contents Index

34.2.3 Check the Ownership of Critical Files

You should have a pmdf account, created before you installed PMDF. The directories /pmdf/queue, /pmdf/log, and /pmdf/table/queue_cache, and all subdirectories and files under them should be owned by the pmdf account. The /pmdf/tmp directory should also be owned by the pmdf account. If the protection and ownership are not correct for the queue cache database, messages can not be entered into the queue cache, and the queue cache will become desynchronized. Commands such as the following can be used to check the protection and ownership of these directories:


# ls -l -p -d /pmdf/queue
drwx------   6 pmdf     bin          512 Feb  7 09:32 /pmdf/queue/ 
# ls -l -p -d /pmdf/log
drwx------   2 pmdf     bin         1536 Mar 10 20:00 /pmdf/log/ 
# ls -l -p -d /pmdf/table/queue_cache
drwx------   2 pmdf     bin          512 Mar 10 15:03 /pmdf/table/queue_cache/ 
# ls -l -p -d /pmdf/tmp
drwx------   2 pmdf     bin          512 Feb  7 10:00 /pmdf/tmp/ 
Then check that any files and subdirectories of /pmdf/queue and /pmdf/log are owned by the pmdf account using commands such as:


# ls -l -p -R /pmdf/queue
# ls -l -p -R /pmdf/log


Previous Next Contents Index