Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 178 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  2091   Fri Nov 24 23:08:33 2006 Question Andreas Warburtonandreas.warburton@gmail.comQuestionLinux | Windows2.6.2-1755Resubmit-as-new-entry behaviour when synchronizing/mirroring
Hello,

I am running two ELOG installations: one on my Windows laptop; the other on a Debian linux web server. I have mirroring set up between the two installations. This has worked well for over a year. I am hoping that someone can help me regarding the following odd behaviour.

1. I edit (create) an entry on my Windows laptop. This entry gets mirrored or synchronized to the Linux machine.

2. I can view the entry fine both on the Windows side and on the Linux side.

3. I then edit the entry on the Linux side. After saving, the revised entry is visible on the Linux side.

4. I then have the same entry number available on both installations, but the two have different content due to my edit.

5. If I then synchronize, the original (unedited) entry is preserved along with the new entry, so both the Windows and Linux installations now have TWO entries each, representing the unedited and edited versions. The time stamps are identical, but the edited version is given a new ID number.

As a check, I explicitly added the line "Resubmit default = 0", which I know refers to editing and not synchronization, to my config file. The weird thing is that the synchronize/mirror operation seems to be acting with a "Resubmit default = 2" kind of behaviour.

Has anyone observed this happening?

Thanks for any comments or insights.

Cheers,
Andreas
  2093   Mon Nov 27 17:29:41 2006 Question Peter Kovackovac@gwu.eduQuestionLinux2.6.1+r164elog (2.6.1+r1642 ubuntu/debian) regularly becomes non-responsive (w/o crashing)
Greetings~

First, the problem. Fairly regularly (at least once a week, perhaps more), our elog daemon seems to quietly die. The process is still running but anyone attempting to access the server gets "connection refused." The elog log doesn't show anything and the apache logs just show "proxy: Error reading from remote server returned by [path]". Calling a daemon restart doesn't seem to kill the daemon -- I get a "could not bind to port" error. Using kill and then starting the daemon again fixes the problem for a few days and then we start over.

The particulars:
We are running elog on an Ubuntu (6.06 Dapper Drake LTS) web server.
It's currently version 2.6.1+r1642 pulled via apt-get from the Debian repositories.
elog is hiding behind an apache2+SSL proxy.

Any thoughts? Has anyone else seen this behavior? My next step is probably to compile 2.6.2 and remove the packaged flavor but I wanted to see if this was a known bug...

Thanks,
-Peter
  2097   Tue Nov 28 10:34:54 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1+r164Re: elog (2.6.1+r1642 ubuntu/debian) regularly becomes non-responsive (w/o crashing)

Peter Kovac wrote:
First, the problem. Fairly regularly (at least once a week, perhaps more), our elog daemon seems to quietly die. The process is still running but anyone attempting to access the server gets "connection refused." The elog log doesn't show anything and the apache logs just show "proxy: Error reading from remote server returned by [path]". Calling a daemon restart doesn't seem to kill the daemon -- I get a "could not bind to port" error. Using kill and then starting the daemon again fixes the problem for a few days and then we start over.

The particulars:
We are running elog on an Ubuntu (6.06 Dapper Drake LTS) web server.
It's currently version 2.6.1+r1642 pulled via apt-get from the Debian repositories.
elog is hiding behind an apache2+SSL proxy.

Any thoughts? Has anyone else seen this behavior? My next step is probably to compile 2.6.2 and remove the packaged flavor but I wanted to see if this was a known bug...


There are three reasons why an elog server can go into an infinite loop:

  • A bug which has been fixed in meantime. If you can give a try to 2.6.2-1750 or so that could help. I'm not sure if this version is already in the Debian distribution since I'm not the maintainer there.
  • A corrupted log file. If one of the YYMMDDa.log file get some garbage (maybe due to hard disk problems etc.) the elogd server can run into an infinite loop. In that case examine all log files to see if there is anything wrong. If so, edit it manually and restart elogd.
  • Some not yet found bug. One never can exclude this of course, but at this forum I have elogd running under similar conditions like you, and it runs for months without problems.
  2099   Tue Nov 28 12:50:19 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows2.6.2-1755Re: Resubmit-as-new-entry behaviour when synchronizing/mirroring

Andreas Warburton wrote:
Thanks for any comments or insights.


This problem was introduced a couple of months ago. It is now fixed in the new version 2.6.3.
  2103   Thu Nov 30 16:07:54 2006 Smile Bertram Metzbmetz@sbs.comQuestionLinux2.6.1-1622Re: Email notification (bug tracking system)

Stefan Ritt wrote:

Bertram Metz wrote:
Hello,

I'd like to use ELOG like a bug tracking system. I've created an attribute with the name AssignedTo. The attribute type is set to userlist. The value of AssignedTo is set to the full name of the selected user. There is no simple relationship between the full name and the email address on our system. Is it possible to get the email address of a user from the full name?

Attributes = Author, Category, Hardware, Software, Subject, Keywords, Status, AssignedTo
Options Category = Bug Report{1}, Observation{2}, Other{3}
Type AssignedTo = userlist
Show Attributes = Author, Category, Hardware, Software, Subject, Keywords
{1} Show Attributes = Author, Category, Hardware, Software, Subject, Keywords, Status, AssignedTo
Required Attributes = Author, Hardware, Software, Category
Options Status = new, open, confirmed, closed
;the following line does not work, since $AssinedTo contains the full name of the user
Email Category Bug Report = $AssignedTo@company.com

Kind regards,
Bertram


I implemented the attribute type useremail for you. This can be used like:
Attributes = Author, Catorory, AssignedTo
Type AssignedTo = useremail
Email Category Bug Report = $AssignedTo

You will see only the email address of the people in the list, but since the email address usually contains the name this might be enough. A different system would have been too difficult to implement. The new feature is contained in SVN revision 1754.


Thank you very much Stefan,
that works fine for me!

Bertram
  2106   Mon Dec 11 18:02:12 2006 Question hermanhvwintoronto@yahoo.comQuestionWindows2.6.3Preset reply date to nothing
How do I preset the reply date to an empty box(es)?

In 2.5.x it worked as

Preset on reply Plan Date = ""

gave me an empty date, which is what I wanted. Now in 2.6.3 I get some date in there (...1969) and have to
manually set it to empty again ?

Thanks
  2107   Tue Dec 12 15:45:48 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.3Re: Preset reply date to nothing
> How do I preset the reply date to an empty box(es)?
> 
> In 2.5.x it worked as
> 
> Preset on reply Plan Date = ""
> 
> gave me an empty date, which is what I wanted. Now in 2.6.3 I get some date in there (...1969) and have to
> manually set it to empty again ?
> 
> Thanks

I fixed that in SVN revision 1777 again, so it will be included in the next release.
  2110   Sat Jan 13 17:35:45 2007 Question Exaos LeeExaos.Lee@gmail.comQuestion  How many topgroups can be defined?
I defined 6 top groups in my cfg file as the attachment.
But ... It doesn't work as I wanted.
The 4th and 5th groups need login. But when I clicked the 4th or 5th group, the login isn't needed.
And the 4th and 5th password files are not generated automatically.
Attachment 1: cndl.cfg
[global]
port = 7466
Language = zh_CN-UTF8
charset = utf-8
URL = https://10.10.65.222/elog
Resource dir = /usr/local/elog
Logfile = cndl-elogd.log
Logbook dir = /var/elog/cndl-logbooks

;; SMTP 设置,用于电子邮件发送 
SMTP host = mails.ciae.ac.cn
SMTP username = gr13
SMTP password = Z3IxMw==

; 标题
Welcome Title = <p><b>欢迎访问核数据实验室电子记录本</b></p>
Page title = 十三室电子记录本
Usr = ntofadm
Grp = admin

;;================ 公用的显示设置 ==============
Time format = %F, %T
Date format = %F %T
Theme = default
Display mode = threaded
Entries per page = 20
Reverse sort = 1

;;============= 讨论组 ==========================
Group 0.Demo = 记录本测试
;;数据获取, 数据分析, 软件模拟, 室内活动
Group 1.Public = 数据采集,数据分析,软件模拟,十三室
;; NTOF 组
Group 2.NTOF = NTOF组,NTOF项目
Group NTOF项目 = 共振参数
;; CIHENP 组
Group 3.CIHENP = CIHENP组,CIHENP项目
Group CIHENP项目 = 特洛依木马实验,ALICE项目,CIHENP集群管理
;; 裂变产额组
Group 4.FissionYield = 裂变产额项目,CARR-ISOL
Group 裂变产额项目 = U235裂变产额测量
Group CARR-ISOL = ISOL,ISOL实验
Group ISOL实验 = ISOL实验预研
;; 合作单位
Group 5.Coorperation = 西北核技术所
Group 西北核技术所 = 探测器标定,反冲质子谱仪

;;=============== TOP Groups ===================
Show top groups = 1
Top group 0.Demo = 记录本测试
Top group 1.Public = 数据采集,数据分析,软件模拟,十三室
Top group 2.NTOF = NTOF组,NTOF项目
Top group 3.CIHENP = CIHENP组,CIHENP项目
Top group 4.FissionYield = 裂变产额项目,CARR-ISOL
Top group 5.Coorperation = 西北核技术所

[global 1.Public]
Password file = public.pwd
Admin user = exaos
Self register = 1

[global 2.NTOF]
;; 管理权限设置
Password file = ntof.pwd
Admin user = exaos
Self register = 1

[global 3.CIHENP]
;; 管理权限设置
Password file = cihenp.pwd
Admin user = lixm,licb
Self register = 1

[global 4.FissionYield]
;; 管理权限设置
Password file = fissionyield.pwd
Admin user = yangyi
Self register = 1

[global 5.Coorperation]
;; 管理权限设置
Password file = others.pwd
Admin user = exaos,kogun
Self register = 1

[global 0.Demo]
Quick filter = 日期,类别
Attributes = 作者,类别,标题


[记录本测试]
Comment = 实验记录本演示
Subdir = Demo/Demo
Page Title = ELOG - $subject
;; 属性设置
Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Options 类别 = 程序错误, 功能建议, 求助, 其它, 功能测试

[数据采集]
Subdir = Public/DAQ
Comment = 数据采集系统的调试与开发
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别
Options 类别 = VME, CAMAC, 其它设备, MIDAS, Kmax/KmaxNT, KODAQ, XSYS, 其它软件, 程序开发, 其它
Page Title = ELOG - $subject

[数据分析]
Subdir = Public/Analysis
Comment = 数据分析的软件及相关讨论
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别
Options 类别 = 分析理论, ROOT, PAW, Origin, Maestro, 自备程序, 其它
Page Title = ELOG - $subject

[软件模拟]
Subdir = Public/Simulation
Comment = 实验的软件模拟
Options 类别 = MC 理论, MCNP(X), GEANT3/4, FLUKA, EGS, 程序开发, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[十三室]
Subdir = Public/Lab13
Comment = 十三室的建设、活动、通知等
Options 类别 = 通知,全室活动,实验室建设, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[NTOF组]
Subdir = NTOF/NTOF
Comment = 中子能谱组的相关工作及讨论
Options 类别 = 通知,工作安排,活动讨论,其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[共振参数]
Subdir = NTOF/RPM
Comment = 共振参数的测量方法研究
Options 类别 = 实验方案, 仪器调试, 数据采集, 数据分析, 结果讨论, 分析软件, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[CIHENP组]
Subdir = CIHENP/CIHENP
Comment = 中高能物理组的相关工作及讨论
Options 类别 = 通知,工作安排,活动讨论,其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[特洛依木马实验]
Subdir = CIHENP/Trojan-Horse
Comment = 使用特洛依木马方法的相关实验讨论
Options 类别 = 木马理论, 实验方案, 仪器调试, 数据采集, 数据分析, 结果讨论, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[ALICE项目]
Subdir = CIHENP/ALICE
Comment = ALICE 实验项目
Options 类别 = AliROOT, 理论, 模拟与分析, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[CIHENP集群管理]
Subdir = CIHENP/PCFarm
Comment = 中高能物理组的集群计算系统的管理
Options 类别 = 硬件管理, 软件环境设置, 用户需求, 计算技术, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[探测器标定]
Subdir = Others/NINT/DetResp
Comment = 核测试用探测器的标定
Options 类别 = 标定实验, 数据分析, 结果讨论, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[反冲质子谱仪]
Subdir = Others/NINT/MPRS
Comment = 反冲质子磁谱仪实验
Options 类别 = 实验方案, 仪器调试, 数据采集, 数据分析, 结果讨论, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[ISOL]
Subdir = FissionYield/ISOL
Comment = 在线同位素分离器的建设与调试
Options 类别 = 仪器故障, 设备更新, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
;Guest menu commands = List, Find, Login, Help
Deny New = Guest

Attributes = 作者, 类别, 标题, 电子邮件
Required Attributes = 作者, 类别, 标题
Subst 作者 = $long_name 来自 $remote_host
Subst 电子邮件 = $user_email
Quick filter = 日期, 类别

[ISOL实验预研]
Subdir = FissionYield/ISOL-Exps
Comments = 在线同位素分离器上的实验预研
Options 类别 = 实验方案, 其它
Page Title = ELOG - $subject
;; 匿名权限:只读,不可写
... 24 more lines ...
ELOG V3.1.5-3fb85fa6