You are not logged in.

#1 2007-07-11 10:43:28

netes
Member
From: Poland
Registered: 2007-02-01
Posts: 10

Webmin start problem

Hi.
I've got a problem with Webmin start:

[xxx@yyy] ~ % sudo /etc/rc.d/webmin start
:: Starting Webmin daemon                                                [FAIL]
/etc/rc.d/webmin: line 10:  7019 Bad instruction     $start > /dev/null 2>&1 < /dev/null
[xxx@yyy] ~ %

My rc.d/webmin:

#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

start=/etc/webmin/start
stop=/etc/webmin/stop
lockfile=/var/lock/webmin

case "$1" in
'start')
     stat_busy "Starting Webmin daemon"
     $start >/dev/null 2>&1 </dev/null
     RETVAL=$?
     if [ "$RETVAL" = "0" ]; then
     touch $lockfile >/dev/null 2>&1
     stat_done
     else
     stat_fail
fi
;;

'stop')
     stat_busy "Stopping Webmin daemon"
     $stop >/dev/null 2>&1 </dev/null
     RETVAL=$?
     if [ "$RETVAL" = "0" ]; then
     rm -f $lockfile
     stat_done
     else
     stat_fail
fi
;;

'restart')
     $stop && $start
     RETVAL=$?
;;
*)
echo "Usage: $0 { start | stop | restart }"
RETVAL=1
;;
esac
exit $RETVAL%

Webmin was installed using pacman.
Any help will be appreciated.

Last edited by netes (2007-07-11 10:44:43)

Offline

#2 2011-09-08 09:26:23

mail4asim
Member
From: Cincinnati, OH
Registered: 2011-09-08
Posts: 1

Re: Webmin start problem

I am having the same issue. Installed webmin  on my Sheevaplug with online pacman instructions and it fails to start and there is no log file to show what's going wrong.

Offline

#3 2011-09-08 13:09:11

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Webmin start problem

Hello mail4asim, welcome to the forums. Necro-bumping is against the forum rules. Please start a new thread about your issue and also read: https://wiki.archlinux.org/index.php/Forum_Etiquette
Thanks. Closing this thread.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB