ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2073
|
Sat Nov 11 18:48:48 2006 |
| Grant Jeffcote | grant@jeffcote.org | Question | Windows | 2.6.2.1723 | Re: Conditional Email Notification by a text file | Thanks Stefan,
I understand that and the registry entry that I use (for the service) is what I had quoted below.
The problem I have is that when Elog is started as a service using the -x switch then the shell command using An's mail list suggestion does not work? Starting the elogd daemon manually (ie using the command prompt) does work.
I have other features within my configuration which use the 'execute new $shell' option which works perfectly so I know that the -x switch is functional within the service.
BR Grant
Stefan Ritt wrote: |
Grant Jeffcote wrote: | I can't seem to get this working when Elogd is started as a service though?
Starting elogd (-x) manually works fine and with the -v switch I can see it is operating correctly but obviously the service option is preferred.
The service ("D:\ELOG\elogd.exe" -x -D -c "D:\ELOG\elogd.cfg") is starting correctly using the -x switch (as I use the shell command for other elog options) but it doesn't seem to send the mail.
Is this a 'feature' ;o) |
Sure 
But seriously, elogd cannot be started as a service under windows by opening a command window and executing above command line. Under windows, it has to be installed and run as a service, which is usually done by the installer. To change it, you do that by selecting My Computer, then right mouse click and Manage, then you select Serviced and Applications, then Services, then you will see the elogd service. A double click on it opens the corresponding properties, where you will find the command line, usually
"C:\Program Files\ELOG\elogd.exe" -D -c "C:\Program Files\ELOG\elogd.cfg"
Here you have to change the command line parameters to add the -x flag. Then you stop and restart the service. |
|
2074
|
Sat Nov 11 18:54:59 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.2.1723 | Re: Conditional Email Notification by a text file |
Grant Jeffcote wrote: | The problem I have is that when Elog is started as a service using the -x switch then the shell command using An's mail list suggestion does not work? Starting the elogd daemon manually (ie using the command prompt) does work. |
When elogd runs as a service, it needs all paths to be absolute, like having the full c:\dir\subdrir\.... Do you have this? What about file access permission? You can try to do a Preset text = <file> with your email list, to see if elogd can actually access this file at all. |
2075
|
Sat Nov 11 21:31:33 2006 |
| Grant Jeffcote | grant@jeffcote.org | Question | Windows | 2.6.2.1723 | Re: Conditional Email Notification by a text file | All paths are absolute and file permissions set to 'everyone'. 'Preset text' results in the contents of the text file being shown so access doesn't seem to be the problem here. Can you reproduce this?
Thx & rgrds
Stefan Ritt wrote: |
Grant Jeffcote wrote: | The problem I have is that when Elog is started as a service using the -x switch then the shell command using An's mail list suggestion does not work? Starting the elogd daemon manually (ie using the command prompt) does work. |
When elogd runs as a service, it needs all paths to be absolute, like having the full c:\dir\subdrir\.... Do you have this? What about file access permission? You can try to do a Preset text = <file> with your email list, to see if elogd can actually access this file at all. |
|
2080
|
Wed Nov 15 20:22:29 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.2.1723 | Re: Conditional Email Notification by a text file |
Grant Jeffcote wrote: | Can you reproduce this? |
Yes, I get the same error. Shell substitution does not work when elogd is started as a service. This is a problem deep inside the service management of Windows and I do not know any solution for that. Sorry. |
2081
|
Thu Nov 16 14:07:32 2006 |
| An Thai | thaithan@gmx.de | Question | Windows | 2.6.2.1723 | Re: Conditional Email Notification by a text file | I have found the way to get it work properly.
- Open services management (Right click My Computer -> Manage -> Services & Applications -> Services)
- Change elogd statup type to Manual. ->> SORRY: It should be set to Disable !!!
- Create *.bat file in the folder ELOG with Notepad. Type elogd -x in the file.
- Create a Scheduled Task (Start -> Programs - Accessories - System Tools -> Scheduled Tasked). Run Add Scheduled Task . A Wizard will be openned.
- Click Next -> Browser -> open your ELOG folder and select your created *.bat -> select radio button "When my computer starts" -> Next -> type your admin password for the computer -> select Open advanced properties for this task when I click finish.
Good luck!
This setting has worked great since a month. |
2053
|
Wed Nov 8 13:59:52 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | All | 2.6.2-6 | Denial of Service Vulnerability of elog 2.6.2-6 | Dear ELOG users,
a denial of service vulnerability has been reported which affects all elog versions prior to 2.6.2-7. With a special request one can crash the elogd server, given that one has access either through a public read access or through an account. This vulnerability has been fixed in version 2.6.2-7. It is advised that all sensitive installations of ELOG are being updated.
Stefan Ritt |
2234
|
Mon May 28 04:53:48 2007 |
| deletoille | xavier.deletoille@synchrotron-soleil.fr | Bug report | Windows | 2.6.2-1863 | Re: checkbox |
deletoille wrote: |
Stefan Ritt wrote: |
deletoille wrote: | I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do? |
I tried with V2.6.2-1741 and the problem was not there. It was fixed some time ago, so it should have worked in 1723 as well. Can you try the minimal example coming with the distribution, just by adding one MOptions attribute, like:
[global]
port = 8080
[demo]
Attributes = Author, Type
MOptions Type = Routine, Software Installation, Problem Fixed, Configuration, Other
and see if it work there? If it works correctly there but not with your config file, please send me your config file and I will try to reproduce the problem. |
You're right it works
It must be in my programming method
I share you my config file.
Thanks for your help |
Hello,
I wrote a small program for another group and I have always the same problem of activation box who disappears when I upload a file. On the other hand, I noticed that the problem is only for the conditional attribute and not for the other. Here included the small program. an idea?
Thanks in advance
Xavier Deletoille
[global]
port = 8080
[GMI]
Start page = ?rsort=date
Quick filter = Type evenement
Time Format = %d %m %Y, %H:%M
Quote on reply = 0
Use Lock = 0
List display = id, Icone, date, Equipement, Type evenement, Localisation, auteur
Menu commands = List, New, Edit, Reply, Find, Config
Comment = Cahier de Manip du groupe GMI
********************************************************************************************************************
attributes = auteur, Icone, Type Equipement, Equipement, Localisation, Type evenement
Required attributes = auteur, Icone, Type Equipement, Localisation, Type evenement
show attributes = auteur, Icone, Type Equipement, Equipement, Localisation, Type evenement
Preset on reply auteur =
Options Type Equipement = Apple II{A}, Sous vide{B}, Electromagnetique{C}, Aimant{D}
{A} MOptions Equipement = HU80, HU65, HU60, HU52, HU50, HU40, HU30
{B} MOptions Equipement = U20, U26, W50
{C} MOptions Equipement = HU640, HU256
{D} MOptions Equipement = Dipole, Quadripole, Sextupole
IOptions Icone = oui.gif, non.gif, cleanglaise1515.png, paper.png
Moptions Localisation = C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12, C13, C14, C15, C16, Booster
Options Auteur = xxxxxx,xxxxxxxy,xxxxxft
Options Type evenement = Alimentation, Bobines, Moteur, TLCC, CPCI, Communication, Autres |
2235
|
Wed May 30 22:32:03 2007 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Windows | 2.6.2-1863 | Re: checkbox |
deletoille wrote: | I wrote a small program for another group and I have always the same problem of activation box who disappears when I upload a file. On the other hand, I noticed that the problem is only for the conditional attribute and not for the other. Here included the small program. an idea? |
Ok, with your config I could reproduce the problem. I fixed it in revision 1865, the fix will be contained in the next release. |
|