In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Unix Study--AIX5.3.8 installation hacmp52 error
System environment:
Operating system: AIX5.3
HACMP: Hacmp5.2
Failure phenomenon:
The following failure occurred when installing hacmp through smit installp:
Failed running topsvcsctrl to remove subsystems.
Failed running grpsvcsctrl to remove subsystems.
Cleanup: Failed while executing the. / cluster.es.server.utils.unpost_i script.
Installp: APPLYING software for:
Cluster.es.server.utils 5.2.0.0
Failed running emsvcsctrl to add subsystems.
Instal: Failed while executing the. / cluster.es.server.utils.post_i script.
0503-464 installp: The installation has FAILED for the "root" part
Of the following filesets:
Cluster.es.server.utils 5.2.0.0
Installp: Cleaning up software for:
Cluster.es.server.utils 5.2.0.0
View the installation script:
[root@aix195 inst_root] # cat cluster.es.server.utils.post_i
#! / bin/ksh# IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # Licensed Materials-Property of IBM # # (C) COPYRIGHT International Business Machines Corp. 1997, 2003 # All Rights Reserved # # US Government Users Restricted Rights-Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # # @ (#) 30 1.8 src/packages/cluster/es/server/utils/root/cluster.es.server.utils.post_i.sh, pkghacmp, 51pkgha_r520 R5200422a 4-4-02 20 if_failed# onintr## ORIGINS 35 COMPONENT_NAME: LPPDIR = "/ usr/lpp/cluster.es" CLUSTDIR= "/ usr/es/sbin/cluster" PATH=$PATH:/bin:/usr/bin:/usr/sbinDATTMP=/var/tmp/dattmp$$if_failed () {status=$1 errmsg=$2 if [$status-ne 0] Then echo Failed $errmsg exit 99 fi} onintr () {exit 5} # # MAIN # # trap onintr 1 2 "create subsystems # chservices-a-v topsvcs-n 6178-p udp > / dev/null 2 > & 1 if_failed $? "to add service topsvcs to port 6178" chservices-c-v "topsvcs"-n 6178-p udp > / dev/null 2 > & 1 if_failed $? "to change service topsvcs to port 6178" chservices-a-v grpsvcs-n 6179-p udp > / dev/null 2 > & 1 if_failed $? "to add service grpsvcs to port 6179" chservices-c-v "grpsvcs"-n 6179-p udp > / dev/null 2 > & 1 if_failed $? "to change service grpsvcs to port 6179" chservices-a-v emsvcs-n 6180-p udp > / dev/null 2 > & 1 if_failed $? "to add service emsvcs to port 6180" / usr/sbin/rsct/bin/topsvcsctrl-a > / dev/null 2 > & 1 if_failed $? "running topsvcsctrl to add subsystems." / usr/sbin/rsct/bin/grpsvcsctrl-a > / dev/null 2 > & 1 if_failed $? "running grpsvcsctrl to add subsystems." / usr/sbin/rsct/bin/emsvcsctrl-a > / dev/null 2 > & 1 if_failed $? "running emsvcsctrl to add subsystems." # End create subsystems # # exit 0
Execute the script manually:
By checking the existence of the emsvcsctrl command, the script can also be executed manually
[root@aix211 ppc] # find /-name 'cluster.es.server.utils.post_i'
# / usr/sbin/rsct/bin/emsvcsctrl-a / usr/lpp/cluster.es/inst_root/cluster.es.server.utils.post_i
Error report-bash-3.00# / usr/sbin/rsct/bin/emsvcsctrl-a / usr/lpp/cluster.es/inst_root/cluster.es.server.utils.post_i0513-071
The emsvcs Subsystem has been added.0513-071 The emaixos Subsystem has been added.
No such file or directory/usr/sbin/rsct/bin/emsvcsctrl [203]: / var/ha/log/em.mkdir:
Cannot createemsvcsctrl: 2521-554 Cannot create the Event Management directory "/ var/ha/lck/haem". Shows that the / var/ha/log and / var/ha/lck/haem directories cannot be created
Perform manually:
/ usr/sbin/rsct/bin/emsvcsctrl-a / usr/lpp/cluster.es/inst_root/cluster.es.server.utils.post_i
Error report:
-bash-3.00# / usr/sbin/rsct/bin/emsvcsctrl-a / usr/lpp/cluster.es/inst_root/cluster.es.server.utils.post_i
0513-071 The emsvcs Subsystem has been added.
0513-071 The emaixos Subsystem has been added.
No such file or directory
/ usr/sbin/rsct/bin/emsvcsctrl [203]: / var/ha/log/em.mkdir: cannot create
Emsvcsctrl: 2521-554 Cannot create the Event Management directory "/ var/ha/lck/haem".
Shows that the / var/ha/log and / var/ha/lck/haem directories cannot be created
Solution:
Create the directory manually:-bash-3.00# mkdir-p / var/ha/soc/haem-bash-3.00# / usr/sbin/rsct/bin/emsvcsctrl-a / usr/lpp/cluster.es/inst_root/cluster.es.server.utils.post_i0513-071 The emsvcs Subsystem has been added.0513-071 The emaixos Subsystem has been added. [root@aix211 ppc] # / usr/sbin/rsct/bin/topsvcsctrl-a / usr/lpp/cluster.es/inst _ root/cluster.es.server.utils.post_itopsvcsctrl: 2523-636 The topsvcs subsystem must be stopped before removing or remaking it. [root@aix211 ppc] # lumped cards c-a | grep top topsvcs topsvcs 331850 active [root@aix211 ppc] # stopsrc-s topsvcs0513-044 The topsvcs Subsystem was requested to stop. [root@aix211 ppc] # lump cards c-a | grep top topsvcs topsvcs inoperative [root@aix211 Ppc] # / usr/sbin/rsct/bin/topsvcsctrl-a / usr/lpp/cluster.es/inst_root/cluster.es.server.utils.post_i0513-071 The topsvcs Subsystem has been added.0513-068 The topsvcs Notify method has been added. [root@aix211 ppc] # lumped missing filesets c-a | grep top topsvcs topsvcs inoperative reinstall filesets missing from hacmp (cluster.es.server.utils) OK .
Error 2:
Solution:
[root@aix227:/usr/lpp/cluster.es/inst_root] # / usr/sbin/rsct/bin/grpsvcsctrl-a / usr/lpp/cluster.es/inst_root/cluster.es.server.utils.unpost_igrpsvcsctrl: 2520-208 The grpsvcs subsystem must be stop ped.[ root @ aix227:/usr/lpp/cluster.es/inst_root] # lingering examples c-a | grep grp grpsvcs grpsvcs 360696 active grpglsm grpsvcs Inoperative [root@aix227:/usr/lpp/cluster.es/inst_root] # stopsrc-s grpsvcs0513-056 Timeout waiting for command response. If you specified a foreign host See the / etc/inittab file on the foreign host to verify that the SRC daemon (srcmstr) was started with the-r flag to accept remote requests. [root @ aix227:/usr/lpp/cluster.es/inst_root] # lumped requests c-a | grep grp grpsvcs grpsvcs 360696 stopping grpglsm grpsvcs inoperative [root@aix227:/usr/lpp/cluster.es/inst_root] # kill-9 360696 [root@aix227 : / usr/lpp/cluster.es/inst_root] # manual execution of scripts by grep grp grpsvcs grpsvcs inoperative grpglsm grpsvcs inoperative: [root@aix227:/usr/lpp/cluster.es/inst_root] # / usr/sbin/rsct/bin/grpsvcsctrl-a / usr/lpp/cluster.es/inst_root/cluster.es.server. Utils.unpost_i0513-071 The grpsvcs Subsystem has been added.0513-071 The grpglsm Subsystem has been added.root @ aix227:/usr/lpp/cluster.es/inst_root] # / usr/sbin/rsct/bin/grpsvcsctrl-a / usr/lpp/cluster.es/inst_root/cluster.es.server.utils.post_i0513-071 The grpsvcs Subsystem has been added.0513-071 The grpglsm Subsystem has been added. Reinstall with smit installp: the Cluster.es.server.utils package is fine! Reason:
It is possible that when setting the PATH environment variable, root users cannot find commands such as emsvcsctrl, grpsvcsctl, and so on, to execute the script!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.