Re: Elog not see image magick, posted by christian on Mon Mar 27 12:42:07 2017
|
Update:
While the image scaling via ImageMagick works when running elog manually it doesn't when running elog as a service. The service
is hosted in the same user environment that allows image scaling with elog started manually. What else could go wrong? |
Re: Elog stopped working, posted by David Pilgram on Wed Mar 29 15:11:22 2017
|
I don't know if you can get elog to generate a log file - check the documentation, I don't bother. But I do have some experience with this
matter.
There are two related circumstances I know of that can arise which will cause elog to crash. |
Re: Elog stopped working, posted by Andreas Luedeke on Thu Mar 30 09:14:13 2017
|
I have a crontab set-up for root:
crontab -e
* * * * * if ! ps -C elogd >/dev/null;then /sbin/service elogd restart;fi |
Re: Elog not see image magick, posted by Stefan Ritt on Wed Apr 5 13:16:34 2017
|
Must be your PATH environment variable. You have usually different paths when running interactively or as a service. Try to change the path seen by services,
or put the ImageMagick executable in the same directory as elogd.
Stefan |
Re: pre defined Find as Home page, posted by Andreas Luedeke on Thu Apr 6 11:01:30 2017
|
It's very simple, no need for the find command. E.g.: Start page = ?Author=luedeke&Category=Question&mode=summary
in this forum would do https://midas.psi.ch/elogs/Forum/?Author=luedeke&Category=Question&mode=summary
Paraic |
Re: Elog not see image magick, posted by christian on Fri Apr 7 09:58:33 2017
|
This I do not fully understand: To my understanding the PATH environment variable (includes the ImageMagick path) is a system variable
and should be accessable from any account and should be valid under any conditions. Am I wrong? Additionally, I tried adding the system
Path variable to the user specific variables for that user that runs the service (Path = %Path%) in the system settings. Finally, I tried copying the imdisplay.exe |
Re: Elog not see image magick, posted by Stefan Ritt on Fri Apr 7 10:22:03 2017
|
I don't undersand myself fully how services see the environment. Like if they see the PATH at all. In some occations it helped to run the service
not under the SYSTEM account, but under the (admin) account of a real user.
Stefan |
Re: Elog not see image magick, posted by Stefan Ritt on Fri Apr 7 10:24:31 2017
|
Ah sorry. I recall now: Under Windows, calling subprocesses from a service does not work at all. After a couple of days of work I was not able to get
this running. If somebody has some idea, I'm happy to try it. So most people use the elogd daemon in the background only under Linux.
Stefan |