Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add more info regarding fixperms and nmis.pl type=[audit|config]

Table of Contents

NMIS8 Unix File Permissions

...

Code Block
service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
NMIS Tools and scripts

 nmis.pl provides 2 methods for checking the directory structure of nmis and ensuring that the structure is complete and has the correct permissions (based on your Config.nmis).  Running type=audit will report discrepancies between your structure and what is required, type=config will fix those errors 

Code Block
# optionally audit your config
/usr/local/nmis8/bin/nmis.pl type=audit
# fix your config
/usr/local/nmis8/bin/nmis.pl type=config

Additonally, the script fixperms.pl will go through and set the permissions on each file to ensure that NMIS can access the files it requires to operate normally 

Code Block
# fix permissions 
 /usr/local/nmis8/admin/fixperms.pl

...

SELinux Troubleshooting Tip

...