[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

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?
0
solunatec
Asked:
solunatec
  • 6
  • 4
1 Solution
 
omarfaridCommented:
what do you get when you run

echo $LOCALBASE
0
 
solunatecAuthor Commented:
#LOCALBASE: Undefined variable.

is what I get...
0
 
omarfaridCommented:
from  where are you getting this variable?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
solunatecAuthor 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...
0
 
omarfaridCommented:
I could guess that it should be set to /
0
 
solunatecAuthor Commented:
I am not sure what you mean? / is root ... ?set how
0
 
solunatecAuthor Commented:
if $ is  a prompt and if I then write

#echo LOCALBASE          / i get
LOCALBASE
0
 
solunatecAuthor Commented:
all set $ is a prompt; wrote out LOCALBASE/usr/local/lib...etc. and it went..thanks
0
 
omarfaridCommented:
Welcome :)
0
 
solunatecAuthor 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
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now