We help IT Professionals succeed at work.

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

solunatec
solunatec asked
on
362 Views
Last Modified: 2013-12-16
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?
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2007

Commented:
what do you get when you run

echo $LOCALBASE

Author

Commented:
#LOCALBASE: Undefined variable.

is what I get...
CERTIFIED EXPERT
Top Expert 2007

Commented:
from  where are you getting this variable?

Author

Commented:
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...
CERTIFIED EXPERT
Top Expert 2007
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I am not sure what you mean? / is root ... ?set how

Author

Commented:
if $ is  a prompt and if I then write

#echo LOCALBASE          / i get
LOCALBASE

Author

Commented:
all set $ is a prompt; wrote out LOCALBASE/usr/local/lib...etc. and it went..thanks
CERTIFIED EXPERT
Top Expert 2007

Commented:
Welcome :)

Author

Commented:
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
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.