[Pkg-nagios-devel] Unable to install with LDAP nagios user

Chris Wilson chris at aptivate.org
Fri Jul 27 13:24:16 UTC 2007


Hi,

We have an LDAP server which has a nagios user on it, to ensure uid 
consistency across hosts. We therefore cannot install the 
nagios-nrpe-server package, because the user exists and is not in 
/etc/passwd:

$ sudo aptitude install nagios-nrpe-server
...
Writing extended state information... Done
(Reading database ... 23921 files and directories currently installed.)
Unpacking nagios-nrpe-server (from .../nagios-nrpe-server_2.0-9_i386.deb) 
...
addgroup: The group `nagios' already exists and is not a system group.
usermod: nagios not found in /etc/passwd
dpkg: error processing 
/var/cache/apt/archives/nagios-nrpe-server_2.0-9_i386.deb (--unpack):
  subprocess pre-installation script returned error exit status 6
Errors were encountered while processing:
  /var/cache/apt/archives/nagios-nrpe-server_2.0-9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:

Sorry if this should have been reported in another way; please tell me how 
to do so.

Cheers, Chris.
-- 
Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.



More information about the Pkg-nagios-devel mailing list