Error when Upgrading from 2011R2.4 to 2011R3.2 Version

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
trungleviet
Posts: 35
Joined: Sat Mar 03, 2012 11:36 am
Location: Hanoi - Vietnam
Contact:

Error when Upgrading from 2011R2.4 to 2011R3.2 Version

Post by trungleviet »

Dear all,
I am using NagiosXi with version of 2011R2.4. And i would like to upgrade to 2011R3.2
But i had problem when performing this upgrade
cp: cannot create regular file `/usr/local/nagios/bin/nsca': Text file busy

:(

Could you please advice me how to resolve this problem?
I would really appreciate about your help,

Many thanks,

Trung Le Viet
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error when Upgrading from 2011R2.4 to 2011R3.2 Version

Post by scottwilkerson »

Hmmm, we might need to force nsca to stop before proceeding

Code: Select all

service nsca stop
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
trungleviet
Posts: 35
Joined: Sat Mar 03, 2012 11:36 am
Location: Hanoi - Vietnam
Contact:

Re: Error when Upgrading from 2011R2.4 to 2011R3.2 Version

Post by trungleviet »

Many thanks for your reply, Scottwilkerson

I've tried the command
service nsca stop

But received a notice: nsca: unrecognized service

Could you please help me?

Thanks Scottwillerson,

Trung Le Viet
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error when Upgrading from 2011R2.4 to 2011R3.2 Version

Post by scottwilkerson »

I'm sorry, I meant

Code: Select all

service xinetd stop
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
trungleviet
Posts: 35
Joined: Sat Mar 03, 2012 11:36 am
Location: Hanoi - Vietnam
Contact:

Re: Error when Upgrading from 2011R2.4 to 2011R3.2 Version

Post by trungleviet »

Many thanks for your support,

But after i run that command and select to upgrade. It still noticed:



*** Compile finished ***

If the compile finished without any errors, you should
find client and server binaries in the src/ subdirectory.

Read the README file for more information on installing
the binaries, creating configuration files, and using
the server and client.

cp: cannot create regular file `/usr/local/nagios/bin/nsca': Text file busy
trungleviet
Posts: 35
Joined: Sat Mar 03, 2012 11:36 am
Location: Hanoi - Vietnam
Contact:

Re: Error when Upgrading from 2011R2.4 to 2011R3.2 Version

Post by trungleviet »

Dear Scottwilkerson,
Although i tried sometimes but still could not upgrade to R3.2
It noticed:
- cp: cannot create regular file `/usr/local/nagios/bin/nsca': Text file busy

Can you recommend me, please?

Many thanks for your supports,

Trung
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error when Upgrading from 2011R2.4 to 2011R3.2 Version

Post by scottwilkerson »

Can you run the following to see if nsca is running under a different process

Code: Select all

 ps -ef |grep nsca
Also, can you check if selinux is enabled

Code: Select all

getenforce
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
trungleviet
Posts: 35
Joined: Sat Mar 03, 2012 11:36 am
Location: Hanoi - Vietnam
Contact:

Re: Error when Upgrading from 2011R2.4 to 2011R3.2 Version

Post by trungleviet »

Dear Scottwilkerson,
Many thanks for your support,
I upgraded to the new latest R3.2 successfully,

Thanks you very much,

Trung Le Viet
Locked