TCK-##### stopped Working, posted by Don Perrea on Mon Jul 14 16:23:26 2008
|
|
Synchronising between physically separate networks, posted by Dougie Mooney on Thu Jul 10 12:06:31 2008
|
Hi there. Just started recently set up the application and think its very usable and easily configured - great stuff 
I'm looking to roll it out to the masses but have a slight logistical problem in that we work on 2 separate networks - NET1 with connection to the internet, and NET2 physically isolated from NET1 and the internet.
It would be desirable to allow users to add/update/delete logs from both NET1 and NET2 with periodic synchronisation.
I believe the mirroring facility is what should be used, and think the following setup and synchronisation steps may be workable:
Setup:
- elog installed on node of NET1
- elog installed on 2 nodes of NET2
- elog server running on NET1 and node1 of NET2 both using a common elogd.cfg
Performing Synchronisation:
- Stop the server on NET1
- copy logbook directories from NET1 to node2 of NET2
- start server on node2 of NET2 using the -M option
- once above complete, copy logbook directories from node 2 NET2 to NET1
- Start the server on NET1
Am I on the right track?
Would very much appreciate your comments and advice on the above.
Cheers Dougie |
Re: Synchronising between physically separate networks, posted by Stefan Ritt on Thu Jul 10 12:46:52 2008
|
Dougie Mooney wrote: |
Hi there. Just started recently set up the application and think its very usable and easily configured - great stuff 
I'm looking to roll it out to the masses but have a slight logistical problem in that we work on 2 separate networks - NET1 with connection to the internet, and NET2 physically isolated from NET1 and the internet.
It would be desirable to allow users to add/update/delete logs from both NET1 and NET2 with periodic synchronisation.
I believe the mirroring facility is what should be used, and think the following setup and synchronisation steps may be workable:
Setup:
- elog installed on node of NET1
- elog installed on 2 nodes of NET2
- elog server running on NET1 and node1 of NET2 both using a common elogd.cfg
Performing Synchronisation:
- Stop the server on NET1
- copy logbook directories from NET1 to node2 of NET2
- start server on node2 of NET2 using the -M option
- once above complete, copy logbook directories from node 2 NET2 to NET1
- Start the server on NET1
Am I on the right track?
Would very much appreciate comments and and advice on the above.
|
A couple of comments:
- In principle you could use one elogd.cfg for two running daemons, but only if they do not modify the file. If you use "extensible attributes" for example, you would have write access. If this happens from both servers at the same time, the config file can get corrupt. This is even more true with a password file, which gets written every time a users accesses a page. If you only run one server at a time, then they can share the config file of course.
- The synchronization works bi-directional between two elog daemons. Requirement is that they have access to each other. The synchronization master acts like a "browser" to the slave to send/retrieve entries. So if you can affort punching a hole into your firewall between NET1 and NET2, you could synchronize two servers directly and don't have to bother with three servers. If you have however really physically separated nets, such that you need a memory stick to transport data from one net to the other, then indeed you need the above described scenario. I never tried it in this way, but in principle it should work.
|
Error messages while creating thumbnails, posted by Yoshio Imai on Wed Jul 9 19:57:50 2008
|
Hi again!
I have recently noticed that elog often creates large accumulations of the following group of error messages in our syslog:
Jul 9 19:05:00 elogd[27009]: Falling back to default group "elog"
Jul 9 19:05:00 elogd[27009]: Falling back to default user "elog"
Jul 9 19:05:02 elogd[27009]: Cannot restore original GID/UID.
Jul 9 19:05:02 elogd[27009]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied
Jul 9 19:05:05 elogd[27013]: Falling back to default group "elog"
Jul 9 19:05:05 elogd[27013]: Falling back to default user "elog"
Jul 9 19:05:05 elogd[27013]: Cannot restore original GID/UID.
Jul 9 19:05:05 elogd[27013]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied
Jul 9 19:05:05 elogd[27016]: Falling back to default group "elog"
Jul 9 19:05:05 elogd[27016]: Falling back to default user "elog"
Jul 9 19:05:06 elogd[27016]: Cannot restore original GID/UID.
Jul 9 19:05:06 elogd[27016]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied
I have further found out that these coincide with the generation of attachment thumbnails (i.e. every time a user displays an entry generated before the advent of ImageMagick support for the first time, and every time the preview pictures are scaled/rotated while editing an entry).
The PID-file is indeed owned by the root user and not elog, but is correctly cleaned up at termination of the elog server.
Jul 9 19:47:08 elogd[27335]: elogd server aborted.
Jul 9 19:47:16 elogd[27359]: elogd 2.7.3 built Apr 18 2008, 14:08:31
Jul 9 19:47:16 elogd[27359]: revision 2104
Jul 9 19:47:16 elogd[27359]: Falling back to default group "elog"
Jul 9 19:47:16 elogd[27359]: Falling back to default user "elog"
Jul 9 19:47:16 elogd[27360]: Falling back to default group "elog"
Jul 9 19:47:16 elogd[27360]: Falling back to default user "elog"
Jul 9 19:47:16 elogd[27360]: Cannot restore original GID/UID.
Jul 9 19:47:16 elogd[27360]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied
Jul 9 19:47:16 elogd[27359]: ImageMagick detected
Does this point at some sort of problem?
Another question concerning the thumbnails of multi-page PDF-files: would it make sense to restrict the thumbnail generation to the first page? Since this is the title page, which in most cases is the only relevant page (really reading the file from the thumbnails is usually not possible anyway), this could help keep the attachment display less crowded ...
Thanks for the work and continuing support!
Yoshio |
Icon and Quick filter, posted by Franck C on Tue Jun 17 11:42:20 2008
|
Hi,
I have defined a quick filter based on an icon attribute and it does not work: no result. I have defined something like your "forum elog" (with Icon comment ): in the quick filter, i see the comments (that a good thing) but whatever i'm selecting, i have no entry.
Is it a bug or i miss something in the configuration ?
Regards
ELOG is a really helpful application 
Thanks a lot !! |
Re: Icon and Quick filter, posted by Stefan Ritt on Mon Jun 23 12:40:12 2008
|
Franck C wrote: |
Hi,
I have defined a quick filter based on an icon attribute and it does not work: no result. I have defined something like your "forum elog" (with Icon comment ): in the quick filter, i see the comments (that a good thing) but whatever i'm selecting, i have no entry.
Is it a bug or i miss something in the configuration ?
|
I tried to reproduce your problem, but it worked fine for me. I used in elog.cfg:
[demo]
Attributes = Icon, Author, Type, Last Edit, Subject
IOptions Icon = icon1.gif, icon2.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif, icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Quick filter = Icon
Then I entered two entries with different icons, and I selected the quick filter. It correctly showed me the entry with the icon I selected:

|
Re: Icon and Quick filter, posted by Franck C on Tue Jul 1 16:56:53 2008 
|
Stefan Ritt wrote: |
Franck C wrote: |
Hi,
I have defined a quick filter based on an icon attribute and it does not work: no result. I have defined something like your "forum elog" (with Icon comment ): in the quick filter, i see the comments (that a good thing) but whatever i'm selecting, i have no entry.
Is it a bug or i miss something in the configuration ?
|
I tried to reproduce your problem, but it worked fine for me. I used in elog.cfg:
[demo]
Attributes = Icon, Author, Type, Last Edit, Subject
IOptions Icon = icon1.gif, icon2.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif, icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Quick filter = Icon
Then I entered two entries with different icons, and I selected the quick filter. It correctly showed me the entry with the icon I selected:

|
Yes you're right, but i want to see the comment in the quickfilter list, not the name of the icon :
[MyLogBook]
List Display = Auteur, Destinataire, Etat, Réponse, Rapport
Attributes = Auteur, Destinataire, Etat, Réponse, Rapport
IOptions Etat = icon3.gif, icon13.gif, icon14.gif, icon2.gif
Icon comment icon3.gif = Suggestion
Icon comment icon13.gif = Réfusée
Icon comment icon14.gif = Retenue
Icon comment icon2.gif = Réportée
Quick filter = Auteur, Date, Etat, Destinataire
All the entries:

When i'm selecting the quickfilter, it should display the entry "arthur":

|
Re: Icon and Quick filter, posted by Stefan Ritt on Thu Jul 3 08:25:10 2008
|
Ok, now I got the point. I fixed this problem in elog revision #2114. Quick filters are now working with icons:

|
Re: Icon and Quick filter, posted by Franck C on Thu Jul 3 16:22:31 2008
|
Stefan Ritt wrote: |
Ok, now I got the point. I fixed this problem in elog revision #2114. Quick filters are now working with icons:

|
Thanks a lot  |
Sorting Museremail, posted by Steve Williamson on Mon Jun 30 10:55:29 2008
|
We use elog for (amongst other things) a simple change management log. About two dozen users allowed to do updates and their email addresses are listed at the bottom of the page to allow any of them to be included on circulation for a change request. The email addresses appear in the order that they were added (i.e. apparently random). Is there any way to sort these, ideally by Last part of Full Name/First part of Full Name, but login name or email address would be OK?
Thanks for a great piece of software.
Steve |
Re: Sorting Museremail, posted by Stefan Ritt on Thu Jul 3 08:57:32 2008
|
Steve Williamson wrote: |
We use elog for (amongst other things) a simple change management log. About two dozen users allowed to do updates and their email addresses are listed at the bottom of the page to allow any of them to be included on circulation for a change request. The email addresses appear in the order that they were added (i.e. apparently random). Is there any way to sort these, ideally by Last part of Full Name/First part of Full Name, but login name or email address would be OK?
|
Ok, I added sorting for "museremail" and "muserlist" type of attributes. Sorting is simply done by sorting the email addresses and first part of full name, respectively. The change is implemented in SVN revision #2115. |
browse for hyperlink target?, posted by George Chisholm on Thu Jun 26 22:53:59 2008
|
Just upgraded to v2.7.4 and really like the new editor but I need to be able to browse for the correct file when inserting a hyperlink. I looked into CKfinder but can't see how to use this with ELOG. Can anyone help? We have been using ELOG in our control center for about a year and it is working out great! |
Re: browse for hyperlink target?, posted by Stefan Ritt on Fri Jun 27 11:45:09 2008
|
George Chisholm wrote: |
Just upgraded to v2.7.4 and really like the new editor but I need to be able to browse for the correct file when inserting a hyperlink. I looked into CKfinder but can't see how to use this with ELOG. Can anyone help? We have been using ELOG in our control center for about a year and it is working out great!
|
CKfinder is a tool to browse the server, not the client where the web browser is running if I understand correctly. ELOG only supports attachment and inline images residing on the client side, so you browse with the file selector of your web browser. Or did I understand you incorrectly? |
Re: browse for hyperlink target?, posted by George Chisholm on Fri Jun 27 18:31:08 2008
|
Stefan Ritt wrote: |
George Chisholm wrote: |
Just upgraded to v2.7.4 and really like the new editor but I need to be able to browse for the correct file when inserting a hyperlink. I looked into CKfinder but can't see how to use this with ELOG. Can anyone help? We have been using ELOG in our control center for about a year and it is working out great!
|
CKfinder is a tool to browse the server, not the client where the web browser is running if I understand correctly. ELOG only supports attachment and inline images residing on the client side, so you browse with the file selector of your web browser. Or did I understand you incorrectly?
|
Thanks for the reply Stefan and thanks for making this program available - where can we send a donation?
When I click 'InsertLink' in the FCKeditor I get an 'Explorer User Promp' popup asking me to enter the name of the hyperlink. After I enter the name I get 'Enter URL of hyperlink'. Typically I want to link to a file on a mapped drive but I would prefer to browse to the file location and select the file rather than type it in. |
Re: browse for hyperlink target?, posted by Stefan Ritt on Sat Jun 28 10:10:54 2008
|
George Chisholm wrote:
|
Stefan Ritt wrote: |
George Chisholm wrote: |
Just upgraded to v2.7.4 and really like the new editor but I need to be able to browse for the correct file when inserting a hyperlink. I looked into CKfinder but can't see how to use this with ELOG. Can anyone help? We have been using ELOG in our control center for about a year and it is working out great!
|
CKfinder is a tool to browse the server, not the client where the web browser is running if I understand correctly. ELOG only supports attachment and inline images residing on the client side, so you browse with the file selector of your web browser. Or did I understand you incorrectly?
|
Thanks for the reply Stefan and thanks for making this program available - where can we send a donation?
When I click 'InsertLink' in the FCKeditor I get an 'Explorer User Promp' popup asking me to enter the name of the hyperlink. After I enter the name I get 'Enter URL of hyperlink'. Typically I want to link to a file on a mapped drive but I would prefer to browse to the file location and select the file rather than type it in.
|
You can donate here by clicking the donate link at the ELOG page.
If you want to attach a file from a mapped drive you click on the "Browse..." button at the bottom of the ELOG page:

|
Mass postings, posted by mike cianci on Sat May 3 14:59:14 2008
|
I am setting this up as instrument log in a multi-hospital system, where there will be multiple instruments, in multiple departments, at multiple facilities.
I am using the "Top Group" function to keep the books separate so operators from one instrument/department/facility don't contaminate another instrument/department/facility's logbook.
What I am wondering is there someway to set it up so that a system wide manager could post a message to 5 individual logbooks for 5 identical instruments at 5 different locations all at once (one ELOG server)?
I hope this made sense. Thank you for your help. |
Re: Mass postings, posted by Stefan Ritt on Mon May 5 08:44:03 2008
|
mike cianci wrote: |
I am setting this up as instrument log in a multi-hospital system, where there will be multiple instruments, in multiple departments, at multiple facilities.
I am using the "Top Group" function to keep the books separate so operators from one instrument/department/facility don't contaminate another instrument/department/facility's logbook.
What I am wondering is there someway to set it up so that a system wide manager could post a message to 5 individual logbooks for 5 identical instruments at 5 different locations all at once (one ELOG server)?
I hope this made sense. Thank you for your help.
|
Unfortunately this is not possible at the moment. You would have to use the menu command "copy to" and enable it for the admin user. Then you create your entry, and click on "copy to" once for each location you want to copy this entry. |
Re: Mass postings, posted by Erik Iverson on Mon Jun 9 15:57:15 2008
|
Stefan Ritt wrote: |
mike cianci wrote: |
I am setting this up as instrument log in a multi-hospital system, where there will be multiple instruments, in multiple departments, at multiple facilities.
I am using the "Top Group" function to keep the books separate so operators from one instrument/department/facility don't contaminate another instrument/department/facility's logbook.
What I am wondering is there someway to set it up so that a system wide manager could post a message to 5 individual logbooks for 5 identical instruments at 5 different locations all at once (one ELOG server)?
I hope this made sense. Thank you for your help.
|
Unfortunately this is not possible at the moment. You would have to use the menu command "copy to" and enable it for the admin user. Then you create your entry, and click on "copy to" once for each location you want to copy this entry.
|
I found a way to get this to work. Define a "Messages" logbook for the messages to be broadcast. None of the user installations need access to it. Use "Execute new = " to execute a script calling the elog command line client passing the message on to each target logbook. Example:
--- elogd.cfg snippet begin ---
[Messages]
...
Execute new = mass_post.sh $text &
--- elogd.cfg snippet end ---
--- mass_post.sh begin ---
#!/bin/sh
elog -a Sender="System Administrator" -l "Logbook 1" $@
elog -a Sender="System Administrator" -l "Logbook 2" $@
elog -a Sender="System Administrator" -l "Logbook 3" $@
--- mass_post.sh end ---
The $@ expands to all the command line arguments, so the $text field, with all its spaces, gets passed correctly. Sorry I showed you the example in bash/linux rather than in Windows, but I don't know Windows real well - you're better off translating into it yourself than my untested attempts. The one thing I can tell you is that the "Execute new" command must include the "background fork". In Linux this is provided by the & at the end of the line. In windows you'll need to use
Execute new = start "dummy" /min mass_post.bat
to background the process. This is ESSENTIAL. Without backgrounding the batch file, the elogd server will go into an infinite loop. The parent process will wait for the child process to exit before continuing. elogd is single-threaded, so the child process cannot start until the parent process has completed its current task (which is waiting for the child process to exit).
You may need to tweak the above a little if you want to pass variable attributes to the script instead of defining them all in the script itself.
|
multi-headings, posted by parrish on Sat Jun 7 01:43:52 2008
|
how can you have more than 1 heading like in this forum. Example is: Demo and Discusion and have diferent sub heading under each one?
So example if Demo is selected you get one group of tabs to select from and if Discussion is selected you get a different second set of tabs to choise from.
Thanks in adavance |
Re: multi-headings, posted by Stefan Ritt on Sat Jun 7 11:10:48 2008
|
parrish wrote: |
how can you have more than 1 heading like in this forum. Example is: Demo and Discusion and have diferent sub heading under each one?
So example if Demo is selected you get one group of tabs to select from and if Discussion is selected you get a different second set of tabs to choise from.
Thanks in adavance
|
You can do this by defining groups. For this forum I did
Group Demo = Linux Demo, Database
Group Discussion = Forum, Config Examples, Contributions, Vulnerabilities
where each name on the right side of the equal sign is an individual logbook. |