Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Periodic backup doesn't work .., posted by Roland Gsell on Mon May 21 14:41:25 2012 lx0_elogd.cfg.txtlx1_elogd.cfg.txt
    icon2.gif   Re: Periodic backup doesn't work .., posted by Roland Gsell on Tue Jun 12 10:38:34 2012 
Message ID: 67284     Entry time: Mon May 21 14:41:25 2012     Reply to this: 67287
Icon: Question  Author: Roland Gsell  Author Email: roland.gsell@oeaw.ac.at 
Category: Question  OS: Linux  ELOG Version: 2.9.1-2435 
Subject: Periodic backup doesn't work .. 

Hi,

I installed ELOG on other machine for making automatic backups. I copied the .cfg file to the slave and edited the .cfg file on the original machine (mirror server entries).
(automatic configuration with -C didn't work somehow - maybe a firewall problem)

Then I tried to synchronize manually, which works great.
I set the mirror cron = 0 7-18 * * 1-5, as written as example in the documents, but nothing happens at full hours.

There's something else strange: I can't access "https://lx0.mydomain.org/" or "http://lx1.mydomain.org:8082/" directly. The browser just keeps loading - showing an empty page (and an error message after a long while). I have to add the name of the logbook to the link. Why is that?
If I set different paths in the [global HBAR] and [global SMI] areas (like URL = https://lx0.mydomain.org/hbar/), I can access the links above (giving me the overview page as expected), but I can't access the logbooks itself anymore.

However, that's not a big problem (I can access the logbooks via direct link and see all the others in the same group and switch to them), but the backup thing is.

 

So, main machine is lx0.mydomain.org and the backup machine is lx1...

Attached are my config files.
I deleted many of the logbook specific entries, since they aren't important and just look like the first one.

Hope anyone can help,
Roland.

Attachment 1: lx0_elogd.cfg.txt  1 kB  | Hide | Hide all
[global]
SSL = 1

Mirror server = http://lx1.mydomain.org:8082
Mirror config = 1
Mirror cron = 0 7-18 * * 1-5
Mirror user = gsell
Mirror simulate = 0
Mirror exclude = 0

SMTP host = smtp.mydomain.org

Group HBAR-HFS = Detektor, Simulation, Cavity, Shielding_and_Helmholtz_coils, Sextupole, DAQ
Group non-ERC = SIDDHARTA, VIP, FAIR, HP3_Leannis, HP3_Joint_GEM, HP3_SiPM, HP3_Future_Jet

Top group HBAR = HBAR-HFS
Top group SMI = non-ERC

Theme = default

; attributes
Attributes = Author, Type, Category, Subject
Options Type = Logbook, Configuration, Other
Options Category = Routine entry, Shift summary, Problem, Fix, Question, Info, Other
Extendable Options = Category
Required Attributes = Author, Category, Subject
Thread display = $Subject, entered by $author on $Entry date

; Title shown in the browser
Page Title = HBAR-HFS - $subject
Reverse sort = 1
Quick Filter = Date, Category

Preset Author = $long_name

Locked Attributes = Author, Author Email

; only author can change its own entry
Restrict edit = 1

; options for reply
Subst on reply subject = Re: $Configuration Name
Remove on reply = Author, Author Email

[global HBAR]
URL = https://lx0.mydomain.org/
Password file = elogpass_hbar
Admin user = gsell, malbrunot

[global SMI]
URL = https://lx0.mydomain.org/
Password file = elogpass_smi
Admin user = gsell



[Detektor]

;User
Login user = gsell, widmann, diermaier, federmann, malbrunot, massiczek, sauerzopf, wuenschek, zmeskal, suzuki

Attachment 2: lx1_elogd.cfg.txt  1 kB  | Hide | Hide all
[global]
SSL = 0
Port = 8082

SMTP host = smtp.mydomain.org

Group HBAR-HFS = Detektor, Simulation, Cavity, Shielding_and_Helmholtz_coils, Sextupole, DAQ
Group non-ERC = SIDDHARTA, VIP, FAIR, HP3_Leannis, HP3_Joint_GEM, HP3_SiPM, HP3_Future_Jet

Top group HBAR = HBAR-HFS
Top group SMI = non-ERC

Theme = default

; attributes
Attributes = Author, Type, Category, Subject
Options Type = Logbook, Configuration, Other
Options Category = Routine entry, Shift summary, Problem, Fix, Question, Info, Other
Extendable Options = Category
Required Attributes = Author, Category, Subject
Thread display = $Subject, entered by $author on $Entry date

; Title shown in the browser
Page Title = HBAR-HFS - $subject
Reverse sort = 1
Quick Filter = Date, Category

Preset Author = $long_name

Locked Attributes = Author, Author Email

; only author can change its own entry
Restrict edit = 1

; options for reply
Subst on reply subject = Re: $Configuration Name
Remove on reply = Author, Author Email

[global HBAR]
URL = http://lx1.mydomain.org:8082/
Password file = elogpass_hbar
Admin user = gsell, malbrunot

[global SMI]
URL = http://lx1.mydomain.org:8082/
Password file = elogpass_smi
Admin user = gsell



[Detektor]

;User
Login user = gsell, widmann, diermaier, federmann, malbrunot, massiczek, sauerzopf, wuenschek, zmeskal, suzuki

ELOG V3.1.5-fe60aaf