HELP! is a bug or what??

Discussion in 'Installation/Configuration' started by dloopsrl, Sep 19, 2006.

  1. dloopsrl

    dloopsrl New Member

    hello, stats not works
    when i create a domain and i use them ispconfig not create me the log file(web.log) in /var/www/webx/log/web.log

    i think that this is the cause why stats not work.
     
  2. fobicodam

    fobicodam New Member

    Its copied around 2 o 3 am, did you wait? try to restart the crond deamon.
     
  3. dloopsrl

    dloopsrl New Member

    Its copied around 2 o 3 am, did you wait? try to restart the crond deamon.

    I wait 48hs.
    I restart crond daemon
    I try exec all crontab and nothing

    stats not works

    files are not create in any sites.
     
  4. Ben

    Ben Active Member Moderator

    Are you using 2.2.6? I have the same error, but did not really care about because I'm waiting for having enought time on thinking about integration of awstats..
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you get an error when you execute:

     
  6. dloopsrl

    dloopsrl New Member

    No, i not have any error

    No, i not have any error when i exec /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php

    /var/www/webx/log/web.log is not created.

    any idea? thx
     
  7. fobicodam

    fobicodam New Member

    How long is the apache log file? is it bigger than 2Gb ?
     
  8. dloopsrl

    dloopsrl New Member

    re: How long is the apache log file? is it bigger than 2Gb?

    How long is the apache log file? is it bigger than 2Gb?

    no, i have only 3 domains.
     
  9. fobicodam

    fobicodam New Member

    Is the log file where ISP says it is ? check your Administrator/Configuration/http/log file option inside your ISPConfig.

    Did you check your log size? i have some domains where each log file is about 4 o 5 gb, and they are not too big sites..
     
  10. dloopsrl

    dloopsrl New Member

    /var/log/httpd/ispconfig_access_log is perfect.
    It has only 10 k :)
     
  11. Ben

    Ben Active Member Moderator

    Well the log in /var/log/http/ispconfig.log is fine.

    in /home/www/webx/log/web.log exists with content.

    But if I access www.domain.tld/stats/ I get an 404 error
     
    Last edited: Sep 20, 2006
  12. dloopsrl

    dloopsrl New Member

    re: in /home/www/webx/log/web.log exists with content.

    in /home/www/webx/log/web.log exists with content.


    no, when i add a site /var/www/webx/log/ i havent got anything.
    web.log not exist.
     
  13. Ben

    Ben Active Member Moderator

    But if you add it you have to wait 24h for the cronjob to start, if I remember that right from the manual...
     
  14. dloopsrl

    dloopsrl New Member

    re: But if you add it you have to wait 24h for the cronjob to start, if I remember th

    i wait 48 hs. and i try exec cronjob manually. But web.log is not created
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    The logfile is only created if someone accessed this website.
     
  16. dloopsrl

    dloopsrl New Member

    re: The logfile is only created if someone accessed this website.

    Now appear web.log. The trafic is working, but ftp traffip appear in web traffic.
    when i put a file by ftp acums all in web traffic and fto is 0.
    i try exec crontab again but nothing. Wich is the problem?
    THX
     
  17. falko

    falko Super Moderator Howtoforge Staff

    Make sure that ISPConfig uses the correct FTP log file in Management -> Server -> Settings.

    Also make sure you really uploaded your file using FTP. Are you sure you didn't upload it through some sort of web interface?
     
  18. Turophile

    Turophile New Member

    Calling some the PHP binary in the ISPConfig setup vs. calling the system one is generally a really bad idea...

    find your php file with:
    # locate php

    Then set that up in your cronjob.

    EG: Gentoo's is /usr/bin/php
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    I recommend to not use the system php as this is not nescessrily compatible with the ISPConfig scripts.
     

Share This Page