1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

AWstats on Suse10.2 Strato Server

Discussion in 'Plesk for Linux - 8.x and Older' started by singler421, Oct 10, 2007.

  1. singler421

    singler421 Guest

    0
     
    My Data
    Strato Server
    Version : psa v8.2.1_build82070918.10 os_SuSE 10.2
    OS : Linux 2.6.18.8-0.5-default

    Last Weekend i updatet to Plesk 8.2.1
    since this time i can not use AWstats, statistic will not be created within more than 24 hours.

    so i first read here in forum what can i do. but nothing shows effect.
    i tried first by putty
    /usr/local/psa/admin/sbin/statistics >/dev/null 2>&1
    nothing happens

    second test
    /usr/local/psa/admin/sbin/statistics
    a long error list appears in putty

    has someone a good ideea to manage this problem

    thaks a lot
     
  2. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    can you post your errors?
     
  3. singler421

    singler421 Guest

    0
     
    thanks for the interest, here the Error lines from putty.
    There are 4 domains on the server and i changed 3 to webalizer and there is function ok, only the cron job to actualise is manual to be written i think

    the error log is from the domain i changed for the test to awstats

    Thanks Thilo

    /usr/local/psa/admin/sbin/statistics
    Error: Couldn't open config file "awstats.bottich.com-http.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats": N
    o such file or directory

    - Did you use correct config parameter ?
    Example: If your config file is awstats.mysite.conf, use -config=mysite
    - Did you create your config file 'awstats.bottich.com-http.conf' ?
    If not, you can run "awstats_configure.pl"
    from command line, or create it manually.

    Check config file, permissions and AWStats documentation (in 'docs' directory).
    Error: Couldn't open config file "awstats.bottich.com-http.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats": N
    o such file or directory.
    statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -c
    onfigdir=/usr/local/psa/etc/awstats -config=bottich.com-http -dir=/srv/www/vhosts/bottich.com/statistics/webstat/

    System error 17: File exists
    statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -c
    onfigdir=/usr/local/psa/etc/awstats -config=bottich.com-http -dir=/srv/www/vhosts/bottich.com/statistics/webstat/

    System error 17: File exists
    Error: Couldn't open config file "awstats.bottich.com-https.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats":
    No such file or directory

    - Did you use correct config parameter ?
    Example: If your config file is awstats.mysite.conf, use -config=mysite
    - Did you create your config file 'awstats.bottich.com-https.conf' ?
    If not, you can run "awstats_configure.pl"
    from command line, or create it manually.

    Check config file, permissions and AWStats documentation (in 'docs' directory).
    Error: Couldn't open config file "awstats.bottich.com-https.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats":
    No such file or directory.
    statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -c
    onfigdir=/usr/local/psa/etc/awstats -config=bottich.com-https -dir=/srv/www/vhosts/bottich.com/statistics/webstat-ssl/

    System error 17: File exists
    statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -c
    onfigdir=/usr/local/psa/etc/awstats -config=bottich.com-https -dir=/srv/www/vhosts/bottich.com/statistics/webstat-ssl/

    System error 17: File exists
    Error: Couldn't open config file "awstats.bottich.com-anon_ftp.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats
    ": No such file or directory

    - Did you use correct config parameter ?
    Example: If your config file is awstats.mysite.conf, use -config=mysite
    - Did you create your config file 'awstats.bottich.com-anon_ftp.conf' ?
    If not, you can run "awstats_configure.pl"
    from command line, or create it manually.

    Check config file, permissions and AWStats documentation (in 'docs' directory).
    Error: Couldn't open config file "awstats.bottich.com-anon_ftp.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats
    ": No such file or directory.
    statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -c
    onfigdir=/usr/local/psa/etc/awstats -config=bottich.com-anon_ftp -dir=/srv/www/vhosts/bottich.com/statistics/anon_ftpstat/

    System error 2: No such file or directory
    statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -c
    onfigdir=/usr/local/psa/etc/awstats -config=bottich.com-anon_ftp -dir=/srv/www/vhosts/bottich.com/statistics/anon_ftpstat/

    System error 2: No such file or directory
    Error: Couldn't open config file "awstats.bottich.com-ftp.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats": No
    such file or directory

    - Did you use correct config parameter ?
    Example: If your config file is awstats.mysite.conf, use -config=mysite
    - Did you create your config file 'awstats.bottich.com-ftp.conf' ?
    If not, you can run "awstats_configure.pl"
    from command line, or create it manually.

    Check config file, permissions and AWStats documentation (in 'docs' directory).
    Error: Couldn't open config file "awstats.bottich.com-ftp.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats": No
    such file or directory.
    statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -c
    onfigdir=/usr/local/psa/etc/awstats -config=bottich.com-ftp -dir=/srv/www/vhosts/bottich.com/statistics/ftpstat/

    System error 17: File exists
    statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -c
    onfigdir=/usr/local/psa/etc/awstats -config=bottich.com-ftp -dir=/srv/www/vhosts/bottich.com/statistics/ftpstat/

    System error 17: File exists
     
  4. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    run this
    Code:
    grep -i 'awstats' /etc/psa/psa.conf
    
    For me on RHEL4 using Plesk 8.2.1 mine is
    Code:
    # AWStats
    AWSTATS_ETC_D /etc/awstats
    AWSTATS_TOOLS_D /usr/share/awstats/tools
    AWSTATS_DOC_D /var/www/html/awstats
    AWSTATS_BIN_D   /usr/share/awstats/wwwroot/cgi-bin
    
    make sure your paths are set properly

    Also, make sure you have /usr/local/psa/etc/awstats/ directory. it is looking there for your config files and you should have it. if you dont, create it and run the statistics again
     
  5. singler421

    singler421 Guest

    0
     
    Thanks a lot
    but no function

    the grep comand works fine
    AWstat answer is correct i think
    directory is ok :mad: but no config inside

    code:
    Error: Couldn't open config file "awstats.sps-cnc.de-http.conf" nor "awstats.con
    f" after searching in path "/usr/local/psa/etc/awstats": No such file or directo
    ry

    - Did you use correct config parameter ?
    Example: If your config file is awstats.mysite.conf, use -config=mysite
    - Did you create your config file 'awstats.sps-cnc.de-http.conf' ?
    If not, you can run "awstats_configure.pl"
    from command line, or create it manually.
    end code:

    so i serched the awstats_configure.pl but i didnt find this file, only 3 conf files to edit :confused:
    i read them and now i'll think i have to make a break and have a kitkat or something else ;) to find out what i have to write in config files amd where with wich name i have to put them.

    Last Plesk version i had nothing to do with such things it was automaticcally

    Thanks a lot Thilo
     
  6. tiramisu

    tiramisu Guest

    0
     
    it became a more complicated issue...
    probably better to contact support team of SWsoft
     
  7. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    its looking for awstats.bottich.com-http.conf (among others) so find that first.

    Code:
    updatedb
    locate awstats.bottich.com-http.conf
    
    Then see where it exists.

    You may have to sym link the directory is plesk is looking for to the directory in which the confs reside if different.

    If they dont exist at all, then you got other problems.
     
Loading...