Today I came to load virtualmin, and I was unable to. I logged into my server as root, and manually restarted VM. When I was able to log in, it gave me a message about the OS being not what it expected. So I updated it.
Now when I try to create a VS I get the following message:
Failed to create virtual server : New virtual server has no IP address! Perhaps Virtualmin could not work out the system’s default IP.
Considering the initial problem message you received, I suppose something bigger must have changed in your server? Messages about wrong OS version and not being able to log in and then IP address issues and stuff don’t happen just like that.
My suggestion would be trying to find out what had happened when the problems started, otherwise trying to fix specific symptoms might lead to nothing, or even worse you could be changing settings that just make things worse.
So, what OS are you using, what hosting system, and what exactly was done before and after the problems started?
Yeah, that’s probably a good idea. I suspected that may be the case myself.
I have checked my cron, and it’s running a daily rpm (which I didn’t realise). Looking at the yum logs the following seem to have been updated on the 20th (this was when I noticed that the troubles had begun).
Mar 20 23:06:30 Updated: sendmail-8.13.8-8.1.el5_7.x86_64
Mar 20 23:06:31 Updated: sendmail-doc-8.13.8-8.1.el5_7.x86_64
Mar 20 23:06:32 Updated: sendmail-cf-8.13.8-8.1.el5_7.x86_64
Mar 20 23:06:32 sendmail-doc: ts_done name in te is sendmail should be sendmail-doc
Mar 20 23:06:32 sendmail-cf: ts_done name in te is sendmail-doc should be sendmail-cf
Mar 20 23:06:38 Updated: 30:bind-libs-9.3.6-20.P1.el5.x86_64
Mar 20 23:06:38 Updated: 30:bind-9.3.6-20.P1.el5.x86_64
Mar 20 23:06:39 Updated: 30:caching-nameserver-9.3.6-20.P1.el5.x86_64
Mar 20 23:06:39 Updated: 30:bind-utils-9.3.6-20.P1.el5.x86_64
Mar 20 23:06:39 bind-utils: ts_done name in te is caching-nameserver should be bind-utils
Mar 20 23:06:49 Updated: python-libs-2.4.3-46.el5.x86_64
Mar 20 23:06:49 Updated: python-2.4.3-46.el5.x86_64
Mar 20 23:06:58 Updated: ruby-libs-1.8.5-24.el5.x86_64
Mar 20 23:06:58 Updated: ruby-libs-1.8.5-24.el5.i386
Mar 20 23:06:58 Updated: ruby-1.8.5-24.el5.x86_64
Mar 20 23:06:58 Updated: ruby-irb-1.8.5-24.el5.x86_64
Mar 20 23:06:59 Updated: ruby-rdoc-1.8.5-24.el5.x86_64
Mar 20 23:06:59 Updated: ruby-devel-1.8.5-24.el5.i386
Mar 20 23:06:59 Updated: ruby-devel-1.8.5-24.el5.x86_64
Mar 20 23:07:06 Updated: openssl-0.9.8e-22.el5.x86_64
Mar 20 23:07:06 Updated: openssl-0.9.8e-22.el5.i686
Mar 20 23:07:07 Updated: openssl-devel-0.9.8e-22.el5.x86_64
Mar 20 23:07:07 openssl-devel: ts_done name in te is openssl should be openssl-devel
Mar 20 23:07:07 openssl: ts_done name in te is openssl-devel should be openssl
Mar 20 23:07:23 Installed: 4:perl-5.8.8-32.el5_7.6.i386
Mar 20 23:07:26 Updated: 4:perl-5.8.8-38.el5.x86_64
here is how to fix it,
Virtualmin->System Settings->Virtualmin Configuration->Network Settings-> Default IP address for DNS records >> change it to “Same as virtual server IP”