ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69805
|
Tue Jul 16 00:45:08 2024 |
| Laurent Jean-Rigaud | lollspam@free.fr | Bug report | Linux | 3.1.5-20240226 | Re: broken http response when deployed on OpenShift | Also, you have the option to rebuild RPM from SRPMS or SOURCES via ELOG buildrpm script.
You will need to install rpmbuild tools...
Options (ldap, kb5, etc) can be set from options or by editing defaults.
Laurent Jean-Rigaud wrote: |
Enrico,
When using RPM in OpenShift, I guess all the RPM dependencies are correctly installed.
FYI, I met a problem with elogd docker built with alpine Linux image and running on Synology NAS (x86_64). The ImageMagick dependencies libs provided by alpine for X86_64 are optimized for better CPU than mine with AVX2 (or something like that), and elogd failed to save a log with any enclosure (core exit, bad instruction), as some thumbnails are generated while saving.
As I didn't find any easy workaround w/o rebuilding all IM libs, so I switch to Debian images more conservative in CPU optimization, but bigger :-( before to switch to minideb that's run fine in my case.
It's not easy to debug in container w/o making one specially for that, so you should try to build a docker based on alma9 image, compiling elogd from sources (you can follow https://github.com/loll31/elog-ldap for the process).
Good luck
NB : The ldd result from my minideb Docker :
root@9ac6063e87bf:/# ldd -v /usr/local/sbin/elogd
linux-vdso.so.1 (0x00007ffd0e794000)
libssl.so.3 => /lib/x86_64-linux-gnu/libssl.so.3 (0x00007fc00ac35000)
libldap-2.5.so.0 => /lib/x86_64-linux-gnu/libldap-2.5.so.0 (0x00007fc00abd6000)
liblber-2.5.so.0 => /lib/x86_64-linux-gnu/liblber-2.5.so.0 (0x00007fc00abc6000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc00a9ac000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc00a98c000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc00a7a9000)
libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007fc00a328000)
libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007fc00a30b000)
libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007fc00a0ef000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc00a010000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc00f959000)
libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007fc009eda000)
libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007fc009ea9000)
libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007fc009cf3000)
libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007fc009cde000)
libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x00007fc009c90000)
libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x00007fc009c47000)
libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007fc009bc4000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007fc009bb8000)
Enrico Gamberini wrote: |
Hi Laurent,
Thanks, good point! I'm building a vanilla version (no extra options enabled as I'm using Webserver authentication).
3.15 RPM:
-rwxr-xr-x. 1 elog elog 1574768 Feb 26 17:29 elogd
bash-5.1$ ldd /usr/local/sbin/elogd
linux-vdso.so.1 (0x00007fff215f7000)
libssl.so.3 => /lib64/libssl.so.3 (0x00007feff74c6000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007feff73eb000)
libldap.so.2 => /lib64/libldap.so.2 (0x00007feff7384000)
liblber.so.2 => /lib64/liblber.so.2 (0x00007feff7372000)
libpam.so.0 => /lib64/libpam.so.0 (0x00007feff7360000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007feff7139000)
libm.so.6 => /lib64/libm.so.6 (0x00007feff705c000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007feff7041000)
libc.so.6 => /lib64/libc.so.6 (0x00007feff6e38000)
libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007feff6a07000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007feff69ee000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007feff69e7000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007feff69d4000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007feff69cd000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007feff69b9000)
libevent-2.1.so.7 => /lib64/libevent-2.1.so.7 (0x00007feff6960000)
libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007feff6940000)
libaudit.so.1 => /lib64/libaudit.so.1 (0x00007feff6912000)
libeconf.so.0 => /lib64/libeconf.so.0 (0x00007feff6905000)
/lib64/ld-linux-x86-64.so.2 (0x00007feff7572000)
libz.so.1 => /lib64/libz.so.1 (0x00007feff68eb000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007feff68be000)
libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007feff6884000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007feff682d000)
libcap-ng.so.0 => /lib64/libcap-ng.so.0 (0x00007feff6822000)
libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007feff6786000)
3.15 source vanilla build:
-rwxr-xr-x. 1 root root 1503896 Jul 15 09:31 elogd
bash-5.1$ ldd elogd
linux-vdso.so.1 (0x00007fff60bbf000)
libssl.so.3 => /lib64/libssl.so.3 (0x00007f8f83e44000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f8f83c1b000)
libm.so.6 => /lib64/libm.so.6 (0x00007f8f83b40000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8f83b25000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8f8391c000)
libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007f8f834e9000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8f83ef0000)
libz.so.1 => /lib64/libz.so.1 (0x00007f8f834cd000)
Best,
Enrico
Laurent Jean-Rigaud wrote: |
Hey Enrico,
Do you activate also all options with your build ? (pam/ldap/kb5/ssl)
Can you compare ldd command results on elogd binaries builded by yourself and the one from RPM ?
$ ldd /path/to/elogd
Also, size of both elogd files.
Regards
Enrico Gamberini wrote: |
Sorry for posting again but something else came up.
Actually, building from source (elog-3.1.5-1.tar.gz) works just fine on OpenShift too.
The problem described below only happens when installing the packaged binary elog-3.1.5-20240226.el9.x86_64.rpm.
Best,
Enrico
Enrico Gamberini wrote: |
Hello!
We're setting up ELOG on OpenShift. ELOG is installed on a Alma Linux 9 image. The container and the elog demo works fine executing the docker image locally.
When deployed on OpenShift, we get a weird response, that results in a 502 Bad Gateway. The broken response looks like:
# curl -v -H 'X-Forwarded-User: enrico.gamberini@cern.ch' https://psi-elog-container2-elisa-epdtdi.app.cern.ch/demo/
<html>redir</html>
HTTP/1.1 200 Document follows
HTTP/1.1 200 Document follows
Server: ELOG HTTP 3.1.5-23df00d
Content-Type: text/html;charset=ISO-8859-1
Set-Cookie: elmode=Summary; path=/demo; expires=Friday, 07-Dec-35 06:30:26 GMT;
Pragma: no-cache
Cache-control: private, max-age=0, no-cache, no-store
Notice the HTML tag before the HTTP header, as well the duplicate HTTP header.
I understand that it might be difficult to reproduce, but any input would be very welcome!
Thanks!
Best,
Enrico
|
|
|
|
|
|
967
|
Wed Mar 2 15:19:56 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | All | r1.571 | Re: boundary problem with Type lists display | > using:
> Display mode = threaded
> List display = Subject, Type, Author, Date
>
> in the config file (omitting "ID" then) rise the bug
>
> ie, an unneeded "," is displayed after the "supposed to be printed" ID
Fixed in CVS revision 1.574 |
66787
|
Thu Apr 15 13:32:35 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.8 | Re: background color and font |
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. |
66789
|
Sun Apr 18 11:54:38 2010 |
| siva kumar | sivakumarkp@fastmail.fm | Question | Windows | 2.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
|
66790
|
Mon Apr 19 08:49:49 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.8 | Re: background color and font |
siva kumar wrote: |
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
|
You can do this is JavaScript. Just have a look here:
https://midas.psi.ch/elogs/Contributions/30 |
66802
|
Mon May 3 23:12:55 2010 |
| Ruslan | russlan@cern.ch | Question | Windows | 2.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.
|
Hello Stefan,
I can not find 2.7.8-5 tar file. Could you please point where it is?
Thanks,
Ruslan.
|
66803
|
Tue May 4 09:22:19 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.8 | Re: background color and font |
Ruslan wrote: |
Hello Stefan,
I can not find 2.7.8-5 tar file. Could you please point where it is?
Thanks,
Ruslan.
|
This is an intermediate (-5) release. Usually I do not build the tar files, since linux users can always grab the source code via SVN and built it themselves. I just make the for the Windows users since most of the do not have a C compiler. Exceptionally I made a 2.7.8-5.tar file for you, which you can obtain from the download area. |
66804
|
Tue May 4 09:40:40 2010 |
| Ruslan | russlan@cern.ch | Question | Windows | 2.7.8 | Re: background color and font |
Stefan Ritt wrote: |
Ruslan wrote: |
Hello Stefan,
I can not find 2.7.8-5 tar file. Could you please point where it is?
Thanks,
Ruslan.
|
This is an intermediate (-5) release. Usually I do not build the tar files, since linux users can always grab the source code via SVN and built it themselves. I just make the for the Windows users since most of the do not have a C compiler. Exceptionally I made a 2.7.8-5.tar file for you, which you can obtain from the download area.
|
Thanks a lot Stefan. |
|