Solved

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

Posted on 2009-04-03
10
327 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
  • 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
 

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 500 total points
ID: 24064294
I could guess that it should be set to /
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now