Page 1 of 1

Incorrect permissions during update?!

Posted: Tue Jul 09, 2019 6:23 am
by danniiffxi
Hi Guys

I was just running the latest update install for XI as I do regularly, but this I have been greeted with an odd message...

chown: invalid user: `snmptt:nagios'

Full transcript is below. It looks like a permission has broken somewhere, any idea how i fix this one?

Code: Select all

Downloading latest Nagios XI release
--2019-07-09 12:17:54--  https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
Resolving assets.nagios.com... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 57847979 (55M) [application/x-gzip]
Saving to: “/tmp/xi-latest.tar.gz”

100%[===================================================================================================================================>] 57,847,979  6.22M/s   in 9.8s

2019-07-09 12:18:04 (5.61 MB/s) - “/tmp/xi-latest.tar.gz” saved [57847979/57847979]

Running upgrade
Nagios XI Upgrade Log
==========================
DATE: Tue Jul  9 12:18:06 BST 2019

DISTRO INFO:
CentOS
6.10
x86_64


Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Checking required prereqs...
Please wait...

OLD VERSION: 5601
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
No Packages marked for Update
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Package php-imap-5.3.3-49.el6.x86_64 already installed and latest version
Nothing to do
chown: invalid user: `snmptt:nagios'

Re: Incorrect permissions during update?!

Posted: Tue Jul 09, 2019 9:54 am
by scottwilkerson
Can you show the output of the following?

Code: Select all

yum install snmptt

Re: Incorrect permissions during update?!

Posted: Wed Jul 10, 2019 9:29 am
by danniiffxi
Hi Scott.. all sorted sorry, you can lock this one...

I had to create a user called: snmptt

problem solved.

Re: Incorrect permissions during update?!

Posted: Wed Jul 10, 2019 10:45 am
by scottwilkerson
danniiffxi wrote:Hi Scott.. all sorted sorry, you can lock this one...

I had to create a user called: snmptt

problem solved.
Great!

Locking