Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 792 of 806  Not logged in ELOG logo
ID Date Icon Authorup Author Email Category OS ELOG Version Subject
  69768   Mon Mar 25 10:18:55 2024 Reply scottshiva.ps@stfc.ac.ukQuestionLinux3.1.5-1Re: Installation with amp on Rocky Linux

Is there an RPM available for Rocky 8 or Rocky 9?

And checking over https://elog.psi.ch/elog/download/RPMS/ , only el7 is found. Is that the right place to look for EL8 or EL9 based RPM?

Thanks,

Scott

Laurent Jean-Rigaud wrote:

Normally it should work. Requirements are set in SPEC file.

$ rpm -qpi --requires elog-3.1.5-20240226.el7.x86_64.rpm
/bin/sh
/bin/sh
/bin/sh
config(elog) = 3.1.5-20240226.el7
krb5-libs
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libkrb5.so.3()(64bit)
libkrb5.so.3(krb5_3_MIT)(64bit)
liblber-2.4.so.2()(64bit)
libldap-2.4.so.2()(64bit)
libm.so.6()(64bit)
libpam.so.0()(64bit)
libpam.so.0(LIBPAM_1.0)(64bit)
libssl.so.10()(64bit)
libssl.so.10(libssl.so.10)(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
openldap >= 2.4.1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1

The EL7 binary needs the following RPM :

$ ldd /usr/local/sbin/elogd | awk '{print $1}' | while read r ; do rpm -qf /lib64/$r ; done | sort -u
erreur�: fichier /lib64/linux-vdso.so.1�: Aucun fichier ou dossier de ce type
erreur�: fichier /lib64/lib64/ld-linux-x86-64.so.2�: Aucun fichier ou dossier de ce type
audit-libs-2.8.5-4.el7.x86_64
cyrus-sasl-lib-2.1.26-24.el7_9.x86_64
glibc-2.17-326.el7_9.x86_64
keyutils-libs-1.5.8-3.el7.x86_64
krb5-libs-1.15.1-55.el7_9.x86_64
libcap-ng-0.7.5-4.el7.x86_64
libcom_err-1.42.9-19.el7.x86_64
libgcc-4.8.5-44.el7.x86_64
libselinux-2.5-15.el7.x86_64
libstdc++-4.8.5-44.el7.x86_64
nspr-4.35.0-1.el7_9.x86_64
nss-3.90.0-2.el7_9.x86_64
nss-softokn-freebl-3.90.0-6.el7_9.x86_64
nss-util-3.90.0-1.el7_9.x86_64
openldap-2.4.44-25.el7_9.x86_64
openssl-libs-1.0.2k-26.el7_9.x86_64
pam-1.1.8-23.el7.x86_64
pcre-8.32-17.el7.x86_64
zlib-1.2.7-21.el7_9.x86_64

 

Almost all of them are installed by ELOG RPM or are already installed by default Redhat profiles.

Nina, do you use right RPM version (el7/8/9) according to Rockylinux one ? El7 rpm can not be installed on RL9...

 

Bye

 

Stefan Ritt wrote:

Is there a way to install all dependencies automatically? Like if I install a package like "emacs" I get a list of dependencies with are automatically installed:

Dependencies Resolved

====================================================================================================================================
 Package                          Arch                       Version                                Repository                 Size
====================================================================================================================================
Updating:
 emacs                            x86_64                     1:24.3-23.el7_9.1                      rhel7                     2.9 M
Updating for dependencies:
 emacs-common                     x86_64                     1:24.3-23.el7_9.1                      rhel7                      20 M

Transaction Summary
====================================================================================================================================
Upgrade  1 Package (+1 Dependent package)

Total download size: 23 M
Is this ok [y/d/N]:

Laurent Jean-Rigaud wrote:

Hi Nina,

The RPM is built with Kerberos (libber*), LDAP (libldap*) and SSL (libssl*) options. These libs are missing on your system, and rpm command does not take care of dependencies.

 Try to install with yum : yum install elog-latest.el7.x86_64.rpm

Normally the missing rpm files should be dlded from RL repo if your host can access to them...

.

Laurent

Nina Bondarenko wrote:

Hello all,

I am installing elog on an Rocky Linux instance. Have dependensy problem. 

rpm -Uvh elog-latest.el7.x86_64.rpm 

error: Failed dependencies:

    liblber-2.4.so.2()(64bit) is needed by elog-3.1.5-1.el7.x86_64

    libldap-2.4.so.2()(64bit) is needed by elog-3.1.5-1.el7.x86_64

    libssl.so.10()(64bit) is needed by elog-3.1.5-1.el7.x86_64

    libssl.so.10(libssl.so.10)(64bit) is needed by elog-3.1.5-1.el7.x86_64

 

Any clues from developers to resolve it and keep the software working. Thank you in advance!

Bests, Nina

 

 

 

 

  69770   Mon Mar 25 16:19:02 2024 Reply scottThank shiva.ps@stfc.ac.ukQuestionLinux3.1.5-1Re: Installation with amp on Rocky Linux

Hi,

Thanks for the links to EL8/EL9. 

 

Does this package support LDAP and SSL as well?

 

 

Laurent Jean-Rigaud wrote:

Hi,

The ELOG website provides new link to RPM packages :

Linux binaries are distributed as RPMs.

EL8/EL9 RPM are also available.

 

scott wrote:

Is there an RPM available for Rocky 8 or Rocky 9?

And checking over https://elog.psi.ch/elog/download/RPMS/ , only el7 is found. Is that the right place to look for EL8 or EL9 based RPM?

Thanks,

Scott

Laurent Jean-Rigaud wrote:

Normally it should work. Requirements are set in SPEC file.

$ rpm -qpi --requires elog-3.1.5-20240226.el7.x86_64.rpm
/bin/sh
/bin/sh
/bin/sh
config(elog) = 3.1.5-20240226.el7
krb5-libs
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libkrb5.so.3()(64bit)
libkrb5.so.3(krb5_3_MIT)(64bit)
liblber-2.4.so.2()(64bit)
libldap-2.4.so.2()(64bit)
libm.so.6()(64bit)
libpam.so.0()(64bit)
libpam.so.0(LIBPAM_1.0)(64bit)
libssl.so.10()(64bit)
libssl.so.10(libssl.so.10)(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
openldap >= 2.4.1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1

The EL7 binary needs the following RPM :

$ ldd /usr/local/sbin/elogd | awk '{print $1}' | while read r ; do rpm -qf /lib64/$r ; done | sort -u
erreur�: fichier /lib64/linux-vdso.so.1�: Aucun fichier ou dossier de ce type
erreur�: fichier /lib64/lib64/ld-linux-x86-64.so.2�: Aucun fichier ou dossier de ce type
audit-libs-2.8.5-4.el7.x86_64
cyrus-sasl-lib-2.1.26-24.el7_9.x86_64
glibc-2.17-326.el7_9.x86_64
keyutils-libs-1.5.8-3.el7.x86_64
krb5-libs-1.15.1-55.el7_9.x86_64
libcap-ng-0.7.5-4.el7.x86_64
libcom_err-1.42.9-19.el7.x86_64
libgcc-4.8.5-44.el7.x86_64
libselinux-2.5-15.el7.x86_64
libstdc++-4.8.5-44.el7.x86_64
nspr-4.35.0-1.el7_9.x86_64
nss-3.90.0-2.el7_9.x86_64
nss-softokn-freebl-3.90.0-6.el7_9.x86_64
nss-util-3.90.0-1.el7_9.x86_64
openldap-2.4.44-25.el7_9.x86_64
openssl-libs-1.0.2k-26.el7_9.x86_64
pam-1.1.8-23.el7.x86_64
pcre-8.32-17.el7.x86_64
zlib-1.2.7-21.el7_9.x86_64

 

Almost all of them are installed by ELOG RPM or are already installed by default Redhat profiles.

Nina, do you use right RPM version (el7/8/9) according to Rockylinux one ? El7 rpm can not be installed on RL9...

 

Bye

 

Stefan Ritt wrote:

Is there a way to install all dependencies automatically? Like if I install a package like "emacs" I get a list of dependencies with are automatically installed:

Dependencies Resolved

====================================================================================================================================
 Package                          Arch                       Version                                Repository                 Size
====================================================================================================================================
Updating:
 emacs                            x86_64                     1:24.3-23.el7_9.1                      rhel7                     2.9 M
Updating for dependencies:
 emacs-common                     x86_64                     1:24.3-23.el7_9.1                      rhel7                      20 M

Transaction Summary
====================================================================================================================================
Upgrade  1 Package (+1 Dependent package)

Total download size: 23 M
Is this ok [y/d/N]:

Laurent Jean-Rigaud wrote:

Hi Nina,

The RPM is built with Kerberos (libber*), LDAP (libldap*) and SSL (libssl*) options. These libs are missing on your system, and rpm command does not take care of dependencies.

 Try to install with yum : yum install elog-latest.el7.x86_64.rpm

Normally the missing rpm files should be dlded from RL repo if your host can access to them...

.

Laurent

Nina Bondarenko wrote:

Hello all,

I am installing elog on an Rocky Linux instance. Have dependensy problem. 

rpm -Uvh elog-latest.el7.x86_64.rpm 

error: Failed dependencies:

    liblber-2.4.so.2()(64bit) is needed by elog-3.1.5-1.el7.x86_64

    libldap-2.4.so.2()(64bit) is needed by elog-3.1.5-1.el7.x86_64

    libssl.so.10()(64bit) is needed by elog-3.1.5-1.el7.x86_64

    libssl.so.10(libssl.so.10)(64bit) is needed by elog-3.1.5-1.el7.x86_64

 

Any clues from developers to resolve it and keep the software working. Thank you in advance!

Bests, Nina

 

 

 

 

 

 

  69789   Wed Apr 24 12:55:25 2024 Question scottshiva.ps@stfc.ac.ukQuestionLinux | Other3.1.5Imagemagick not working on Ubuntu

Hi Team,

I have set up Elog on the Ubuntu server using the compile and install method. I have installed ImageMagick and GhostScript along with that.

You can find "ImageMagick detected" mentioned in the service status provided below:

=======================================================================

● elogd.service - The ELOG Server
     Loaded: loaded (/lib/systemd/system/elogd.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-04-23 08:59:50 UTC; 1 day 1h ago
       Docs: man:elogd(8)
             man:elog(8)
   Main PID: 858 (elogd)
      Tasks: 1 (limit: 9365)
     Memory: 163.5M
        CPU: 25.825s
     CGroup: /system.slice/elogd.service
             └─858 /usr/local/sbin/elogd -D -c /usr/local/elog/elogd.cfg

Apr 23 08:59:50 server1.com systemd[1]: Starting The ELOG Server...
Apr 23 08:59:50 server1.com elogd[858]: elogd 3.1.5 built Mar 21 2024, 17:20:15
Apr 23 08:59:50 server1.com systemd[1]: Started The ELOG Server.
Apr 23 08:59:50 server1.com elogd[858]: revision fe60aaf0
Apr 23 08:59:50 server1.com elogd[858]: CKeditor detected
Apr 23 08:59:51 server1.com elogd[858]: ImageMagick detected
Apr 23 09:00:08 server1.com elogd[858]: Server listening on port 8080

​=======================================================================

root@server1# identify -version
Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
Copyright: (C) 1999-2021 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP(4.5)
Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib


​=======================================================================

However, the ImageMagick was found to be not working on my logbook. See the below error on the logbook.

Cannot create thumbnail, please check ImageMagick installation

I have attached a screenshot for reference.

Please could someone help me how to solve this?

Many thanks,
Scott
 

Attachment 1: image.png
image.png
  66780   Sun Apr 4 11:26:19 2010 Question siva kumarsivakumarkp@fastmail.fmQuestionWindows2.7.8 background color and font

Stefan,

i recently download the elog server for windows and configured. its working with me fine

i would like to configure my elog server for to display a different color when am giving a specific "value" for a attribute "Status".

from the documentation i found to use the

Style Status Fixed = background-color:green

but with this configuration, the entire raw will be with red color or the specified color. i am looking only for that specific box (Status column) to be with specific color.

my configuration is as follows

Attributes = Author, Type, Category,  Subject, Location, Problem Description, Status

Options Status = Fixed, Under Process, Not Fixed

Style Status Fixed  = background-color:green

Style Status Not Fixed  = background-color:red

Style Status Under Process  = background-color:yellow

Am attaching two images, one is current display and next one is what i am looking for

am not sure about will it possible or not.  please guide me. if it possible with javascript please tell me how i can include a external javascript for this pupose.

Thanks in advance

siva

Attachment 1: current.jpg
current.jpg
Attachment 2: looking_for.jpg
looking_for.jpg
  66789   Sun Apr 18 11:54:38 2010 Reply siva kumarsivakumarkp@fastmail.fmQuestionWindows2.7.8 Re: background color and font

Stefan Ritt wrote:

siva kumar wrote:

Stefan,

i recently download the elog server for windows and configured. its working with me fine

i would like to configure my elog server for to display a different color when am giving a specific "value" for a attribute "Status".

from the documentation i found to use the

Style Status Fixed = background-color:green

but with this configuration, the entire raw will be with red color or the specified color. i am looking only for that specific box (Status column) to be with specific color.

my configuration is as follows

Attributes = Author, Type, Category,  Subject, Location, Problem Description, Status

Options Status = Fixed, Under Process, Not Fixed

Style Status Fixed  = background-color:green

Style Status Not Fixed  = background-color:red

Style Status Under Process  = background-color:yellow

Am attaching two images, one is current display and next one is what i am looking for

am not sure about will it possible or not.  please guide me. if it possible with javascript please tell me how i can include a external javascript for this pupose.

Thanks in advance

siva

I have added a new option for you:

Cell Style <attribute> <value> = ...

which does exactly that. The new version is 2.7.8-5 is ready for download. 

 Dear Stefan,

I really appreciate you doing this for me. i downloaded the latest version and configured as you said. its working very well. Actually this is what i am exactly looking for. Thank you very much

i would like to ask you about one more issue.

is it possible to deduct a numeric attribute from another numeric attrubute

let me explain clearly. suppose i have two attribute, both having a numeric value which is submitted by the user.

i would like to get its difference of these two attribute in an another attribute

please let me know its possible or not

once again i would like to appreciate you for making this wonderful application and helping me to resolve the issue

Best Regards

siva

 

  Draft   Mon Feb 6 15:59:04 2017 Warning sohail bhattisohail_bhatti@yahoo.comRequestWindows3.1.2Re: calculate diff of 2 date(s)

Alex Kühnel wrote:

thx!

Stefan Ritt wrote:

There is the "subst on edit = ..." option you should use in addition.

Stefan

Alex Kühnel wrote:

is ist possible that subst only works for the initial create of a logbook entry? when I change/edit one of the parameter "Einsatzbegin" or "Einsatzende" the "Einsatzzeit" is not changed.

regards

/alex

Alex Kühnel wrote:

I found the solution in the forum :-)

subst Einsatzzeit = $shell(/usr/local/elog/diff.sh \"$Einsatzbeginn\" \"$Einsatzende\")

and diff.sh is

#!/bin/sh
#set -x
s1=$(date -d "$1" +%s)
s2=$(date -d "$2" +%s)
d=$(echo "($s2-$s1)/60"|bc -lq)
printf "%.0f Minuten" $d
 

 

 

Alex Kühnel wrote:

hi

I have an elogsystem for documenting emergency services. I have a starttime and an endtime. Is it possible to calculate the diff between the 2 timestamps and convert it to minutes?

 

Attributes = Bereitschafts Kalender Woche, Bereitschafts Woche, Einsatzbeginn, Einsatzende, Einsatzzeit, Telefon Nummer, Station, Status, Problem 
Options Status= Offen{1}, Erledigt{2}, Geschlossen{3}

......

Type Einsatzbeginn = datetime
Type Einsatzende = datetime

....

Subst Einsatzzeit  = $shell(Einsatzende - Einsatzbeginn)  

 

regards

/alex

 

 

 

 

 

  66009   Wed Oct 22 12:44:48 2008 Entry soren poulsensoren.poulsen@cern.chBug reportLinux2.7.5Elogd crashes

Hi

 

I am experiencing trouble with Elog crashing. I think it crashes during input operations (new entries are being added).

Are there any preferred methods to troubleshoot this ? Any log files I could look at ?

For now, I let "monit" supervise the process and restart it if it crashes. But I would like to get to the root cause of the problem.

Soren Poulsen

CERN

  66011   Thu Oct 23 08:12:06 2008 Reply soren poulsensoren.poulsen@cern.chBug reportLinux2.7.5Re: Elogd crashes

Dear Stefan,

Thanks for your reply.

I started running elog in February and it never failed. Then it started failing regularly towards the end of September. There were no system changes until then, except the daily automatic Yum updates (SLC4). Then I upgraded to the latest version (tar ball of 2.7.5). Then yesterday it crashed again. I saw that it crashed around the time when a user was doing something - inputting new data. I can monitor when it crashes and correlate it with user activity. But it is not easy to reproduce since I don't know exactly what the user is typing.

It would be necessary to record the user input forms and then replay them against a known server state. But that is not so easy.

I will think about doing something else - maybe running inside a debugger as you suggest.

Soren

Stefan Ritt wrote:

 

soren poulsen wrote:

Hi

 I am experiencing trouble with Elog crashing. I think it crashes during input operations (new entries are being added).

Are there any preferred methods to troubleshoot this ? Any log files I could look at ?

For now, I let "monit" supervise the process and restart it if it crashes. But I would like to get to the root cause of the problem.

Soren Poulsen

CERN

 

Dear Soren,

sorry for the trouble, but it's very hard to diagnose this remotely. This forum here runs fine for many months, so in principle Elog should be stable (at least the current version 2.7.5). If you have an older version, please upgrade. If you have a way to reproduce the problem reliably, you can send me your config file and explain step-by-step how you make Elog crash. Then I can try to reproduce it here. Otherwise the only chance I see is to run elog from inside the debugger, and once it crashes record the stack trace and send it to me. If you don't know how to use the gnu debugger, I'm sure you find someone at CERN who knows. 

Best regards,

   Stefan

 

ELOG V3.1.5-3fb85fa6