?
Solved

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

Posted on 2009-04-03
10
Medium Priority
?
335 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?
0
Comment
Question by:solunatec
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 24062715
what do you get when you run

echo $LOCALBASE
0
 

Author Comment

by:solunatec
ID: 24063999
#LOCALBASE: Undefined variable.

is what I get...
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 24064122
from  where are you getting this variable?
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

Author Comment

by:solunatec
ID: 24064223
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
 
LVL 40

Accepted Solution

by:
omarfarid earned 2000 total points
ID: 24064294
I could guess that it should be set to /
0
 

Author Comment

by:solunatec
ID: 24064971
I am not sure what you mean? / is root ... ?set how
0
 

Author Comment

by:solunatec
ID: 24064982
if $ is  a prompt and if I then write

#echo LOCALBASE          / i get
LOCALBASE
0
 

Author Comment

by:solunatec
ID: 24065083
all set $ is a prompt; wrote out LOCALBASE/usr/local/lib...etc. and it went..thanks
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 24065636
Welcome :)
0
 

Author Comment

by:solunatec
ID: 24112406
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question