Error installing fresh XI and NA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Error installing fresh XI and NA

Post by BanditBBS »

I think this line in the script is causing my issue:

Code: Select all

cp -r backend "$backenddir"
I think its copying the "backend" folder to $backenddir instead of backend's contents....make sense?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Error installing fresh XI and NA

Post by BanditBBS »

BanditBBS wrote:I think this line in the script is causing my issue:

Code: Select all

cp -r backend "$backenddir"
I think its copying the "backend" folder to $backenddir instead of backend's contents....make sense?
I was right, changed that line to :

Code: Select all

cp -r backend/* "$backenddir"
and everything completed fine!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Error installing fresh XI and NA

Post by tgriep »

Glad that it is installed now.

Yes, that makes sense, it is trying to create the folder and copying the data to it but since the folder existed, it could not create it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked