OSError: mysql_config not found

When installing the python mysqlclient module with pip, I got the error “OSError: mysql_config not found”. (venv) root@sok:~# pip install mysqlclient Collecting mysqlclient Downloading mysqlclient-2.1.0.tar.gz (87 kB) |████████████████████████████████| 87 kB 1.2 MB/s ERROR: Command errored out with exit status 1: command: /root/venv/bin/python3 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘”‘”‘/tmp/pip-install-r5qp0a97/mysqlclient/setup.py’”‘”‘; __file__=’”‘”‘/tmp/pip-install-r5qp0a97/mysqlclient/setup.py’”‘”‘;f=getattr(tokenize, ‘”‘”‘open’”‘”‘, open)(__file__);code=f.read().replace(‘”‘”‘\r\n’”‘”‘, ‘”‘”‘\n’”‘”‘);f.close();exec(compile(code, __file__, … Read more

ionos Magento Internal Server Error

Magento

After migrating a Magento site to ionos shared hosting, internal pages of the site stopped working with “Internal Server Error”. The problem is due to .htaccess file. The error is fixed by editing pub/.htaccess file vi pub/.htaccess Find #RewriteBase /magento/ Replace with RewriteBase / Many static files were also not loading, to fix it, edit … Read more

libOpenGL.so.0: cannot open shared object file

When starting RuneScape client on Ubuntu 20.04, i get folloiwng error Gtk-Message: 14:22:22.826: Failed to load module “canberra-gtk-module” /home/boby/Jagex/launcher/rs2client: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory To fix this, run sudo apt install libopengl0 -y

Yum Error Operation too slow

When i did yum update on a CloudLinux server, i get following error error was [Errno 12] Timeout on https://cl-mirror.dewabiz.com/XMLRPC/GET-REQ/cloudlinux-x86_64-server-7/repodata/filelists.xml.gz: (28, ‘Operation too slow. Less than 1000 bytes/sec transferred the last 120 seconds’) This is because server is unable to connect to one of the yum mirrors. To fix this, we need to disable the … Read more

Errors

How to fix PCIe Bus Error: severity=Corrected, type=Physical Layer Unable to detect ICU prefix Nginx 413 Request Entity Too Large debconf: unable to initialize frontend: Dialog MySQL ERROR Access denied you need SUPER privilege for this operation Can’t locate version.pm in @INC apt The method driver /usr/lib/apt/methods/https could not be found Can’t locate Parallel/ForkManager.pm in … Read more

Can’t locate File/Type.pm in @INC

Xpanel FTP not deleting .exe file uploads. [root@server1 ~]# /usr/local/xpanel/uploadscript.pl Can’t locate File/Type.pm in @INC (@INC contains: /usr/local/xpanel/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/xpanel/uploadscript.pl line 27. BEGIN failed–compilation aborted at /usr/local/xpanel/uploadscript.pl line 27. [root@server1 ~]# To fix, install File::Type cpan module. cpan install File::Type See Errors