Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 46 of 238  Not logged in ELOG logo
icon5.gif   elogd hangs, posted by Alan Grant on Fri Aug 18 05:28:16 2017 
I have a very long standing problem with elog over the last few versions where almost daily the service will hang. Cannot even Restart elogd, that
just hangs. Clients experience Page not Found. I can only get the service reinitialized by rebooting the VM machine. I have Elog verbose logging On plus
a number of external triage monitors running but nothing is yielding clues beyond the precise time the hang occurs. Aside from providing the
    icon2.gif   Re: elogd hangs, posted by Stefan Ritt on Fri Aug 18 08:59:08 2017 
I have to figure out where elog hangs. I guess it must be some kind of endless loop, triggered by some corrupt data in one of the elog entries. Under
linux this is fairly simple (just run elogd under the gdb debugger, wait until it hangs, then press ctrl-c and enter "where" to see a full stack
dump where elogd is currently executing). Under Windows this is more difficult, since you need Visual C++ from Microsoft to do the debugging. One thing
       icon2.gif   Re: elogd hangs, posted by David Pilgram on Fri Aug 18 12:40:21 2017 
I have experience of elog hanging (under linux).  I'll describe my situation, although it may not apply to you.  I still use elog 2.9.2
but I am unaware of this issue ever being resolved although I have mentioned it in the past.  (Possibly because I'm one of the few who has this
situation).  I certainly recall other person had this as the problem, and my reply on this forum solved their problem.  The cause is the following:
          icon2.gif   Re: elogd hangs, posted by Alan Grant on Fri Aug 18 15:10:15 2017 
Yes I think I recall the incident in the Forum you're talking about from previous searches I've done on hanging however so far I haven't used
Reply To's in this elog instance. Nevertheless, you explained it very well and it's good points to keep in mind should I ever use them,
thank you David.
          icon2.gif   Re: elogd hangs, posted by Alan Grant on Fri Aug 18 15:15:57 2017 
Yes I think I recall the incident in the Forum you're talking about from previous searches I've done on hanging however so far I haven't used
Reply To's in this elog instance. Nevertheless, you explained it very well and it's good points to keep in mind should I ever use them,
thank you David.
             icon2.gif   Re: elogd hangs, posted by David Pilgram on Fri Aug 18 21:16:12 2017 
Hi Alan,

Just to be clear (and for others) if any entry is a reply to a previous one, such as this one is to yours, then there will be "Reply to"
and "In reply to" fields in the entry as found in the yymmdda.log files.  They are automatically generated as part of the elog program's
       icon2.gif   Re: elogd hangs, posted by Alan Grant on Fri Aug 18 14:49:42 2017 
I could begin debugging with C++. In the interim, if you think it will help, I can also provide you with my Config and log files, and the
section of redacted data encompassing the time of the hang - just let me know. Regarding CPU usage, I have noted that in the past and have
never seen very high CPU usage during an Elog hang. The VM itself remains responsive.
          icon2.gif   Re: elogd hangs, posted by Stefan Ritt on Fri Aug 18 16:26:14 2017 
Well, having the config and data files only help if I can reproduce the hanging. If if you give me your files and a step-by-step instruction on how to
reproduce the hanging, I can give it a try. But if it happens randomly after a while, it will be very hard for me to reproduce and fix it without the exaclty
same user access pattern which of course I don't have.
             icon2.gif   Re: elogd hangs, posted by Alan Grant on Fri Aug 18 16:39:21 2017 
Okay I will just try the debugger approach first and then take it from there. Thanks Stefan.




Stefan Ritt wrote:



Well, having the config and data
icon5.gif   Enable LDAP on Windows, posted by Gerardo Abihaggle on Sun Jul 30 07:39:23 2017 
Hi All,

I'm running ELOG on a Windows machine and I would like to use LDAP for Authentication, however to achive this I need
to compile elog. Any advice on how to do that on Windows?
icon5.gif   Conditional attribute activation, posted by Devrim Esenturk on Fri Jul 21 15:24:33 2017 
I have a stock database running latest elog version on windows. I am reserving some products which not been sent to customer mistakenly and using value
"reserved" for it. But I need another attribute for comment reason of reserving but this attribute must be activated when reserved value selected.
Is this possible? I didn't see any option for this at admin guide.
    icon2.gif   Re: Conditional attribute activation, posted by Andreas Luedeke on Mon Jul 24 14:33:51 2017 
Yes, this is possible by using "Conditional Attributes". Have a look at the ELOG syntax help: https://midas.psi.ch/elog/config.html#conditional

To hide attributes on edit, you can use "Show Attributes Edit =  ..." for the conditions; and you
only list the comment reason for the case where the value of the other attribute has the value "reserved".
icon5.gif   Password Protect Delete, posted by Michael Cianci on Thu Jul 20 18:38:20 2017 
We don't use a password file but would like to password protect (Admin only) the DELETE function in the MENU     Thank You
    icon2.gif   Re: Password Protect Delete, posted by Andreas Luedeke on Fri Jul 21 08:54:03 2017 
You can allow guests to create entries, but only registered users (Admins) to delete (or edit) entries:

Menu commands = List, New, Edit, Reply, Delete, Find, Config, Logout,
Help
icon5.gif   Email Notification (Not) Initiated by elog Client Utility, posted by Phil Rubin on Fri Jul 14 19:26:06 2017 
Our configuration sends out e-mail notifications based on a hierarchy of attributes, and works fine with WEB submissions, but not with client utility
submissions (no notifications are sent; the log doesn't show it even trying to send any: 14-Jul-2017 18:36:01 [rubinp@nn.nn.nn.nn] {Notebook}
NEW entry #0) .  Since notification is the default (suppression requires -x), I presume there is something wrong with the way we're going about
    icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Andreas Luedeke on Wed Jul 19 08:50:16 2017 
Yes, parentheses in field content might be difficult to pass from a shell command. You did not even mention which Linux shell you are using and you did
not show the actual elog command. Maybe you want to add that information?




Phil
       icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Phil Rubin on Wed Jul 19 08:59:52 2017 
Thank you for responding.

I thought I provided the command at the end of the note:

/usr/local/bin/elog -h host -p port -l Notebook -u user passwd -a Author="Author" -a Type=Type -a Category=Category -a Subject="subject"
          icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Andreas Luedeke on Wed Jul 19 10:14:44 2017 
If that is your command then it is obvious why no email is send:

you do set "Type=Type", but only for "Type=Problem(s)" and "Category=TDAQ" you would send an email.

Instead of writing "-h host" you should as well define the actual hostname, like "-h midas.psi.ch", likewise for all other
             icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Phil Rubin on Wed Jul 19 10:25:08 2017 
I didn't realize you required every detail of the command, since the entry is being logged, but here is an example (only the user information is
blanked out):

/usr/local/bin/elog -h vmna62s1 -p 8080 -l NA62Logbook -u xxxx xxxx -a Author=Rubin -a Type=Problem\(s\) -a Category=Elog -a Subject="Client
                icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Andreas Luedeke on Wed Jul 19 13:37:33 2017 
Okay, I can confirm that this does not work. It is likely related to the disclaimer in the ELOG documentation (https://midas.psi.ch/elog/config.html#conditional)

Conditional attributes are usually only used for change items in the entry form.

I guess that the "Email" command never worked with conditional attributes. I use the "Email" command and conditional attributes
icon5.gif   Weird behaviour of category filter, posted by Daniel Sajdyk on Fri Jul 14 13:18:30 2017 Category-Software_and_Subcategory-Antywirus.pngSubcategory-Antivirus.png
Hello.

Today I noticed that when I use category filter in the top, right of Elog I got different results, that depends on that if I select Category
and Subcategory or just Subcategory option.
    icon2.gif   Re: Weird behaviour of category filter, posted by Andreas Luedeke on Wed Jul 19 08:58:51 2017 
Hi Daniel,

I agree: it should. And it does in my case; it works perfectly fine for my logbooks. Maybe you should have a closer look for special characters
in you configuration? Otherwise I don't know why it does not work for you.
icon5.gif   Virus in latest elog?, posted by Daniel Sajdyk on Fri Jul 14 13:11:48 2017 elog.png
Hello.

Today I wanted to download latest elog version, and got information from Eset Endpoint Antyvirus, that downloaded file has trojan horse "Generic.GQWFFXB".

It this false positive alarm?
    icon2.gif   Re: Virus in latest elog?, posted by Stefan Ritt on Fri Jul 14 16:58:48 2017 
Hi Daniel,

you're the first one reporting about this virus. We have different virus checkers here at our lab and none of them triggered. So I guess
it is a false alarm.
icon5.gif   Server dropping SSL connection while uploading large files, posted by Erkcan Ozcan on Sat Jun 10 07:05:24 2017 
Hi,

I am having trouble with uploading large (>0.5MB) files to elog. We click on upload and in a couple of seconds, the webbrowser complains that
the server has dropped the connection.
    icon2.gif   Re: Server dropping SSL connection while uploading large files, posted by Erkcan Ozcan on Wed Jun 28 19:37:10 2017 
Hi,

Could someone at least suggest how I could debug this problem myself? If I know where to start, perhaps I can fix it myself and contribute to
the software.
       icon2.gif   Re: Server dropping SSL connection while uploading large files, posted by Andreas Warburton on Wed Jun 28 22:20:38 2017 
Hi Erkcan,

I observed similar behaviours when attempting to do SSL uploads and mirroring over a WAN (see some of my recent posts).  Having not received
any responses/help, and no time to try debugging the source myself, I've changed the way I use ELOG such that my attachment uploads are always local
       icon2.gif   Re: Server dropping SSL connection while uploading large files, posted by Stefan Ritt on Thu Jun 29 08:36:03 2017 
One possibility is to run elog in non-SSL mode and put an Apache server in front of it. The Apache server can then do the SSL communication, and forward
all requests to elog in plain text (non-SSL). This has been proven to work with large attachments, actually that's the way I use it.

I didn't find time to debug the SSL problem. If anybody is interested in doing so, the relevant code is in function server_loop() around
ELOG V3.1.5-3fb85fa6