Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 103 of 238  Not logged in ELOG logo
icon1.gif   Format in "Thread display", posted by Eoin Butler on Sat Jun 18 20:29:25 2011 
Is is possible to add formatting (such as <b> tags, etc..) to the "thread display" option?
icon3.gif   Integrate Latex Formula Editor plugin, posted by Andreas Luedeke on Wed Jun 15 11:10:01 2011 
There is a nice js plugin to create formulas with a latex editor.
This plugin (Can be found at http://www.codecogs.com/latex/integration/ckeditor/install.php) is for the CK Editor.
Currently the FCK Editor is used, which has been superseded in 2009 by the CK Editor.
It would be nice to change ELOG to use the newer CKEditor, in order to be able to use the formula plugin (and
maybe other plugins as well later).
icon4.gif   elogd crashes when running mirror cron with SSL and KRB5, posted by Andreas Luedeke on Mon May 30 12:28:53 2011 
When I run a mirror server and both logbooks using SSL/KRB5 then the cron job causes a segmentation fault.

I haven't tried to check it with a simple configuration yet.
My set-up: two elogd on same server, one running "german" on port 444, the other "english" on port 445.
Both are behind an apache webserver configured reverse proxy, to hide the ports for external access.
I'll try to reproduce the fault with a "minimal configuration" soon and report again.


Debug output from GDB:

run -x -c /usr/local/elog/elogd_en.cfg
Starting program: /opt/elog-2.9.0/elog/elogd -x -c /usr/local/elog/elogd_en.cfg
elogd 2.9.0 built May 30 2011, 11:14:32 revision 2414
File "/var/run/elogd.pid" exists, using "/var/run/elogd.pid.445" instead.
Falling back to default group "elog"
Falling back to default user "elog"
User "elog" not found
Falling back to default user "nobody"
FCKedit detected
Falling back to default group "elog"
Falling back to default user "elog"
User "elog" not found
Falling back to default user "nobody"
ImageMagick detected
Indexing logbooks ... done
SSLServer listening on port 445 ...

Program received signal SIGSEGV, Segmentation fault.
0x0030b7b5 in SSL_write () from /lib/libssl.so.6
    icon7.gif   Re: elogd crashes when running mirror cron with SSL and KRB5, posted by Andreas Luedeke on Fri Jun 3 12:06:20 2011 
> When I run a mirror server and both logbooks using SSL/KRB5 then the cron job causes a segmentation fault.
>
> I haven't tried to check it with a simple configuration yet.
> My set-up: two elogd on same server, one running "german" on port 444, the other "english" on port 445.
> Both are behind an apache webserver configured reverse proxy, to hide the ports for external access.
> I'll try to reproduce the fault with a "minimal configuration" soon and report again.
>

I've tried to test a simpler configuration on my local PC but failed:
all simple set-ups I've tried worked fine.

I found that the mirror cron synchronization works fine in my production set-up when I remove the line:
Mirror user = luedeke

But I can have this line in my simple test set-up and it still works fine.
Anyway: bugs closed for me.
icon5.gif   Is there maximum number of entries?, posted by Hung Dao on Tue May 31 17:38:57 2011 

Does anyone know whether ELOG has limit number of entries or it can create new entries as many as it can go?  Thanks.

    icon2.gif   Re: Is there maximum number of entries?, posted by Stefan Ritt on Thu Jun 2 21:28:19 2011 

Hung Dao wrote:

Does anyone know whether ELOG has limit number of entries or it can create new entries as many as it can go?  Thanks.

The number of entries is not limited. But if there are very many entries, searching can get a bit slow. We have installations with ~100'000 entries and they work still fine. 

icon5.gif   editor dosn't work, posted by Sara Vanini on Thu Jun 2 12:52:10 2011 

Hi,

when I try to edit an entry of my ELOG, the display shows the editor window blank, without all the previous content of the entry, and it is not possibile to write in it. It worked since yesterday, when ELOG tried to save a new entry but the disk was full. ELOG was srewed up. I deleted the buggy entry and now I can display all the previuos entries, but I cannot edit anymore... Please help!

Sara

 

    icon2.gif   Re: editor dosn't work, posted by David Pilgram on Thu Jun 2 14:57:39 2011 

Sara Vanini wrote:

Hi,

when I try to edit an entry of my ELOG, the display shows the editor window blank, without all the previous content of the entry, and it is not possibile to write in it. It worked since yesterday, when ELOG tried to save a new entry but the disk was full. ELOG was srewed up. I deleted the buggy entry and now I can display all the previuos entries, but I cannot edit anymore... Please help!

Sara

 

 I've a little experience of digging myself out of (in my case, self-induced) problems using ELOG.   I'm also aware that I may be the least experienced/qualified user..

First:  Archive your work directories.  Then at least whatever you do from here, you've got the status quo to fall back on.  Also, record anything you can remember (ID number, thread, etc) of the deleted entry/entries.

I've found that ELOG can hang in an infinite loop if it tries to find an entry that is no longer there - and that depends upon how you approach the point where the missing entry would be.  ELOG's own delete works fine in normal circumstances.  I'm talking about abnormal circumstances, for example when idiots (me) are playing around with the yymmdda.log files, or *possibly* if the disk is full, and you then try deleting the entry that caused the full disk problem.  Whether that is what you are seeing, I cannot say at present. 

However, to progress this:  When you are stuck, unable to edit anything, in a[nother] terminal, try the process report

ps -A

two or three times, with a short interval between commands.  (Or other switches if you know how to select to view the elogd process on your system).   If elogd is using seconds of CPU time between each ps command, it's probably in an infinite loop.  If you need to be sure, wait a minute and check again.  If so, you'll have to stop the daemon, possibly requiring a computer reboot.  In my experience, ELOG does not get stuck in an infinite loop when just indexing the pages when the daemon starts, but experts may well know better.

This may at least diagnose whether you cannot edit because ELOG is stuck in an infinite loop, or has some other cause.

If it is the infinite loop, the trick is to find which entry causes the loop without getting stuck in that loop next time around. 

David Pilgram.

       icon2.gif   Re: editor dosn't work, posted by Sara Vanini on Thu Jun 2 16:50:17 2011 

David Pilgram wrote:

Sara Vanini wrote:

Hi,

when I try to edit an entry of my ELOG, the display shows the editor window blank, without all the previous content of the entry, and it is not possibile to write in it. It worked since yesterday, when ELOG tried to save a new entry but the disk was full. ELOG was srewed up. I deleted the buggy entry and now I can display all the previuos entries, but I cannot edit anymore... Please help!

Sara

 

 I've a little experience of digging myself out of (in my case, self-induced) problems using ELOG.   I'm also aware that I may be the least experienced/qualified user..

First:  Archive your work directories.  Then at least whatever you do from here, you've got the status quo to fall back on.  Also, record anything you can remember (ID number, thread, etc) of the deleted entry/entries.

I've found that ELOG can hang in an infinite loop if it tries to find an entry that is no longer there - and that depends upon how you approach the point where the missing entry would be.  ELOG's own delete works fine in normal circumstances.  I'm talking about abnormal circumstances, for example when idiots (me) are playing around with the yymmdda.log files, or *possibly* if the disk is full, and you then try deleting the entry that caused the full disk problem.  Whether that is what you are seeing, I cannot say at present. 

However, to progress this:  When you are stuck, unable to edit anything, in a[nother] terminal, try the process report

ps -A

two or three times, with a short interval between commands.  (Or other switches if you know how to select to view the elogd process on your system).   If elogd is using seconds of CPU time between each ps command, it's probably in an infinite loop.  If you need to be sure, wait a minute and check again.  If so, you'll have to stop the daemon, possibly requiring a computer reboot.  In my experience, ELOG does not get stuck in an infinite loop when just indexing the pages when the daemon starts, but experts may well know better.

This may at least diagnose whether you cannot edit because ELOG is stuck in an infinite loop, or has some other cause.

If it is the infinite loop, the trick is to find which entry causes the loop without getting stuck in that loop next time around. 

David Pilgram.

 Hi David,

you have been very helpful indeed. The problem was the one you spot, I've deleted the  buggy entry removing the ***.log file, and this caused disaster..... now it is working again, thanks a lot, I have all my PhD thesis in ELOG....

Sara

 

          icon2.gif   Re: editor dosn't work, posted by David Pilgram on Thu Jun 2 20:20:19 2011 

Sara Vanini wrote:

David Pilgram wrote:

Sara Vanini wrote:

Hi,

when I try to edit an entry of my ELOG, the display shows the editor window blank, without all the previous content of the entry, and it is not possibile to write in it. It worked since yesterday, when ELOG tried to save a new entry but the disk was full. ELOG was srewed up. I deleted the buggy entry and now I can display all the previuos entries, but I cannot edit anymore... Please help!

Sara

 

 I've a little experience of digging myself out of (in my case, self-induced) problems using ELOG.   I'm also aware that I may be the least experienced/qualified user..

First:  Archive your work directories.  Then at least whatever you do from here, you've got the status quo to fall back on.  Also, record anything you can remember (ID number, thread, etc) of the deleted entry/entries.

I've found that ELOG can hang in an infinite loop if it tries to find an entry that is no longer there - and that depends upon how you approach the point where the missing entry would be.  ELOG's own delete works fine in normal circumstances.  I'm talking about abnormal circumstances, for example when idiots (me) are playing around with the yymmdda.log files, or *possibly* if the disk is full, and you then try deleting the entry that caused the full disk problem.  Whether that is what you are seeing, I cannot say at present. 

However, to progress this:  When you are stuck, unable to edit anything, in a[nother] terminal, try the process report

ps -A

two or three times, with a short interval between commands.  (Or other switches if you know how to select to view the elogd process on your system).   If elogd is using seconds of CPU time between each ps command, it's probably in an infinite loop.  If you need to be sure, wait a minute and check again.  If so, you'll have to stop the daemon, possibly requiring a computer reboot.  In my experience, ELOG does not get stuck in an infinite loop when just indexing the pages when the daemon starts, but experts may well know better.

This may at least diagnose whether you cannot edit because ELOG is stuck in an infinite loop, or has some other cause.

If it is the infinite loop, the trick is to find which entry causes the loop without getting stuck in that loop next time around. 

David Pilgram.

 Hi David,

you have been very helpful indeed. The problem was the one you spot, I've deleted the  buggy entry removing the ***.log file, and this caused disaster..... now it is working again, thanks a lot, I have all my PhD thesis in ELOG....

Sara

 

Don't get too excited yet!

 

When you reply to an entry in ELOG, then some additional data is added to that original entry. 

 

So, if you reply today (say 02/06/11) to an entry made yesterday, then you will find that the file 110602a.log has a large change (the new entry in full, plus elog extra codes), *and* an additional line added into 110601a.log.  Deleting 110602a.log will not remove the line in 110601a.log, and that could still cause problems, that is, wandering into an infinite loop.

 

To save a lot of effort, I'll suggest that you (a) keep the back-ups up to date, and keep two (the latest and the one before that); (b) proceed carefully at least to start with.  If you fall into the infinite loop again, then flag it up and I (or someone else) will be able to give further pointers.

 

David Pilgram.

 

 

So unless you are sure that

icon8.gif   HELP - URGENT - odd ELOG behaviour, posted by Sara Vanini on Wed Jun 1 15:05:59 2011 
 
    icon2.gif   Re: HELP - URGENT - odd ELOG behaviour, posted by Sara Vanini on Wed Jun 1 15:15:40 2011 

PS: maybe this dump could give a clue..... what's the directory of  size

12288

.

created on Jun  1 14:08  ... ? has it screwed up elog?

Sara

 

[vanini@nbvanini ~]$ ls -latr /usr/local/elog/logbooks/work/

-rw-r--r-- 1 elog elog   3443 May 30 12:31 110530a.log
-rw-r--r-- 1 elog elog  38956 May 30 14:17 110322a.log
-rw-r--r-- 1 elog elog  48804 May 31 10:05 110302a.log
-rw-r--r-- 1 elog elog  75644 May 31 17:09 110427a.log
-rw-r--r-- 1 elog elog   4079 May 31 18:58 110531a.log
-rw-r--r-- 1 elog elog  77316 Jun  1 10:43 110113a.log
drwxr-xr-x 2 elog elog  12288 Jun  1 14:08 .
-rw-r--r-- 1 elog elog   2904 Jun  1 14:20 110601a.log
 

 

       icon2.gif   Re: HELP - URGENT - odd ELOG behaviour, posted by Louis de Leseleuc on Wed Jun 1 18:17:36 2011 

Sara Vanini wrote:

PS: maybe this dump could give a clue..... what's the directory of  size

12288

.

created on Jun  1 14:08  ... ? has it screwed up elog?

Sara

 

[vanini@nbvanini ~]$ ls -latr /usr/local/elog/logbooks/work/

-rw-r--r-- 1 elog elog   3443 May 30 12:31 110530a.log
-rw-r--r-- 1 elog elog  38956 May 30 14:17 110322a.log
-rw-r--r-- 1 elog elog  48804 May 31 10:05 110302a.log
-rw-r--r-- 1 elog elog  75644 May 31 17:09 110427a.log
-rw-r--r-- 1 elog elog   4079 May 31 18:58 110531a.log
-rw-r--r-- 1 elog elog  77316 Jun  1 10:43 110113a.log
drwxr-xr-x 2 elog elog  12288 Jun  1 14:08 .
-rw-r--r-- 1 elog elog   2904 Jun  1 14:20 110601a.log
 

 

Since you used the -a switch for ls, the current directory '.' i.e. work/ is included in the list. I have the same kind of output. No worries.

Are you experiencing problems with ELOG?

icon1.gif   Find page resets quick filters if fields with user defined (drop-down)lists are selected., posted by Peter de Mol on Tue May 31 13:48:41 2011 elog.png

 Hi Stefan,

First : Compliments with your fine application !

The issue : A user wants to search the database. He selects one of the quick filters (e.g. "Show Last / Month"). Next he fills in the form and as long as text boxes are used there is no problem. But when he chooses a value from a populated drop-down list, the quick filter disappears. Other way round (first drop-down list and then the quick filter) no problem.

 

Kind regards,

 

Peter de Mol

elog.png

icon3.gif   my_shell (OS_UNIX) uses /tmp/elog_shell - conflict when more than one elogd runs at the same time, posted by John M O'Donnell on Fri May 20 22:45:00 2011 elogd.c.patch_shellPipe

all instances of elogd use the same file name in /tmp when calling my_shell.  This can cause some inconsistent behavior when two or more copies of elogd are runnnig at the same time.  (eg. one might detect ImageMagik is installed, and the other not,)

 

The propsed solution is to have the parent read from a pipe to the child rather from a file.  A patch is attached.

ELOG V3.1.5-3fb85fa6