ispconfig not generating log file

Discussion in 'General' started by psychop, Dec 23, 2011.

  1. psychop

    psychop New Member

    Have a lot of sites in my ispconfig, but only one is not working with awstats. Awstats conf file for site is created, but ISPC is not generating web.log file for this site.

    Checked Vhosts_ispconfig.conf and in here all is written same as for other sites. Are there any other conf files, or where can I check why is web.log not generated for this site?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    The log is written only if the site is accessed. When you visit the site, the log should be created.
     
  3. psychop

    psychop New Member

    This site is online now for almost 2 months and still no log file. Double checked all other sites and all working ok. So only one site does not have web.log only error.log file. Is there any other log file I could check and find error why this is not generated?

    Tnx all.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in the error log? What are the permissions of the log directory?
     
  5. psychop

    psychop New Member

    Error.log is empty. Permission are set to 775.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Can you post the output of
    Code:
    ls -la
    from inside the log directory?
     
  7. psychop

    psychop New Member

    drwxr-xr-x 2 web19_aljosa root 4096 Dec 5 17:07 .
    drwxr-xr-x 8 web19_aljosa root 4096 Dec 21 19:09 ..
    -r-------- 1 root root 0 Nov 10 22:06 .no_delete
    -rwxrwxrwx 1 web19_aljosa web19 5899 Jan 6 08:51 error.log

    this is it.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    There's no access log... :confused:

    What's the output of
    Code:
    ls -la /var/log/
    ?
     
  9. psychop

    psychop New Member

    total 496944
    drwxr-xr-x 14 root root 20480 Jan 13 11:14 .
    drwxr-xr-x 16 root root 4096 Mar 29 2010 ..
    drwxr-xr-x 2 root root 4096 Mar 29 2010 ConsoleKit
    -rw-r----- 1 root root 0 Nov 2 2009 NetworkManager
    drwx------ 2 root root 4096 Jul 8 2010 YaST2
    -rw-r----- 1 root root 3647 Dec 2 17:02 acpid
    drwxr-x--- 2 root root 4096 Dec 30 15:00 apache2
    drwx------ 5 root root 4096 Nov 2 2009 apparmor
    drwx------ 2 root root 4096 Mar 29 2010 audit
    -rw-r----- 1 root root 0 Nov 2 2009 boot.log
    -rw-r--r-- 1 root root 35087 Dec 2 17:02 boot.msg
    -rw-r--r-- 1 root root 43924 Dec 2 17:01 boot.omsg
    drwxr-xr-x 2 lp lp 4096 Dec 25 2010 cups
    -rw------- 1 root root 480072 Oct 15 2010 faillog
    -rw-r----- 1 root root 0 Nov 2 2009 firewall
    drwxr-xr-x 2 root root 4096 Jan 13 00:30 httpd
    -rw-r--r-- 1 root root 25587 May 18 2010 ispconfig_install.log
    drwx------ 2 root root 4096 Mar 24 2010 krb5
    -rw-r--r-- 1 root tty 5840876 Jan 13 11:12 lastlog
    -rw-r--r-- 1 root root 2212 Mar 29 2010 localmessages
    -rw-r----- 1 root root 475888 Jan 13 11:07 mail
    -rw-r----- 1 root root 348558 Jan 13 11:07 mail.info
    -rw-r----- 1 root root 128964 Dec 16 15:00 mail.info-20111216.bz2
    -rw-r----- 1 root root 101104 Dec 26 15:00 mail.info-20111226.bz2
    -rw-r----- 1 root root 66593 Dec 29 15:00 mail.info-20111229.bz2
    drw-rw---- 2 root root 4096 Dec 3 15:00 mysql
    drwxr-x--- 2 news news 4096 Nov 2 2009 news
    -rw-rw-rw- 1 root root 477343914 Jan 13 11:14 nscd.log
    -rw-r--r-- 1 root root 0 Nov 2 2009 ntp
    drwxr-x--- 3 root root 4096 Nov 2 15:00 samba
    -rw-r--r-- 1 root root 14560 Nov 12 14:37 scpm
    -rw-rw-r-- 1 root tty 203136 Jan 13 11:12 wtmp
    -rw-rw-r-- 1 root tty 9085 May 23 2011 wtmp-20110523.bz2
    -rw-rw-r-- 1 root tty 10495 Nov 28 15:00 wtmp-20111128.bz2
    -rw-r--r-- 1 root root 27780232 Jan 13 11:11 xferlog
    drwxr-xr-x 2 root root 4096 Dec 28 2010 zypp
    -rw-r----- 1 root root 2072657 Jan 2 20:26 zypper.log
     
  10. falko

    falko Super Moderator ISPConfig Developer

    Can you post the outputs of
    Code:
    ls -la /var/log/apache2/
    and
    Code:
    ls -la /var/log/httpd/
    ?
     

Share This Page