Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 1998 20:48:16 -0700
From:      "Cowan Bowman" <cowan@mirageport.com>
To:        <hwg-servers@hwg.org>, "Zach Bagnall" <zachb@ihug.co.nz>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: FreeBSD not executing executables
Message-ID:  <051b01bd3c20$0bd0df60$235e86cc@hercules.mirageport.com>

next in thread | raw e-mail | index | archive | help
-----Original Message-----
From: Zach Bagnall <zachb@ihug.co.nz>
To: hwg-servers@hwg.org <hwg-servers@hwg.org>
Cc: questions@FreeBSD.ORG <questions@FreeBSD.ORG>
Date: Tuesday, February 17, 1998 8:39 PM
Subject: FreeBSD not executing executables


>Hi all,
>
>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?


Most likely the files are not in your PATH configuration.
Try typing the full path to the executable file /usr/local/bin/httpd for
example.
Or change directory to where the executable is and type ./httpd



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?051b01bd3c20$0bd0df60$235e86cc>