Running apachectl status Returns lynx: not found Error

When apachectl is called via any of the following commands:

./apachectl status
./usr/local/sbin/apachectl status

an error is returned as follow:

lynx: not found

What happens is apachectl status calls a web browser (in this case, lynx) to look at a url that may be specified in the configuration file that has some status information. If lynx is not installed, or if lynx is called with a bad path, the error message “lynx: not found” will result.

To solve the problem, adjust the path to lynx in the apachectl file, to wherever the lynx binary is installed, or you can add it to your PATH environment variable. If lynx has been installed and apachectl is configured to call lynx properly, there will not be a status report if apache is not running.


Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

apachectl status - apachectl status error 404 - how to fix 406 error lynx - lynx: command not found - /apachectl: lynx: not found - ./apachectl: lynx: not found - aix apachectl lynx - apachectl: lynx: not found - apachectl: lynx: not found - lynx: not found - ./apachectl[78]: lynx: not found. -