CentOS 64 bit bad ELF interpreter

You’re on a 64-bit system, and don’t have 32-bit library support installed. To install (baseline) support for 32-bit executables (if you don’t use sudo in your setup read note below) Most desktop Linux systems in the Fedora/Red Hat family: pkcon install glibc.i686 Possibly some desktop Debian/Ubuntu systems?: pkcon install ia32-libs Fedora or newer Red Hat, … Read more

VirtualBox: mount.vboxsf: mounting failed with the error: No such device [closed]

My shared folder/clipboard stopped to work for some reason (probably due to a patch installation on my virtual machine). sudo mount -t vboxsf Shared_Folder ~/SF/ Gave following result: VirtualBox: mount.vboxsf: mounting failed with the error: No such device The solution for me was to stop vboxadd and do a setup after that: cd /opt/VBoxGuestAdditions-*/init sudo … Read more

How do I find which rpm package supplies a file I’m looking for?

This is an old question, but the current answers are incorrect 🙂 Use yum whatprovides, with the absolute path to the file you want (which may be wildcarded). For example: yum whatprovides ‘*bin/grep’ Returns grep-2.5.1-55.el5.x86_64 : The GNU versions of grep pattern matching utilities. Repo : base Matched from: Filename : /bin/grep You may prefer … Read more

nginx missing sites-available directory

Well, I think nginx by itself doesn’t have that in its setup, because the Ubuntu-maintained package does it as a convention to imitate Debian’s apache setup. You could create it yourself if you wanted to emulate the same setup. Create /etc/nginx/sites-available and /etc/nginx/sites-enabled and then edit the http block inside /etc/nginx/nginx.conf and add this line … Read more

pip install – locale.Error: unsupported locale setting

The root cause is: your environment variable LC_ALL is missing or invalid somehow Short answer- just run the following command: $ export LC_ALL=C If you keep getting the error in new terminal windows, add it at the bottom of your .bashrc file. Long answer- Here is my locale settings: $ locale LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE=”C” LC_NUMERIC=”C” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)