I just upgraded webmin from v1.550 to v1.560 on my ubuntu 10.04.2 server… After the upgrade webmin will no longer start at boot… I have tried setting the option on the webmin configuration page, and on System / Bootup and Shutdown page… But the change never takes place… Can anyone tell me how to set webmin to start on boot with the command line…? Or does anyone know if there is a problem with the new v1.560 of webmin that is preventing it from starting at boot time…? I have never had any issues with all the previous versions of webmin. I don't remember what the 1st version I started using was, but I have updated it with every new version from with webmin, and have never had any issues until now…
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same problem, as have others. It seems to be a bug regarding upstart. I'm keeping my eye on the webmin/virtualmin forums, eg https://www.virtualmin.com/node/19092
regards,
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-08-08
Hi.
i also experinced this problem with 1.550. i noticed that the upstart script was different from the 1.540 version, so i downloaded the older one and then upgraded. works fine now.
you could paste this into your webmin upstart script, found under system -> bootup and shutdown
#!/bin/sh
# Start/stop Webmin
case "$1" in
'start')
/etc/webmin/start >/dev/null 2>&1 </dev/null
RETVAL=$?
;;
'stop')
/etc/webmin/stop
RETVAL=$?
;;
'status')
pidfile=`grep "^pidfile=" /etc/webmin/miniserv.conf | sed -e 's/pidfile=//g'`
if ; then
pid=`cat $pidfile`
kill -0 $pid >/dev/null 2>&1
if ; then
echo "webmin (pid $pid) is running"
RETVAL=0
else
echo "webmin is stopped"
RETVAL=1
fi
else
echo "webmin is stopped"
RETVAL=1
fi
;;
'restart')
/etc/webmin/stop ; /etc/webmin/start
RETVAL=$?
;;
*)
echo "Usage: $0 { start | stop }"
RETVAL=1
;;
esac
exit $RETVAL
best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-08-08
I fixed this by putting this in terminal
cd /etc/init.d
update-rc.d webmin defaults
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
+1
I was about to post this, and had I done so the wording & version numbers would have been identical. We can't be alone. Anyone else please?
I also have the problem where, since this upgrade, I have a large yellow banner on my VirtualMin page which reads "Virtualmin's configuration has not been checked since it was last updated. Click the button below to verify it now.". When i click that, it performs a set of tests which end at "The system does not use init.d-style boot actions" adn it aborts. I can't get rid of that yellow message. I've done *nothing* except upgrade via the webmin/virtualmin upgrade screen each time I noticed new modules/versions available, and this has been perfect for well over a year now having done this dozens of times.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just upgraded webmin from v1.550 to v1.560 on my ubuntu 10.04.2 server… After the upgrade webmin will no longer start at boot… I have tried setting the option on the webmin configuration page, and on System / Bootup and Shutdown page… But the change never takes place… Can anyone tell me how to set webmin to start on boot with the command line…? Or does anyone know if there is a problem with the new v1.560 of webmin that is preventing it from starting at boot time…? I have never had any issues with all the previous versions of webmin. I don't remember what the 1st version I started using was, but I have updated it with every new version from with webmin, and have never had any issues until now…
I have the same problem, as have others. It seems to be a bug regarding upstart. I'm keeping my eye on the webmin/virtualmin forums, eg https://www.virtualmin.com/node/19092
regards,
Steven
Thanks for the info… I hope it gets fixed soon…
Hi.
i also experinced this problem with 1.550. i noticed that the upstart script was different from the 1.540 version, so i downloaded the older one and then upgraded. works fine now.
you could paste this into your webmin upstart script, found under system -> bootup and shutdown
#!/bin/sh
# Start/stop Webmin
case "$1" in
'start')
/etc/webmin/start >/dev/null 2>&1 </dev/null
RETVAL=$?
;;
'stop')
/etc/webmin/stop
RETVAL=$?
;;
'status')
pidfile=`grep "^pidfile=" /etc/webmin/miniserv.conf | sed -e 's/pidfile=//g'`
if ; then
pid=`cat $pidfile`
kill -0 $pid >/dev/null 2>&1
if ; then
echo "webmin (pid $pid) is running"
RETVAL=0
else
echo "webmin is stopped"
RETVAL=1
fi
else
echo "webmin is stopped"
RETVAL=1
fi
;;
'restart')
/etc/webmin/stop ; /etc/webmin/start
RETVAL=$?
;;
*)
echo "Usage: $0 { start | stop }"
RETVAL=1
;;
esac
exit $RETVAL
best regards
I fixed this by putting this in terminal
Thanks for the replies everyone… I fixed it also by using the "update-rd.d webmin defaults" trick…
Thank a lot. The solution of "update-rc.d webmin defaults" worked perfectly.
You're my hero :D
mine too.
Nothing much coming out of maison webmin so I'll just have to be more careful before upgrading webmin next time.
I'll agree with previous post, I'll be more careful next webmin upgrade. I also posted on an other thread:
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3387764&group_id=17457
But nothing interesting there just closed. For the moment I have 62 webmin servers running and I'll leave them on webmin version 1.530.
+1
I was about to post this, and had I done so the wording & version numbers would have been identical. We can't be alone. Anyone else please?
I also have the problem where, since this upgrade, I have a large yellow banner on my VirtualMin page which reads "Virtualmin's configuration has not been checked since it was last updated. Click the button below to verify it now.". When i click that, it performs a set of tests which end at "The system does not use init.d-style boot actions" adn it aborts. I can't get rid of that yellow message. I've done *nothing* except upgrade via the webmin/virtualmin upgrade screen each time I noticed new modules/versions available, and this has been perfect for well over a year now having done this dozens of times.