Ubuntu 12.04 support -- coming soon!

29 posts / 0 new
Last post
#1 Sun, 05/06/2012 - 19:24
andreychek

Ubuntu 12.04 support -- coming soon!

I just wanted to post a quick note to say that we're hard at work on support for Ubuntu 12.04 -- it will be available soon!

During our testing, there were some DNS issues that we wanted to get fixed up before we push out formal support.

You're welcome to beta test it if you like -- the latest install.sh script available in the Download area will perform a Virtualmin install on Ubuntu 12.04. Remember that it's still beta, and we're still testing things.

If you're using a live server, we'd highly encourage you to wait a few more days for us to get all the kinks worked out.

For you brave beta-testers -- a known issue is that, at the moment, you may need to fix a blank dns-domain line added to /etc/network/interfaces. You can fix it by commenting it out, and then restarting networking by running "/etc/init.d/networking restart".

If you notice any other issues during your testing, let us know.

We hope to announce the finalized support within the next few days... thanks!

-Eric

Mon, 05/07/2012 - 03:42
Locutus

Yay!

I am a very brave beta-tester and have an Ubuntu 12 test VM already prepared, just waiting for install.sh to be available. :)

I'll report back with any problems soon.

Mon, 05/07/2012 - 03:56
Locutus

First problem occurred. :) Installer aborts with FATAL ERROR.

The error seems to be triggered by this:

INFO - Cleaning up apt headers and packages, so we can start fresh...
INFO -
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Installing Webmin and Virtualmin package signing keys...
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - OK
INFO - OK
INFO - Ign
INFO - Removing Debian standard Webmin package, if they exist...
INFO - Removing Debian apache packages...
E: Unable to locate package webmin-core
INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota
...in progress, please wait...
.E: Unable to locate package webmin
E: Unable to locate package usermin
 
/usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota failed.  Error (if any): 0

Is it possible that the Virtualmin software repository is down? I get a long delay when it's trying to download package lists.

Install.log contents:

INFO - 2012-05-07 10:49:07 - Started installation log in /root/virtualmin-install.log
DEBUG - 2012-05-07 10:49:07 - Install mode: full
DEBUG - 2012-05-07 10:49:07 - Product: Virtualmin GPL
DEBUG - 2012-05-07 10:49:07 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2012-05-07 10:49:07 - install.sh version: 1.0.6
INFO - 2012-05-07 10:49:07 - Checking for fully qualified hostname...
INFO - 2012-05-07 10:49:07 - Hostname OK: fully qualified as mira.tianet.de
INFO - 2012-05-07 10:49:07 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2012-05-07 10:49:07 - Loading OS selection library...
INFO - 2012-05-07 10:49:08 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2012-05-07 10:49:08 - Loading OS list...
INFO - 2012-05-07 10:49:08 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2012-05-07 10:49:08 - Operating system name:    Ubuntu Linux
INFO - 2012-05-07 10:49:08 - Operating system version: 12.04
INFO - 2012-05-07 10:49:08 - Configuring package manager for Ubuntu Linux 12.04...
INFO - 2012-05-07 10:49:08 - Enabling universe repositories, if not already available...
INFO - 2012-05-07 10:49:08 - Disabling cdrom repositories...
INFO - 2012-05-07 10:49:16 - Cleaning up apt headers and packages, so we can start fresh...
INFO - 2012-05-07 10:49:16 -
INFO - 2012-05-07 10:49:16 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - 2012-05-07 10:49:16 - Installing Webmin and Virtualmin package signing keys...
INFO - 2012-05-07 10:49:16 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - 2012-05-07 10:49:17 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - 2012-05-07 10:49:17 - OK
INFO - 2012-05-07 10:49:17 - OK
INFO - 2012-05-07 10:49:23 - Ign
INFO - 2012-05-07 10:49:23 - Removing Debian standard Webmin package, if they exist...
INFO - 2012-05-07 10:49:23 - Removing Debian apache packages...
DEBUG - 2012-05-07 10:49:23 - Reading
INFO - 2012-05-07 10:49:23 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin userm
in ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota
Reading package lists...
Building dependency tree...
Reading state information...
FATAL - 2012-05-07 10:49:25 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2012-05-07 10:49:25 - Cannot continue installation.
FATAL - 2012-05-07 10:49:25 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2012-05-07 10:49:25 - re-attempted after any problems have been resolved.
FATAL - 2012-05-07 10:49:25 - Removing temporary directory and files.
FATAL - 2012-05-07 10:49:25 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2012-05-07 10:49:25 - in /root/virtualmin-install.log
Mon, 05/07/2012 - 04:13
Locutus

I checked /etc/apt/sources.list and /etc/apt/sources.list.d/, during the installation, when apt-get is updating its stuff, and it does not seem that the installer added its repository lines to either of those.

The GPG key seems to have been installed though, just the repository lines are missing.

EDIT:

I guess I found the problem. Are you sure you updated the URL http://software.virtualmin.com/gpl/scripts/install.sh with the proper installer script? :)

I find this bit of code in the installer I just downloaded:

                        if [ $os_type = "ubuntu" ]; then
                                deps=$ubudeps
                                case $os_version in
                                        6.06*)
                                                repos="virtualmin-dapper"
                                        ;;
                                        8.04*)
                                                repos="virtualmin-hardy"
                                        ;;
                                        10.04*)
                                                repos="virtualmin-lucid virtualmin-universal"
                                        ;;
                                esac

No mention of Ubuntu 12.04. :D No wonder there's no repository lines added.

So, before I continue testing, I'll wait till this is resolved, since I assume the non-Ubuntu-12 version of the script is still on your server.

Mon, 05/07/2012 - 08:46
andreychek

Durnit, I didn't think to check the GPL script, I had only been testing with the Pro one (available in /serial/) as of yet.

I've done several test installs with it, so it should definitely work. But I'll go bump Joe about that GPL script, we'll have that setup here shortly :-)

-Eric

Mon, 05/07/2012 - 14:39
Locutus

I'd gladly beta-test the Pro version, but my two pro allowances are already in use for my production and experimental Ubuntu 10 install. :)

EDIT:

Actually I just noticed that my experimental Ubuntu 10 currently uses VM GPL. Wheee. :) So I'll get the Pro version for 12 now to test it.

Wed, 05/09/2012 - 08:34
JoeEarl1969

Is BETA available for the GPL Version or only the PRO?

Wed, 05/09/2012 - 10:10
andreychek

Installing onto 12.04 only works in the Pro version at the moment, it will be available to GPL soon though.

-Eric

Wed, 05/09/2012 - 10:21
alexp999

Do you know a rought time frame? I know new features often come to Pro first, but as this is OS support, it would be great to get GPL supported.

Are we looking at months or days for soon? I'd really like to setup a new Virtualmin server with 12.04.

Thanks.

Wed, 05/09/2012 - 12:31
andreychek

It's not a Pro vs GPL issue... it's an issue with it being beta, and the one script isn't working properly :-)

Both scripts should be working properly in the near future, and we'll post when that's the case.

-Eric

Wed, 05/09/2012 - 14:36
alexp999

Ah I see, thanks.

I just didn't want to be waiting around if its not going to be released for GPL any time soon :)

I look forward to the release.

Wed, 05/09/2012 - 15:12
andreychek

Okay, I think the issues preventing the GPL installer from working have been corrected.

Feel free to give it a shot!

Again, this is a beta version of the script, and there are known issues with both the Pro and GPL versions (as described above).

But feel free to try it, preferably on non-production systems, and let us know how it works for you :-)

-Eric

Wed, 05/09/2012 - 22:04
JoeEarl1969

Was trying to upgrade my server to Ubuntu 12.04, unfortunately after installing I was unable to boot into the operating system. Tried several times and with different partitions but to no avail. At this point I am forced to reinstall 10.04 until I can figure out what is wrong. I was not able to test the Virtualmin script at this time.

Thu, 05/10/2012 - 03:41
Locutus

@JoeEarl: You'd need to elaborate "unable to boot" if you wish some advice from us; i.e. what exactly happens when you try to boot.

Also, if I'm understanding you correctly, you have a server which already had Virtualmin installed on an earlier Ubuntu, and planned to run the installer script after upgrading it to 12.04? You shouldn't do that... The installer script is meant to be used only on a fresh system.

Generally, I'd not yet use the upgrading function from Ubuntu 10 to 12. It's advisable to only install fresh systems with U.12 for now and wait a bit until the first fixpacks are ready before trying upgrades. (I personally never upgrade OSes between major versions, but install them freshly. I like to avoid the hassle of potential complications from upgrades and non-matching stuff. :) )

Thu, 05/10/2012 - 04:42
alexp999

Do I assume that the known issue only affects people who have not already setup static networking before running the script?

Thu, 05/10/2012 - 07:13
andreychek

That known issue can happen whether it's a static or dynamic IP, unfortunately.

The issue is that Ubuntu 12.04 uses a new system for managing the nameservers -- nameservers can no longer be added to /etc/resolv.conf, they need to be set in /etc/network/interfaces.

The installer is trying to do that -- but there's a bug in how that works, which Jamie will have fixed up shortly :-)

Thu, 05/10/2012 - 17:48
Locutus

I found a hiccup during my tests with Ubuntu 12:

(Unfortunately I can't reproduce it right now, and I forgot to copy away the exact error messages, so I'm writing this down from memory.)

When I tried to restore a backup containing just the Virtualmin configuration which I created on another VM installation, there was a problem with greylisting.

On the new VM, greylisting was not yet installed. The restore process tried to do that, but the corresponding apt-get calls failed with different problems. Once it said that it "cannot access the requested /var/lib/postgrey", later it said that it "cannot lock /etc/group".

When I then manually installed postgrey via SSH before restoring the backup, there were no issues like that. Even after purging postgrey and doing the restore thing again, there were no more errors.

I suppose to reproduce that I'd have to reinstall the OS again, which I currently don't feel like doing. ;)

Thu, 05/10/2012 - 22:03
andreychek

Thanks for the heads up, I'll do some testing with greylisting!

Fri, 05/11/2012 - 15:53
JoeEarl1969

Error - Perl execution failed

Number with no digits in regex; marked by <-- HERE in m/-\o{} <-- HERE / at /usr/share/webmin/postfix/postfinger.cgi line 199.

I received this message when trying to run Configuration Check with Postfix Mail Server. I am not able send email with my email client when using my username/password in my SMTP settings. I can send email using Usermin from my server. I have set up SSL Certificates also.

Thu, 05/24/2012 - 16:36
vet-vfwaz

Hello,

In following this procedure, found the new virtualmin script (GPL) for Ubuntu server 12.04 worked as designed. However, there is one flaw in the latest version dated May 9, 2012. No where in the script does it ask for the mysql 'root' password, which I thought was odd at the time, but continued with rebooting server after script install.

Didn't discover the problem until post-install I went to set up phpmyadmin and it asked if I wanted to have it set up the database 'yes' or 'no'. Selected "Yes" and install bombed because I didn't have the correct password information.

Searching for a solution found I had to 'apt-get autoremove phpmyadmin' to purge the server. Then I had to run 'dpkg-reconfigure mysql-server-5.5' (which by the way is the latest version downloaded from the repositories). This gave me the 'Configure mysql-server-5.5' 'New password for the MySQL "root" user:" prompt.

After setting up the new password I reinstalled phpmyadmin and dbconfig-common, chose 'yes' to let the installer set up the new database. Was able to log onto phpmyadmin from associated network IP successfully after setting up the mysql-server password.

Hope this helps others, as well as help correct a minor issue with the script.

Fri, 05/25/2012 - 16:50
Locutus

@azteech: If I recall correctly, the web-based post-installation wizard of Virtualmin asks you for the MySQL root password, and not the shell script.

Fri, 05/25/2012 - 16:59 (Reply to #21)
JoeEarl1969

Yes, that is correct. The web-based post-installation wizard does ask you for the MySQL root password, unfortunately it did not use the password I entered in. Instead it created a random password.

Tue, 06/12/2012 - 14:39 (Reply to #22)
vet-vfwaz

You are correct. Normal installation of MySQL does normally ask for password "post-download/Install". However, in my case, when running the script, I was never prompted to enter a password - it set one randomly. Because the install is done via a script - it may be a case where the script didn't give "Screen" dialogue for entering a password and just put one in when the next command processed. Don't know - all I know is I fixed the issue by manually doing a password reset for MySQL and setting up a new one.

Thanks for your response on this.

Mon, 06/11/2012 - 02:58
perch99

Am not sure if the fatal error because of beta version, it maybe because improper setting / installation.

INFO- cleaning up apt headers and packages, so we can start fresh... INFO- wget: unable to resolve host address 'software.virtualmin.com'

FATAL - fatal error occured: failed to download http://software.virtualmin.com/lib/apt.conf.noninteractive. FATAl - Cannot continue installation

any idea what address the download page should be?

thanks

FATA ERROR

Mon, 06/11/2012 - 03:20
perch99

a manual instruction found on :

http://www.virtualmin.com/documentation/installation/automated

Pre-Installation Checklist

So, let's boil down all of those preliminaries into a simple checklist. These are the things you need to do before running the install.sh:

Confirm that networking is fully functional. Ping software.virtualmin.com. If it doesn't work, you'll need to fix it.

anyone can help me to fix that? i tried to ping software.virtualmin.com, and the reasult:

ping: unknown host software.virtualmin.com

thanks, sugi

Mon, 06/11/2012 - 08:01
andreychek

ping: unknown host software.virtualmin.com

It sounds like the nameservers your server is configured to use may not be working properly.

You can tweak what nameservers are in use by editing /etc/resolv.conf.

-Eric

Tue, 06/12/2012 - 09:45 (Reply to #26)
perch99

hello,

thanks for your comment.

may i ask the name server software.virtualmin.com refferring is not the name server that I named my server with? i thought is shoud be some kind repository.

--or--

by nameserver, you mean that software.virtualmin.com is alreadyy correct, only that i named not properly , that is why result that comment?

i named my server through webmin and the name is n1. ******.com

****** is my domain name that is not yer directed to my server, maybe after i figure all out :)

look forward to your comment,

regards, Sugi

Wed, 06/13/2012 - 22:07
perch99

problem solved, the host name server is not named properly.

when i install again virtual min, i entered different nameserver and it went through all the way.

thanks for response, sugi

Thu, 06/21/2012 - 03:36
spinNspiral

I just grabbed the install script today and ran it: wget http://software.virtualmin.com/gpl/scripts/install.sh

I got as far as installing my dependencies (after FQDN setup)

apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota

Which fails and halts the script.

E: Opening configuration file apt.conf.noninteractive - ifstream::ifstream (2: No such file or directory)

Any help would be appreciated.

Topic locked