Posts

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

“docker pull” certificate signed by unknown authority

first create a file -  /etc/docker/daemon.json than run the following to add certs openssl s_client -showcerts -connect <registry_address>:<registry_port> < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/<registry_address>/ca.crt works without restart OR import the cert to system like save the cert to the file , like the command above (the port is crucial, no need for the protocol) openssl s_client -showcerts -connect <registry_address>:<registry_port> < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ca.crt copy it to /usr/local/share/ca-certificates/ sudo cp ca.crt /usr/local/share/ca-certificates/ run update-ca-certificates sudo update-ca-certificates restart docker !

kaniko is a tool to build container images from a Dockerfile, inside a container or Kubernetes cluster

kaniko doesn't depend on a Docker daemon and executes each command within a Dockerfile completely in userspace. This enables building container images in environments that can't easily or securely run a Docker daemon, such as a standard Kubernetes cluster. https://github.com/GoogleContainerTools/kaniko#running-kaniko-in-docker

kURL - Open Source Kubernetes Installer online & Airgap

https://kurl.sh/ curl https://kurl.sh/latest | sudo bash

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.

https://github.com/genuinetools/img img build -t forgegeek/img .