Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 719 of 796  Not logged in ELOG logo
ID Date Icon Author Author Email Categoryup OS ELOG Version Subject
  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
 

  69790   Thu Apr 25 02:11:08 2024 Reply Konstantin Olchanskiolchansk@triumf.caQuestionLinux | Other3.1.5Re: Imagemagick not working on Ubuntu
Please see https://daq00.triumf.ca/DaqWiki/index.php/Ubuntu#Enable_elog_PDF_preview

see https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion

xemacs -nw /etc/ImageMagick-6/policy.xml
remove this section at the end:
<!-- disable ghostscript format types -->
<policy domain="coder" rights="none" pattern="PS" />
<policy domain="coder" rights="none" pattern="PS2" />
<policy domain="coder" rights="none" pattern="PS3" />
<policy domain="coder" rights="none" pattern="EPS" />
<policy domain="coder" rights="none" pattern="PDF" />
<policy domain="coder" rights="none" pattern="XPS" />

K.O.
  69791   Sun Apr 28 14:45:22 2024 Reply Bockjoo Kimbockjoo@gmail.comQuestionLinux3.1.4Re: read-only elog server

Hi,

Could you be more specific? Where do I get the 'Menu commands"?

Thanks,

Bockjoo

Stefan Ritt wrote:

Use

Menu commands = List, Find, Help

to remove all command which let you create or edit entries (New, Reply, Edit, ...) 

Then do the same with "List menu commands = ..."

/Stefan

Germano Massullo wrote:

Good day. I am writing this post to ask how I can turn an elog website into a read-only version that will stay online for historical documention purposes.

I tried to search on Elog documentation but I had no success

Thank you and have a nice day

 

 

  69792   Mon Apr 29 15:22:37 2024 Reply Laurent Jean-Rigaudlollspam@free.frQuestionLinux3.1.4Re: read-only elog server

The menu is the line with available functions, customizable in logbooks config

Also, these are buttons in logbook edit view.

 

Bockjoo Kim wrote:

Hi,

Could you be more specific? Where do I get the 'Menu commands"?

Thanks,

Bockjoo

Stefan Ritt wrote:

Use

Menu commands = List, Find, Help

to remove all command which let you create or edit entries (New, Reply, Edit, ...) 

Then do the same with "List menu commands = ..."

/Stefan

Germano Massullo wrote:

Good day. I am writing this post to ask how I can turn an elog website into a read-only version that will stay online for historical documention purposes.

I tried to search on Elog documentation but I had no success

Thank you and have a nice day

 

 

 

  52   Thu Jul 4 17:09:09 2002 Warning Heiko Scheith.scheit@mpi-hd.mpg.deRequest  exit status of elog
The exit status of elog is always 1.  It should be zero for
a successful submission.
  89   Sat Aug 3 17:35:39 2002 Reply Joe Nalljoe.nall@inet.comRequest  Re: Compiling elog 2.0.4 on Solaris
> > > Comiling elogd 2.0.4 under Solaris obviously fails with
> > > 
> > > gcc  -o elog elog.c -lsocket -lnsl
> > > gcc  -o elogd elogd.c -lsocket -lnsl
> > > elogd.c: In function `ss_file_find':
> > > elogd.c:1372: `alphasort' undeclared (first use in this function)
> > > elogd.c:1372: (Each undeclared identifier is reported only once
> > > elogd.c:1372: for each function it appears in.)
> > > make: *** [elogd] Error 1
> > > 
> > > because alphasort is an ucb'ism which does not exist under SYSV
> > > 
> > > ... not very portable :-(
> > 
> > I was not aware of this. Actually, I don't need 'alphasort' so I removed 
it 
> > from the source. The update is at
> > 
> > http://midas.psi.ch/cgi-bin/cvsweb/elog/elogd.c
> > 
> > Please give it a try.
> 
> ok - i just continued with 2.0.5, but apparently it still has an UCB'ism
> (scandir) that does not work under SYSV:
> 
> $ make
> gcc -g -o elogd elogd.c -lsocket -lnsl
> Undefined                       first referenced
>  symbol                             in file
> scandir                             /tmp/ccy0Z3iV.o
> ld: fatal: Symbol referencing errors. No output written to elogd
> collect2: ld returned 1 exit status
> make: *** [elogd] Error 1
> $ egrep scandir elogd.c
>   n = scandir(path, &namelist, NULL, NULL);
> $ 
I am having the same experience with ELOG 2.0.5 and Solaris 8. Any work 
around woud be appreciated.
  91   Tue Aug 6 16:14:42 2002 Reply Stefan Rittstefan.ritt@psi.chRequest  Re: Compiling elog 2.0.4 on Solaris
> > > > Comiling elogd 2.0.4 under Solaris obviously fails with
> > > > 
> > > > gcc  -o elog elog.c -lsocket -lnsl
> > > > gcc  -o elogd elogd.c -lsocket -lnsl
> > > > elogd.c: In function `ss_file_find':
> > > > elogd.c:1372: `alphasort' undeclared (first use in this function)
> > > > elogd.c:1372: (Each undeclared identifier is reported only once
> > > > elogd.c:1372: for each function it appears in.)
> > > > make: *** [elogd] Error 1
> > > > 
> > > > because alphasort is an ucb'ism which does not exist under SYSV
> > > > 
> > > > ... not very portable :-(
> > > 
> > > I was not aware of this. Actually, I don't need 'alphasort' so I 
removed 
> it 
> > > from the source. The update is at
> > > 
> > > http://midas.psi.ch/cgi-bin/cvsweb/elog/elogd.c
> > > 
> > > Please give it a try.
> > 
> > ok - i just continued with 2.0.5, but apparently it still has an UCB'ism
> > (scandir) that does not work under SYSV:
> > 
> > $ make
> > gcc -g -o elogd elogd.c -lsocket -lnsl
> > Undefined                       first referenced
> >  symbol                             in file
> > scandir                             /tmp/ccy0Z3iV.o
> > ld: fatal: Symbol referencing errors. No output written to elogd
> > collect2: ld returned 1 exit status
> > make: *** [elogd] Error 1
> > $ egrep scandir elogd.c
> >   n = scandir(path, &namelist, NULL, NULL);
> > $ 
> I am having the same experience with ELOG 2.0.5 and Solaris 8. Any work 
> around woud be appreciated.

I removed also scandir() in the current version (right now only in CVS). The 
official release of 2.1.0 is planned for next week.
  109   Thu Aug 15 20:21:17 2002 Idea tony summerfeltsnowzone25@yahoo.comRequest  logging
is it possible to add ip information into the logging? that's something i was working on already but never finished...now that there's logging already added :)
ELOG V3.1.5-2eba886