ISPconfig 3, vlogger issue

Discussion in 'Installation/Configuration' started by Justin Albstmeijer, Jul 9, 2008.

  1. Using Ubuntu 7.10, vlogger 1.3-3

    Vlogger is not creating any website access logs.

    error in apache error log:
    can't open /var/log/ispconfig/httpd/www.somesite.com/07092008-access.log at /usr/sbin/vlogger line 428, <STDIN> line 1.
    piped log program ' /usr/sbin/vlogger -s access.log /var/log/ispconfig/httpd' failed unexpectedly

    # ls ls /var/log/ispconfig/httpd/www.somesite.com/
    error.log

    touching /var/log/ispconfig/httpd/www.somesite.com/07092008-access.log does not help either..

    Any idea?
     
  2. it looks like vlogger breaks on symlinked directories

    #ls -al /var/log/ispconfig/httpd/www.somesite.com
    lrwxrwxrwx 1 root root 29 Jul 8 20:28 /var/log/ispconfig/httpd/www.somesite.com -> /var/clients/client0/web5/log

    replacing the link /var/log/ispconfig/httpd/www.somesite.com to a normal folder makes vlogger work.

    As vlogger runs as root, it's not permission problem.

    I'll report the bug on the bugtracker..

    is it a vlogger bug? a vlogger security measure? I suppose ispconfig will have to work around it.
     
  3. hmm these lines in the vlogger code seem to explain the symlink issue

    # chroot to the logdir
    chdir($LOGDIR);
    chroot(".");
     

Share This Page