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.

New Articles

Incoming Search Terms for the Article

apachectl status - apache lynx - ./apachectl: lynx: not found - lynx: command not found - apachectl: lynx: not found - apachectl status lynx: not found - /usr/sbin/apachectl: line 97: lynx: command not found - ./apachectl[79]: lynx: not found - apachectl lynx - apachectl lynx not found - apachectl status. - how to use apachectl status - status of lynx - lynx not found - /usr/local/apache2/bin/apachectl: line 94: lynx: command not found - /usr/local/apache2/bin/apachectl: lynx: introuvable - apachectl status - ./apachectl: line 94: lynx: command not found - apachectl[228]: lynx: not found. - line 116: www-browser: command not found - apachectl status command not found - apachectl: line 94: lynx: command not found - ports apache lynx - apachectl not found - apachectl status fullstatus - could not find lynx apache - lynx command not found apachectl - lynx apachectl - apachectrl fullstatus command not found - apache lynx: command not found - lynx: command not found - "www-browser: command not found" - apachectl[79]: lynx: not found. - how to map apachectl to lynx - line 94: lynx: command not found - lynx: not found - /usr/local/apache/bin/apachectl: lynx: not found - ./apachectl[79]: lynx: not found. - apachectl[184]: lynx: not found - apachectl links lynx - /usr/local/apache2/apachectl command not found - apachect1 status - host not found apachectl - /usr/sbin/apachectl: line 109: lynx: command not found - /usr/sbin/apache2ctl: line 116: www-browser: command not found - 116: www-browser: command not found - www-browser: command not found - Apache + /usr/local/apache2/bin/apachectl: lynx: not found -