Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 695 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  65827   Sat Apr 12 16:37:44 2008 Idea Arno TeunisseA.teeling3@chello.nlInfoWindows Manual installing elog as service on Windows

Hello

Sometimes it can come in handy to start a temporary elog service on the Windows platform. ( Maybe for testing purposes )

You can use the SC.exe utility to do that. If it is not on you're system you may download it from : ftp://ftp.microsoft.com/reskit/win2000/sc.zip

For this you can use the following procedure ( from the dos prompt ) :

 sc.exe create AIX-elog binPath= "\"c:\ELOG2.7.3\elogd.exe\" -D -c c:\ELOG2.7.3\security.cfg" DisPlayname= "AIX Elog Security" start= auto

If all went well the system answers :

 [SC] CreateService SUCCESS

Please notice the strange way the double quotes are used and the space after the = in the above command.

Now open the windows services ( from the prompt ) : services.msc

In the window that opens you will see the just created service with the DisPlayname you gave in the above command.

You see it is not started. You could click start, but there is an other way.

Now you can start the service from the prompt using the DisPlayname :

  net start "AIX elog security"

Press F5 ( refresh ) in the services window and you will see that the service is started.

Or stop the service :

  net stop "AIX elog security"

To remove the service ( from the registry ) :

   sc.exe delete AIX-elog

The system gives back :

  [SC] DeleteService SUCCESS

The other option is to start elogd.exe from the prompt :

  elogd.exe -c 

This is all for now

 

  1744   Fri Mar 3 16:48:01 2006 Entry Alexandre Gauthiersupernaut@underwares.orgBug fixMac OSXSVN 1668Makefile patch for OS X 10.4
Hello,

I had trouble compiling elog on Mac OS X 10.4, and so, I hacked the makefile around...

I had to remove the -lutil flag that was passed to ld, for some reason. My guess is that it is not needed anymore with OS X 10.4... Also, the current install section of the makefile crapped out when using /usr/bin/install, I had to use install from gnu fileutils, which I installed through fink, which took precedence in my path... (/sw/bin/install), since bsd fileutil doesn't like the -D option.

For some reason, the paths to "install" in the makefile are either defined by the $(INSTALL) variable, or called directly. This seems not to be very consistent... In any case, I just changed it to use "install", no matter where it was in my path.

I'm currently hacking up something more elegant soon enough...

Also, I noticed that the binary produced was inconsistent and sluggish with the default wild CFLAGs, so I brought them back to something a bit more casual for Darwin. I used -Os because that's what Apple uses to build most OS X software. I also use -Os in my blackdog builds (which is an embedded PowerPC device) since space and memory *does* matters.

Well, here's the patch. I doubt it will be useful to anyone except for those who have gnu fileutils installed through fink, in their paths, and find themselves unable to build elog on OS X.
Attachment 1: makefile-osx-tiger.patch
Index: Makefile
===================================================================
--- Makefile	(revision 1668)
+++ Makefile	(working copy)
@@ -52,8 +52,9 @@
 endif
 
 ifeq ($(OSTYPE),darwin)
-LIBS += -lutil
+#LIBS += -lutil
 CC = cc
+CFLAGS = -Os -fomit-frame-pointer -W -Wall
 BINOWNER = root
 BINGROUP = admin
 endif
@@ -131,9 +132,9 @@
 	@if [ ! -f $(ELOGDIR)/logbooks/demo ]; then  \
 	  install -v -m 0644 logbooks/demo/* $(ELOGDIR)/logbooks/demo ; \
 	fi
-
+	
 	@sed "s#\@PREFIX\@#$(PREFIX)#g" elogd.init_template > elogd.init
-	@$(INSTALL) -v -D -m 0755 elogd.init $(RCDIR)/elogd
+	@install -v -D -m 0755 elogd.init $(RCDIR)/elogd
 
 	@if [ ! -f $(ELOGDIR)/elogd.cfg ]; then  \
 	  install -v -m 644 elogd.cfg $(ELOGDIR)/elogd.cfg ; \
  65888   Wed May 21 21:06:38 2008 Idea Dennis Seitzdseitz@berkeley.eduRequestAll Make Email All = <list> override Suppress Email checkbox

 I would like to be notified by email of some logbook entries regardless of whether the user has chosen to suppress email or not.

This way I will always be aware of new entries, and users will still have the option of notifying a larger group of other users, or not.

As far as I can tell, presently the Suppress Email checkbox overrides Email All.

  67406   Tue Dec 18 23:03:57 2012 Question Hal Proctorhproctor2@gmail.comQuestionWindows2.91Main Logbook screen with Multi Grouped Logbooks with unique user permissions

I have a couple questions on how to configure multiple logbooks with groups.

  1. How can I have a user have permissions to a single logbook that is within a group and jump to it using tabs?
    1. Launching from main/home screen may work, but using tabs from one group to another where the single workbook resides in a group of others, it errors out or asks for login to a logbook you may not have rights to.(always the first book in the group)
  2. How can I force a main login to direct you to the MAIN logbook selection screen?

 

Example: (use images for reference)  A user has permissions to "Punch" and "Maintenance".  Maintenance is a single logbook and Punch is within the group "Dry Room". 

While the user is in Maintenance and without having to jump back to the MAIN selection screen, how can the user select the Tab "Dry Room" as seen in image, without throwing up or redirecting you?

Attachment 1: Main.jpg
Main.jpg
Attachment 2: Tabs.jpg
Tabs.jpg
  66859   Tue Jul 27 10:46:27 2010 Warning Johan Schuringjohan.schuring@getronics.comQuestionAll2.7.5Mail when elog entry is expired

Hi,

 

Is it possible to set a timestamp on an elog entry say for about 5 days in the future, when it is expired and there are no modifications with the entry you will get a mail.

I cannot find it with search in this forum or is the guides.

It can be very handy when it is possible.

When it is not available, is it possible to make a feature request for it.

 

Thank you,

 

Johan

  547   Sat May 29 04:28:38 2004 Cool nait tauhnait@no2bl.no-ip.comRequestLinux2.5.2Mail notification without attachment possible?
I just noticed the problem of mail notification with big attachments. For a
files or photos exchange setup we could run into load and bandwidth problem
quickly. Any way to restrict mail notification by attributes or without
attachment?

Thanks,
nait.
  1096   Sun Apr 17 09:35:30 2005 Question Mikael Salonvaarahmsalonv@syr.eduBug reportWindows2.5.8-4Mail not sent but message says it has been sent
If my email host refuses to send the email (476 connections denied), we
still get the message that the email has been sent - and no error message.

How do I or can I send authentication information to the email server?
  67032   Wed Mar 23 10:01:01 2011 Warning Olivier CallotOlivier.Callot@cern.chBug reportLinux2.9.0Mail are no longer sent from the logged in user in 2.9.0

We upgraded to Elog 2.9.0-2402 and since then mails sent by Elog when posting an item are from the default account, not from the logged in user's mail address.

The configuration is, for the mail part :

Default Email From = Olivier.Callot@cern.ch

Use Email Subject = ELOG Computing Operations - $Subject ($Site - $System - $Production number)

 

Thanks for telling me which flag/option I have to set to restore the proper mail 'From:' field.

ELOG V3.1.5-3fb85fa6