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

  48   Wed Jul 3 18:36:28 2002 Question Stefan Siegels_siegel@gmx.netQuestion  possible to modify link in email notification
Hello,

I have a question concerning the following situation:

There is a one logbook with two possible acces methods (defined in config 
file) one for readonly access and one for read/write access. Both entries in 
the elogd.cfg file pointing to the same logbook.

When an allowed person enters a logbook entry with an email notification the 
link to the message is given inside the email. 
This link points to the read/write logbook entry.

Is it possible to alter the link in the email notification that it points to 
the corresponding readlonly logbook entry? 

Thank you for hints, best regards,


Stefan Siegel  
  68986   Fri Jun 14 11:29:30 2019 Warning Sebastian Schenksebastian.schenk@physik.uni-halle.deBug reportAll3.1.4Find cannot find values with brackets

For demonstration, I created https://elog.psi.ch/elogs/Linux+Demo/8

The Find search for category aaa(bb) does not give results.
A quick filter corrects the value to aaa\(bb) and delivers results.

I made a simple fix and submitted it as PR to the bitbucket repository.

  68699   Fri Nov 17 18:58:52 2017 Question Susan Jamessjames@lbl.govQuestionLinux3.1.2-bd7hosts allow

I'm trying to wrap our elog instance to our company domain which is lbl.gov

I add this entry below (without quotes) to elogd.cfg and it's not working.  the world can see our logbooks

" Hosts Allow = *.lbl.gov ".

can someone help?

 

 

  42   Mon Jul 1 10:31:31 2002 Reply Stefan Rittstefan.ritt@psi.chBug fix  Re: strage colors when only 'cmd=Search' is given as command
> Try this URL
> 
> http://midas.psi.ch/elogdemo/Forum/?cmd=Search

Ok, has been fixed. Will be included in the next version.
  43   Mon Jul 1 10:32:28 2002 Reply Stefan Rittstefan.ritt@psi.chBug fix  Re: last?? links in threaded mode
> The mode (i.e. summary, threaded, full) should be kept for the
> last??? and past??? links on a page.
> 
> For instance:
> 
> http://midas.psi.ch/elogdemo/Linux/last10?mode=threaded
> 
> The last20 link on this page should also be in threaded mode.

Has been fixed. Will be included in next version.
  44   Mon Jul 1 10:36:47 2002 Reply Stefan Rittstefan.ritt@psi.chInfo  Re: Admin password
> I want to set up eLogs for a class w/out the need for passwords. But, at the
> same time, I don't want the students to change the config file. I tried
> setting up a global password, but am having some difficulty with the syntax
> I suppose I could remove the config command from the menu and edit the file
> using Pico, but that would require a better memory than I have...
> 
> ******************
> 
> usage: elogd [-p port] [-h hostname] [-D] [-c file] [-r pwd] [-w pwd] [-a
> pwd] [-l logbook]
> 
>        -p <port> TCP/IP port
>        -h <hostname> TCP/IP hostname
>        -D become a daemon
>        -c <file> specify configuration file
>        -v debugging output
>        -r create/overwrite read password in config file
>        -w create/overwrite write password in config file
>        -a create/overwrite admin password in config file
>        -l <logbook> specify logbook for -r and -w commands
> 
>        -k do not use keep-alive
> 
> [root@eMonster elog]# elogd -a youtheman
>           
> Must specify a lookbook via the -l parameter.

Nearly correct, just follow the note: specify a logbook via the -l parameter.
So if you logbook is called "linux", you enter

elogd -a youtheman -l linux
  45   Mon Jul 1 11:35:28 2002 Reply Stefan Rittstefan.ritt@psi.chBug fix  Re: trailing '-' are removed from a message!!!
> Try to submit the following message:
> 
> *** cut here ***
> -------------------------------------------------
> -------------------------------------------------
> -------------------------------------------------
> -------------------------------------------------
> *** cut here ***
> 
> In fact after the next line there were 4 lines with '-', but
> they were not accepted by elog:

Ok, also fixed. Updated version is at 

http://midas.psi.ch/cgi-bin/cvsweb/elog/elogd.c

Here is actually an example with '----' at the end:

-------------------------------------------------
-------------------------------------------------
-------------------------------------------------
-------------------------------------------------
ELOG V3.1.5-fe60aaf