--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apache2.2-common: Spurious warning "NameVirtualHost *:80 has no VirtualHosts" in cron/logrotate output
- From: Vincent Lefevre <vincent@vinc17.net>
- Date: Mon, 12 Mar 2012 01:45:12 +0100
- Message-id: <20120312004512.GA8708@xvii.vinc17.org>
Package: apache2.2-common
Version: 2.2.22-1
Severity: minor
In the last cron output, I got:
/etc/cron.daily/logrotate:
[Sun Mar 11 05:00:44 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
I suppose that it comes from /etc/logrotate.d/apache2, which contains
in my case:
/var/log/apache2/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
/etc/init.d/apache2 reload > /dev/null
endscript
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
run-parts /etc/logrotate.d/httpd-prerotate; \
fi; \
endscript
}
If I run "/etc/init.d/apache2 reload" manually as root:
xvii:/home/vinc17# /etc/init.d/apache2 reload
Reloading web server config: apache2.
and nothing particuliar in the logs. So, everything seems fine.
/etc/apache2/sites-enabled/000-default contains:
<VirtualHost *:80>
[...]
</VirtualHost>
I don't see why I got the above message in cron/logrotate output,
except in case of bug in the reload logic.
-- Package-specific info:
List of /etc/apache2/mods-enabled/*.load:
alias auth_basic authn_file authz_default authz_groupfile
authz_host authz_user autoindex cgi cgid dav dav_svn deflate dir
env mime negotiation perl reqtimeout rewrite setenvif ssl status
userdir
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apache2.2-common depends on:
ii apache2-utils 2.2.22-1
ii apache2.2-bin 2.2.22-1
ii lsb-base 3.2+Debian31
ii mime-support 3.52-1
ii perl 5.14.2-9
ii procps 1:3.3.2-3
Versions of packages apache2.2-common recommends:
ii ssl-cert 1.0.28
Versions of packages apache2.2-common suggests:
ii apache2-doc 2.2.22-1
ii apache2-suexec | apache2-suexec-custom <none>
ii chromium [www-browser] 17.0.963.78~r125577-1
ii elinks [www-browser] 0.12~pre5-7
ii epiphany-browser [www-browser] 3.2.1-2
ii iceweasel [www-browser] 10.0.2-1
ii links [www-browser] 2.5-1
ii links2 [www-browser] 2.5-1
ii lynx-cur [www-browser] 2.8.8dev.12-1
ii midori [www-browser] 0.4.3-1
ii uzbl [www-browser] 0.0.0~git.20111128-2
ii w3m [www-browser] 0.5.3-5
Versions of packages apache2.2-common is related to:
ii apache2-mpm-event <none>
ii apache2-mpm-itk <none>
ii apache2-mpm-prefork <none>
ii apache2-mpm-worker 2.2.22-1
-- Configuration Files:
/etc/apache2/mods-available/userdir.conf changed:
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
AllowOverride All
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
</IfModule>
-- no debconf information
--- End Message ---
--- Begin Message ---
Hello,
Our partners referred your company to us. Regarding your great products.
Please see required products, quantity and specifications as attached.
Kindly give us your lowest possible prices for FCL shipment.
Best Regards,
Wanda Rodriguez
Purchase Assistant
Hidroconta Trading Ltd.
Av. de Sta. Catalina,
60, 30012 Murcia, Spain
Phone: +34 968 26 77 66
Fax: +34 968 26 77 06
--- End Message ---