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.
See Apache
Leave a Reply