Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 53 of 806  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  650   Tue Aug 3 15:44:07 2004 Warning Heiko Scheith.scheit@mpi-hd.mpg.deBug reportLinux2.5.4curly parenthesis problem
Everything after curly parenthesis is ignored in attribute entry boxes 
like 'Subject' above

What I typed in the subject line was exatcly this:

  'curly parenthesis problem {abc}'
  67902   Wed May 13 22:03:37 2015 Question Ferdinand Gassauerf.gassauer@chricar.atQuestionLinux3.1csv import timestamp

I have to import a csv with a date field, which represents the creation date

this date should be used as "date" timestamp which is set automatically, otherwise all entries get the current datetime as timestamp

 

  67222   Thu Mar 29 17:30:28 2012 Question Rex Tayloertayloe@indiana.eduQuestionLinuxV2.9.0-243create "front page" for a logbook

Is there a way to create a "front page" or "table of contents" for a logbook?

While chronological entries are good and what elog was designed for, I find myself wanting a page to summarize important things
and/or link to important files that are somewhere in that logbook.  And, I would like to use the features of the elog editor to do (not just point
to another www page that points to the various elog entries).  For example, in an analysis logbook, you would like to have one page that
may summarize latest on analysis and point to best/latest plot/drawing of something and not have to re-search for it every time.

I think that start page with cmd to go to entry 1 (how do I do that?) may work.  Then I just keep editing entry 1 to point to latest info or
entries.  Will this work?  Will I run into a size limitiation if I attach too many files to that?   Is there a better way?

One could imaging using a wiki to do this, however, I never seem to get to updating our wikis... maybe I should just figure how to
get elog to do it.

Thanks.

  69500   Fri Mar 25 10:07:37 2022 Warning Stefano Lacaprarastefano.lacaprara@pd.infn.itBug reportLinuxelogd 3.1.4 crash with attachment with very long filename
Hi,
  I'm running 
elogd 3.1.4 built Jan 27 2021, 09:56:34 revision 395e101a
on an ubuntu server.

I have a crash when very long filename (200 chars) are attached to an logbook entry.

The uploading of the attachment works almost fine: the filename is truncated and the convert to thumbnail is not working (as a consequence, maybe) but the file is actually uploaded and can be 
downloaded correctly from the entry itself.

However, if I try to access the logbook list which contains that entry, I have a crash:

*** buffer overflow detected ***: terminated
Aborted (core dumped)

[backtrace is attached below]

The only way I found to solve this is to edit manually the log entry and delete the attachment from it.

Any suggestion how to solve this?

Thanks
  Stefano


*** buffer overflow detected ***: terminated

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bp
Undefined command: "bp".  Try "help".
(gdb) backtrace 
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff7cf4859 in __GI_abort () at abort.c:79
#2  0x00007ffff7d5f29e in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7e8908f "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007ffff7e01aea in __GI___fortify_fail (msg=msg@entry=0x7ffff7e89025 "buffer overflow detected") at fortify_fail.c:26
#4  0x00007ffff7e00386 in __GI___chk_fail () at chk_fail.c:28
#5  0x00007ffff7d5707f in _IO_str_chk_overflow (fp=<optimized out>, c=<optimized out>) at iovsprintf.c:35
#6  0x00007ffff7d64054 in __GI__IO_default_xsputn (n=<optimized out>, data=<optimized out>, f=<optimized out>) at libioP.h:948
#7  __GI__IO_default_xsputn (f=0x7ffffff36ca0, data=<optimized out>, n=241) at genops.c:370
#8  0x00007ffff7d4912c in __vfprintf_internal (s=s@entry=0x7ffffff36ca0, format=format@entry=0x555555622e74 "../%s/%s/%s", ap=ap@entry=0x7ffffff36de0, mode_flags=mode_flags@entry=6)
    at ../libio/libioP.h:948
#9  0x00007ffff7d57129 in __vsprintf_internal (
    string=0x7ffffff37120 
"../DAQ/220325_090630/j5K1OSy8XN9FRPriaBGOmMg3bih07CQKo68Sw6dskclxdOqKaTOsf2bX8UugSWn0s8zaAHe6VWiPcQVnmD8PM1tbQoVMr08dBrXKU2X2tBR4pJ3hlfxbKjspmcbiDTMy32eHIp6lFAVA9lppShmpiut4g4CtgDK3F2bOPzgzXEjPw
W0SJWG"..., maxlen=<optimized out>, format=0x555555622e74 "../%s/%s/%s", args=args@entry=0x7ffffff36de0, mode_flags=6) at iovsprintf.c:95
#10 0x00007ffff7dffe7b in ___sprintf_chk (s=<optimized out>, flag=<optimized out>, slen=<optimized out>, format=<optimized out>) at sprintf_chk.c:40
#11 0x00005555555a939d in display_line ()
#12 0x00005555555ddc8a in show_elog_list ()
#13 0x00005555556010cf in interprete ()
#14 0x0000555555601a33 in decode_get ()
#15 0x000055555560461f in process_http_request ()
#16 0x0000555555607745 in server_loop ()
#17 0x000055555555a92c in main ()
  66706   Tue Feb 9 18:49:10 2010 Question FX FREREfxfrere@neuf.frQuestionWindows2.7.8-2280could not get the threaded display working

Hi,

I have been trying to get the display mode into threaded by default, it does not work on any of my logbooks. I saw related threads in this forum but none gave me a solution (unless the 2.7.8-2282 is available for download).

Here is a simple example which i can not get working.

thanks for your help

FX

Attachment 1: elogd.cfg
[global]
Welcome Title            = 
<div style="text-align: center;">log-book.</div>
; Se puede poner un vinculo havcia un sitio web y cambiar la imagen ; Esta imagen debe encontrarse en el directorio \ELOG\themes\default Title image = <img border=0 src="logo.gif"> ; Para mas seguridad se puede cambiar el puerto de ELOG port = 2 ;Uso de https para la connexion SSL = 1 ; Se debe reemplazar estos datos con los datos del servidor de mail de la empresa si se debe (o quiere) mandar emails SMTP host = toto.com Language = spanish Main Tab = Accueil Bottom text = <div style="text-align: center;">Elog backups <img src="logo.png"></div> Email format = 111 logfile = Archivo_de_logs.txt Logging level = 2 ;Display mode = threaded ; Los usuarios deben crear una cuenta para poder utilizar la nueva herramienta Password file = Usuarios.txt Self register = 2 ; La contraseña nominal es: admin, se puede cambiar si necesario Admin user = administrador ; Si se quiere restringir los derechos de delete Allow Delete = administrador ; Si se quiere restringir los derechos de modificacion ; Allow Edit = administrador ; Si se quiere restringir los derechos de créacion ; Allow New = administrador Menu commands = List, Find, New, Delete, Reply, Logout, Help List Menu commands = Find, New, Logout, Help Guest Menu commands = List, Find, Login, Help Guest List Menu commands = Find, Login, Help [Backups del sistema] Theme = default Comment = test backup - Logbook Program Welcome title = <img src="logo.gif"><p><font size=5 color=white>Welcome to our Elog</font> Attributes = Usuario, Tarea, Fecha Operacion, Status, Subsistema, Base de Datos IOptions Status= "Delete-icon.png", "Check-icon.png" Icon comment Delete-icon.png = Failed Icon comment Check-icon.png = OK Thread Icon = Status Thread Display = $Fecha Operacion,$Tarea,$Subsistema Locked Attributes = Usuario Required Attributes = Usuario, Tarea, Fecha Operacion, Status, Subsistema, Base de Datos Preset Usuario = $long_name Options Tarea = Backup, Restore Options Subsistema = DBMGR {a}, MCH {b}, ALL {c} {a}MOptions Base de Datos = ALL BASES, base1, base2, base3, base4 {b}MOptions Base de Datos = ALL, BD1, BD2, BD3 {c} Locked Attributes = Usuario {c} Show Attributes Edit= Usuario, Tarea, Fecha Operacion, Status, Subsistema {c} Required Attributes = Usuario, Tarea, Fecha Operacion, Status, Subsistema Message comment = Commentarios: Type Fecha Operacion = date Preset Fecha Operacion = $date Mode commands = 1 Display Mode = threaded Page Title = Backups del sistema - $subject ;Reverse sort = 1 ;Quick filter = Date, Tarea, Subsistema
  66173   Mon Jan 26 22:01:07 2009 Question Devin Bougiedab66@cornell.eduBug fixLinux2.7.5convert: unrecognized option '-set'
Hello,

We are now running elog-2.7.5 in a Scientific Linux 4 (RHEL4) system, which uses ImageMagick 6.0.7.1.  After uploading an image, the image 
manipulation buttons don't work and complain:
convert: unrecognized option '-set'

We are using an RPM built from source, and it looks like I should be able to just change "-set comment ..." to "-comment" as in:
------
[dab66@lnx100 tmp]% diff elogd.c elogd.c.new 
22601c22601
<       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -set comment ' %d' '%s'", file_name, new_rot,
---
>       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -comment ' %d' '%s'", file_name, new_rot,
22607c22607
<       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -set comment ' %d' '%s'", file_name, new_rot,
---
>       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -comment ' %d' '%s'", file_name, new_rot,
22618c22618
<       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -set comment ' %d' '%s'", file_name, cur_rot,
---
>       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -comment ' %d' '%s'", file_name, cur_rot,
22624c22624
<       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -set comment ' %d' '%s'", file_name, cur_rot,
---
>       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -comment ' %d' '%s'", file_name, cur_rot,
------

Is there any better way for us to fix this, or is anything else needed?

Thanks,
Devin
  198   Tue Jan 21 10:04:46 2003 Angy Etienne Van Caillieetienne.vancaillie@mba.beBug report  confused name in the attributes section
do not use confused name in attributes
**************************************
like
Attributes Type, Type2
the info on Type2 will be placed in the Type also
see attachment 1

Never use confused name like '
Attributes PC_Memory, Memory

If Stephan need more info I can send a exemple of the logbooks
Etienne
Attachment 1: elog_bug_attributes with confused names.JPG
elog_bug_attributes with confused names.JPG
  65854   Fri Apr 25 14:49:41 2008 Question W.KosterW.Koster@rug.nlQuestion  configuration of rss feeds
Is it possible to change what is being shown in the rss-feed ? (like only name, date and subject in the list and text and other attributes in the text-pane below the rss-feed list (I hope you can figure out what I mean). Regards, W.
ELOG V3.1.5-3fb85fa6