Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 703 of 807  Not logged in ELOG logo
    icon2.gif   Re: elog@Ubuntu 18.04, posted by Carsten Winkler on Tue Feb 1 09:13:40 2022 

sudo ldconfig didn't solve the problem


Is there any other solution than elog static linking?

Stefan Ritt wrote:

Looks like you don't have shared libraries correctly configured on your system. Try "ldconfig" on your system or link elogd statically (google how to do that).

Stefan

Carsten Winkler wrote:

Hello,

I try to start elog at Ubuntu 18.04. When I run sudo /usr/local/sbin/elogd -D -c /usr/local/elog/elogd.cfg I get following error:
/usr/lib/libssl.so.10: version `libssl.so.10' not found (required by /usr/local/sbin/elogd)

I checked following:
ls -l /usr/lib/libssl.so.10
lrwxrwxrwx 1 root root 41 Jan 29 08:24 /usr/lib/libssl.so.10 -> /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
ls -l /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
-rw-r--r-- 1 root root 424664 Aug 24 18:16 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0

What's going wrong? And how to solve the problem?

Best,
Carsten

 

 

    icon2.gif   Re: elog@Ubuntu 18.04, posted by Carsten Winkler on Tue Feb 1 16:16:34 2022 

downloading the sources and building them on the target system solved the problem

Carsten Winkler wrote:

sudo ldconfig didn't solve the problem


Is there any other solution than elog static linking?

Stefan Ritt wrote:

Looks like you don't have shared libraries correctly configured on your system. Try "ldconfig" on your system or link elogd statically (google how to do that).

Stefan

Carsten Winkler wrote:

Hello,

I try to start elog at Ubuntu 18.04. When I run sudo /usr/local/sbin/elogd -D -c /usr/local/elog/elogd.cfg I get following error:
/usr/lib/libssl.so.10: version `libssl.so.10' not found (required by /usr/local/sbin/elogd)

I checked following:
ls -l /usr/lib/libssl.so.10
lrwxrwxrwx 1 root root 41 Jan 29 08:24 /usr/lib/libssl.so.10 -> /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
ls -l /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
-rw-r--r-- 1 root root 424664 Aug 24 18:16 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0

What's going wrong? And how to solve the problem?

Best,
Carsten

 

 

 

icon1.gif   Error Message in HTML or Java Script alert, posted by Carsten Elftmann on Mon Oct 13 11:42:07 2008 
Hello,
 
I have there a problem with the error message at required attributes.
 
I have two logbooks with identical settings,
in one the errror message appears as Javascript Alert,
in the other one as html-page, and after using the back button the entered text disapear.
Same I have in this forum.
 
I restart the Server, and tested it in one Firefox session.
 
Any idea?
 
Thanks
  Carsten
    icon2.gif   Re: Error Message in HTML or Java Script alert, posted by Carsten Elftmann on Tue Jan 27 12:30:26 2009 

Stefan Ritt wrote:

 

Carsten Elftmann wrote:
I have there a problem with the error message at required attributes.
 
I have two logbooks with identical settings,
in one the errror message appears as Javascript Alert,
in the other one as html-page, and after using the back button the entered text disapear.
Same I have in this forum.

 

Can you describe what you exactly enter in this forum to produce the error so that I can reproduce it?

 I could not produce this error here again, so I work on that:

There was a attribute with Type = Date, Preset = $Date.

This added following js code

  for (var i=0 ; i<document.form1.y0.value.length ; i++)
if ((document.form1.y0.value.charAt(i) < "0" ||
document.form1.y0.value.charAt(i) > "9")) { break }
This cause in following error 
Fehler: document.form1.y0 is undefined
Quelldatei: http://elog1.bkitech.de/Test-Maengelbericht/?cmd=Neu
Zeile: 16
After that error none js will be executed. After remarking the Type line, all work well.
icon5.gif   Automatic creation of new entry in another logbook, posted by Carlos Mateo on Thu Nov 17 11:50:45 2005 
Hi

I am trying to create an entry in logbook2 when I submit a new entry in logbook1. The automatically created entry in logbook2 will have a reference to the entry that created it.

So far I have tried several ways:

1.- Using the "Execute new" I call elog to create the second entry. As the server is single-process, it locks: elog is waiting for elogd to be ready and elogd is waiting for elog to finish to accept new requests.
As my server is on a Windows machine I canīt execute elog on background.

2.- I tried to run 2 servers on different ports using the same elogd.cfd file, calling the second server from elog. This "almost" works: the logbook files are updated, but the original server must be restarted to "see" the changes.

3.- Using the "Menu text" option, I create a link to create the new entry. The problem is that attributes are not parsed: a link like this <a href="/logbook2/?cmd=New&pAttr=Value $ID">Test</a> wonīt substitute $ID

Is there a way to do what I want?

TIA,
Carlos
    icon7.gif   Re: Automatic creation of new entry in another logbook, posted by Carlos Mateo on Mon Nov 21 10:41:46 2005 

Stefan Ritt wrote:

Carlos Mateo wrote:
I am trying to create an entry in logbook2 when I submit a new entry in logbook1. The automatically created entry in logbook2 will have a reference to the entry that created it.


Please tell me for what purpose you need two identical logbooks. Maybe what you want can be achieved in a simpler way.

They are not identical. They just share some information


Carlos Mateo wrote:
1.- Using the "Execute new" I call elog to create the second entry. As the server is single-process, it locks: elog is waiting for elogd to be ready and elogd is waiting for elog to finish to accept new requests. As my server is on a Windows machine I canīt execute elog on background.


Have you tried to start your elog with the start command under Widnows, like start elog .... This is the equivalent of starting a process in the background under linux.

Thank you. It works with start!


Carlos Mateo wrote:
2.- I tried to run 2 servers on different ports using the same elogd.cfd file, calling the second server from elog. This "almost" works: the logbook files are updated, but the original server must be restarted to "see" the changes.


This is because you use the same data directory for both servers. If one server writes a new entry to a file, the other server does not realize this. Only when you restart it, it rescans the whole data directory and gets aware of the new entry. Try using separate data directories for the two servers.


Carlos Mateo wrote:
3.- Using the "Menu text" option, I create a link to create the new entry. The problem is that attributes are not parsed: a link like this <a href="/logbook2/?cmd=New&pAttr=Value $ID">Test</a> wonīt substitute $ID


Parsing attributes is not implemented and therefore will not work.


Thank you for your help
icon1.gif   Old attachments erroneously appearing on new Elog entries., posted by Carl Unsworth on Fri Jul 26 12:52:54 2024 Screenshot_from_2024-07-26_11-46-44.pngScreenshot_from_2024-07-26_11-47-58.png

Hi, I'm not sure if this is an Elog bug, something wrong in my configuration/database.

When I create a new article on Elog it always shows an attachment from one of the first entries ever made to this log book made. This is in addition to any attachments which were actually added during article creation.

I just made an example entry to demonstrate. First attachment here shows how the entry looks in the GUI, it has an attached text file called "jail.local", 2nd attachment is how that entry looks in the database file - no attachment.

Does anyone have any idea what's happening?

icon5.gif   Old attachments erroneously appearing on new Elog entries., posted by Carl Unsworth on Fri Jul 26 12:53:23 2024 Screenshot_from_2024-07-26_11-46-44.pngScreenshot_from_2024-07-26_11-47-58.png

Hi, I'm not sure if this is an Elog bug, something wrong in my configuration/database.

When I create a new article on Elog it always shows an attachment from one of the first entries ever made to this log book made. This is in addition to any attachments which were actually added during article creation.

I just made an example entry to demonstrate. First attachment here shows how the entry looks in the GUI, it has an attached text file called "jail.local", 2nd attachment is how that entry looks in the database file - no attachment.

Does anyone have any idea what's happening?

ELOG V3.1.5-3fb85fa6