HPE Service Guard for Linux: Cannot halt while it is failing

Tried to stop the cluster package and it gave me the following error

root@linux01:~ # cmhaltpkg -n linux01 mdmMP0
Cannot halt mdmMP0 while it is failing

I had to force to stop the package

root@linux01:~ # cmhaltpkg -n linux01 -f mdmMP0
Warning: Package mdmMP0 is not currently running. It is down
Warning: Switching will be disabled
One or more packages or package instances have been halted.
The failover packages have AUTO_RUN disabled and no new instance can start automatically. To allow automatic start, enable AUTO_RUN via cmmodpkg -e cmhaltpkg: Completed successfully on all packages specified

Which package have libstdc++.so.5 and libstdc++.so.6 on RHEL 7

compat-libstdc++-33 contains libstdc++.so.5

root@rhel7:~ # yum whatprovides */libstdc++.so.5
Loaded plugins: changelog, langpacks, product-id, search-disabled-repos, subscription-manager
compat-libstdc++-33-3.2.3-71.el7.i686 : Compatibility standard C++ libraries
Repo : installed
Matched from:
Filename : /usr/lib/libstdc++.so.5

root@rhel7:~ # rpm -ql compat-libstdc++-33-3.2.3-71.el7.i686
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7

libstdc++ contains libstdc++.so.6

root@rhel7:~ # yum whatprovides */libstdc++.so.6
Loaded plugins: changelog, langpacks, product-id, search-disabled-repos, subscription-manager
libstdc++-4.8.5-36.el7_6.2.i686 : GNU Standard C++ Library
Repo : @rhel-7-server-rpms
Matched from:
Filename : /usr/lib/libstdc++.so.6

libstdc++-4.8.5-36.el7_6.2.x86_64 : GNU Standard C++ Library
Repo : @rhel-7-server-rpms
Matched from:
Filename : /usr/lib64/libstdc++.so.6

root@rhel7:~ # rpm -ql libstdc++-4.8.5-36.el7_6.2.i686
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.19
/usr/share/gcc-4.8.2
/usr/share/gcc-4.8.2/python
/usr/share/gcc-4.8.2/python/libstdcxx
/usr/share/gcc-4.8.2/python/libstdcxx/__init__.py
/usr/share/gcc-4.8.2/python/libstdcxx/__init__.pyc
/usr/share/gcc-4.8.2/python/libstdcxx/__init__.pyo
/usr/share/gcc-4.8.2/python/libstdcxx/v6
/usr/share/gcc-4.8.2/python/libstdcxx/v6/__init__.py
/usr/share/gcc-4.8.2/python/libstdcxx/v6/__init__.pyc
/usr/share/gcc-4.8.2/python/libstdcxx/v6/__init__.pyo
/usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.py
/usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.pyc
/usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.pyo
/usr/share/gcc-4.8.5
/usr/share/gdb
/usr/share/gdb/auto-load
/usr/share/gdb/auto-load/usr
/usr/share/gdb/auto-load/usr/lib
/usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.19-gdb.py
/usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.19-gdb.pyc
/usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.19-gdb.pyo

How do I change password when connected to Remote Desktop? Ctrl+Alt+Del doesn’t work

Press Ctrl+Alt+End to have the same functionality when connected with Remote Desktop

Service /network/sccheckd status is maintenance, check with svcs -xv

root@solaris:~ # svcs -xv
svc:/network/sccheckd:default (Sun Cluster configuration checker service)
State: maintenance since Tue Oct 15 17:34:16 2019
Reason: Restarter svc:/network/inetd:default gave no explanation.
See: http://sun.com/msg/SMF-8000-9C
See: man -M /usr/cluster/man -s 1M sccheckd
Impact: This service is not running.

root@solaris:~ # inetadm -p
NAME=VALUE
bind_addr=””
bind_fail_max=-1
bind_fail_interval=-1
max_con_rate=-1
max_copies=-1
con_rate_offline=-1
failrate_cnt=40
failrate_interval=60
inherit_env=TRUE
tcp_trace=TRUE
tcp_wrappers=FALSE
connection_backlog=10

root@solaris:~ # inetadm -l svc:/network/sccheckd:default
SCOPE NAME=VALUE
name=”sccheckd”
endpoint_type=”stream”
proto=”tcp”
isrpc=FALSE
wait=FALSE
exec=”/usr/cluster/lib/sccheck/sccheckd”
user=”root”
default bind_addr=””
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=TRUE
default tcp_wrappers=FALSE
default connection_backlog=10

Starting INET services. (xinetd) failed

xinetd is not starting

root@linux:~ # service xinetd start
Starting INET services. (xinetd) failed

No services managed by xinetd are available

root@linux:~ # tail -20 /var/log/messages
Oct 9 06:15:04 linux run-crons[14711]: eds-ntpdate: OK
Oct 9 06:39:45 linux — MARK —
Oct 9 06:59:45 linux — MARK —
Oct 9 07:15:04 linux run-crons[31922]: eds-ntpdate: OK
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=26]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/chargen-udp [file=/etc/xinetd.d/chargen-udp] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/daytime-udp [file=/etc/xinetd.d/daytime-udp] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/discard-udp [file=/etc/xinetd.d/discard-udp] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/netstat [file=/etc/xinetd.d/netstat] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/rsync [file=/etc/xinetd.d/rsync] [line=16]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/servers [file=/etc/xinetd.d/servers] [line=12]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/services [file=/etc/xinetd.d/services] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/systat [file=/etc/xinetd.d/systat] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=17]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: 15114 {init_services} no services. Exiting…

Enabling sysstat changing disable = yes to disable = no

root@linux:~ # vi /etc/xinetd.d/sysstat
# Finger, systat and netstat give out user information which may be
# valuable to potential “system crackers.” Many sites choose to disable
# some or all of these services to improve security.
# Try “telnet localhost systat” and “telnet localhost netstat” to see that
# information yourself!
#
service systat
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /bin/ps
server_args = -auwwx
}

Starting service xinetd

root@linux:~ # service xinetd start
Starting INET services. (xinetd) done

Connect Enterprise error: A0x0401: Login failed

ceuser@linux:~ $ cmulist -Q -t 16
A0x0401: Login failed
Make sure that CMUPORT, CMUHOST and other connection information are properly set

I’m receiving this error but didn’t find a solution yet

Using telnet and it was pointing to a wrong address. Ping was directing to correct IP address

linux was solving hostname to an incorrect IP address when using telnet

root@linux:~ # telnet host24100
Trying 172.22.12.135…
telnet: connect to address 172.22.12.135: Connection refused

It was solving to the correct IP address when using ping

root@linux:~ # ping -c1 host24100
PING host099.setaoffice.com (172.22.84.143) 56(84) bytes of data.
64 bytes from host27100.setaoffice.com (172.22.84.143): icmp_seq=1 ttl=127 time=1.32 ms

— host099.setaoffice.com ping statistics —
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.321/1.321/1.321/0.000 ms

I’ve restarted nscd service

root@linux:~ # service nscd status
Checking for Name Service Cache Daemon: running

root@linux:~ # service nscd stop
Shutting down Name Service Cache Daemon done

root@linux:~ # service nscd start
Starting Name Service Cache Daemon done

After the restart, it started to point to the correct IP address

root@linux:~ # telnet host24100 24100
Trying 172.22.84.143…
Connected to host24100.
Escape character is ‘^]’.
0G^]
telnet> quit
Connection closed.

Booting Linux into single user or emergency mode

For Red Hat Enterprise Linux 6
Single-User Mode
Single-user mode provides a Linux environment for a single user that allows you to recover your system from problems that cannot be resolved in networked multi-user environment. You do not need an external boot device to be able to boot into single-user mode, and you can switch into it directly while the system is running.

At the GRUB boot screen, press any key to enter the GRUB interactive menu.
Select Red Hat Enterprise Linux with the version of the kernel that you want to boot and press the a to append the line.
Type single as a separate word at the end of the line and press Enter to exit GRUB edit mode. Alternatively, you can type 1 instead of single.

Emergency Mode
Emergency mode, provides the minimal bootable environment and allows you to repair your system even in situations when rescue mode is unavailable. In emergency mode, the system mounts only the root file system, and it is mounted as read-only. Also, the system does not activate any network interfaces and only a minimum of the essential services are set up. The system does not load any init scripts, therefore you can still mount file systems to recover data that would be lost during a re-installation if init is corrupted or not working.

At the GRUB boot screen, press any key to enter the GRUB interactive menu.
Select Red Hat Enterprise Linux with the version of the kernel that you want to boot and press the a to append the line.
Type emergency as a separate word at the end of the line and press Enter to exit GRUB edit mode.

UXMON: The selfclean UXMON module has failed, please check reason on server

Node : solaris.setaoffice.com
Node Type : Sun SPARC (HTTPS)
Severity : warning
OM Server Time: 2019-05-02 02:00:04
Message : UXMON: The selfclean UXMON module has failed, please check reason
Msg Group : OS
Application : uxmon
Object : selfclean
Event Type :
not_found

Instance Name :
not_found

Instruction : No
EventDataSource :

iLO 4 Embedded Flash/SD-CARD Embedded media manager failed media attach

iLO 4 was presenting the message: Embedded Flash/SD-CARD Embedded media manager failed media attach.

I’ve updated iLO 4 to v 2.70 and then performed the following procedure

Advisory: (Revision) HPE Integrated Lights-Out 4 (iLO 4) – How to Format the NAND Used to Store AHS logs, OneView Profiles, and Intelligent Provisioning

Created a file Force_Format.xml

root@linux:~ # vi Force_Format.xml
<RIBCL VERSION=”2.0″>
<LOGIN USER_LOGIN=”adminname” PASSWORD=”password”>
<RIB_INFO MODE=”write”>
<FORCE_FORMAT VALUE=”all”/>
</RIB_INFO>
</LOGIN>
</RIBCL>

Run hponcfg -f Force_Format.xml

root@linux:~ # hponcfg -f Force_Format.xml -l log.txt
HP Lights-Out Online Configuration utility
Version 4.6.0 Date 09/28/2015 (c) Hewlett-Packard Company, 2015
Firmware Revision = 2.70 Device type = iLO 4 Driver name = hpilo
Script succeeded

Then I reset ILO through the web interface

%d bloggers like this: