I have seen these 4 bugs on all Ubuntu 12.04 LTS installs with latest Virtualmin PRO and GPL: So should be easy to reproduce.
They are annoying, but not fatal, but looks not good to first-time users of Webmin... ;-)
Steps to reproduce:
1) install fresh Ubuntu 12.04LTS server release and apt-get update ; apt-get upgrade
2) install virtualmin GPL or Pro, doesn't matter with install.sh
3) start the post-install wizzared, and say Yes to run ClamAV server: Waits then ERRORS! (BUG 1)
4) type in ssh: service clamav-daemon start
5) redo step 3) : Works!
6) say YES to run Spamassassin: ERRORS! (BUG 2)
7) type in ssh: service spamassassin start
8) redo 6) : Works!!!
Note that 4) can be done before 3), but step 7) cannot be done before 3) or even before 6).
Nothing major thanks to this workaround, but worth noticing and fixing, as it's the first contact with Virtualmin, and that doesn't look good :-D
Then:
9) finish with wizzard 10) "Re-Check Configuration": all ok.
11) Go to menu Webmin / Webim / Webmin configuration: See that "Start at boot time" is "No" instead of "Yes" by default ! (BUG 4)
12) Try enabling: Click Radio "Yes", and button "Start at boot time": the radio becomes "No", instead of staying "Yes", and indeed when rebooting, i have to type "service webmin start" to be able to use webmin. That is the most annoying of the 4 bugs (BUG 4).
Comments
Submitted by Locutus on Fri, 12/14/2012 - 08:51 Comment #1
What system exactly have you tried this procedure on? As in, physical system, or some kind of virtual machine hypervisor? If so, which one?
I'm asking because I have done many installations of Virtualmin on Ubuntu 12.04 LTS (64 bit), and never run into the issues you describe. I'm using VMware ESXi 5.0 as hypervisor.
Submitted by beat on Fri, 12/14/2012 - 08:58 Comment #2
it's on a Xen virtual machine, with Xen installed in a Ubuntu 12.04LTS 64 bits on the physical machines using aptitude of the standard Ubuntu 12.04LTS release, and using:
xen-create-image --dist=precise --verbose --fs=ext4 --ip=... --netmask=255.255.255.0 --gateway=... --dir /srvdata --memory=4Gb --size=65Gb --swap=2Gb --hostname=... --output=/diskimages
I had never such issues before too, but we were running 8.04LTS for some time on all old servers.
Submitted by andreychek on Fri, 12/14/2012 - 09:35 Comment #3
Do you by chance have a copy of the error messages you were seeing in steps #3 and #6 that you mentioned above?
Submitted by JamieCameron on Fri, 12/14/2012 - 11:37 Comment #4
Also, which Webmin version are you running on this system?
Submitted by beat on Fri, 12/14/2012 - 12:08 Comment #5
Everything is latest:
Virtualmin GPL Servers:
Webmin version 1.600 Virtualmin version 3.97.gpl GPL
Virtualmin PRO Servers:
Webmin version 1.600 Virtualmin version 3.97 Pro
On all:
Kernel and CPU Linux 3.2.0-34-generic on x86_64
Operating system Ubuntu Linux 12.04.1
Jamie, If that can help you troubleshoot the different issues I reported, I can create a virtual Xen server with Ubuntu 12.04LTS pre-installed in a few hours, with or without virtualmin GPL (don't have spare pro licenses sorry lol) and email you ssh access. I think i have your public ssh key somewhere from a few years back.
Submitted by JamieCameron on Fri, 12/14/2012 - 15:05 Comment #6
Yes, a Xen VM with Ubuntu 12.04 and whatever setup you typically use would be really useful to debug this..
Submitted by beat on Fri, 12/14/2012 - 15:58 Comment #7
Hi Jamie, Installed you a test-system, all yours, so you can test all Ubuntu 12.04LTS issues I reported in the various tickets on it :-)
Emailed you access.
Many thanks! Beat
Submitted by JamieCameron on Fri, 12/14/2012 - 16:35 Comment #8
Ok, I see the issue now - the Virtualmin APT repository only has Webmin 1.600. Version 1.610 actually fixes this problem, which I verified by installing on your test VM from http://prdownloads.sourceforge.net/webadmin/webmin_1.610_all.deb
The trigger for the bug is systems that use a mix of boot systems, such as upstart and init.d.
I'll see about getting version 1.610 rolled out.
Submitted by beat on Fri, 12/14/2012 - 16:38 Comment #9
Cool! good find!
That could also explain the DKIM one https://www.virtualmin.com/node/24472 ?
Submitted by beat on Sat, 12/15/2012 - 08:48 Comment #10
Hi Jamie, Just upgraded to Webmin 1.610, thanks:
it fixes the DKIM starting issue (other ticket)
but does not fix the bug (4) in here:
(4) I still can't change the Webmin "Start at boot" to Yes
and (new, but probably related):
(5) I can't change the Usermin "Start at boot" to No.
So re-opening this bug.
Submitted by JamieCameron on Sat, 12/15/2012 - 12:18 Comment #11
Thanks - I had a look on the test system you setup, and found the cause of this. Webmin will try to use the
chkconfig
command to enable actions if it is installed, but on Ubuntu 12.04 that command doesn't actually work!The work-around is to go to System -> Bootup and Shutdown -> Module Config -> System configuration, and change "Use chkconfig command to enable actions?" to "No". A proper fix will come in the next Webmin release.
Submitted by beat on Sat, 12/15/2012 - 12:40 Comment #12
Thanks Jamie!
Can I then keep the workaround setting after the fix ? without any consequences ?
Submitted by JamieCameron on Sat, 12/15/2012 - 12:45 Comment #13
Yes, you can keep the work-around enabled.
Submitted by Issues on Sat, 12/29/2012 - 12:46 Comment #14
Automatically closed -- issue fixed for 2 weeks with no activity.