Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 692 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  1102   Tue Apr 19 22:43:10 2005 Question Stephen A. Woodsaw@jlab.orgQuestionLinux1.632More questions about groups
I am running 2.5.8-3 with the elogd.c 1.632.  I have attached the config
file that I am using.   I have a top group "src", with logbooks "SRC
Analysis" and "SRC Mail" in it.  These two logbooks share the same password
file.  If one logs into one, I would like them to be not have to login to
the other.  If I put the password file name under [global src], I get this
behaviour, but the logbook selection page does not show my graphic or the
locks by the logbook names (instead it has the Alt text "This logbook
requires authentication."  If I remove the password from [global src] and
put it in each logbook individually, then my logbook selection page looks
OK, but I have to log into each logbook seperately.

Stephen
Attachment 1: elogd.cfg
[global]

Top group yourfriend = Your Friend Logbook
Top group xxxxx = Xxxxx Experiments
Top group src = SRC Analysis, SRC Mail

Show top groups = 0
Logbook tabs = 1

SMTP host = mailthingy.jlab.org
Use Email from = adminguy@jlab.org
Admin user = adminguy

URL = http://webserver.jlab.org/elogs/

Logfile = elog.log
Logging level = 3

usr=cdaq
grp=c-cdaq

[global xxxxx]
Logbook tabs = 0
;Main Tab = Welcome Page
Welcome Title = <p><p> <img src="hallc.gif" > <p><font size=3 color=white><b>Welcome to the E02-109/E04-001 analysis logbook. </b><p></font>
Restrict Edit = 1
URL = http://webserver.jlab.org/elogs/
Prepend on edit = Edited: $date \n \n
Theme = hallc
Admin user = christy

[Xxxxx Experiments]
Comment = Elog for E02-109/E04-001
Attributes = Author, Type, Category, Subject
Options Type = Calibrations, Efficiencies, Run Info, Other Corrections, Elastics, Cross Sections, MonteCarlo, General
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type

[global yourfriend]
Logbook tabs = 0
SMTP host = mailthingy.jlab.org
;Main Tab = Welcome Page
Restrict Edit = 1
URL = http://webserver.jlab.org/elogs/
Prepend on edit = Edited: $date \n \n
Theme = hallc
Admin user = yourfriend

[Your Friend Logbook]
Theme = hallc
password file = elogpw_GRS
Self register = 3
Login user = yourfriend
Comment = Elog for Your Friend
Attributes = Type, Category, Subject
Options Type = Calibrations, Efficiencies, Run Info, Other Corrections, Elastics, Cross Sections, MonteCarlo, General
Extendable Options = Category
Required Attributes = Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type

[global src]
Welcome Title = <p><p> <img src="bigbite.gif" > <p><font size=3 color=white><b>Welcome to the E01-015 analysis logbook. </b><p></font>
Theme = src
Password file = elogpw_SRC
Self register = 3

[SRC Analysis]
Prepend on edit = Edited: $date \n \n
;Password file = elogpw_SRC
;Self register = 3

Comment = Elog for E01-015
Attributes = Author, Detector, Subject
Options Detector = HRS, BigBite, Neutron Bars
Required Attributes = Author
Page Title = ELOG - $subject
Reverse sort = 1
Admin user = adminguy

[SRC Mail]
;Password file = elogpw_SRC
;Self register = 3

Comment = Archive of SRC Mailing list
Attributes = Subject, From
Required attributes = Subject, From
Quick filter = Date, From
Menu commands =  Find ,Login, Logout, Help, Delete
Allow Delete = adminguy


  66857   Thu Jul 22 16:59:00 2010 Warning Chuck BrostBrost_chuck@solarturbines.comBug reportWindows2.7.8More adventures with SSL

Stefan,

Everything has been working great since we last spoke (Version 2.7.8), until InfoSec decided to change how the Certs were created.  Now they come with a little bit of code in the .key file before the Hash.. when I put the new .CRT and .KEY in the SSL folder I am asked on starting Elogd to provide a "PEM PassPhrase".  As you can expect, if you do not enter one, or the incorrect one, it does not just turn off SSL, it exits the program.  The key begins like this in the new versions:

-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,ACF4A8B263EAA51D

(that little encode piece on the end is not the actual one in the key.  I am assuming it is a passphrase key so it will know what the right passphrase is that should be entered.

We are assuming that this is the "Install password" they have set up to use to install the certs on all of the IIS servers we have.  If that is indeed the case.. Does elog save this passphrase somewhere?  does Elog save it in the registry? does it save it encrypted? Or with access security permissions set on the keys?  I have a feeling that the answer to most of this is probably "no", but to know where we go from here, that is the place to start.

Thanks

Chuck

  68217   Tue Jan 12 15:06:42 2016 Idea Johan Forsbergjohan.forsberg@maxlab.lu.seQuestionLinuxELOG V3.1.0-241Monitoring a logbook for changes

Hi again!

I've another need that you probably already thought of :)

I'd like to be able to efficiently monitor a logbook for changes (new or edited posts) somehow. The most reasonable way I've found so far is to periodically poll a search that looks for posts after the time of the last poll. But that might note be very efficient, especially if the polling period gets short (or number of clients grows).

Is there some other feature that could be used for this? I was thinking maybe the ETag or Last-Modified HTTP header field could be used to show changes to a logbook by just reading the headers, but it would also require HEAD request support which does not seem to be there.

Cheers,

Johan

  396   Tue Jul 15 23:37:58 2003 Question Gary Cramblittgarycramblitt@comcast.netQuestionLinuxv2.3.9Modify the date of an entry?
Great program!  Thank you.

Short of manually editing the logbook files, is there a way I can change the
date of an entry?  I want to transfer my "Linux Journal", which I have been
writing as a regular document for several months, into elog so I can take
advantage of the threading, sorting, find, etc.
  66990   Wed Jan 19 16:03:38 2011 Idea bobbobgrang@gmail.comQuestionWindowsV2.8.Modification aren't accepted

hello,

At home, when I change the config *. cfg, the modifications are not taken in consideration

Have you got a idea ?

Thanks a lot !

Bob

  69181   Thu Jul 30 17:11:05 2020 Question VUIIS SysAdminvuiis-sysadmin@vumc.orgQuestionLinuxELOG V3.1.4-966Missing log files when rsync to replacement server.

I am moving from a Hyper-V host to a VMware host and created a new elog server. I installed the elog software and did an rsync to get the .cfg file and logbooks to the new server.

rsync -av root@old.elog.server:/usr/local/elog /usr/local/
 

On the new server all of the 2020 entries are missing and there does not appear to be a 2020 logbook on either server but I can still access the 2020 entries on the old server. Where might they be and how do I get them over to the new server.

 

Old server says version is ELOG V3.1.4-unknown and new server says version is ELOG V3.1.4-966e3dd

Bothe servers a fully updated CentOS 7.

  66284   Wed Apr 1 11:15:29 2009 Angy Kristian Rune Larsenkrl@dmi.dkBug reportLinux2.75Missing icons when running trough Apache proxy, elogd version 2.75

Hi

Tested this using the 2.6.1 version which comes packed with ubuntu-dapper and a 2.7.5 version I've compiled from source.

If I compile the 2.7.5 version from source and start it using

sudo /usr/local/sbin/elogd -c /usr/local/elog/elogd.cfg

 

config snippets below

---------------------------------

/usr/local/elog/elogd.cfg:

[global]
port = 8080
;url = http://solsikker.dmi.dk/elog/

[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
------------------------------------

The icons show up !!

 

If I go through an apache proxy (config snippets below)

----------------------------------------

/usr/local/elog/elogd.cfg:

[global]
port = 8080
url = http://solsikker.dmi.dk/elog/

[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type

From apache conf

ProxyPass /elog/ http://solsikker.dmi.dk:8080/
ProxyPassReverse /elog/ http://solsikker.dmi.dk:8080/
<Proxy *>
        Order deny,allow
        allow from all
</Proxy>
-------------------------------------

The icons are missing !!!

The icons a showing up when using apache and the 2.6.1 elog version.

 

Best Regards

Rune

 

 

 

  69119   Mon Feb 24 15:58:55 2020 Question Sergei Gavrilovs.gavrilov@gmail.comQuestionWindowsV3.1.4-a04faf9fMirroring function for a full both-sides synchronization

Hello, dear ELOG's gurus.
Please help me to understand a problem with mirroring function.
It appears in ELOG V3.1.4-a04faf9f - the last official Windows release, as well as previous 3.1.3 Windows release, which I have checked for comparison.

When I'm using a manual configuration with "mirror server, cron, user" options for one (master) of two servers, it operates well, except the situation, when a new entry is submitted at the second (slave) server.
For example, for a new entry with a real ID#2 at Slave its logfile gives "NEW entry #0", so logfile of the master server gives "MIRROR: Error receiving message: Received wrong entry id "0"".
After that Master deletes this entry at Slave "MIRROR delete remote entry #2".

In case of mirror functions in both .cfg files (Master to Slave, Slave to Master) both servers hung on after the first mirror process.

Now let's imagine, what I want to do. 
Master, as a main-operation global log, is off-operation, Slave automatically becomes a reserv-operation local log with full information from Master due to previous periodic mirroring.
Users work with Slave, submit new entries - all with #0 ID.
After repairing Master starts active mirroring and just deletes all new entries from Slave.

It seems, that the problem is not with mirroring, but with a new entry ID, as was mentioned in https://elog.psi.ch/elogs/Forum/68850
Were these ID#0/mirror problems resolved somehow or may be it is not a problem, but simply my errors in ELOG configuration?
Is there a chance to get an up-to-date Windows-release with working both-sides mirror function and all other addings after V3.1.4-a04faf9f ?

Best regards,
Sergei

ELOG V3.1.5-3fb85fa6