Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 27 of 805  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  67113   Sun Sep 4 23:01:15 2011 Question mike ciancimike2.cianci@comcast.netQuestionWindows2.7.5-2185Rename Logbook

I have a logbook with data in it that I need  to  rename  and preserve the the existing data (old book) in the newly named book (i.e. can I move all of the data from one book to a new book and than delete the data from the original book)?

As always thank you for your time.

  67125   Fri Sep 23 01:16:30 2011 Reply mike ciancimike2.cianci@comcast.netQuestionWindows2.7.5-2185Re: Rename Logbook

Stefan Ritt wrote:

mike cianci wrote:

I have a logbook with data in it that I need  to  rename  and preserve the the existing data (old book) in the newly named book (i.e. can I move all of the data from one book to a new book and than delete the data from the original book)?

As always thank you for your time.

There are two ways:

1) Create a new logbook, add the "Copy to" command to the old logbook. Select all entries and copy them to the new logbook, and delete the old one.

2) Change the logbook name in elogd.cfg, by manually editing the file, then rename the subdirectory in your file system from the old to the new name, then restart elogd.

The second solution is much simpler, but you have to manipulate files and directories yourself.

Whatever you do, make sure to back up you files before any operation. 

 Sorry, about this dumb question but with  "Copy to = <logbook list> " what is the format of  <logbook list>?

Is it just the "logbook Name" or is it the actual path name   "http://something/somethingelse"?

  67135   Fri Sep 30 22:38:43 2011 Reply mike ciancimike2.cianci@comcast.netQuestionWindows2.7.5-2185Re: Rename Logbook

Stefan Ritt wrote:

David Pilgram wrote:

Anyway, Stefan <i>et al</i> have got CERN's faster-than-light particle problem to deal with this morning.

I would be too lucky if I just could fix this as I fix some ELOG problems! I guess hundreds of physicists right now are pondering about what could have gone wrong in data taking, because nobody really believes that this is a real effect. 

 Got it to work, manipulating the files was not that hard once I got over the FEAR factor.  Good luck with the speed of light thing.

  67694   Fri Aug 8 22:36:29 2014 Question mike ciancimike2.cianci@comcast.netQuestionWindows2.7.5-2185Preset Text

Sorry for the novice question, but can anyone tell me where the ".txt" document is suppose to reside for the "Preset text" statement to find it? I have a "test.txt" document in the "Template" file but all "Preset text = test.txt" does is print "test.txt" in the comment section.

Thanks,  Mike

  67697   Fri Aug 22 23:10:28 2014 Question mike ciancimike2.cianci@comcast.netQuestionWindows2.7.5 Preset Text

I have stripped my config file down to one command:   "Preset text = \\ssoelog\elog\templates\test2.txt"

If I type the path "\\ssoelog\elog\templates\test2.txt" into my browser I see the contents of the file, which is the word  "YES"

But when I open a "New" page in ELOG the command returns:    " \\ssoelog\elog\templates\test2.txt"

Could it have anything to do with the fact that I am using Version 2.7.5

  69079   Mon Jan 20 13:46:56 2020 Question matthieu hellermatthieu.heller@unige.chQuestionLinux3.1.4Different behaviours to identical configuration of logbooks for email notification

Dear,

I need to setup automatic email notification using direct send through a office365 smtp server.
This part worked without any issue after setting the right MX record as SMTP host.
As I am working on the configuration file while it is already use, I created a copy of the [GENERAL] logbook to make my tests called [GENERAL COPY] (see attachement and below for the config file).

Surprisingly I manage to send the email without errors using [GENERAL COPY] but not in [GENERAL]. In that case, I get this error message:
Error sending Email via <i>"cta####-####.mail.protection.outlook.com"</i>: 4.5.3 Recipients belong to multiple tenants [AM5EUR02FT024.eop-EUR02.prod.protection.outlook.com]

In that case, I was actually not sending the mail to a mailing list but to myself, a registered user.

Do you see any reason why two identical logbooks (except for the name) would behave differently ?

Best,

elogd.cfg:

[global]
port = 8090
SSL = 0
Self register = 0
Welcome Title = <html><font size=5>Welcome to the LST1 Elog server</font></html>
Main Tab = Main Logbooks page
URL = #######
SMTP host = cta####-####.mail.protection.outlook.com
SMTP port = 25
Use Email From = mailing-list@cta-####.org
Display Email recipients = 0
Email message body      = 1

[GENERAL]
Theme = default
Comment = LST1 General ELOG
Attributes = Author, Type, Subject, Status
Options Type = Announcements, Shift Summary, Webserver, Plans, Safety, Operations, Interventions, Measurements, Structure, Issue
Options Status = Fixed, Under Process, Not Fixed
Cell Style Status Fixed  = background-color:green
Cell Style Status Not Fixed  = background-color:red
Cell Style Status Under Process  = background-color:yellow
Extendable Options = Type
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status
Use Email Subject = $Type, $Subject
Email Type Webserver = mailing-list@cta-####.org
Email Type "Shift Summary" = mailing-list@cta-####.org
Admin user = camera
Password file = camera.pwd

[GENERAL COPY]
Theme = default
Comment = LST1 General ELOG
Attributes = Author, Type, Subject, Status
Options Type = Announcements, Shift Summary, Webserver, Plans, Safety, Operations, Interventions, Measurements, Structure, Issue
Options Status = Fixed, Under Process, Not Fixed
Cell Style Status Fixed  = background-color:green
Cell Style Status Not Fixed  = background-color:red
Cell Style Status Under Process  = background-color:yellow
Extendable Options = Type
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status
Use Email Subject = $Type, $Subject
Email Type Webserver = mailing-list@cta-####.org
Email Type "Shift Summary" = mailing-list@cta-####.org
Admin user = camera
Password file = camera.pwd

Attachment 1: elogd.cfg
[global]
port = 8090
SSL = 0
Self register = 0
Welcome Title = <html><font size=5>Welcome to the LST1 Elog server</font></html>
Main Tab = Main Logbooks page
URL = #######
SMTP host = cta####-####.mail.protection.outlook.com
SMTP port = 25
Use Email From = mailing-list@cta-####.org
Display Email recipients = 0
Email message body      = 1

[GENERAL]
Theme = default
Comment = LST1 General ELOG
Attributes = Author, Type, Subject, Status
Options Type = Announcements, Shift Summary, Webserver, Plans, Safety, Operations, Interventions, Measurements, Structure, Issue
Options Status = Fixed, Under Process, Not Fixed
Cell Style Status Fixed  = background-color:green
Cell Style Status Not Fixed  = background-color:red
Cell Style Status Under Process  = background-color:yellow
Extendable Options = Type
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status
Use Email Subject = $Type, $Subject
Email Type Webserver = mailing-list@cta-####.org
Email Type "Shift Summary" = mailing-list@cta-####.org
Admin user = camera
Password file = camera.pwd

[GENERAL COPY]
Theme = default
Comment = LST1 General ELOG
Attributes = Author, Type, Subject, Status
Options Type = Announcements, Shift Summary, Webserver, Plans, Safety, Operations, Interventions, Measurements, Structure, Issue
Options Status = Fixed, Under Process, Not Fixed
Cell Style Status Fixed  = background-color:green
Cell Style Status Not Fixed  = background-color:red
Cell Style Status Under Process  = background-color:yellow
Extendable Options = Type
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status
Use Email Subject = $Type, $Subject
Email Type Webserver = mailing-list@cta-####.org
Email Type "Shift Summary" = mailing-list@cta-####.org
Admin user = camera
Password file = camera.pwd


[CAMERA]
Theme = default
Comment = LST1 Camera ELOG
Attributes = Author, Type, Category, Subject, Status
Options Type = ECC, TIB, CACO, EVB, UCTS, test, Fibers, Camera, ClusCo, DATA, CACO/ClusCO, Calib box, Camera Server, Monitoring, Backplane, Observation, Daily calibration, Dragon, Operation, Trigger Mezzanine, PDB, CDTS, Switches, Cooling
Options Category = General, Hardware, Software, Network, Other, Weather conditions
Options Status = Fixed, Under Process, Not Fixed
Cell Style Status Fixed  = background-color:green
Cell Style Status Not Fixed  = background-color:red
Cell Style Status Under Process  = background-color:yellow
Extendable Options = Type, Category
Required Attributes = Author, Type
Reverse sort = 1
Quick filter = Date, Type, Status
Admin user = camera
Password file = camera.pwd

[AMC]
Theme = default
Comment = LST1 AMC ELOG
Attributes = Author, Type, Category, Subject, Status
Options Type = Software Installation, Problem Fixed, Hardware, Issues, pointing calibration
Options Category = General, Hardware, Software, Network, Other
Options Status = Fixed, Under Process, Not Fixed
Cell Style Status Fixed  = background-color:green
Cell Style Status Not Fixed  = background-color:red
Cell Style Status Under Process  = background-color:yellow
Extendable Options = Type, Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status
Admin user = amc
Password file = amc.pwd

[ENERGY]
Theme = default
Comment = LST1 Energy ELOG
Attributes = Author, Type, Category, Subject, Status
Options Type = Software Installation, Problem Fixed, Hardware, Issues
Options Category = General, Hardware, Software, Network, Other
Options Status = Fixed, Under Process, Not Fixed
Cell Style Status Fixed  = background-color:green
Cell Style Status Not Fixed  = background-color:red
Cell Style Status Under Process  = background-color:yellow
Extendable Options = Type, Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status
Admin user = energy
Password file = energy.pwd

[DRIVE]
Theme = default
Comment = LST1 Drive ELOG
Attributes = Author, Type, Category, Subject, Status
Options Type = Software Installation, Problem Fixed, Hardware, PLC Software and Configuration, Telescope Operations, Applications, Other, PLC + Control Software debugging, Tracking Debugging
Options Category = General, Hardware, Software, Other, Other_Debug, Issues
Options Status = Fixed, Under Process, Not Fixed
Cell Style Status Fixed  = background-color:green
Cell Style Status Not Fixed  = background-color:red
Cell Style Status Under Process  = background-color:yellow
Extendable Options = Type, Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Status
Admin user = drive

[Startup checklist]
Comment = Shift startup checklist
Attributes = Author, D, M, Y, suic1, suic2, suic3, suic4, suic5, suwa1, suwc1, suwc2, suwc3, supa1, supc1, supc2, supc3, supc4, supc5, supc6, supc7, supc8, supc9, supc10
Quick filter = Author
Enable attachments = 0
Show text = 0
Custom new form = /usr/local/elog/html/startup_list.html
Custom edit form = /usr/local/elog/html/startup_list.html
Custom display form = /usr/local/elog/html/startup_list.html
List after submit = 1
Admin user = camera
Password file = camera.pwd

[Shutdown checklist]
Comment = Shift shutdown checklist
Attributes = Author, D, M, Y, sdsa1, sdtc1, sdtc2, sdtc3, sdtc4, sdtc5, sdtc6, sdtc7, sdtc8, sdtc9, sdtc10, sdtc11, sdtc12, sdtc13, sdtc14, sdfa1, sdfa2, sdfa3, sdfa4
Quick filter = Author
Enable attachments = 0
Show text = 0
Custom new form = /usr/local/elog/html/shutdown_list.html
Custom edit form = /usr/local/elog/html/shutdown_list.html
Custom display form = /usr/local/elog/html/shutdown_list.html
List after submit = 1
Admin user = camera
Password file = camera.pwd

[GENERAL ELOG PROPOSAL]
Theme = default
Comment = LST1 General ELOG
Attributes = Author, Type, Category, System, Subsystem, Subject, Status
Options Type = Shift Summary, Report, Issue, Request, Announcements, Plans
Options Category = General, Observation, Safety, Maintenance, Intervention, Hardware, Software, Network, Other
Options System  = LST1{1}, Structure{2}, Camera{3}, Drive{4}, AMC{5}, IT{6}, Energy{7}
{1} MOptions Subsystem = Shift, Maintenance, Test
{2} MOptions Subsystem = Lower, Dish
{3} MOptions Subsystem = ECC, TIB, CACO, EVB, UCTS, Fibers, ClusCo, DATA, CACO/ClusCO, Calib box, Camera Server, Monitoring, Backplane, Observation, Daily calibration, Dragon, Operation, Trigger Mezzanine, PDB, CDTS, Switches, Cooling
{4} MOptions Subsystem = PLC, Telescope Operations, Applications, Control Software, Tracking
{5} MOptions Subsystem = CCD, AMC box, Pointing calibration
{6} MOptions Subsystem = Humidifier, Cooling
{7} MOptions Subsystem = UPS, Flywheel
Options Status = Fixed, Under Process, Not Fixed
Cell Style Status Fixed  = background-color:green
Cell Style Status Not Fixed  = background-color:red
Cell Style Status Under Process  = background-color:yellow
Required Attributes = Author, Type, Category, System
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Category, System
Use Email Subject = $Type, $Subject
Email Type "Shift Summary" = mailing-list@cta-####.org
Email System Camera =  mailing-list@cta-####.org
Admin user = camera
Password file = camera.pwd
  69566   Tue Oct 4 20:43:28 2022 Angy mathew goebelmgoebel@emich.eduQuestionLinuxELOG V3.1.4-3d7Anyone else running elogd on redhat ES 8 having random crashes?

For the last couple of months we are getting a random elogd crash once in a while we are getting something like the following in the middle of the night

> Sep 29 20:45:07 elog kernel: server_name686835]: segfault at 7ffd7f5a0000 ip 00007fceaeabbf06 sp 00007ffd7f577348 error 6 in libc-2.28.so[7fceaea8a000+1bc000]

I'm going to try and see if it will leave a coredump file, just thought I would ask if anyone else had seen this before?

Thanks,
Matt

 

 

 

  69568   Wed Oct 5 20:39:16 2022 Reply mathew goebelmgoebel@emich.eduQuestionLinuxELOG V3.1.4-3d7Re: Anyone else running elogd on redhat ES 8 having random crashes?

Thanks for the info! 

Stefan Ritt wrote:

Most likely these are some currupt logbook files. If you get a coredump (or stack trace) you can maybe figure out which file it was. These are plain ASCII files (YYMMDDa.log) and you can see with an editor if someting there is not in order.

Stefan

mathew goebel wrote:

For the last couple of months we are getting a random elogd crash once in a while we are getting something like the following in the middle of the night

> Sep 29 20:45:07 elog kernel: server_name686835]: segfault at 7ffd7f5a0000 ip 00007fceaeabbf06 sp 00007ffd7f577348 error 6 in libc-2.28.so[7fceaea8a000+1bc000]

I'm going to try and see if it will leave a coredump file, just thought I would ask if anyone else had seen this before?

Thanks,
Matt

 

 

 

 

 

ELOG V3.1.5-3fb85fa6