Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 796 of 806  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Iconup Author Author Email Category OS ELOG Version Subject
  67356   Thu Oct 4 11:35:12 2012 Warning Andreas Luedekeandreas.luedeke@psi.chQuestionLinux2.9.1Re: Importing XML

David Chastain wrote:
[...] Basically, I am trying to take spreadsheet data, convert it into XML and upload it as a logbook so I don't have to perform lots of data entry. I also tried .CSV but have had no luck.  Any thoughts or ideas? 

I've successfully imported a large amount of entries from old non-ELOG logbooks via XML.
The only problem that I did run into was the date format: ELOG is very restrictive on the imported format; it has to be either "MM/DD/YY(YY) (HH:MM:SS)" or "DD.MM.YY(YY)  (HH:MM:SS)".
When you export entries ELOG honours the "Date format" that you've specified in your elogd.cfg, therefore you cannot import the exported file until you reformat the date in the file.
 
Andreas
  67386   Mon Nov 26 15:57:49 2012 Warning Andreas Luedekeandreas.luedeke@psi.chBug reportLinux2.9.0-2427ELOG crash related to Kerberos, SSL and Login users
I'm using Kerberos and SSL and experience problems with individual setting of "Login user =" for different logbooks.
Sometimes (not every time, but most times) the server crashes under the following condition:
When I login at one logbook and then change to a logbook, that has a restricted "Login user" list with my login
name not in it. It created the following GDB output:

Program received signal SIGSEGV, Segmentation fault.
show_elog_list (lbs=0x916b768, past_n=0, last_n=0, page_n=0, default_page=1, info=0x0) at src/elogd.c:19793
19793         message_id = msg_list[index].lbs->el_index[msg_list[index].index].message_id;

Expected behaviour would be to show me the login page with the error message:
"you don't have access to this logbook".
This message is never shown for the attached configuration file.
If I remove the "Guest" commands for logbook "TestB" then elogd behaves properly.

For the moment I've just disabled "Login user" settings.

Regards
Andreas
Attachment 1: elogd.cfg
[global]
SSL = 1
Port = 443
Authentication = Kerberos, File
Password file = passwd.txt
Login expiration = 8
Admin user = luedeke
Allow password change = 0
Self register = 0
Logfile = elog.log
Group Operation = TestA, TestB
URL = https://localhost

[TestA]
Guest Menu commands = List, New, Find, Login, Help
Guest List Menu commands =  New, Find, Login, Help
Comment = Test Log
Attributes      = Autor
Preset Autor = $long_name
Locked Attributes = Author

[TestB]
Guest Menu commands = List, Find, Login, Help
Guest List Menu commands =  Find, Login, Help
Comment = TestB
Attributes = Author
Admin user = flechsig
Login user = flechsig, spielmann
Preset Author = $long_name
Locked Attributes = Author
  67393   Mon Dec 10 16:28:27 2012 Warning Ron Beekmanron.beekman@gmail.comBug reportWindows2.7.5-2130Error 554 MailTransferAgentServer ESMTP not accepting messages

Hello,

We use ELOG for many years and enjoy it's functions every day!

Lately, we see errors whenever we add an entry in elog: 554 MailTransferAgentServer ESMTP not accepting messages

We see this from various ELOG servers. Other (non ELOG) servers using the same MailTransferAgentServer do not heve this error.

We are able to send mail messages from the ELOG machines manually via TELNET. So, from a functional point of view, all works well.

We had this error in the past and found out that the cause of this error lies in (network) time-outs.

Questions:
1) Has anyone seen this error before?
2) Is it possible to increase the timeout value used by ELOG?
3) Are the emails that could not be sent stored in a queue/resent later or are they lost?
4) is there a fix?

Any replies are highly appreciated!

T I A !
 

  67462   Fri Mar 1 16:35:21 2013 Warning Mark Bergmanmark.bergman@uphs.upenn.eduBug reportLinux2.9.2elogd crashes with malloc() memory corruption

 I'm having an issue with ELog 2.9.2 revision 2455 where it crashes consistently with:

*** glibc detected *** /usr/local/sbin/elogd: malloc(): memory corruption: 0x0000000014977210 ***

(the address varies). The crash seems to be triggered by the attempt to email a log entry. The log entry itself is saved. If I open the existing message for editing, make no changes, then Submit the message (in order to send email), the daemon crashes.
 
The behavior is consistent on multiple servers, each running CentOS5.9.

  67469   Fri Mar 22 19:41:31 2013 Warning Konstantin Olchanskiolchansk@triumf.caBug reportLinux2.9.2Incomplete SSL proxy instructions, insecure result.
The instructions for securing elogd using an SSL proxy are incomplete.
http://midas.psi.ch/elog/adminguide.html#secure
http://midas.psi.ch/elogs/contributions/11

If you follow these instructions, elogd will still listen for and accept non-SSL connections on it's own TCP port bypassing the SSL proxy.

(True, the elogd TCP port number is somewhat secret, so there is some security-by-obscurity here).

To secure the elogd TCP port against connections that bypass the SSL proxy, elogd has to be started
with the "-n localhost" command line options.

To add this option, one has to edit /etc/init.d/elogd. I do not know if this change will be lost when the elog rpm package is updated.

It would be better if this option could have been specified through elogd.conf.

The "-n" command line option is not documented here
http://midas.psi.ch/elog/adminguide.html#config
but is visible if you run "elogd -h".

P.S. Even with "-n localhost", users of the local machine can bypass the SSL proxy.

K.O.
  67539   Wed Jun 26 10:10:45 2013 Warning Andreas Luedekeandreas.luedeke@psi.chQuestionLinux2.9.2Re: Image attachments null in e-mails. Error log?

Daniel Campora wrote:

 Hi there :)

I'm having a problem with the e-mail notification on my installation of elog. I'm testing the attachment upload with images, and it seems to work seamlessly. However upon posting, the e-mail notification sends a null attachment, instead of the image I would expect.

Is there an error log I can check for this? I started the elog process without the daemon option, but I can't see any error coming up.

Cheers,
 

This is one of the few exceptional cases where reading the documentation can actually help: https://midas.psi.ch/elog/config.html#global

Detect language » English
 

https://midas.psi.ch/elog/config.html#global

 

You can turn on logging using the "Logfile=<filename>" command in the elogd.cfg configuration. With "Logging level=3" you see all elog access, but sending email is in the log anyway.

  67571   Tue Oct 8 18:14:20 2013 Warning Barendoffice@amtc2.comBug reportWindows2.9.2Importing XML/CSV

Hi Stefan,

I'm experiencing problems importing XML (.csv is not working at all for me).

My logbook contains 3 date-attributes besides the system DATE (entry time), date-format is defined as %d %b %y.
The XML file hold the date format "DD.MM.YYYY"

- During "preview" I see that all entries are listed.

- During the import I get the "wrong date format" error.

- When I review the Summary, I see that only the first XML entry (all 3 date-attributes hold a date) was imported.

- When I try to re-import the XML from the second entry (after removing the 1st entry from XML - this second entry hold NO date-value on one of the date-attributes) the elogd.exe crashes and I get the "Service Temporarily Unavailable" error page.

- When I try to re-import the XML from the modified second entry (after removing the 1st entry from XML - this second entry holds date-value on all of the date-attributes) the elogd.exe crashes and I get the "Service Temporarily Unavailable" error page.

 

Any suggestion what could be wrong? Is it the missing date-value?

Attachment 1: import.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<ELOG_LIST>
	<ENTRY>
		<MID>1</MID>
		<DATE>Mon  07 Oct 2013 11:41:42 +0200</DATE>
		<ENCODING>plain</ENCODING>
		<Data_dekretacji>01.10.2013</Data_dekretacji>
		<Numer_rejestru>XXX/2013/001</Numer_rejestru>
		<Numer_umowy>44/333/N/2012</Numer_umowy>
		<Nazwa_dokumentu>XXXXXXXXXXXXXXXX</Nazwa_dokumentu>
		<Przedmiot_umowy></Przedmiot_umowy>
		<Kontrahent>AAAAAAAA BBBBBBBBBB</Kontrahent>
		<Data_zawarcia>10.07.2012</Data_zawarcia>
		<Data_konca>10.07.2013</Data_konca>
		<Dzial></Dzial>
		<Status>Nieaktualna</Status>
		<Aneksy></Aneksy>
		<Opis></Opis>
		<Opis2></Opis2>
		<Opis3></Opis3>
	</ENTRY>
	<ENTRY>
		<MID>2</MID>
		<DATE>Mon  07 Oct 2013 11:41:42 +0200</DATE>
		<ENCODING>plain</ENCODING>
		<Data_dekretacji>01.10.2013</Data_dekretacji>
		<Numer_rejestru>XXX/2013/002</Numer_rejestru>
		<Numer_umowy>33/330/N/2012</Numer_umowy>
		<Nazwa_dokumentu>CCCCCC DDDDDDDD</Nazwa_dokumentu>
		<Przedmiot_umowy></Przedmiot_umowy>
		<Kontrahent>XXXXXXXXXXXXXX</Kontrahent>
		<Data_zawarcia>01.06.2012</Data_zawarcia>
		<Data_konca></Data_konca>
		<Dzial></Dzial>
		<Status>Aktualna</Status>
		<Aneksy></Aneksy>
		<Opis></Opis>
		<Opis2></Opis2>
		<Opis3></Opis3>
	</ENTRY>
</ELOG_LIST>
  67628   Tue Nov 26 16:24:39 2013 Warning Stephenswgallman@bpa.govBug reportWindows2.9.2Crash report involving propagate and replies

Using Elog 2.9.2

Elog crashes when making 10 replies, I narrowed the crash down to the Propagate Attributes setting.

I have an attribute "Status" that can be toggled between "Open" and "Closed" and that propagates all replies.  On the 10th reply the application crashed, this is repeatable 100% of the time.  Without the propagate option everything works fine.

Attached is my config file parsed down.

Is there a way around this, or is there a way on reply to change the attribute of the log note you replied to from open to closed without using the propagate option?

Attachment 1: elogd.cfg
[global]
port = 443
SSL = 1
SMTP host = *******
URL = ******
; URL = ******
Allow passwordchange = 1
Self Register = 0

Logfile = D:\ELOG\Log\Logging.txt

[CSM Log]
; Main settings
Password file = D:\ELOG\Password\Admin.xml
Theme = default
List Menu commands = New, Find, List, Config, Change password, Logout, Last Day


; E-mail


; Look and Feel
Use Lock = 1
Fix text = 0
Propagate Attributes = Status
Allow Delete = Noone
; Allow Edit = Noone
Allow Duplicate = Noone
Allow Import = Noone
Allow Select = noone
; Suppress default = 1
Sort Attribute Options System = 1
Sort Attribute Options Sub-System = 1
List after submit = 1
Display mode = summary
Quote on reply = 1
Entries per page = 30
Refresh = 240
Default Encoding = 1
Quick filter = Date, Type, System, Sub-System, Status, subtext
Time format = %A, %B %d, %Y, %H:%M
Page Title = ELOG - $type
Reverse sort = 1
Restrict edit time = 24
ID Display  = $message id
Extendable options = System, Sub-System
Type Time of Event = datetime
Preset Time of Event = $date
List Display = ID, Time of Event, Author, Type, System, Sub-System, Status
Allow branching = 0
Reply String =    
Summary lines = 5
Prepend on reply = \nAdded on $date by $long_name\n\n



; Log Header
Preset Author = $long_name
Locked Attributes = Author
Preset on reply Author = $long_name
Required Attributes = Author, Type, System, Status, Time of Event
Preset on reply Time of Event = $date
Preset on edit Author = $long_name

Attributes = Time of Event, Author, Type, System, Sub-System, Status, 
;Notification
Options Type = Test1{1}, Test2{2}, Test3{3}, Test4{4}, Test5{5}
Style Type Shift Change = background-color:yellow

{5} Preset Status = Closed
Options Status = Open, Closed
Cell Style Status Closed  = background-color:#1f9400
Cell Style Status Open  = background-color:#a10000

; Event Time options
; Type Event Time = datetime
; Subst Event Time = $date



; Options
{1} Options System = Test


; Options
{2} Options System = Test


; Options
{3} Options System = Test


; Turnover
{5} MOptions System = Test
{5} MOptions Sub-System = Test

ELOG V3.1.5-3fb85fa6