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: lynx: not found - /usr/sbin/apachectl: line 97: lynx: command not found - lynx not found - lynx: not found - lynx: not found - /usr/sbin/apache2ctl: line 116: www-browser: command not found - http://www.24running.com/activate.php? - ./apachectl[79]: lynx: not found - apachectl status lynx not found - ../bin/apachectl: lynx: not found - lynx help not found - apachectl status lynx - lynx command to take apache server status - lynx command not found - apachectl status link - Apache ./apachectl[94]: lynx: not found. - how to check apachectl status - ./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 - /usr/sbin/apachectl: line 106: lynx: command not found - ./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 - apachectl[2]: lynx: not found. - apachectl status not working - apachectl* status - apachectl lynx - download apachectl file - lynx apachectl - lynx command not fount -