ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67131
|
Mon Sep 26 14:49:48 2011 |
| Olivier Callot | Olivier.Callot@cern.ch | Bug report | Linux | 2418 | Re: Spurious characters in the searched string |
Olivier Callot wrote: |
Stefan Ritt wrote: |
Olivier Callot wrote: |
Hi,
We have a problem with the search command: Since our last upgrade to v2.9.0-2418 the searched string is pre- and postfixed with ASCII character expressed in % format, see the attached image. The searched string is prefied with %255E and postfxed by %2524 in the URL. And teh search fails. This affects searches from drop-down menus.
Thanks in advance.
|
Strange. In this forum it works without extra characters. Just try it yourself. Do you have any strange configuration? Can you send me a minimal elogd.cfg which produces that error, maybe derived from the example elogd.cfg from the distribution.
- Stefan
|
Well, It may be our implementation of re-routing web requests: The requested string in elog is prefixed by %5E (^) and postfixed by %24 ($). But in my case, the '%' is again escaped as %25 so the prefix becomes %255E that is not understood by elog as being '^' ...
I will see with my experts in routing if this is something that can be fixed in our configuration. But when elog processes the input string, it should un-escape these characters and find back the '^', no?
|
It turned out to be a setting of our re-routing of requests that re-escaped the '%'. Sorry for the noise. Cheers |
67130
|
Mon Sep 26 11:34:36 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.5-2185 | Re: Rename Logbook |
David Pilgram wrote: |
Anyway, Stefan <i>et al</i> have got CERN's faster-than-light particle problem to deal with this morning.
|
I would be too lucky if I just could fix this as I fix some ELOG problems! I guess hundreds of physicists right now are pondering about what could have gone wrong in data taking, because nobody really believes that this is a real effect. |
67129
|
Mon Sep 26 11:16:19 2011 |
| Olivier Callot | Olivier.Callot@cern.ch | Bug report | Linux | 2418 | Re: Spurious characters in the searched string |
Stefan Ritt wrote: |
Olivier Callot wrote: |
Hi,
We have a problem with the search command: Since our last upgrade to v2.9.0-2418 the searched string is pre- and postfixed with ASCII character expressed in % format, see the attached image. The searched string is prefied with %255E and postfxed by %2524 in the URL. And teh search fails. This affects searches from drop-down menus.
Thanks in advance.
|
Strange. In this forum it works without extra characters. Just try it yourself. Do you have any strange configuration? Can you send me a minimal elogd.cfg which produces that error, maybe derived from the example elogd.cfg from the distribution.
- Stefan
|
Well, It may be our implementation of re-routing web requests: The requested string in elog is prefixed by %5E (^) and postfixed by %24 ($). But in my case, the '%' is again escaped as %25 so the prefix becomes %255E that is not understood by elog as being '^' ...
I will see with my experts in routing if this is something that can be fixed in our configuration. But when elog processes the input string, it should un-escape these characters and find back the '^', no? |
67128
|
Mon Sep 26 10:38:59 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2418 | Re: Spurious characters in the searched string |
Olivier Callot wrote: |
Hi,
We have a problem with the search command: Since our last upgrade to v2.9.0-2418 the searched string is pre- and postfixed with ASCII character expressed in % format, see the attached image. The searched string is prefied with %255E and postfxed by %2524 in the URL. And teh search fails. This affects searches from drop-down menus.
Thanks in advance.
|
Strange. In this forum it works without extra characters. Just try it yourself. Do you have any strange configuration? Can you send me a minimal elogd.cfg which produces that error, maybe derived from the example elogd.cfg from the distribution.
- Stefan |
67127
|
Mon Sep 26 08:13:10 2011 |
| Olivier Callot | Olivier.Callot@cern.ch | Bug report | Linux | 2418 | Spurious characters in the searched string | Hi,
We have a problem with the search command: Since our last upgrade to v2.9.0-2418 the searched string is pre- and postfixed with ASCII character expressed in % format, see the attached image. The searched string is prefied with %255E and postfxed by %2524 in the URL. And teh search fails. This affects searches from drop-down menus.
Thanks in advance. |
Attachment 1: Capture.PNG
|
|
67126
|
Fri Sep 23 10:46:58 2011 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Windows | 2.7.5-2185 | Re: Rename Logbook |
mike cianci wrote: |
Stefan Ritt wrote: |
mike cianci wrote: |
I have a logbook with data in it that I need to rename and preserve the the existing data (old book) in the newly named book (i.e. can I move all of the data from one book to a new book and than delete the data from the original book)?
As always thank you for your time.
|
There are two ways:
1) Create a new logbook, add the "Copy to" command to the old logbook. Select all entries and copy them to the new logbook, and delete the old one.
2) Change the logbook name in elogd.cfg, by manually editing the file, then rename the subdirectory in your file system from the old to the new name, then restart elogd.
The second solution is much simpler, but you have to manipulate files and directories yourself.
Whatever you do, make sure to back up you files before any operation.
|
Sorry, about this dumb question but with "Copy to = <logbook list> " what is the format of <logbook list>?
Is it just the "logbook Name" or is it the actual path name "http://something/somethingelse"?
|
In order to copy (or move) files from one logbook to another, you first need to ensure that the
appropriate commands are in the section of elogd.cfg of the logbook the files move *from* (called 'current')
- made up elogd.cfg to show this, and obviously only the pertinant lines
[Global]
Group = current, Y2011, Y2010, Y2009...
...
[current]
...
Menu commands = New, ... Copy to, ...
...
Copy to = Y2011, Y2010, Y2009 ...
...
- end of made up example.
So to solve your problem, the <logbook list> is simply the list of logbooks in
this part of elogd.cfg after the 'Copy to =' line in the elogd.cfg file (Y2011, Y2010, Y2009...)
You also need to ensure that the directory to which the entries are to be copied to exists!
('Move to' would be faster if you are going to delete the entries in 'current' afterwards, but as always, it depends on
your perception of risk.)
For the user, the logbook list is the set of logbooks that appear in the
drop-down menu by the side of "Copy to" in the menu bar, and it allows you to
move that entry (or thread of entries if more than one) to the selected destination.
---
My reason for answering this is because I have actually done this operation 'in
anger' some time ago and regularly since, and would have answered before if Stafan had not beaten me
to it. I used what was Stefan's second method, which, for those who are
reasonably confident with file manipulation, is far faster, and, dare I say,
less prone to 'unexpected' issues - some here will know what I'm
getting at.
So I say, "Back up your files and take the plunge", I would have put something
else but this is a family friendly forum.
But you must bear in mind my views are those seen through the filter of a
regular Elog ab-user, which may be why Stefan worked so hard to answer before
me ;-)
Anyway, Stefan <i>et al</i> have got CERN's faster-than-light particle problem to deal with this morning. |
67125
|
Fri Sep 23 01:16:30 2011 |
| mike cianci | mike2.cianci@comcast.net | Question | Windows | 2.7.5-2185 | Re: Rename Logbook |
Stefan Ritt wrote: |
mike cianci wrote: |
I have a logbook with data in it that I need to rename and preserve the the existing data (old book) in the newly named book (i.e. can I move all of the data from one book to a new book and than delete the data from the original book)?
As always thank you for your time.
|
There are two ways:
1) Create a new logbook, add the "Copy to" command to the old logbook. Select all entries and copy them to the new logbook, and delete the old one.
2) Change the logbook name in elogd.cfg, by manually editing the file, then rename the subdirectory in your file system from the old to the new name, then restart elogd.
The second solution is much simpler, but you have to manipulate files and directories yourself.
Whatever you do, make sure to back up you files before any operation.
|
Sorry, about this dumb question but with "Copy to = <logbook list> " what is the format of <logbook list>?
Is it just the "logbook Name" or is it the actual path name "http://something/somethingelse"? |
67124
|
Tue Sep 20 04:46:55 2011 |
| Ryan | ryan.hoitt@intelsat.com | Bug report | Linux | 2.9.0-2411 | Memory Leak in V2.9.0-2411 (Mirroring Related) | I have two identical servers (IBM X337) setup on the same LAN with Ubuntu Linux 10.04 LTS with ELOGD running (Compiled from tarbell) with the same exact package install base. (Only difference between the two servers is the hostname, and the ELOGD.CFG global section)
I noticed after setting these servers up today that ELOGD crashed on the server configured to mirror. It looks like there may be a memory leak in the mirroring of ELOG.
SERVER 1 ELOGD.CFG
[global]
Mirror server = http://10.146.1.76
Mirror config = 1
Mirror cron = 0,5,10,15,20,25,30,35,40,45,50,55 * * * *
Mirror user = (* Removed for Web Post *)
port = 80
Allowed encoding = 1
Suppress default = 3
Mode commands = 1
Password file = password.pwd
Self register = 1
Admin user = (* Removed for Web Post *)
Time format = %d-%b-%y %H:%M UTC
Group 2009 = Station Log-09, DAT-09, Hours Logging-09
Group 2010 = Station Log 10, DAT-10, Hours Logging-10
Group 2011 = Station Log, DAT, Hours Logging, Operations Tasks, Viasat-1, OS-2
Group Cable Database = Cable Database
Group Provisioning = Provisioning
Group ECR = ECR
SERVER 1 SYSLOGD (cat /var/log/syslog |grep elog)
Sep 19 12:14:13 riverside-log elogd[8588]: elogd 2.9.0 built Sep 19 2011, 10:32:58
Sep 19 12:14:13 riverside-log elogd[8588]: revision 2411
Sep 19 12:14:13 riverside-log elogd[8588]: Falling back to default group "elog"
Sep 19 12:14:13 riverside-log elogd[8588]: Falling back to default user "elog"
Sep 19 12:14:13 riverside-log elogd[8588]: FCKedit detected
Sep 19 12:14:13 riverside-log elogd[8590]: Falling back to default group "elog"
Sep 19 12:14:13 riverside-log elogd[8590]: Falling back to default user "elog"
Sep 19 12:14:13 riverside-log elogd[8588]: Server listening on port 80 ...
Sep 19 19:55:05 riverside-log elogd[8588]: xmalloc: not enough memory
SERVER 1 (Set to mirror off server 2) Memory Usage over 1 hour (ps aux|grep elog)
elog 8760 11.6 3.4109240 35092 ?
elog 8760 12.2 3.9137852 40204 ?
elog 8760 11.6 4.4165448 45440 ?
elog 8760 10.7 5.4221652 55548 ?
elog 8760 9.9 5.9249752 60552 ?
elog 8760 10.1 6.4278364 65680 ?
elog 8760 9.5 6.8305712 70700 ?
SERVER 2 Memory Usage over 1 hour (ps aux|grep elog)
elog 799 2.1 2.6 31744 27116 ?
elog 799 2.0 2.6 31744 27116 ?
elog 799 2.1 2.6 31744 27116 ?
elog 799 2.0 2.6 31744 27116 ?
elog 799 2.0 2.6 31744 27116 ?
elog 799 2.0 2.6 31744 27116 ?
elog 799 2.1 2.6 31744 27116 ? |
|