Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 50 of 806  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  68423   Fri Sep 9 13:17:36 2016 Reply christianc_grebing@web.deQuestionWindows3.1.2Re: Windows service settings

Hi Stefan,

you were right - running the service by an authorized user solved the problem.

Thanks a lot.

Cheers, Christian

Stefan Ritt wrote:

These problems are usaully related to user rights. Try starting the service under a different (maybe admin) user.

Stefan

christian wrote:

Hello,

I've been successfully using elog as a daemon since several years on a Linux machine. For some reasons recently I had to switch to a Windows 7 machine. Here, setting up the elog daemon doesn't work for me:

(a) running the command:

"...\ELOG\elog.exe" -c "...\ELOG\elogd.cfg"

in a windows shell works perfectly fine - logbook is up and running as set up in the cfg-file.

(b) However, starting the windows service manually (start->control panel->system and security->administrative tools->services) that was set up automatically during installation of elog leads to an error message:

"Error 1053: The service did not respond to the start or control request in a timely fashion"

From the service settings I can verify that the service is running exactly the same command that works in (a).

Could someone please share the windows service settings? Thanks in advance.

Cheers, Christian

 

 

  68585   Mon Mar 27 11:11:31 2017 Reply christianc_grebing@web.deQuestionWindowsV3.1.0-3c6435eRe: Elog not see image magick

Hi,

Maybe the post is outdated already, but I want to share my experience anyway. I faced the same problem as Daniel: The most recent ImageMagick package was not detected by elogd even though it was installed. I could trace back the problem to the following issue:

Stefan mentioned that the ImageMagick software is detected via the 'convert' command. Since ImageMagick V7, however, the 'convert' command is no longer supported. So, when installing ImageMagick V6 the detection works.

@Stefan: Maybe you could adapt the software detection at some point? Thanks.

Christian

Daniel Sajdyk wrote:

Ok. It take me a while, but I reinstalled ImageMagick with marked option "convert". Now, when I start elog, it can see ImageMagick, but screenshots attached to elog entries are still in original sizes. And, I don't see buttons for rotating, resizing images. 

I look into elog cfg options, but only what I found is Thumbnail size which, it looks, don't work.

Don't know what more I should check. 

Daniel.

Stefan Ritt wrote:

The detection in elogd works by executing the command "convert" and check if the program executes. If you start elogd as a service, the program might see another path variable. Maybe reboot Windows or start the service in the environment of a real user instead of system, where it might miss your modified "path".

Stefan

Daniel Sajdyk wrote:

Hello.

I finally try add ImageMagick to ELOG.

I downloaded latest version (ImageMagick-7.0.3-Q16) and installed it. Everything looks ok, but when I start Elog service it says that "ImageMagick not detected". 

When I look at the "path" variable i have "C:\Program Files\ImageMagick-7.0.3-Q16;C:\ProgramData\Oracle\Java\javapath;[...]".

What else can I check?

 

Regards

Daniel.

 

Ps. My system is Windows 7 Pro. 

 

 

 

  68586   Mon Mar 27 12:42:07 2017 Reply christianc_grebing@web.deQuestionWindowsV3.1.0-3c6435eRe: Elog not see image magick

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?

Christian

christian wrote:

Hi,

Maybe the post is outdated already, but I want to share my experience anyway. I faced the same problem as Daniel: The most recent ImageMagick package was not detected by elogd even though it was installed. I could trace back the problem to the following issue:

Stefan mentioned that the ImageMagick software is detected via the 'convert' command. Since ImageMagick V7, however, the 'convert' command is no longer supported. So, when installing ImageMagick V6 the detection works.

@Stefan: Maybe you could adapt the software detection at some point? Thanks.

Christian

Daniel Sajdyk wrote:

Ok. It take me a while, but I reinstalled ImageMagick with marked option "convert". Now, when I start elog, it can see ImageMagick, but screenshots attached to elog entries are still in original sizes. And, I don't see buttons for rotating, resizing images. 

I look into elog cfg options, but only what I found is Thumbnail size which, it looks, don't work.

Don't know what more I should check. 

Daniel.

Stefan Ritt wrote:

The detection in elogd works by executing the command "convert" and check if the program executes. If you start elogd as a service, the program might see another path variable. Maybe reboot Windows or start the service in the environment of a real user instead of system, where it might miss your modified "path".

Stefan

Daniel Sajdyk wrote:

Hello.

I finally try add ImageMagick to ELOG.

I downloaded latest version (ImageMagick-7.0.3-Q16) and installed it. Everything looks ok, but when I start Elog service it says that "ImageMagick not detected". 

When I look at the "path" variable i have "C:\Program Files\ImageMagick-7.0.3-Q16;C:\ProgramData\Oracle\Java\javapath;[...]".

What else can I check?

 

Regards

Daniel.

 

Ps. My system is Windows 7 Pro. 

 

 

 

 

  68593   Fri Apr 7 09:58:33 2017 Reply christianc_grebing@web.deQuestionWindowsV3.1.0-3c6435eRe: Elog not see image magick

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 (ImageMagick executable) and convert.exe (used for the software detection) from the ImageMagick installation directory to the same directory as elogd. Neither of these approaches was successfull.

Christian

Stefan Ritt wrote:

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

christian wrote:

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?

Christian

 

  68596   Fri Apr 7 11:46:09 2017 Reply christianc_grebing@web.deQuestionWindowsV3.1.0-3c6435eRe: Elog not see image magick

Ok, this explains why it doesn't work.

Thank you for the support anyway. ELOG is a great piece of software.

Christian

Stefan Ritt wrote:

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

Stefan Ritt wrote:

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

christian wrote:

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 (ImageMagick executable) and convert.exe (used for the software detection) from the ImageMagick installation directory to the same directory as elogd. Neither of these approaches was successfull.

Christian

Stefan Ritt wrote:

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

christian wrote:

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?

Christian

 

 

 

 

  2248   Sun Jun 24 00:12:15 2007 Question chris williamschris_charles98@yahoo.comQuestionWindows2.6.5-1869sorting a drop down menu in elog
Hi, I was wondering, how can I insert new items into my drop down menu and have them appear in an alphabetical order? Is there some sort of code I can insert into the config file to do so?
Thanks
  2249   Sun Jun 24 02:38:31 2007 Question chris williamschris_charles98@yahoo.comQuestionWindows2.6.5-1869list of 500 files
How can I have my list accept over 500 entries? I tried increasing the elogd.c (max_n_list)file as stated but the compiler gives me errors. Please help
  2252   Mon Jun 25 18:14:44 2007 Reply chris williamschris_charles98@yahoo.comQuestionWindows2.6.5-1869Re: list of 500 files
Thanks for the response. I am trying to use it as a file database, to monitor the status of files(whether they have been removed, ammended etc), currently there are 90 files but I expect the size to grow.
ELOG V3.1.5-3fb85fa6