Link to home
Start Free TrialLog in
Avatar of solunatec
solunatec

asked on

just loaded webmin; setup.sh on path dont recognize variable

I just makeinstallclean from ports to webmin; final instructions include to run startup with command that starts with a variable;

${LOCALBASE}/lib/webmin/setup.sh
and also
${LOCALBASE}/etc/rc.d/webmin

actually I have webmin/setup.sh under
/usr/local/lib/webmin/setup.sh but nothing happens
what is that variable ; what am I doing wrong?
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

what do you get when you run

echo $LOCALBASE
Avatar of solunatec
solunatec

ASKER

#LOCALBASE: Undefined variable.

is what I get...
from  where are you getting this variable?
well when I added the package ...

#make install clean...

it did its thing and right before it 'cleans' , ends the installation, it gives you a few last insctruction ; like add mywebmin_enable to etc/hosts...the other two directions were...
to run ${LOCALBASE}/lib/webmin/setup.sh
and
to start webmin to run
${LOCALBASE}/etc/rc.d/webmin
which I did both but nothing happens...
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am not sure what you mean? / is root ... ?set how
if $ is  a prompt and if I then write

#echo LOCALBASE          / i get
LOCALBASE
all set $ is a prompt; wrote out LOCALBASE/usr/local/lib...etc. and it went..thanks
Welcome :)
actaully if anyone is having problems : I had to reinstall again...I rebooted and just got rid of "LOCALBASE" ; my files were on a different path than the ones stated by the webmin install comments at the end; so  #find / -name webmin  ... so I could see where they really were and then just write out the real path to the files /setup.sh and
.../rc.d/webmin start