[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 344
  • 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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for 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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

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