elog crashing on startup, posted by Jeff Stoner on Fri Feb 15 22:24:38 2008
|
I installed elog 2.7.2 rev 2041 into /data/elog on Redhat ES 4 Update 4. This is my initial elogd.cfg file:
[global] port = 80 Resource dir = /data/elog/elog Logbook dir = /data/elog/elog/logbooks Logfile = /data/elog/elog/logs/access_log Logging level = 2 Resolve host names = 0 Usr = nobody Grp = nobody
[demo] Theme = default Comment = General linux tips & tricks Attributes = Author, Type, Category, Subject Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other Options Category = General, Hardware, Software, Network, Other Extendable Options = Category Required Attributes = Author, Type Page Title = ELOG - $subject Reverse sort = 1 Quick filter = Date, Type
and start elogd - all is right with the world, everything is working properly. I shut down elog and try to add more logbooks using this template:
[A-B] Subdir = cr_a-b Comment = Change requests for Customers A-B Menu commands = New, Reply, Download, Find, Last day List Menu commands = New, Find Display mode = summary
I create 14 of them, one for every 2 letters of the English alphabet and 0-9. The logbook name and Subdir change appropriately. When I start elog, it stays up for about 30 seconds, then crashes. No messages are recorded in syslog nor in the logfile. The only thing that looks suspicious are a couple lines in syslog:
Feb 15 17:11:05 iadopsutil04p elogd[23761]: elogd 2.7.2 built Feb 14 2008, 20:55:38 Feb 15 17:11:05 iadopsutil04p elogd[23761]: revision 2041 Feb 15 17:11:05 iadopsutil04p elogd[23761]: FCKedit detected Feb 15 17:11:05 iadopsutil04p elogd[23763]: Cannot restore original GID/UID. Feb 15 17:11:05 iadopsutil04p elogd[23763]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied Feb 15 17:11:05 iadopsutil04p elogd[23761]: Server listening on port 80 ...
This is obviously the child process responsible for the highlighted lines and it's coming from the cleanup function. Why it's getting called is beyond me.
Ideas? |
elog crashes with a long thread., posted by David Pilgram on Thu Oct 29 20:48:41 2009
|
Hi Stefan,
I have a thread of 70 entries. I added another entry, which was saved, but elog crashed.
It would restart, but crash every time I then tried to access that 71 entry thread.
By editing the yymmdda.log files to remove the latest entry, all was well again.
Add a test new entry (much smaller) also crashed elog as before.
If it is any help, this is the error message I caught on a console:
src/elogd.c:703: xrealloc: Assertion `*((unsigned int *) (temp + old_size)) == 0xdeadc0de' failed.
./log: line 1: 3123 Aborted
Now I have got around this, by ending that thread with reference to a new one to continue, but is this to be
expected?
If this is something (like memory allocation) that would have been in hiding from the start, I cannot imagine
that it is likely to be hit often enough to actually "bug fix" - it might, in any case, cause problems elsewhere. |
elog crashes when admin tries to register new users, posted by Heiko Scheit on Wed May 18 14:18:07 2005
|
When pasting the URL for the registration of new users (with 'Self register = 3') elog
crashes with segmentation fault. I don't have the time currently to give you more
debuging information but maybe you can have a look the same. It crashes after
the user is registered. The Email is sent, too. |
elog command line submission, posted by Erik Butz on Thu Nov 4 13:23:50 2010
|
Hi,
I am playing with the elog automatic subscription script, but somehow I am failing in submitting an entry.
I am using a syntax as this:
echo test | elog -h 127.0.0.1 -p 8085 -d /usr/local/elogbooks/Elog -l "Sub Elog" -a "Type=MyType" -x -u user passwd
and I get a message which says:
"cannot get host name: Success"
which seems contradictory and also there is no entry submitted.
The command is executed on the host where the elog is running, the port and directory are taken from the cfg File.
What is my mistake, where is my misunderstanding of the documentation?
Any hints appreciated.
Erik |
elog command creates always UTF-8 encoded entries, posted by Andreas Luedeke on Wed Jan 19 13:30:48 2011
|
If I create an entry via the web-interface, the defined encoding of the browser is used.
If I create an entry via "elog", it is always stored in UTF-8 encoding.
For the text I can overcome that with HTML encoding, but for attribute values the encoding does not show properly.
The only solution I found was to convert the whole logbook to UTF-8 encoding:
define "charset=UTF-8" in elogd.cfg
iconv --from-code=ISO-8859-1 --to-code=UTF-8 elogd.cfg >tmp;mv tmp elogd.cfg
iconv --from-code=ISO-8859-1 --to-code=UTF-8 resources/eloglang.german >tmp;mv tmp resources/eloglang.german
Has anyone any idea why ISO8859-1 does not work for me?
Or can anyone advice me of an editor similar to NEdit that is capable to display UTF-8? :-) |
elog client through proxy, posted by gibelin julien on Mon Mar 25 12:31:34 2019
|
Dear users,
we started an elog serveur (using ssl) and open to the world which is working fine.
However I am trying to access it via the command line client, from a computer that uses a proxy to connect to internet.
The environnment variable are set :
declare -x ftp_proxy="ftp://myproxy:3128/"
declare -x http_proxy="http://myproxy:3128/"
declare -x https_proxy="https://myproxy:3128/"
declare -x socks_proxy="socks://myproxy:3128/"
but when I try to connect
elog -h myelog -p 443 -l lognote -s 1 -u username passwd -w last
I have the following message :
Cannot connect to host myelog, port 44
How should I proceed ?
Best regards
JG
:
|
elog client overwriting attached files when editing existing log, posted by Joseph McKenna on Wed Sep 16 01:27:20 2015
|
Using the elog client to upload atachments, I can successfully send attachments to an existing elog, however the existing attachments are lost.
I have tested using the elog client version 3.1.1 and elog client version 2.9.2 sending to elogd 2.9.0
elog -h localhost -p 8080 -l test -f file1.png -f file2.png -e 249 -v -x
This works great, the text contained in the elog post is retained, however all attachments are lost and replaced with those sent by this command.
Can anyone provide some tips? I am not sure if its a problem with the client or server.
Thank you in advance!
Joseph
|
elog client overwriting attached files when editing existing log, posted by Joseph McKenna on Wed Sep 16 02:47:33 2015
|
Using the elog client to upload atachments, I can successfully send attachments to an existing elog, however the existing attachments are lost.
I have tested using the elog client version 3.1.1 and elog client version 2.9.2 sending to elogd 2.9.0
elog -h localhost -p 8080 -l test -f file1.png -f file2.png -e 249 -v -x
This works great, the text contained in the elog post is retained, however all attachments are lost and replaced with those sent by this command.
Can anyone provide some tips? I am not sure if its a problem with the client or server.
Thank you in advance!
Joseph
|
|