problem with the stats

Discussion in 'General' started by Ovidiu, Nov 10, 2009.

  1. Ovidiu

    Ovidiu Active Member

    currently one of my clients is getting a 500 server error when trying to access his stats.

    I checked the logfiles and found this:

    [Tue Nov 10 16:17:55 2009] [error] [client 198.54.***.***] (2)No such file or directory: Could not open password file: /var/www/clients/clientXX/webXX/.htpasswd_stats

    I set up a password in the stats tab from within ispcfg3 so why would the .htpasswd file not be written?

    how to regerenate this?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /var/www/clients/clientXX/webXX/
    ?
     
  3. Ovidiu

    Ovidiu Active Member

    Code:
    h1550830:/var/www/knightsenglish.com/web# ls -al /var/www/clients/clientXX/webXX/
    total 28
    drwxr-xr-x 6 root  root    4096 2009-11-10 16:09 .
    drwxr-xr-x 5 root  root    4096 2009-11-08 19:10 ..
    drwxr-xr-x 2 webXX clientXX 4096 2009-08-16 14:16 cgi-bin
    -rw-rw-r-- 1 root  root      40 2009-11-10 16:09 .htpasswd_stats
    lrwxrwxrwx 1 webXX clientXX   43 2009-08-16 14:16 log -> /var/log/ispconfig/httpd/quilombobrasil.com
    drwxr-xr-x 2 webXX clientXX 4096 2009-08-16 14:16 ssl
    drwxrwxrwx 2 webXX clientXX 4096 2009-08-16 14:16 tmp
    drwxr-xr-x 7 webXX clientXX 4096 2009-11-08 00:47 web
    h1550830:/var/www/knightsenglish.com/web#
    
    edited the XX but they do correspond...
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please compare the permissions of the .htpasswd_stats and the directory /var/www/clients/clientXX/webXX/ directory with a working site on your server.
     
  5. Ovidiu

    Ovidiu Active Member

    I haven't got a working one. never used that feature. what should the permissions be? i.e. in this case and then I'll figure out the rest on my own.

    thanks :)
     

Share This Page