MySQL install failed

Now installing mysql-client mysql-server .. HTTP/1.0 500 Perl execution failed Server: MiniServ/1.900 Date: Fri, 7 Dec 2018 18:22:58 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close Error - Perl execution failed Undefined subroutine &package_updates::update_system_install called at ./package-updates-lib.pl line 391.

At first this happened to me on VPS service provider AAA, on my Cloudmin install on CentOS 7.. I tried on VPS provider BBB, on Debian 9 Cloudmin and then just on Webmin.. it keeps happening. New installs and the latest Webmin / Cloudmin release. I am trying to create a Cloudmin Service Master for DNS and MySQL, but I cannot get MySQL install on anything.

Status: 
Active

Comments

OK, I was able to install on Debian 9 following https://tecadmin.net/install-mysql-server-on-debian9-stretch/

I am still need to upgrade to Cloudmin, but the issue is due to some dependencies. In the past I did come across issues after installing from the cli and webmin/virtualmin or cloudmin I cannot remember not finding it.. it happens when it is MariaDB instead of MySQL.

By the way the dpkg configure locked into a loop, but eventually installed a non-clustered version of 5.7.24 .. I think I wanted to install 5.6, but because of the loop I can't remember what I picked for the last time.

Cloudmin installed without BIND..! It did not install the DNS server and did not create the cloudmin.yourdomain.tld. Now I have MySQL but I do not have DNS.

The original error is a bug in Webmin that will be fixed in the next release.

Actually since it's needed by the Cloudmin installer, we will likely release a point release shortly to fix it up.

In any case, I installed a Virtualmin --minimal on one VPS and then Cloudmin on another over configured Webmin systems but both looks as if the install failed I have only Webmin. I am not quite sure what is happening, now that I finally configured 4 VPS with DNS and MySQL I cannot install Cloudmin or Virtualmin. I put a lot of work into these VPS and I somehow need to be able to upgrade the Webmin systems to Virtualmin and Cloudmin.

I have so many domains I have a hard time keeping them straight, this particular issue is for a .us zone where Cloudmin is on Debian and Virtualmins are mixed - I looked and there is no 1.901-1.deb, maybe I just wait for the official patch I have other zones to work on - thanks!

I somehow fixed the original issue and now have both dns and mysql on that cloudmin. It just happens today I got the same issue on a Debian 9/Webmin vps, installing the LDAP client. I downloaded the 901.deb and installed it over the 900:

Now installing libnss-ldap libpam-ldap ..
    HTTP/1.0 500 Perl execution failed Server: MiniServ/1.901 Date: Wed, 19 Dec 2018 16:51:21 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
    Error - Perl execution failed
    Undefined subroutine &package_updates::update_system_install called at ./package-updates-lib.pl line 391.

Sorry I got so many moving targets its hard to remember what I did or how I fixed it, I wish I could afford to keep a testing / staging setup around.

Just for the heck of it I tried installing MySQL (it already has bind)..

Now installing mysql-client mysql-server ..

    HTTP/1.0 500 Perl execution failed Server: MiniServ/1.901 Date: Wed, 19 Dec 2018 17:29:08 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
    Error - Perl execution failed

    Undefined subroutine &package_updates::update_system_install called at ./package-updates-lib.pl line 391.

If you need root to any of the vps I post about just send for it to my email on file, because I cannot keep anything sitting around for too long.. None of these are production yet, as I am trying to become familiar with Virtualmin.. good software, glad to help.

The work-around is the SSH in as root and run yum install mysql-client mysql-server

Jamie, I did that not on CentOS but on Ubuntu.. ugh, long story.

Finally I figured out how to install all my vps from 4 different providers on Debian 9, which is the distro I am going to keep for the time being.

Most of my issues so far came from the vps, NOT from the Linux distro or from Virtualmin. Each provider might use entirely different stack - OpenVZ, OpenStack and goodness knows what else.

The facts are...

  • I never used CentOS until now, and I just need to admit to the fact and stop using it here.
  • I have a lot of experience with plain Debian, so in the future I am going to limit my help-me! posts only to Debian 9
  • I stopped working on the intranet cloud for my employer which is bare metal LTS 16 -- NOT -- vps Debian 9

I am shedding a LOT of misconception about cloud design and again, Cloudmin is an awesome teacher! These are important details when you build and test your DNS and SSL against validations tools, telling you what's wrong with your domain(s). Nobody ever try and write books on 'Clouds' because it is not possible - the most evolved Clouds are huge in scope, and they evolve more, too fast to write and publish about them.

Most importantly you would NEVER want to run the risk of black-listing your domain(s) - the only thing that is worse than total data loss. I knew this before I knew how to prevent it.

I am going to wait until the next official patch for Webmin, Virtualmin and Cloudmin and go from there. Up to date somehow I managed to make everything work just the way I want it, and I am going to approach my next issue from a very different perspective. I hope to be more precise and limit my scope to what I know best.

For future reference, IF you guys have something you want me try - tell me. I am going to spin up a vps and try do as you ask. By now I know that anything in the stack (VPS, Distro, Webmin, My Config) could be the cause. Anything described in RFCs cannot realistically be a cause of problems. I appreciate the support, and I am going to maintain a test vps - to be able to keep issues around as long as they are relevant.