Issue Description
Customer need to install the patch V100R002C01CP5002 to his U2000 single-server System which is already upgraded to V100R002C01SPC100 , Huawei Engineer follow the installation guide and check all Precautions and the Preparations but when the engineer reach the upgrade step described as below :
12. Run the following commands to install the MSuite patch:
#cd /opt/nmspatch/patch
#chmod 755 *.sh
#./pre_patch.sh
he got the below error message and could not continue the installation
Installing the MSuite patch. Please wait...
Traceback (most recent call last):
File "patch/pre_patch.py", line 446, in ?
_patchNMSApp(curPatchPath)
File "patch/pre_patch.py", line 233, in _patchNMSApp
_copyFile(vcfcfgPath + "/process/process_std", nmsappPath + "/flag/nonCritic
alProcessList")
File "patch/pre_patch.py", line 57, in _copyFile
12. Run the following commands to install the MSuite patch:
#cd /opt/nmspatch/patch
#chmod 755 *.sh
#./pre_patch.sh
he got the below error message and could not continue the installation
Installing the MSuite patch. Please wait...
Traceback (most recent call last):
File "patch/pre_patch.py", line 446, in ?
_patchNMSApp(curPatchPath)
File "patch/pre_patch.py", line 233, in _patchNMSApp
_copyFile(vcfcfgPath + "/process/process_std", nmsappPath + "/flag/nonCritic
alProcessList")
File "patch/pre_patch.py", line 57, in _copyFile
shutil.copyfile(fromFile, toFile)
File "/opt/U2000/server/3rdTools/python/lib/python2.4/shutil.py", line 49, in
copyfile
fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory: '/opt/NMSApp/flag/nonCriticalProce
ssList'
#
please check attached Fig-1.
File "/opt/U2000/server/3rdTools/python/lib/python2.4/shutil.py", line 49, in
copyfile
fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory: '/opt/NMSApp/flag/nonCriticalProce
ssList'
#
please check attached Fig-1.
Alarm Information
None.
Handling Process
WE have check each of previous reason to find the root cause as below
1. NMS process has been already ended as the below commands does not display ( imap_sysmonitor -cmd start )
# ps -ef | grep imap
2. Sybase database has been already ended as the below commands display no result.
#su - sybase
$cd /opt/sybase/ASE*/install
$ ./showserver|grep DBSVR
1. NMS process has been already ended as the below commands does not display ( imap_sysmonitor -cmd start )
# ps -ef | grep imap
2. Sybase database has been already ended as the below commands display no result.
#su - sybase
$cd /opt/sybase/ASE*/install
$ ./showserver|grep DBSVR
3. Msuite process has been already ended as the below commands does not display ( /opt/HWNMSJRE/jre_sol/bin/java -server)
#ps -ef | grep java.
4. UEasy check have been made and it shows no item with [No Go].
we contact RND for support, the reply was to check that No such file or directory: '/opt/NMSApp/flag/nonCriticalProcessList'
when we check we find that '/opt/NMSApp' directory exists, but the flag directory is not exists under that directory as shown in Fig-2,3
The RND reply again to confirm if this is Single Server or HA system , we confirm that it is Single Server system.
Thus the RND find the solution and reply to delete that directory '/opt/NMSApp' . After we delete it, the problem solved and installation complete
as shown in Fig-4.
#ps -ef | grep java.
4. UEasy check have been made and it shows no item with [No Go].
we contact RND for support, the reply was to check that No such file or directory: '/opt/NMSApp/flag/nonCriticalProcessList'
when we check we find that '/opt/NMSApp' directory exists, but the flag directory is not exists under that directory as shown in Fig-2,3
The RND reply again to confirm if this is Single Server or HA system , we confirm that it is Single Server system.
Thus the RND find the solution and reply to delete that directory '/opt/NMSApp' . After we delete it, the problem solved and installation complete
as shown in Fig-4.
Root Cause
Cause -1- \ the NMS processes have not been ended.
Cause -2- \ the Sybase database is still running and should be ended.
Cause -3- \ the MSuite server process has not been ended.
Cause -4- \ May need to Run UEasy check and send the Output report to ask for support.
Cause -2- \ the Sybase database is still running and should be ended.
Cause -3- \ the MSuite server process has not been ended.
Cause -4- \ May need to Run UEasy check and send the Output report to ask for support.
Suggestions
It was found that this server has been used for HA before, then it has been modified to be used as single server , this is explain why the folder /opt/NMSApp was exists.
Thus in any case you are going to install that patch on Single-Server system check that this folder is not exists.
Thus in any case you are going to install that patch on Single-Server system check that this folder is not exists.
More related:
No comments:
Post a Comment