Solved

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

Posted on 2009-04-03
10
330 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

792 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