On 2013-07-31 13:30, Michael Wessel wrote:
needs to be /etc/ld.so,conf.d/piler.conf - without the .conf it won't
read the file.
ok, I'll remember it.
I just did another piler install (which went way better and faster
than the first attempt knowing the few gotchas now) and came across 2
more points:
The postinstall script creates the first cronjob as follows:
crontab -l -upiler
### PILERSTART
*/5 * * * * LC_ALL=C mpstat | tail -1 | awk '{print 1}' >
/archive/piler/stat/cpu.stat
please check if you have the following in util/postinstall.sh:
echo "*/5 * * * * LC_ALL=C mpstat | tail -1 | awk '{print \$11}' >
$LOCALSTATEDIR/piler/stat/cpu.stat" >> $CRON_TMP
notice the backslash before $11
which will always result in 1 for cpu.stat
The second point has to do with having changed the piler data dir to
/archive. Worked all fine except that the sphinx.conf is not being
updated with this when running the postinstall script and still points
to /var/piler
yeah, the idea was to get a large partition under /var/piler to hold
all
piler related data (probably except the mysql database), since I
believe
that it's easier to manage one partition than 2.
Finally, I was wrong when I said that mysqlsocket= works, it doesn't.
I still had the host set to 127.0.0.1. I had to actually set the
mysqlsocket= from /etc/my.cnf and with that ith works fine for
localhost.
ok, I set it to /var/run/mysqld/mysqld.sock by default
Janos