Univention Bugzilla – Bug 38797
Missing dependency on "www-browser"
Last modified: 2018-08-06 18:53:35 CEST
Jenkins regression: <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-2/job/Autotest%20MultiEnv/SambaVersion=s3,Systemrolle=master/lastCompletedBuild/testReport/01_base/99check_log_files/test/> > [2015-06-29 18:17:38.996722]Errors found in '/var/log/univention/updater.log': > [2015-06-29 18:17:38.996801] E: updater.log:1726, 'www-browser -dump http://localhost:80/server-status' failed. > [2015-06-29 18:17:38.996846] E: updater.log:2126, 'www-browser -dump http://localhost:80/server-status' failed. > # grep -B5 -A1 www-browser /var/log/univention/updater.log > Unpacking replacement univention-system-setup-boot ... > Setting apache2/startsite > File: /etc/apache2/sites-available/default > Unsetting system/setup/prev/apache2/startsite > Reloading web server config: apache2. > /usr/sbin/apache2ctl: 99: /usr/sbin/apache2ctl: 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 This is caused by "/usr/sbin/apachectl" from "apache2.2-common" using "www-browser": 71 LYNX="${APACHE_LYNX:-www-browser -dump}" The package declares a "suggests" on the virtual package "www-browser". Strangely previous "reloads" worked. Maybe this is related to the fact that this is the first time apache is running: >$ egrep -n 'Reloading web server config|www-browser|elinks|w3m|lynx|firefox' /tmp/updater.log >56:Reloading web server config: apache2 not running. >345: firefox-en libcairo2 libfreetype6 libx11-6 libx11-data libx11-xcb1 libxext6 >365:Inst firefox-en [1:31.5.0esr-3.51.201503041210] (1:31.6.0esr-3.54.201504131853 Univention:testing.software-univention.de [amd64]) >389:Conf firefox-en (1:31.6.0esr-3.54.201504131853 Univention:testing.software-univention.de [amd64]) 444: firefox-en libcairo2 libfreetype6 libx11-6 libx11-data libx11-xcb1 libxext6 >466:Get:13 http://testing.software-univention.de/4.0/maintained/ 4.0-2/amd64/ firefox-en 1:31.6.0esr-3.54.201504131853 [40.8 MB] >505:Preparing to replace firefox-en 1:31.5.0esr-3.51.201503041210 (using .../firefox-en_1%3a31.6.0esr-3.54.201504131853_amd64.deb) ... >506:Unpacking replacement firefox-en ... >530:Reloading web server config: apache2 not running. >567:Setting up firefox-en (1:31.6.0esr-3.54.201504131853) ... >878:Get:1 Downloading firefox-de 1:31.6.0esr-3.58.201504131849 [40.5 MB] >880:Get:1 Downloading firefox-en 1:31.6.0esr-3.54.201504131853 [40.8 MB] >1049:Reloading web server config: apache2 not running. >1355:Reloading web server config: apache2 not running. >1707:Reloading web server config: apache2. >1708:/usr/sbin/apache2ctl: 99: /usr/sbin/apache2ctl: www-browser: not found >1709:'www-browser -dump http://localhost:80/server-status' failed. >1710:Maybe you need to install a package providing www-browser or you >2107:Reloading web server config: apache2. >2108:/usr/sbin/apache2ctl: 99: /usr/sbin/apache2ctl: www-browser: not found >2109:'www-browser -dump http://localhost:80/server-status' failed. >2110:Maybe you need to install a package providing www-browser or you
Until resolved - revert as needed: r61572 | Bug #38797 test: 01/99_check_log_files: Ignore apachectrl reload r61574 | Bug #38797 test: Fix ucslint issues Package: ucs-test Version: 5.0.148-30.1071.201506301315 Branch: ucs_4.0-0 Scope: errata4.0-2
It seems Bug #41781 needs to fix this. *** This bug has been marked as a duplicate of bug 41781 ***
Also seen in Univention maintained Apps "Etherpad" and "Dudle" during logrotate: /etc/cron.daily/logrotate: /usr/sbin/apache2ctl: 99: /usr/sbin/apache2ctl: 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 Host: UCS-4.3-1 Etherpad: 1.6.0 Dudle: 1.2.0-1