Solved

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

Posted on 2009-04-03
10
329 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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
 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

809 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