On 7/30/2013 6:24 AM, Janos SUTO wrote:

On 2013-07-30 12:44, Michael Wessel wrote:

no LD_LIBRARY_PATH variable is set.
cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
and nothing in the ld.so.conf.d points to that directory. According
to the ldconfig man page /lib and /usr/lib are checked be default, but
not /usr/local/lib

well, if ldd /usr/local/sbin/piler reports that it doesn't know about libpiler.so that, then you may add /usr/local/lib to /etc/ld.so.conf.d/piler, then run ldconfig
as root.

needs to be /etc/ld.so,conf.d/piler.conf - without the .conf it won't read the file.
0022 for root and 0002 for the piler user.

perhaps 0022 would be better for piler, but it makes not much difference

this probably was a result of having SEL turned on. Wasn't a problem on the second install I just did.
I think for now my curiosity is satiated and bugs are handled. If I
come across more you'll hear from me again ;) (actually I do have one
more question but I'll make that a new thread!)

Thank you for your support and a great product. I really do like it a lot.

I'm glad to hear that

Janos

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

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

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.

I also had to add the below to config-site.php and modify them:

$config['DIR_SPHINX'] = '/var/piler/sphinx/';
$config['DIR_STAT'] = '/var/piler/stat';
$config['DIR_IMAP'] = '/var/piler/imap';
$config['DIR_TMP'] = '/var/piler/tmp';
$partitions_to_monitor = array('/', '/home', '/var', '/tmp');
$config['DATA_PARTITION'] = '/var';

With those changes it's running fine now with the different data dir.

Michael


Reply via email to