[Pkg-awstats-devel] Bug#580523: awstats: cron job error because of non executable PERL script

Laurent Bonnaud Laurent.Bonnaud at inpg.fr
Thu May 6 15:27:20 UTC 2010


Package: awstats                                                                                                     
Version: 6.9.5~dfsg-1                                                                                                
Severity: normal                                                                                                     
                                                                                                                     

Hi,

every 10 minutes, cron sends me an e-mail with the following contents:

  command failed with exit status 1
  
The problem is:

$ /usr/share/awstats/tools/buildstatic.sh 
/usr/share/awstats/tools/buildstatic.sh: line 25: /usr/share/awstats/tools/awstats_buildstaticpages.pl: Permission denied

Setting the x bit on this file cures the problem.
                                                                                                               
                                                                                                                     
-- System Information:                                                                                               
Debian Release: sid                                                                                                  
  APT prefers unstable                                                                                               
  APT policy: (500, 'unstable'), (1, 'experimental')                                                                 
Architecture: i386 (i686)                                                                                            
                                                                                                                     
Kernel: Linux 2.6.33-2-686 (SMP w/1 CPU core)                                                                        
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)                  
Shell: /bin/sh linked to /bin/bash                                                                                   
                                                                                                                     
Versions of packages awstats depends on:                                                                             
ii  perl                          5.10.1-12  Larry Wall's Practical Extraction                                       
                                                                                                                     
Versions of packages awstats recommends:                                                                             
pn  libnet-xwhois-perl            <none>     (no description available)                                              
                                                                                                                     
Versions of packages awstats suggests:                                                                               
ii  apache2                      2.2.15-5    Apache HTTP Server metapackage                                          
ii  apache2-mpm-prefork [httpd]  2.2.15-5    Apache HTTP Server - traditional n                                      
pn  libgeo-ipfree-perl           <none>      (no description available)                                              
ii  libnet-dns-perl              0.66-2      Perform DNS queries from a Perl sc                                      
ii  libnet-ip-perl               1.25-2      Perl extension for manipulating IP                                      
ii  liburi-perl                  1.54-1      module to manipulate and access UR                                      
ii  micro-httpd [httpd]          20051212-12 really small HTTP server                                                
                                                                                                                     
-- no debconf information                                                                                            

-- 
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/







More information about the Pkg-awstats-devel mailing list