Hello Janos!

I would like to get some more information about this subject...

I got piler up and running, but I can't seem to run the GUI on another
server.
First, on piler-1.1.1 there is no init.d/rc.pilergetd.in and therefore I
got no compiled startup scrpt for pilergetd. No problem, I got it from
piler-1.1.0.tar.gz

Next, here are the lines concerning pilergetd
from  /usr/local/etc/piler.conf on the server running piler:

tls_enable=0
pilergetd_listen_addr=0.0.0.0
pilergetd_listen_port=10091
pilergetd_password=XXXXX
pilergetd_pidfile=/var/run/piler/pilergetd.pid

I started pilergetd (should I stop piler when running pilergetd?) and
copied the entire /var/www/piler folder to the other machine.
Here, I have the following lines in /var/www/html/piler/config-site.php
(DefaultSite is /var/www/html/) - all other lines are commented out:

<?php
$config['PILERGETD_HOST'] = '192.168.0.201';
$config['DB_HOSTNAME'] = '192.168.0.201';
$config['SPHINX_HOSTNAME'] = '192.168.0.201:9306';

$config['SITE_NAME'] = 'piler';
$config['SITE_URL'] = 'http://' . $config['SITE_NAME'] . '/';
$config['DIR_BASE'] = '/var/www/html/piler/';
?>

where 192.168.0.201 is the IP of the server running pilergetd.

However, when trying http://localhost/piler is only get an error message:

Error: SQLSTATE[HY000] [2003] Can't connect to MySQL server on
'192.168.0.201' (111) on database: piler

I also tried, stopping piler before running pilergetd...

What am I doing wrong?

Köszönöm,
Mihai

Reply via email to