[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#516031: Missing APACHE_LYNX in /etc/apache2/envvars

On Wednesday 18 February 2009, Michael Weber wrote:
> there is no APACHE_LYNX in /etc/apache2/envvars, thus apache2ctl
> staus fails with:
> huygens:/etc/apache2# /usr/sbin/apache2ctl status
> /usr/sbin/apache2ctl: line 116: www-browser: command not found

apache2ctl should be able to use anything that provides
/usr/bin/www-browser. Something is wrong with your alternatives
setup. It should be like this:

$ ls -l /usr/bin/www-browser
lrwxrwxrwx 1 root root 29 Aug 17  2005 /usr/bin/www-browser -> /etc/alternatives/www-browser

$ ls -l /etc/alternatives/www-browser
lrwxrwxrwx 1 root root 17 Feb  3 23:15 /etc/alternatives/www-browser -> /usr/bin/lynx.cur

You can try
update-alternatives --config www-browser

If lynx reproducibly does not set up that link correctly during
installation, then this is a bug in lynx.

Reply to: