https://techglimpse.com For all your Tech Needs! Wed, 15 May 2024 06:23:48 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.6 Error – mount unknown filesystem type ‘lvm2_member’ [Fix] https://techglimpse.com/error-mount-unknown-filesystem-type-lvm2_member-fix/ https://techglimpse.com/error-mount-unknown-filesystem-type-lvm2_member-fix/#respond Wed, 15 May 2024 06:22:06 +0000 https://techglimpse.com/?post_type=ht_kb&p=43713 “Sometimes all bad things will happen at the same time” – I remembered this quote on a night when my client identified a bug on her e-commerce website and wanted me to fix it immediately. It was only at that moment, I realized that I had been locked out of...

The post Error – mount unknown filesystem type ‘lvm2_member’ [Fix] appeared first on Techglimpse.

]]>
0
Change PDF Metadata from Linux Command Line https://techglimpse.com/change-pdf-metadata-linux-command-line/ https://techglimpse.com/change-pdf-metadata-linux-command-line/#respond Fri, 29 Sep 2023 09:28:59 +0000 https://techglimpse.com/?post_type=ht_kb&p=43658 PDF Metadata generally contains information about the PDF document – such as Title, Author, MIME type, creator, keyword, pdf version, etc. This information is embedded into the PDF document itself and read by the applications including WordPress and search engines. For instance, I uploaded a PDF document to WordPress media...

The post Change PDF Metadata from Linux Command Line appeared first on Techglimpse.

]]>
0
[Kubernetes]: failed to pull image registry.k8s.io/kube-apiserver:v1.27.1 https://techglimpse.com/failed-pull-image-registry-kube-apiserver/ https://techglimpse.com/failed-pull-image-registry-kube-apiserver/#respond Tue, 05 Sep 2023 07:00:43 +0000 https://techglimpse.com/?post_type=ht_kb&p=43576 While installing Kubernetes and configuring Kubernetes on the Master node, encountered the error “failed to pull image registry.k8s.io/kube-apiserver:v1.27.1”. Below is the complete error message: # kubeadm config images pull failed to pull image "registry.k8s.io/kube-apiserver:v1.27.1": output: time="2023-07-19T05:36:01Z" level=fatal msg="validate service connection: CRI v1 image API is not implemented for endpoint \"unix:///var/run/containerd/containerd.sock\":...

The post [Kubernetes]: failed to pull image registry.k8s.io/kube-apiserver:v1.27.1 appeared first on Techglimpse.

]]>
0
No space left on device: Couldn’t create the rewrite-map mutex: Configuration Failed [Apache] https://techglimpse.com/restarting-apache-error-couldnot-create-rewrite-map-mutex/ https://techglimpse.com/restarting-apache-error-couldnot-create-rewrite-map-mutex/#respond Mon, 04 Sep 2023 11:51:01 +0000 https://techglimpse.com/?post_type=ht_kb&p=43559 Since my webserver (apache) wasn’t responding, I restarted the apache service. Most of the time restarting works, this time it didn’t! The error message was “No space left on device: Couldn’t create the rewrite-map mutex: Configuration Failed”. Let’s try to diagnose the issue and find the solution. Analyse why Apache restart...

The post No space left on device: Couldn’t create the rewrite-map mutex: Configuration Failed [Apache] appeared first on Techglimpse.

]]>
0
[Dompdf] PHP Fatal error: Class DOMImplementation not found https://techglimpse.com/dompdf-php-fatal-error-class-domimplementation-not-found/ https://techglimpse.com/dompdf-php-fatal-error-class-domimplementation-not-found/#respond Mon, 04 Sep 2023 08:13:47 +0000 https://techglimpse.com/?post_type=ht_kb&p=43543 After fixing undefined function mb_internal_encoding encountered an another error “Uncaught Error: Class DOMImplementation not found“. Below is the complete error: Error: [Fri Jun 16 11:07:04.798269 2023] [php7:error] [pid 820060] [client techglimpse.com:21132] PHP Fatal error: Uncaught Error: Class 'DOMImplementation' not found in /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php:172\nStack trace:\n#0 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/masterminds/html5/src/HTML5.php(157): Masterminds\\HTML5\\Parser\\DOMTreeBuilder->__construct()\n#1 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/masterminds/html5/src/HTML5.php(89): Masterminds\\HTML5->parse()\n#2 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/dompdf/dompdf/src/Dompdf.php(478): Masterminds\\HTML5->loadHTML()\n#3 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/formprocess.php(143):...

The post [Dompdf] PHP Fatal error: Class DOMImplementation not found appeared first on Techglimpse.

]]>
0
[Dompdf]: Call to undefined function mb_internal_encoding() https://techglimpse.com/undefined-function-mb_internal_encoding-dompdf/ https://techglimpse.com/undefined-function-mb_internal_encoding-dompdf/#respond Mon, 04 Sep 2023 06:48:22 +0000 https://techglimpse.com/?post_type=ht_kb&p=43539 Recently in one of my web development project, I tried to use Dompdf and encountered error “Call to undefined function mb_internal_encoding() [DomPDF]“. Error: [Fri Jun 16 10:30:49.244911 2023] [php7:error] [pid 819590] [client techglimpse.com:19416] PHP Fatal error: Uncaught Error: Call to undefined function Dompdf\\mb_internal_encoding() in /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/dompdf/dompdf/src/Dompdf.php:295\nStack trace:\n#0 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/dompdf/dompdf/src/Dompdf.php(269): Dompdf\\Dompdf->setPhpConfig()\n#1 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/formprocess.php(139): Dompdf\\Dompdf->__construct()\n#2...

The post [Dompdf]: Call to undefined function mb_internal_encoding() appeared first on Techglimpse.

]]>
0
How to detect and analyse botnet malware running on Linux https://techglimpse.com/detect-analyse-botnet-malware-running-on-linux/ https://techglimpse.com/detect-analyse-botnet-malware-running-on-linux/#respond Mon, 04 Sep 2023 05:18:13 +0000 https://techglimpse.com/?post_type=ht_kb&p=43525 Recently some of the virtual machines used for my developmental activities were attacked! The problem was that there was a process (with random alpha-numeric characters) that fills up the CPU and even if it is killed, it will re-occur after some time 🙁 Let’s try to detect and analyse botnet...

The post How to detect and analyse botnet malware running on Linux appeared first on Techglimpse.

]]>
0
Install_requires must be a string or list of strings – Fix Qiskit Terra installation https://techglimpse.com/install_requires-must-be-a-string-or-list-of-strings-qiskit-installation/ https://techglimpse.com/install_requires-must-be-a-string-or-list-of-strings-qiskit-installation/#respond Wed, 30 Aug 2023 12:12:32 +0000 https://techglimpse.com/?post_type=ht_kb&p=43518 Issue: I got this error – “error in qiskit-terra setup command: ‘install_requires’ must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)” while installing Qiskit Terra in an Anaconda python environment on CentOS. Here’s the complete error message: $ pip...

The post Install_requires must be a string or list of strings – Fix Qiskit Terra installation appeared first on Techglimpse.

]]>
0
How to shrink a qcow2 Windows VM image on Linux https://techglimpse.com/how-to-shrink-a-qcow2-windows-vm-image-on-linux/ https://techglimpse.com/how-to-shrink-a-qcow2-windows-vm-image-on-linux/#respond Mon, 12 Dec 2022 04:41:03 +0000 https://techglimpse.com/?post_type=ht_kb&p=43476 Followed your article to create a Windows Image for OpenStack glance repository. After successfully booting of VM, found the size of the qcow2 image is 20GiB. # ls -lrth win10.qcow2 -rw-------. 1 qemu qemu 21G Dec 9 13:45 win10.qcow2 However, there is a lot of free space available on the...

The post How to shrink a qcow2 Windows VM image on Linux appeared first on Techglimpse.

]]>
0
[Linux]: How to Change Hostname on CentOS/RHEL – 7/8 https://techglimpse.com/change-hostname-centos-rhel/ https://techglimpse.com/change-hostname-centos-rhel/#respond Fri, 09 Dec 2022 06:43:21 +0000 https://techglimpse.com/?post_type=ht_kb&p=43459 My system administrator installed minimal CentOS server and forgotten to setup the hostname. Now it has localhost.localadmin. How would I change the hostname on CentOS? Solution: A computer hostname represents a unique name that identifies a machine on a network. You need follow few rules in setting up the hostname:...

The post [Linux]: How to Change Hostname on CentOS/RHEL – 7/8 appeared first on Techglimpse.

]]>
0