Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Re: error with high traffic site and 2.0

$
0
0
the site is running apache2, nginx isn't used. If I shut apache2 down the script doesn't execute:

$ sudo su www-data -c "/usr/bin/php5 /mysite/piwik/misc/cron/archive.php --url=http://mysite/piwik/"
X11 connection rejected because of wrong authentication.
INFO [2013-12-26 14:06:35] [79ec3] ---------------------------
INFO [2013-12-26 14:06:35] [79ec3] INIT
INFO [2013-12-26 14:06:35] [79ec3] Querying Piwik API at: http://mysite/piwik/index.php
INFO [2013-12-26 14:06:35] [79ec3] Running Piwik 2.0.2 as Super User: paolo
INFO [2013-12-26 14:06:35] [79ec3] ERROR: Got invalid response from API request: http://mysite/piwik/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was 'curl_exec: couldn't connect to host'
INFO [2013-12-26 14:06:35] [79ec3] ERROR: The Piwik URL http://mysite/piwik/index.php does not seem to be pointing to a Piwik server. Response was ''.
Error in the last Piwik archive.php run:
The Piwik URL http://mysite/piwik/index.php does not seem to be pointing to a Piwik server. Response was ''.


Here is the full errors output:

---------------------------
INIT
Querying Piwik API at: http://mysite/piwik/index.php
Running Piwik 2.0.2 as Super User: paolo
ERROR: Got invalid response from API request: http://mysite/piwik/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was 'curl_exec: couldn't connect to host'
ERROR: The Piwik URL http://mysite/piwik/index.php does not seem to be pointing to a Piwik server. Response was ''.


The web site name hasn't any dash in it

Viewing all articles
Browse latest Browse all 13117

Trending Articles