[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #DCL-924284]: Wrong metrics.txt file location for plotMetrics



Tom,

If the file "/tmp/metrics.txt" is owned by root, then the "ldmadmin 
plotmetrics" command likely can't overwrite it with the correct data to be 
plotted.

Remove that file and try again.

> Steve,
> 
> Thanks for your reply. However, I get the same error when I run 'ldmadmin 
> plotmetrics':
> 
> -bash-4.1$ whoami
> 
> ldm
> 
> -bash-4.1$ ldmadmin plotmetrics
> 
> /usr/local/ldm/ldm-6.12.6/bin/plotMetrics: line 62: /tmp/metrics.txt: 
> Permission denied
> 
> 2015-05-06 08:03:26 (304 KB/s) - `/dev/null' saved [4/4]
> 
> /tmp/metrics.txt:1:         line 0: illegal month
> 
> 
> 
> 2015-05-06 08:03:26 (304 KB/s) - `/dev/null' saved [4/4]
> 
> /tmp/metrics.txt:1:         line 0: illegal month
> 
> 
> 
> 2015-05-06 08:03:26 (304 KB/s) - `/dev/null' saved [4/4]
> 
> /tmp/metrics.txt:1:         line 0: illegal month
> 
> 
> 
> 2015-05-06 08:03:26 (304 KB/s) - `/dev/null' saved [4/4]
> 
> /tmp/metrics.txt:1:         line 0: illegal month
> 
> 
> 
> 2015-05-06 08:03:26 (304 KB/s) - `/dev/null' saved [4/4]
> 
> /tmp/metrics.txt:1:         line 0: illegal month
> 
> 
> 
> 2015-05-06 08:03:26 (304 KB/s) - `/dev/null' saved [4/4]
> 
> /tmp/metrics.txt:1:         line 0: illegal month
> 
> 
> 
> 2015-05-06 08:03:26 (304 KB/s) - `/dev/null' saved [4/4]
> 
> /tmp/metrics.txt:1:         line 0: illegal month
> 
> 
> 
> 2015-05-06 08:03:26 (304 KB/s) - `/dev/null' saved [4/4]
> 
> /tmp/metrics.txt:1:         line 0: illegal month
> 
> 
> 
> Verify the format of temporary data-file /tmp/metrics.txt
> 
> 
> 
> -Tom

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: DCL-924284
Department: Support LDM
Priority: Normal
Status: Closed