Anacron error

Discussion in 'Server Operation' started by primal23, Oct 5, 2009.

  1. primal23

    primal23 New Member

    /etc/cron.daily/logrotate:
    [Sun Oct 04 07:43:44 2009] [warn] NameVirtualHost XXX.XXX.XXX.XXX:80 has no VirtualHosts
    [Sun Oct 04 07:43:44 2009] [warn] NameVirtualHost xxx.xxx.xxx.xxx:443 has no VirtualHosts

    results of apache2 -t
    apache2: bad user name ${APACHE_RUN_USER}

    Its not mission critical, everything runs fine, would just like to get rid of minor errors.
    Is it just a simple editing of the user name in apache2.conf?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Try this:
    Code:
    . /etc/apache2/envvars && apache2 -t
     

Share This Page