Koozali.org: home of the SME Server

command not found when running "config"

mebo

command not found when running "config"
« on: August 14, 2004, 02:05:09 AM »
Probably a noobie quesiton, but....

I'm trying to run:

/sbin/e-smith/config setprop mysqld LocalNetworkingOnly no

but I get a "bash: config: command not found" response.

Logged on as root and in the /sbin/e-smith dir.

Help please.

Offline smeghead

  • *
  • 563
  • +0/-0
command not found when running "config"
« Reply #1 on: August 15, 2004, 11:30:31 PM »
yay, I get an easy one to answer :-)

Unlike DOS, Linux/Unix does not automatically search in its current directory when given a command to execute.  Linux requires that the program in question be in the explicit path or be directly referenced, so ...

/sbin/e-smith/config setprop mysqld LocalNetworkingOnly no

will work (tested it on my SME6 box!)  Or ..

cd /sbin/e-smith
./config setprop mysqld LocalNetworkingOnly no

The ./ tells Linux to look in the current directory for the program; the config program is in /sbin/e-smith.

HTH
..................

mebo

command not found when running "config"
« Reply #2 on: August 16, 2004, 09:34:09 PM »
Thanks.

Got it to work fine with the ./ preface.