Date: Tue, 17 Feb 1998 19:57:49 -0800 (PST) From: Shawn Ramsey <shawn@luke.cpl.net> To: Zach Bagnall <zachb@ihug.co.nz> Cc: hwg-servers@hwg.org, questions@FreeBSD.ORG Subject: Re: FreeBSD not executing executables Message-ID: <Pine.BSF.3.95.980217195625.1250A-100000@luke.cpl.net> In-Reply-To: <3.0.5.32.19980218143035.007a8a60@pop.ihug.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
> I have managed to install mSQL (as far as I can tell - the make, > make test, make install process worked fine), and Apache (again, > as far as I can tell). But when I come to run them, FreeBSD > gives me an 'Command not found' error. I am logged in as root and a > ls -F shows the file httpd to be executable but when I type httpd > I get 'httpd: Command not found.'. The same happens for msql, > msqladmin, msqldump, etc. > > I am new to unix but this has me at a dead end; the files are > executable, so why don't they execute? Because your current directory is not in your path. Try putting the full path such as /whatever/httpd or in the current directory ./filename-to-execute. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980217195625.1250A-100000>