Page 1 of 1

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

Posted: Wed Jul 04, 2012 9:41 pm
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

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

Posted: Thu Jul 05, 2012 11:39 am
by scottwilkerson
Hmmm, we might need to force nsca to stop before proceeding

Code: Select all

service nsca stop

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

Posted: Thu Jul 05, 2012 11:01 pm
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

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

Posted: Fri Jul 06, 2012 7:41 am
by scottwilkerson
I'm sorry, I meant

Code: Select all

service xinetd stop

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

Posted: Fri Jul 06, 2012 11:08 pm
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

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

Posted: Sun Jul 08, 2012 9:55 pm
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

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

Posted: Mon Jul 09, 2012 9:22 am
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

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

Posted: Tue Jul 10, 2012 6:56 am
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