error in logs.php script

Discussion in 'General' started by Salvis, Nov 13, 2006.

  1. Salvis

    Salvis New Member

    When i run
    /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php
    i receiving this:
    How to fix this?
    And why script trying to make logs in V1; FunWebProducts; .NET CLR 1.1.4322 )"' ? Howto fix this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The readlink warnings can be ignored.

    This seems to be some kind of "syntax erroor" in the logfile. Please run the following command on yesterdays logfile in /var/log/httpd/ and post the output here:

    Replace /path/to/the/logfile with the logfile path.
     
  3. Salvis

    Salvis New Member

    you mean access_log ?
    if you mean websites log file, i don't know for with website this is...

     
    Last edited: Nov 13, 2006
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I dont mean the access log. There must be a logfile with yesterdays date in the name.

    This dioes not matter because the logfile contains the data for all websites.
     
  5. Salvis

    Salvis New Member

    there is no filename with yesterdays date...
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    ls -la /var/log/httpd
     
  7. Salvis

    Salvis New Member

    [root@lainux ~]# ls -la /var/log/httpd
    total 849640
    drwx------ 2 root root 4096 Nov 14 12:30 .
    drwxr-xr-x 11 root root 4096 Nov 13 23:59 ..
    -rw-r--r-- 1 root root 0 Nov 13 12:34 access_log
    -rw-r----- 1 root root 0 Jul 2 04:12 audit_log
    -rw-r----- 1 root root 326203 Jun 28 15:11 audit_log.1
    lrwxrwxrwx 1 root root 46 Nov 14 00:00 ispconfig_access_log -> /var/lo g/httpd/ispconfig_access_log_2006_11_14
    lrwxrwxrwx 1 root root 46 Oct 30 19:36 ispconfig_access_log.1 -> /var/ log/httpd/ispconfig_access_log_2006_10_30
    lrwxrwxrwx 1 root root 46 Oct 18 11:46 ispconfig_access_log.2 -> /var/ log/httpd/ispconfig_access_log_2006_10_18
    -rw-r--r-- 1 root root 8058 Apr 15 2006 ispconfig_access_log_2006_04_15
    -rw-r--r-- 1 root root 156809 Apr 16 2006 ispconfig_access_log_2006_04_16
    -rw-r--r-- 1 root root 385836616 Sep 10 23:59 ispconfig_access_log_2006_09_10
    -rw-r--r-- 1 root root 133254404 Sep 24 23:59 ispconfig_access_log_2006_09_24
    -rw-r--r-- 1 root root 250617810 Oct 16 23:59 ispconfig_access_log_2006_10_16
    -rw-r--r-- 1 root root 98520776 Nov 14 16:12 ispconfig_access_log_2006_11_14
    lrwxrwxrwx 1 root root 46 Oct 11 00:00 ispconfig_access_log.3 -> /var/ log/httpd/ispconfig_access_log_2006_10_11
    lrwxrwxrwx 1 root root 46 Sep 24 00:00 ispconfig_access_log.4 -> /var/ log/httpd/ispconfig_access_log_2006_09_24
    lrwxrwxrwx 1 root root 46 Sep 12 20:01 ispconfig_access_log.5 -> /var/ log/httpd/ispconfig_access_log_2006_09_12
    -rw-r--r-- 1 root root 1533 Nov 14 12:35 ssl_access_log
    -rw-r--r-- 1 root root 3103 Oct 30 14:31 ssl_access_log.1
    -rw-r--r-- 1 root root 1481 Oct 17 19:14 ssl_access_log.2
    -rw-r--r-- 1 root root 80798 Oct 9 19:54 ssl_access_log.3
    -rw-r--r-- 1 root root 2101 Sep 22 09:34 ssl_access_log.4
    -rw-r--r-- 1 root root 9985 Nov 14 00:59 ssl_error_log
    -rw-r--r-- 1 root root 28003 Oct 30 19:36 ssl_error_log.1
    -rw-r--r-- 1 root root 6267 Oct 18 11:46 ssl_error_log.2
    -rw-r--r-- 1 root root 108678 Oct 10 22:36 ssl_error_log.3
    -rw-r--r-- 1 root root 5742 Sep 23 21:58 ssl_error_log.4
    -rw-r--r-- 1 root root 1792 Nov 14 12:35 ssl_request_log
    -rw-r--r-- 1 root root 3635 Oct 30 14:31 ssl_request_log.1
    -rw-r--r-- 1 root root 1618 Oct 17 19:14 ssl_request_log.2
    -rw-r--r-- 1 root root 92029 Oct 9 19:54 ssl_request_log.3
    -rw-r--r-- 1 root root 2500 Sep 22 09:34 ssl_request_log.4
    -rw-r--r-- 1 root apache 1766 Nov 10 00:29 suexec.log
    -rw-r--r-- 1 root apache 173 Oct 14 00:49 suexec.log.1
    -rw-r--r-- 1 root apache 358 Sep 27 20:32 suexec.log.2
    -rw-r--r-- 1 root apache 1635 Sep 21 20:21 suexec.log.3
    -rw-r--r-- 1 root apache 692 Aug 27 01:57 suexec.log.4
    [root@lainux ~]#
     
  8. falko

    falko Super Moderator Howtoforge Staff

    I think the correct log file is /var/log/httpd/ispconfig_access_log_2006_11_14.
     

Share This Page