Posts

rpmdb: Thread died in Berkeley DB library

ISSUE: error: rpmdb: BDB0113 Thread/process 2211/140737353943104 failed: BDB1507 Thread died in Berkeley DB library error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db5 -  (-30973) error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Solution: mkdir /var/lib/rpm/backup cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/ rm -f /var/lib/rpm/__db.[0-9][0-9]* rpm --quiet -qa rpm --rebuilddb yum clean all

Kubernetes Ingress Controllers

https://docs.google.com/spreadsheets/d/191WWNpjJ2za6-nbG4ZoUMXMpUK8KlCIosvQB0f-oq3k/htmlview#gid=907731238

Install of Docker-CE in LXC unprivileged container in Proxmox

Image
create an unprivileged LXC container in Proxmox based on the the template of your choice apt-get update & apt-get upgrade (eventually 2x if you get an « unable to fetch some archives… » message in the end) install curl if it was not provided by the distribution curl -fsSL  https://download.docker.com/linux/  179 <your_distro>/gpg | sudo apt-key add - where <your_distro> is "debian" or "ubuntu" or whatever (altough I didn't test the others) edit /etc/apt/sources.list and add the appropriate repository from docker : deb [arch=amd64]  https://download.docker.com/linux/debian  60  stretch stable deb [arch=amd64]  https://download.docker.com/linux/ubuntu  54  xenial stable apt-get update apt-cache policy docker-ce to ensure that a package for docker-ce is available apt-get install docker-ce systemctl status docker should return « Active (running) » In case not (trick  #1 ), work around the systemd bug by adding an "ExecStartPre=" to containe...

IBM Cloud Pak for Data WKC "Redis store is not available"

The redis error is coming out of catalog-api pod. Please restart following pods: redis-ha-haproxy* oc delete pod -n <project> -l app=redis-ha dc-main* portal-catalog-* catalog-api-* wkc-gov-ui*

IBM IIS 11.5.0.2 SP6 Update installer - Exception in thread "main" java.lang.NoSuchMethodError: org/eclipse/jetty/util/ssl/SslContextFactory$Server.setEndpointIdentificationAlgorithm(Ljava/lang/String;)V

Issue: [root@infosvr bin]# ./installUpdates INFO: Patch Installation program will be running in this session, please do not close patch installation window until patch installation program completes. The Update installation program started at 1/27/21 10:21 AM. Exception in thread "main" java.lang.NoSuchMethodError: org/eclipse/jetty/util/ssl/SslContextFactory$Server.setEndpointIdentificationAlgorithm(Ljava/lang/String;)V (loaded from file:/opt/IBM/InformationServer/Updates/server/lib/jetty-util-9.4.19.v20190610.jar by java.net.FactoryURLClassLoader@d4db3a4a) called from class org.eclipse.jetty.util.ssl.SslContextFactory$Server (loaded from file:/opt/IBM/InformationServer/Updates/server/lib/jetty-util-9.4.19.v20190610.jar by java.net.FactoryURLClassLoader@d4db3a4a).         at org.eclipse.jetty.util.ssl.SslContextFactory$Server.<init>(SslContextFactory.java:2213)         at com.ibm.is.install.ui.web.JettyWebContainer.init(JettyWebContainer.java:91)         at com.ibm.is....

SQL1072C The request failed because the database manager resources are in an inconsistent state.

Issue: SQL1072C  The request failed because the database manager resources are in an inconsistent state.  The database manager might have been incorrectly terminated, or another application might be using system resources in a way that conflicts with the use of system resources by the database manager. SQL1072C  The request failed because the database manager resources are in an inconsistent state.  The database manager might have been incorrectly terminated, or another application might be using system resources in a way that conflicts with the use of system resources by the database manager. Answer To resolve this error run the following commands: 1) cd to $INSTHOME/sqllib 2) Delete the .ftok file: 'rm .ftok' 3) Create a new .ftok file: 'touch .ftok' 4 ) db2start

Copy directories and files to and from Kubernetes Container [POD]

As we all know about  SCP   Linux command  to Copy the files and directories from a remote host to the local host and vice versa over  SSH . Similar to that we have ' KUBECTL CP ' to Copy the files and directories from a Kubernetes Container [POD] to the local host and vice versa. Syntax : kubectl cp <file-spec-src> <file-spec-dest> POD in a specific container kubectl cp <file-spec-src> <file-spec-dest> -c <specific-container> Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace kubectl cp /tmp/foo <some-namespace>/<some-pod>:/tmp/bar Copy /tmp/foo from a remote pod to /tmp/bar locally kubectl cp <some-namespace>/<some-pod>:/tmp/foo /tmp/bar