These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Upgrading Webmin / Virtualmin from 1.560 to 1.570, but the service doesn't start anymore on the new forum.
I've got it working! I noticed that the upstart script was different from the older version, so i downloaded the older one and upgraded it.
Problem solved! THX Thomas
The sake of completeness: Here ist the script that i have taken:
#!/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 [ -s $pidfile ]; then
pid=`cat $pidfile`
kill -0 $pid >/dev/null 2>&1
if [ "$?" = "0" ]; 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
Thanks for posting that! Jamie is working on a fix for this issue in future versions of Webmin and Virtualmin.
-Eric