| To: | pcp mailig list <pcp@xxxxxxxxxxx> |
|---|---|
| Subject: | issues with pmlogger_daily via cron |
| From: | Sharif Islam <sharif.islam@xxxxxxxxxxx> |
| Date: | Mon, 13 Feb 2017 16:02:57 +0100 (CET) |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Thread-index: | eqf5DU9Hil0OKziBhmLUW/HhoKmqFQ== |
| Thread-topic: | issues with pmlogger_daily via cron |
|
I am trying to debug an issue with pmlogger (we are using version 3.9.10-1 in SLES 11) while running via cron. The cron line is: pmlogger_daily -c /var/lib/pcp/config/pmlogger/logger.control Here's my ps output: # ps -eaf|grep pmlogger|grep -v grep pcp 211906 1 0 15:25 pts/11 00:00:00 pmlogger -P -r -T24h10m -c config.default -m pmlogger_check 20170213.15.25 pcp 218632 66857 0 15:27 ? 00:00:00 /usr/bin/pmlogger -c /var/log/pcp/pmmgr/server1/config.pmlogger -h local: -r -l /var/log/pcp/pmmgr/server1/pmlogger.log -y -T @Tue Feb 14 01:00:00 2017 /var/log/pcp/pmmgr/server1/archive-20170213.142717 Below is the error received in the email where it looks like the ps output is getting truncated. Is this due to some sort of char width limit in cron? I cannot reproduce this while running via command line. Any suggestion on how to debug this? Waiting for new pmlogger to start .. process exited! Contents of pmlogger output file "/var/log/pcp-storage/pmlogger.log" ... Log for pmlogger on server1 started Tue Jan 24 00:05:13 2017 pmlogger: Cannot connect to PMCD on host "loca": No route to host Log finished Tue Jan 24 00:05:13 2017 Sorry, but this is fatal. No new pmlogger instance has been started. pmlogger_daily: Error: problems executing pmnewlog for host "local:" [/var/lib/pcp/config/pmlogger/logger.control:17] ... logging for host "local:" unchanged -- Sharif Islam| Dataservices | SURFsara | Science Park 140 | 1098 XG Amsterdam | T +31 (0)6 53859713 | sharif.islam@xxxxxxxxxxx | www.surfsara.nl |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Next by Date: | ÐÐÐÑÐÐÐÑÐÐ ÐÐÑÐÐÐÑÐÐ ÐÐ ÐÐÐÐ KPI, ÐÐÑÐÐÐÐÐÐÐ ÐÐÑÑÐÐÐÐÐÐ |
|---|---|
| Next by Thread: | ÐÐÐÑÐÐÐÑÐÐ ÐÐÑÐÐÐÑÐÐ ÐÐ ÐÐÐÐ KPI, ÐÐÑÐÐÐÐÐÐÐ ÐÐÑÑÐÐÐÐÐÐ |
| Indexes: | [Date] [Thread] [Top] [All Lists] |