 |
Page 1 of 1
|
| Author |
Message |
Jack O'Connell
Guest
|
 Warning messages from amstatus
Hello, After upgrading to v3.2.0, amstatus intermittently generates the following warning messages followed by a status report that is not consistent with amreport or amoverview reports of successful competion.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 507, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 508, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 509, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in subtraction (-) at /usr/sbin/amstatus line 509, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 511, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 512, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 538, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 540, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 544, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in subtraction (-) at /usr/sbin/amstatus line 544, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 546, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 551, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 552, <AMDUMP> line 3962.
Thanks,
Jack O'Connell
ALCF - Storage
(630)252-3610
joconne < at > alcf.anl.gov ([email]joconne < at > alcf.anl.gov[/email])
|
| Mon Dec 13, 2010 8:01 am |
|
 |
Marc Muehlfeld
Guest
|
 Warning messages from amstatus
Am 13.12.2010 16:34, schrieb Jack O'Connell:
** (process:26492): WARNING **: Use of uninitialized value in hash element at
/usr/sbin/amstatus line 507, <AMDUMP> line 3956.
I can confirm this.
I've read that there is a patch already commited. But it would be nice, if a
developer could provide a patch for downloading, because I don't know how to
get it for the current version from the repository.
Regards,
Marc
|
| Mon Dec 13, 2010 8:15 am |
|
 |
Jean-Louis Martineau
Guest
|
 Warning messages from amstatus
The amdump log file is corrupted.
The attached patch fix it for newer log.
Jean-Louis
Jack O'Connell wrote:
Hello,
After upgrading to v3.2.0, amstatus intermittently generates the
following warning messages followed by a status report that is not
consistent with amreport or amoverview reports of successful competion.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 507, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 508, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 509, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in
subtraction (-) at /usr/sbin/amstatus line 509, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 511, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 512, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 538, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 540, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 544, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in
subtraction (-) at /usr/sbin/amstatus line 544, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 546, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 551, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash
element at /usr/sbin/amstatus line 552, <AMDUMP> line 3962.
Thanks,
Jack O'Connell
ALCF - Storage
(630)252-3610
joconne < at > alcf.anl.gov <mailto:joconne < at > alcf.anl.gov>
|
| Mon Dec 13, 2010 8:46 am |
|
 |
Jack O'Connell
Guest
|
 Warning messages from amstatus
Thanks.
On Dec 13, 2010, at 10:39 AM, Jean-Louis Martineau wrote:
The amdump log file is corrupted.
The attached patch fix it for newer log.
Jean-Louis
Jack O'Connell wrote:
Hello,
After upgrading to v3.2.0, amstatus intermittently generates the following warning messages followed by a status report that is not consistent with amreport or amoverview reports of successful competion.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 507, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 508, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 509, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in subtraction (-) at /usr/sbin/amstatus line 509, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 511, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 512, <AMDUMP> line 3956.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 538, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 540, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 544, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in subtraction (-) at /usr/sbin/amstatus line 544, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 546, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 551, <AMDUMP> line 3962.
** (process:26492): WARNING **: Use of uninitialized value in hash element at /usr/sbin/amstatus line 552, <AMDUMP> line 3962.
Thanks,
Jack O'Connell
ALCF - Storage
(630)252-3610
joconne < at > alcf.anl.gov <mailto:joconne < at > alcf.anl.gov ([email]joconne < at > alcf.anl.gov[/email])>
Index: ChangeLog
===================================================================
--- ChangeLog (revision 3576)
+++ ChangeLog (revision 3580)
< at > < at > -1,3 +1,9 < at > < at >
+2010-10-29 Jean-Louis Martineau <martineau < at > zmanda.com ([email]martineau < at > zmanda.com[/email])>
+ * server-src/amflush.c: Open 'amflush' log file in append mode.
+
+2010-10-29 Jean-Louis Martineau <martineau < at > zmanda.com ([email]martineau < at > zmanda.com[/email])>
+ * server-src/amdump.pl: Open 'amdump' log file in append mode.
+
2010-10-28 Jean-Louis Martineau <martineau < at > zmanda.com ([email]martineau < at > zmanda.com[/email])>
* common-src/conffile.c: Fix quoting in recovery-limit output.
* server-src/amadmin.c (disklist_one): Print recovery-limit.
Index: server-src/amflush.c
===================================================================
--- server-src/amflush.c (revision 3576)
+++ server-src/amflush.c (revision 3580)
< at > < at > -681,7 +681,7 < at > < at >
fflush(stdout); fflush(stderr);
errfile = vstralloc(conf_logdir, "/amflush", NULL);
- if((fderr = open(errfile, O_WRONLY| O_CREAT | O_TRUNC, 0600)) == -1) {
+ if((fderr = open(errfile, O_WRONLY| O_APPEND | O_CREAT | O_TRUNC, 0600)) == -1) {
error(_("could not open %s: %s"), errfile, strerror(errno));
/*NOTREACHED*/
}
Index: server-src/amdump.pl
===================================================================
--- server-src/amdump.pl (revision 3576)
+++ server-src/amdump.pl (revision 3580)
< at > < at > -192,7 +192,8 < at > < at >
# undef first.. stupid perl.
debug("beginning amdump log");
$amdump_log = undef;
- open($amdump_log, ">", $amdump_log_filename)
+ # Must be opened in append so that all subprocess can write to it.
+ open($amdump_log, ">>", $amdump_log_filename)
or die("could not open amdump log file '$amdump_log_filename': $!");
}
Thanks,
Jack O'Connell
ALCF - Storage
(630)252-3610
joconne < at > alcf.anl.gov ([email]joconne < at > alcf.anl.gov[/email])
|
| Mon Dec 13, 2010 9:10 am |
|
 |
|
|
The time now is Thu May 24, 2012 8:19 am | All times are GMT - 8 Hours
|
Page 1 of 1
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|