shilong@lushilong:~$ sudo apt-get install newrelic-sysmond
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
newrelic-sysmond
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,290 kB of archives.
After this operation, 3,723 kB of additional disk space will be used.
Get:1 http://apt.newrelic.com/debian/ newrelic/non-free newrelic-sysmond amd64 1.2.0.257 [1,290 kB]
Fetched 1,290 kB in 20s (62.7 kB/s)
Selecting previously deselected package newrelic-sysmond.
(Reading database ... 302046 files and directories currently installed.)
Unpacking newrelic-sysmond (from .../newrelic-sysmond_1.2.0.257_amd64.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up newrelic-sysmond (1.2.0.257) ...
Adding system user newrelic' (UID 117) ...
Adding new group
newrelic' (GID 129) ...
groupadd: cannot lock /etc/group; try again later.
adduser: /usr/sbin/groupadd -g 129 newrelic' returned error code 10. Exiting.
chown: invalid group:
root:newrelic'
chown: invalid user: `newrelic:newrelic'
Unknown id: newrelic
按照官方网上的教程安装的,https://newrelic.com/docs/server/server-monitor-installation-ubuntu-and-debian
使 deb 包安装也是一样