Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 367 of 808  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  67078   Thu Jun 2 16:50:17 2011 Reply Sara Vaninisara.vanini@pd.infn.itBug reportLinux2.7Re: editor dosn't work

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

 

  65964   Mon Sep 8 14:22:10 2008 Entry Samuel Morrissam@tifr.res.inQuestionLinux2.6.3Is there a way to send email notification without attachment

Is there any way to send email notification of only the message and not the attachment. We get entries consisting of 10 MBs sometimes, and we would like to send only the message and not the attachment in the email notification. I tried restricting postfix to 1MB and using Email Format = 111 but with no success.

Thanks

sam

  65967   Tue Sep 9 08:03:55 2008 Reply Samuel Morrissam@tifr.res.inQuestionLinux2.6.3Re: Is there a way to send email notification without attachment

Stefan Ritt wrote:
Samuel Morris wrote:

Is there any way to send email notification of only the message and not the attachment. We get entries consisting of 10 MBs sometimes, and we would like to send only the message and not the attachment in the email notification. I tried restricting postfix to 1MB and using Email Format = 111 but with no success.

You have to use 

Email Format = 47

to remove the attachments. The encoding is decimal, not binary, so you have to do 1+2+4+8+32.

 Dear Stefan,

I tried Email Format =47 . still am having problems.

With Postfix limitation of 1MB elog is giving error message of 'Error sending Email via "<domain name>": 5.3.4 Error: message file too big

Without Postfix limitation, its sending email with the attachment.

Thanks

  65970   Tue Sep 9 11:13:15 2008 Reply Samuel Morrissam@tifr.res.inQuestionLinux2.6.3Re: Is there a way to send email notification without attachment

Stefan Ritt wrote:

 

Samuel Morris wrote:

 

Stefan Ritt wrote:
Samuel Morris wrote:

Is there any way to send email notification of only the message and not the attachment. We get entries consisting of 10 MBs sometimes, and we would like to send only the message and not the attachment in the email notification. I tried restricting postfix to 1MB and using Email Format = 111 but with no success.

You have to use 

Email Format = 47

to remove the attachments. The encoding is decimal, not binary, so you have to do 1+2+4+8+32.

 

 Dear Stefan,

I tried Email Format =47 . still am having problems.

With Postfix limitation of 1MB elog is giving error message of 'Error sending Email via "<domain name>": 5.3.4 Error: message file too big

Without Postfix limitation, its sending email with the attachment.

Thanks

 

 I guess you are modifying the wrong elogd.cfg file. Note that you have to send a HUP signal after you changed elgod.cfg for the daemon to re-read the file. Try modifying something else (like adding a new attribute) and see if the daemon sees the change.

 Adding a new attribute is working fine... Has it to do with the elog 2.6.3 version and also I downloaded from ubuntu's synaptic package.. Will the latest release of elog solves this problem???

 

  65974   Mon Sep 15 08:27:16 2008 Reply Samuel Morrissam@tifr.res.inQuestionLinux2.7.4Re: Is there a way to send email notification without attachment

Stefan Ritt wrote:
Samuel Morris wrote:

  Adding a new attribute is working fine... Has it to do with the elog 2.6.3 version and also I downloaded from ubuntu's synaptic package.. Will the latest release of elog solves this problem???

I don't remember exactly when this feature was added, but it would well be that it was after 2.6.3, so upgrading would help. 

 

 Thanks Stefan. Now I have installed 2.7.4 and the problem is solved. but am having another problem. Elog is giving the same error message if the logbook has more than 5 subscribers for email notification. Upto 5 subscribers it works fine. I am sure its not postfix problem as I am able to send to more than 5 addresses in pine.

  Draft   Mon May 20 11:54:37 2024 Question sam wellssam.wells@awe.co.ukQuestionLinux  
  292   Tue Apr 22 11:29:44 2003 Warning Thomas Saleinsalein@ckc.deBug report  Opera and IE behave different
I repeat ...
. Opera browser 7.03 simply crashes, when choosing the direct URL to our 
logbook, i.e. http://localhost:8080/logbook2. We have set a general 
password file and a different read password for each of our logbooks.
If we choose http://localhost:8080/logbook1 everything is fine. We get a 
window "Authentication required" and type in simply the read password, no 
user name.
If we choose http://localhost:8080/logbook2 the behaviour is different. We 
see the window "Authentication required" appear, then Opera crashes.
Change of the read passwords did not change this erroneous behaviour. This 
problem was not with version ELOG 2.3.4.

In Internet Explorer 6 all is okay.


 ... and add

The behaviour is different in those browsers even with the start page at 
http://localhost:8080/
Internet Explorer 6 demands a login. But as we have no password we cannot 
login.
Opera 7.03 demands no login and simply offers the list of logbooks to 
choose one.
  380   Mon Jun 30 02:12:24 2003 Warning Sridhar Anandakrishnansak@essc.psu.eduBug fixMac OSX2.3.8Re: runtime error under Mac OS X 10.2
Joe,

Run the command 
`limit' (if you are running tcsh) and `ulimit -a' if you are running bash
(these are command line programs that will tell you the resources you are
allowed to use.  Look at filesize, datasize, and stacksize - these need to be
8M or so)

You can increase these by typing, e.g.,

limit filesize unlimited
limit datasize unlimited
limit stacksize unlimited

(the equivalent command for bash are `ulimit -f unlimited', `ulimit -d
unlimited' and `ulimit -s unlimited', without the quotes)

which will increase the limits to the max imposed by the administrator.  
If that doesn't increase your limits, you will have to contact the admin to
have them raised system wide.

If you are the administrator/sole user, you can set them to the max in the file:

/etc/rc.common.

I have included the following at the end of the file:

##
# Enable coredumps if requested.
##
if [ "${COREDUMPS:=-NO-}" = "-YES-" ]; then
    ulimit -c unlimited
    ulimit -d unlimited
    ulimit -s unlimited
fi


and I have put this in /etc/hostconfig

COREDUMPS=-YES-

Hope this helps - if that doesn't fix it, sorry!

Sridhar

> I have been trying to build and run elog under Mac OS  X 10.2.6, without
sucess.  I 
> understand that this is not one of the 'supported' platforms, but I hope
that there is someone   
> here who might know the work-around to my problem.
> 
> I've tried building elog 2.2.5, 2.3.6, 2.3.7, and 2.3.8.  I've tried using
the compiler that comes 
> in the Mac OS X 10.2 box, as well as the gcc-based compiler supplied in
Apple's Dec 2002 
> developer update (gcc 3.1), and the June '03 update as well (gcc 3.3).
> 
> elog builds without error in all cases I tried.
> 
> When I run it, it will correctly serve the demo notebook.  However, when the
user clicks on the 
> test message to display it in full, there is a seg fault.
> 
> I suspect that the trouble might be with something defined in time.h.
> 
> I've run it in gdb, and the result is appended to this message.  This is for
gcc 3.3 and elog 
> 2.3.8.
> 
> 
> I would greatly appreciate any hints or suggestions.
> 
> Cheers, Joe
> 
> ---
> 
> [satsuma:~/Documents/elog_build/elog-2.3.8] jgiaime% gdb ./elogd
> GNU gdb 5.3-20030128 (Apple version gdb-282) (Fri Jun 13 03:33:07 GMT 2003)
> Copyright 2003 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "powerpc-apple-darwin".
> Reading symbols for shared libraries .. done
> (gdb) run
> Starting program: /Users/jgiaime/Documents/elog_build/elog-2.3.8/elogd 
> Reading symbols for shared libraries . done
> Indexing logbook "demo" ... ok
> Server listening on port 8080...
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> 0x00005870 in el_retrieve (lbs=0x1, message_id=50, date=0xbfff2500 "demo", 
> attr_list=0x0, attrib=0x365620, n_attr=1, text=0xbfff2280 "1", textsize=0x1, 
> in_reply_to=0x0, reply_to=0x0, attachment=0x0, encoding=0x0, locked_by=0x0)
at src/
> elogd.c:2775
> 2775    {
> (gdb) up
> #1  0x0001d9b4 in interprete (lbook=0x1 <Address 0x1 out of bounds>,
path=0xbfff2280 
> "1") at src/elogd.c:12279
> 12279       show_elog_message(lbs, dec_path, command);
> (gdb) up
> #2  0x0001db10 in decode_get (logbook=0xbffff340 "demo", string=0x3a300a
"1") at src/
> elogd.c:12325
> 12325     interprete(logbook, path);
> (gdb) up
> #3  0x00020080 in server_loop (tcp_port=836736, daemon=-1073732640) at src/
> elogd.c:13398
> 13398             decode_get(logbook, p);
> (gdb) up
> #4  0x00021134 in main (argc=1, argv=0xbffff850) at src/elogd.c:13832
> 13832     server_loop(tcp_port, daemon);
> (gdb) up
> Initial frame selected; you cannot go up.
> (gdb) 
ELOG V3.1.5-3fb85fa6