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 - lynx: command not found - /usr/sbin/apache2ctl: line 116: www-browser: command not found - /usr/sbin/apachectl: line 97: lynx: command not found - lynx command not found - ./apachectl[79]: lynx: not found - /usr/sbin/apachectl: line 106: lynx: command not found - lynx not found - apachectl: lynx: not found - apachectl status lynx not found - apache2ctl status - http://www.24running.com/activate.php? - lynx: not found - ../bin/apachectl: lynx: not found - ./apachectl[79]: lynx: not found. - ./apachectl: lynx: not found - apachectl lynx not found - apache2ctl status explained - /usr/sbin/apache2ctl: 124: www-browser: not found - http://www.24running.com/accactivate.php? - http://www.24running.com/activate.php - "www-browser: command not found" +apache2ctl status - apachectl status - line 92: lynx: command not found - line 116: www-browser: command not found - lynx coomand not found apachectl - ./apachectl: lynx : not found - apachectl: line 94: lynx: command not found - get apache status without lynx - lynx page not found - line 92: status: command not found - lynx: not found - apachectl[2]: lynx: not found. - apachectl status not working - apachectl* status - apachectl lynx - download apachectl file - lynx apachectl - lynx command not fount - apachectl lynx: not found - apachectl running - lynx apachectl not found - ./apachectl: line 94: lynx: command not found - apachectl status lynx: not found - /usr/local/apache/bin/apachectl: line 94: lynx: command not found - -bash: apachectl: command not found cpanel - ./apachectl[2]: lynx: not found - apache lynx - lynx: not found - : line 116: www-browser: command not found -