Starting nagios:No directory, logging in with HOME=/

After installing and successfully starting nagios server you may encounter a warning:

Starting nagios: No directory, logging in with HOME=

This is reported because install script or you didn’t create a /home directory for user nagios.

To solve this simply follow these steps:

Create a /home/nagios directory and change permissions (all executed as sudo):

Then set new home directory for user nagios:

Finally restart nagios service:

That’s it, no more logging in to /Home Warning 🙂

By |2015-11-24T21:48:34+00:00July 18th, 2014|Errors and fixes|0 Comments

About the Author:

I am passionate about Systems Administration. I like to face new challenges and test new environments.Windows and Linux Debian boxes (both physical and virtual) are my favourites. I like solving problems related to Windows Server roles and services as well as Linux but some distributions in particular. I'm not considering myself as Linux master but surely, I always do my best to fit the needs. On the other hand I consider myself as a Windows Server Professional and in terms of WS and Windows Desktops I always follow best practices, good advices and opinions from other admins.

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.