apachectl status www-browser not found

On a Ubuntu server, run i run apachectl status, i get following error.

root@server:~# apachectl status
/usr/sbin/apachectl: 113: /usr/sbin/apachectl: www-browser: not found
'www-browser -dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars
root@server:~#

To fix error, install lynx text based browser.

apt install lynx

After installing lunx, apachectl status started working.

apachectl status

See Apache

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *