Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 375 of 808  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  67284   Mon May 21 14:41:25 2012 Question Roland Gsellroland.gsell@oeaw.ac.atQuestionLinux2.9.1-2435Periodic 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
[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
[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

  67287   Tue Jun 12 10:38:34 2012 Reply Roland Gsellroland.gsell@oeaw.ac.atQuestionLinux2.9.1-2435Re: Periodic backup doesn't work ..

The synchronize feature is totally worthless to me.

First of all the automatic backup doesn't work - and nobody seems to know why - and pressing the synchronize button by hand from time to time also doesn't work if the entry is too big:

Error sending local entry: Error transmitting message

 

So, copying the files manually helps, but for this I don't need a "fancy" synchronize feature.

  68846   Thu Oct 11 10:51:17 2018 Question Roland Beyerroland.beyer@hzdr.deQuestionLinuxV3.1.1-0767eb0Buttons missing in ckeditor

Hello everybody,

we had to setup a new server for our elog some time ago because the old one crashed. We are now running version ELOG V3.1.1-0767eb0.

In the previous installation we had these nice buttons for file upload, time stamp and equation editor, which are also available here in the online version.

I already found that in the installation directory ("/usr/local/elog/") there exists a directory "scripts" containing a file "ckeditor-config.js", which also contains the lines:
"config.extraPlugins = 'timestamp,dndfiles,eqneditor,fileupload';" and "{ name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'FileUpload', 'Timestamp', 'EqnEditor' ] },"

These plugins seem to be available in the subdirectory "scripts/ckeditor/plugins/". But why are they not loaded? Is it just a version issue? Or something else?

It would be nice to get a hint.

Best regards,

Roland

  68848   Fri Oct 12 11:56:26 2018 Reply Roland Beyerroland.beyer@hzdr.deQuestionLinuxV3.1.1-0767eb0Re: Buttons missing in ckeditor

Dear Stefan,

thanks for your hints. Meanwhile we already solved the problem. I think it was caused by the recovery from a backup version after the server crash ... and the retirement of the person who did the previous installation.

We found the following things to be faulty:

  1. Somebody linked the "elog/scripts/ckeditor"-directory to "../../javascript/ckeditor" (maybe an independent installation of ckeditor). Due to this the relative path in "ckeditor/config.js" to "../ckeditor-config.js" could not be correctly resolved to be "elog/scripts/ckeditor-config.js". Now we put the absolute path.
  2. Furthermore the owner of all files in the elog directory was set to root:root with read access only for root. We changed them now to root:elog and gave read acess for everybody.

Now everything works as expected.

I'm sorry for inconvenience,

Thanks and best regards,

Roland

 

Stefan Ritt wrote:

Have you selected "HTML" encoding (below the main message box). The HTML editor is not activated if you have "plain" text encoding. Did you try the default elogd.cfg file? If you modified the config file and did a mistake there, the program can for example not properly find all directories. Also makse sure you did a full install with "make install", not just update the executable.

Stefan

Roland Beyer wrote:

Hello everybody,

we had to setup a new server for our elog some time ago because the old one crashed. We are now running version ELOG V3.1.1-0767eb0.

In the previous installation we had these nice buttons for file upload, time stamp and equation editor, which are also available here in the online version.

I already found that in the installation directory ("/usr/local/elog/") there exists a directory "scripts" containing a file "ckeditor-config.js", which also contains the lines:
"config.extraPlugins = 'timestamp,dndfiles,eqneditor,fileupload';" and "{ name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'FileUpload', 'Timestamp', 'EqnEditor' ] },"

These plugins seem to be available in the subdirectory "scripts/ckeditor/plugins/". But why are they not loaded? Is it just a version issue? Or something else?

It would be nice to get a hint.

Best regards,

Roland

 

 

  249   Sun Mar 16 19:15:16 2003 Entry Recai Oktasroktas@omu.edu.trInfo  Elog and SSL
> Basically im running elog on a redhat 8 box with stunnel already installed 
> as part of OpenSSL, on the server i ran the command specified in the 
> instructions
> 
> stunnel -d 443 -r 172.16.24.108:81

I haven't tried `stunnel` with elog, but as far as I read from various
sources, stunnel requires you to create an SSL certificate. In attachment,
you'll find a sample case for stunnel and smtp (port 25) + pop3 (port 110).
Hope this helps.

Reference: http://www.tldp.org/linuxfocus/common/sart/index.html
Attachment 1: stunnel_with_smtp_pop3.txt
EZ Email Security With Stunnel
by Pat Parsons

This is a little crash course in how to setup email over SSL painlessly using
Stunnel. First you need to have installed a mail transfer agent to handle the
SMTP portion of the mail. Then you need to have installed either an IMAP server
or a POP3 server. Many distributions come with Stunnel, if yours does not you
can get it from http://www.stunnel.org. Stunnel requires that you have OpenSSL
or SSLeay installed first. This should come with your distribution. Generally
if you have SSH installed you also have a SSL library.

Get and install Stunnel. I am not going into detail on that because if you are
at this point you probably already know how to do so. Make a SSL certificate
for use with Stunnel. OpenSSL provides a makefile to do just that. In my
distribution it is located in /usr/share/ssl/certs . CD to that directory and
type make stunnel.pem to create the certificate that is named stunnel.pem. Now
you need to a few lines to your rc.local file to start Stunnel at bootup
(assuming you ever reboot that is) these lines are:

  /usr/sbin/stunnel -d 995 -r 110
  /usr/sbin/stunnel -d 465 -r 25

This will start stunnel listening on port 995 for POP3 and 465 for SMTP. Now
all you need to do is edit the options for your mail client and there you go.
No need to worry about cleartext email passwords. If you are too impatient to
wait for the next reboot you can type the commands given previously to start
Stunnel right away. There may be some problems with certificate validation for
some email clients. Make sure when asked by the makefile you get the server
name correct. If your email client will not let you add certificates you may
need to change or obtain a certificate from a certification authority. If you
cannot get the certificate vaidation worked out there is no way to ensure that
you are connecting to the correct machine. Have a nice day.
  257   Fri Mar 21 16:52:12 2003 Reply Recai Oktasroktas@omu.edu.trInfo  Re: Re: Elog and SSL
Ooops, I destroyed the original post, now how can we fix this :)
  300   Tue Apr 22 19:58:13 2003 Entry Recai Oktasroktas@omu.edu.trQuestion  Re: Converting logs
> Here is the error:
> 
> Cannot find any ??????.log file in this directory.

`elconv' is just a simple tool to convert pre 2.0 log files to the current
format. (Well, after all these confusions, dropping it from the future
releases won't be surprising -at least for me- ;) You might try some
well-known text-processing tools ie. preferably awk or perl to make the
required conversions. But I think using comma or tab as the delimiter is not
suitable due to the content of logs. If all you want is importing them to
excel/word, you should play with the delimiter options of mentioned programs
before trying a solution.
  381   Mon Jun 30 02:41:33 2003 Entry Recai Oktasroktas@omu.edu.trBug fixMac OSX2.3.8Re: runtime error under Mac OS X 10.2
Seems a stack problem.  I don't have an OS X box to validate my guess.  I've
made a Google search with the keywords: EXC_BAD_ACCESS stack "os x"

Perhaps the following reply [1] might help...

  How big are they? You're probably running into the default stack size 
  limit, which is 512 KB. Try `unlimit stacksize` in your shell before 
  running, which will give you 65536 KB per stack.

[1] http://zerowing.idsoftware.com/archives/gtkrad-macos/2003-January/000453.html
ELOG V3.1.5-3fb85fa6