Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 34 of 238  Not logged in ELOG logo
icon5.gif   Cannot connect to server of Gmail SMTP, posted by Kevin Wang on Sun Oct 6 20:25:27 2019 

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

    icon2.gif   Re: Cannot connect to server of Gmail SMTP, posted by Stefan Ritt on Mon Oct 7 08:54:32 2019 

Gmail uses a type of SMTP authentication which is currently not supported by elog. It's however on the todo list.

Stefan

Kevin Wang wrote:

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

 

       icon2.gif   Re: Cannot connect to server of Gmail SMTP, posted by Kevin Wang on Tue Oct 8 05:42:56 2019 

Hi Stefan,

 

Thank you very much for your reply. So which SMTP type can I use now? Is outlook OK?

 

Kevin

Stefan Ritt wrote:

Gmail uses a type of SMTP authentication which is currently not supported by elog. It's however on the todo list.

Stefan

Kevin Wang wrote:

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

 

 

          icon2.gif   Re: Cannot connect to server of Gmail SMTP, posted by John on Tue Oct 8 06:47:27 2019 

This is a local issue  on your network, if you have a mail server setup. SMTP is not handled directly by Elog and neither is any other mail protocal. Elog just sends the requested email to your server for processing to the recipients afaict. And whatever server (or service) you use to handle email sending needs to be able to accept them from your mail server. So after verifying which ones  you want to use; (like OutLook, or gmail, or whatever), then have your local email server set up to work with them. You can prol have a 3rd party do this was well (instead of your own local one) but then they would STILL need to be able to work with whatever guidlines the actual sender (gmail, hotmail..) requires to have mail sent. Email is a lonnng trail of different providers, servers, and other actors..

Halvy

Kevin Wang wrote:

Hi Stefan,

 

Thank you very much for your reply. So which SMTP type can I use now? Is outlook OK?

 

Kevin

Stefan Ritt wrote:

Gmail uses a type of SMTP authentication which is currently not supported by elog. It's however on the todo list.

Stefan

Kevin Wang wrote:

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

 

 

 

icon5.gif   Cannot submit due to authentification errors, posted by Informatica Unidad SSBB AEMET VALENCIA on Fri Aug 16 13:24:26 2019 

Hi everyone.

We are new in ELOG. We have installed it and created new logbooks following the "demo" one. We have configured our SMTP host, with email and pass, but we obtain this error when submit

Error sending Email via <i>"mdm.correo.gob.es"</i>: 5.7.8 Error: authentication failed: another step is needed in authentication

Do you know why and give us some tips for solution?

 

Our bests,

Informática AEMET Valencia

 

 

 

 

    icon2.gif   Re: Cannot submit due to authentification errors, posted by Andreas Luedeke on Sat Aug 17 22:23:34 2019 

If you post the [global] part of your configuration, it would help a little bit to understand the problem.

Cheers, Andreas

Informatica Unidad SSBB AEMET VALENCIA wrote:

Hi everyone.

We are new in ELOG. We have installed it and created new logbooks following the "demo" one. We have configured our SMTP host, with email and pass, but we obtain this error when submit

Error sending Email via <i>"mdm.correo.gob.es"</i>: 5.7.8 Error: authentication failed: another step is needed in authentication

Do you know why and give us some tips for solution?

 

Our bests,

Informática AEMET Valencia

 

 

 

 

 

       icon2.gif   Re: Cannot submit due to authentification errors, posted by Informatica Unidad SSBB AEMET VALENCIA on Mon Aug 19 14:09:22 2019 

I try with gmail account and neither it works.

I'm using Windows 10 and it runs into a proxy defined as URL

 

[global]
port = 80
SMTP host = mdm.correo.gob.es
SMTP username = XXXX@aemet.es
SMTP password = XXXXXX
SMTP port = 25
URL = http://proxy.aemet.es:3128/

 

Thanks
 

Andreas Luedeke wrote:

If you post the [global] part of your configuration, it would help a little bit to understand the problem.

Cheers, Andreas

Informatica Unidad SSBB AEMET VALENCIA wrote:

Hi everyone.

We are new in ELOG. We have installed it and created new logbooks following the "demo" one. We have configured our SMTP host, with email and pass, but we obtain this error when submit

Error sending Email via <i>"mdm.correo.gob.es"</i>: 5.7.8 Error: authentication failed: another step is needed in authentication

Do you know why and give us some tips for solution?

 

Our bests,

Informática AEMET Valencia

 

 

 

 

 

 

          icon2.gif   Re: Cannot submit due to authentification errors, posted by Stefan Ritt on Tue Aug 20 11:06:47 2019 

Elog supports only a limited set of authentications for SMTP. Both GMail and probably also your server requires more advanced authentication schemes, which are not suppoerted by elog. Sorry.

Stefan

Informatica Unidad SSBB AEMET VALENCIA wrote:

I try with gmail account and neither it works.

I'm using Windows 10 and it runs into a proxy defined as URL

 

[global]
port = 80
SMTP host = mdm.correo.gob.es
SMTP username = XXXX@aemet.es
SMTP password = XXXXXX
SMTP port = 25
URL = http://proxy.aemet.es:3128/

 

Thanks
 

Andreas Luedeke wrote:

If you post the [global] part of your configuration, it would help a little bit to understand the problem.

Cheers, Andreas

Informatica Unidad SSBB AEMET VALENCIA wrote:

Hi everyone.

We are new in ELOG. We have installed it and created new logbooks following the "demo" one. We have configured our SMTP host, with email and pass, but we obtain this error when submit

Error sending Email via <i>"mdm.correo.gob.es"</i>: 5.7.8 Error: authentication failed: another step is needed in authentication

Do you know why and give us some tips for solution?

 

Our bests,

Informática AEMET Valencia

 

 

 

 

 

 

 

             icon2.gif   Re: Cannot submit due to authentification errors, posted by Informatica Unidad SSBB AEMET VALENCIA on Tue Aug 20 22:41:10 2019 

Me podrías decir algún servidor SMTP de correo desde el que si funcione?

Muchas gracias

Stefan Ritt wrote:

Elog supports only a limited set of authentications for SMTP. Both GMail and probably also your server requires more advanced authentication schemes, which are not suppoerted by elog. Sorry.

Stefan

Informatica Unidad SSBB AEMET VALENCIA wrote:

I try with gmail account and neither it works.

I'm using Windows 10 and it runs into a proxy defined as URL

 

[global]
port = 80
SMTP host = mdm.correo.gob.es
SMTP username = XXXX@aemet.es
SMTP password = XXXXXX
SMTP port = 25
URL = http://proxy.aemet.es:3128/

 

Thanks
 

Andreas Luedeke wrote:

If you post the [global] part of your configuration, it would help a little bit to understand the problem.

Cheers, Andreas

Informatica Unidad SSBB AEMET VALENCIA wrote:

Hi everyone.

We are new in ELOG. We have installed it and created new logbooks following the "demo" one. We have configured our SMTP host, with email and pass, but we obtain this error when submit

Error sending Email via <i>"mdm.correo.gob.es"</i>: 5.7.8 Error: authentication failed: another step is needed in authentication

Do you know why and give us some tips for solution?

 

Our bests,

Informática AEMET Valencia

 

 

 

 

 

 

 

 

                icon2.gif   Re: Cannot submit due to authentification errors, posted by Informatica Unidad SSBB AEMET VALENCIA on Wed Aug 21 09:21:54 2019 

Sorry,

Could you please tell us a MAIL SMTP SERVER we can use to try?

Many thanks

 

Informatica Unidad SSBB AEMET VALENCIA wrote:

Me podrías decir algún servidor SMTP de correo desde el que si funcione?

Muchas gracias

Stefan Ritt wrote:

Elog supports only a limited set of authentications for SMTP. Both GMail and probably also your server requires more advanced authentication schemes, which are not suppoerted by elog. Sorry.

Stefan

Informatica Unidad SSBB AEMET VALENCIA wrote:

I try with gmail account and neither it works.

I'm using Windows 10 and it runs into a proxy defined as URL

 

[global]
port = 80
SMTP host = mdm.correo.gob.es
SMTP username = XXXX@aemet.es
SMTP password = XXXXXX
SMTP port = 25
URL = http://proxy.aemet.es:3128/

 

Thanks
 

Andreas Luedeke wrote:

If you post the [global] part of your configuration, it would help a little bit to understand the problem.

Cheers, Andreas

Informatica Unidad SSBB AEMET VALENCIA wrote:

Hi everyone.

We are new in ELOG. We have installed it and created new logbooks following the "demo" one. We have configured our SMTP host, with email and pass, but we obtain this error when submit

Error sending Email via <i>"mdm.correo.gob.es"</i>: 5.7.8 Error: authentication failed: another step is needed in authentication

Do you know why and give us some tips for solution?

 

Our bests,

Informática AEMET Valencia

 

 

 

 

 

 

 

 

 

                   icon2.gif   Re: Cannot submit due to authentification errors, posted by Andreas Luedeke on Wed Aug 28 17:59:17 2019 

Sorry, but I would think that this is a question for the IT department of your institute, not for the ELOG forum.

Since you have an institute email address (infoval@aemet.es NOT xxx@gmail.com), you certainly have your own mail server, or am I wrong?

Cheers, Andreas

Informatica Unidad SSBB AEMET VALENCIA wrote:

Sorry,

Could you please tell us a MAIL SMTP SERVER we can use to try?

Many thanks

 

Informatica Unidad SSBB AEMET VALENCIA wrote:

Me podrías decir algún servidor SMTP de correo desde el que si funcione?

Muchas gracias

Stefan Ritt wrote:

Elog supports only a limited set of authentications for SMTP. Both GMail and probably also your server requires more advanced authentication schemes, which are not suppoerted by elog. Sorry.

Stefan

Informatica Unidad SSBB AEMET VALENCIA wrote:

I try with gmail account and neither it works.

I'm using Windows 10 and it runs into a proxy defined as URL

 

[global]
port = 80
SMTP host = mdm.correo.gob.es
SMTP username = XXXX@aemet.es
SMTP password = XXXXXX
SMTP port = 25
URL = http://proxy.aemet.es:3128/

 

Thanks
 

Andreas Luedeke wrote:

If you post the [global] part of your configuration, it would help a little bit to understand the problem.

Cheers, Andreas

Informatica Unidad SSBB AEMET VALENCIA wrote:

Hi everyone.

We are new in ELOG. We have installed it and created new logbooks following the "demo" one. We have configured our SMTP host, with email and pass, but we obtain this error when submit

Error sending Email via <i>"mdm.correo.gob.es"</i>: 5.7.8 Error: authentication failed: another step is needed in authentication

Do you know why and give us some tips for solution?

 

Our bests,

Informática AEMET Valencia

 

 

 

 

 

 

 

 

 

 

icon5.gif   Drag and drop does not work in 3.1.3?, posted by Lech on Tue Aug 20 09:47:06 2019 

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

    icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Stefan Ritt on Tue Aug 20 10:34:37 2019 

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

       icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Tue Aug 20 11:37:03 2019 

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

          icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Stefan Ritt on Tue Aug 20 11:45:14 2019 

It's the config from the distribution. A copy is below.

Stefan


[global]
port = 8080

[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject, Pinned
Options Pinned = boolean
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Last default = 31

 

Lech wrote:

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

 

             icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Tue Aug 20 13:28:53 2019 

Thank you. Locally doesn't work for some reason... I'll try to investigate.

Btw. do you plan to properly accept pasting of images? Pasting a screenshot saves a lot of time when making logs.

Stefan Ritt wrote:

It's the config from the distribution. A copy is below.

Stefan


[global]
port = 8080

[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject, Pinned
Options Pinned = boolean
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Last default = 31

 

Lech wrote:

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

 

 

                icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Andreas Luedeke on Tue Aug 20 17:03:57 2019 

> Btw. do you plan to properly accept pasting of images?

I would claim it is already properly supported. If you hit a size limit you can configure your ELOG to adjust the limit (Max content length).

Or did I misunderstand your question?

Lech wrote:

Thank you. Locally doesn't work for some reason... I'll try to investigate.

Btw. do you plan to properly accept pasting of images? Pasting a screenshot saves a lot of time when making logs.

Stefan Ritt wrote:

It's the config from the distribution. A copy is below.

Stefan


[global]
port = 8080

[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject, Pinned
Options Pinned = boolean
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Last default = 31

 

Lech wrote:

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

 

 

 

                   icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Wed Aug 21 02:21:57 2019 

From what I've read in a past post, it is hitting the max content length because pasting, unlike dropping, is not properly supported and it is possible that images get converted to text in some way and occupy a lot of "content length". So what I mean is that the pasted image is handled the same way as the dropped image.

Btw. adjusting the Max content length, according to the message, requires recompilation of the program, so it is not only a matter of configuration.

Andreas Luedeke wrote:

> Btw. do you plan to properly accept pasting of images?

I would claim it is already properly supported. If you hit a size limit you can configure your ELOG to adjust the limit (Max content length).

Or did I misunderstand your question?

Lech wrote:

Thank you. Locally doesn't work for some reason... I'll try to investigate.

Btw. do you plan to properly accept pasting of images? Pasting a screenshot saves a lot of time when making logs.

Stefan Ritt wrote:

It's the config from the distribution. A copy is below.

Stefan


[global]
port = 8080

[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject, Pinned
Options Pinned = boolean
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Last default = 31

 

Lech wrote:

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

 

 

 

 

                      icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Wed Aug 21 07:00:17 2019 

I've discovered, that if I switch my local elog to SSL, dropping of images starts to work (as expected). However... pasting stops. If I select "paste" popup, I got the message about my browser security settings not allowing to paste, and that I can paste in the popup window. In Firefox I can actually paste in the popup window (image appears there), but after clicking OK nothing appears in the editing window. In Chrome and Opera nothing appears even in the popup window. I played with FF security settings, enabling pasting for elog sites (both local and the demo on this site) as advised in many places on the internet, but it doesn't help. This may be a CKInter issue, although interesting that it works without SSL (and not properly, resulting in too big text being stored)

Lech wrote:

From what I've read in a past post, it is hitting the max content length because pasting, unlike dropping, is not properly supported and it is possible that images get converted to text in some way and occupy a lot of "content length". So what I mean is that the pasted image is handled the same way as the dropped image.

Btw. adjusting the Max content length, according to the message, requires recompilation of the program, so it is not only a matter of configuration.

Andreas Luedeke wrote:

> Btw. do you plan to properly accept pasting of images?

I would claim it is already properly supported. If you hit a size limit you can configure your ELOG to adjust the limit (Max content length).

Or did I misunderstand your question?

Lech wrote:

Thank you. Locally doesn't work for some reason... I'll try to investigate.

Btw. do you plan to properly accept pasting of images? Pasting a screenshot saves a lot of time when making logs.

Stefan Ritt wrote:

It's the config from the distribution. A copy is below.

Stefan


[global]
port = 8080

[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject, Pinned
Options Pinned = boolean
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Last default = 31

 

Lech wrote:

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

 

 

 

 

 

icon5.gif   Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Fri Jun 28 17:00:10 2019 

Dear all, 

we have a running elog installation using SSL (with the self-signed certificate). Generally we use the web interface, but we have been asked if it was possible to automatically insert elog entries via command line. 

elog.exe should be the answer and so I gave it a try.

I was trying the following command line: 

elog.exe. -h server-ip-address -p 8080 -l demo -s -v -u username password -a "Mass=0" This is a test entry

Of course server-ip-address and username / password were proper fields. 

When I was doing this from the server itself, I got the following message:

Successfully connected to host server-ip-address, port 8080
Possibly invalid certificate, continue on your own risk!

and then the entry was inserted, but when I was typing the same from any other PC I got the error message:

Successfully connected to host server-ip-address, port 8080
elogd server does not run SSL protocol

The entry is of course not added and also the server (that is running in very verbose mode) reported a

SSL_accept failed

How can I fix it?  

Thanks for helping,

Antonio

    icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Mon Aug 12 13:11:54 2019 

Any news for my problem? 

Your help is very much appreaciated! 

thanks :)

 

Antonio Bulgheroni wrote:

Dear all, 

we have a running elog installation using SSL (with the self-signed certificate). Generally we use the web interface, but we have been asked if it was possible to automatically insert elog entries via command line. 

elog.exe should be the answer and so I gave it a try.

I was trying the following command line: 

elog.exe. -h server-ip-address -p 8080 -l demo -s -v -u username password -a "Mass=0" This is a test entry

Of course server-ip-address and username / password were proper fields. 

When I was doing this from the server itself, I got the following message:

Successfully connected to host server-ip-address, port 8080
Possibly invalid certificate, continue on your own risk!

and then the entry was inserted, but when I was typing the same from any other PC I got the error message:

Successfully connected to host server-ip-address, port 8080
elogd server does not run SSL protocol

The entry is of course not added and also the server (that is running in very verbose mode) reported a

SSL_accept failed

How can I fix it?  

Thanks for helping,

Antonio

 

       icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Andreas Luedeke on Wed Aug 14 13:25:15 2019 

I am using SSL with ELOG and it works fine with the "elog" executable. I am no expert on SSL, but I can provide my two cent what you could try, maybe it helps:

  • SSL desires to run on the port 443 - I have no idea if you can force it to run on an arbitrary port, it might be possible. But does it make sense?
  • Certificates are checked against the provider of the certificate. I guess this works fine from your web browser? Or did you just add a security exception?
  • Has the installed "elog.exe" been compiled with SSL support on?
Antonio Bulgheroni wrote:

Any news for my problem? 

Your help is very much appreaciated! 

thanks :)

 

Antonio Bulgheroni wrote:

Dear all, 

we have a running elog installation using SSL (with the self-signed certificate). Generally we use the web interface, but we have been asked if it was possible to automatically insert elog entries via command line. 

elog.exe should be the answer and so I gave it a try.

I was trying the following command line: 

elog.exe. -h server-ip-address -p 8080 -l demo -s -v -u username password -a "Mass=0" This is a test entry

Of course server-ip-address and username / password were proper fields. 

When I was doing this from the server itself, I got the following message:

Successfully connected to host server-ip-address, port 8080
Possibly invalid certificate, continue on your own risk!

and then the entry was inserted, but when I was typing the same from any other PC I got the error message:

Successfully connected to host server-ip-address, port 8080
elogd server does not run SSL protocol

The entry is of course not added and also the server (that is running in very verbose mode) reported a

SSL_accept failed

How can I fix it?  

Thanks for helping,

Antonio

 

 

          icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Wed Aug 14 18:36:17 2019 

Dear Andreas,

thanks for your message.

Here are the answers to your questions.

  • Tomorrow I will try to restart the server on port 443, at least temporary, to see if it makes any difference
  • We don't have a real certificate, but just the self-signed certificate that comes with the standard distribution of elog. Of course, I have to accept an exception when connecting from the browser. When I try to add an entry to via the command line from the server itself, I get the message Possibly invalid certificate, continue on your own risk! but it works. 
  • I hope so. This is the elog.exe that comes with the standard distribution, so I have to presume so. It is the same version that is installed on the server, where it works.

Thanks again and more tomorrow...

 

Andreas Luedeke wrote:

I am using SSL with ELOG and it works fine with the "elog" executable. I am no expert on SSL, but I can provide my two cent what you could try, maybe it helps:

  • SSL desires to run on the port 443 - I have no idea if you can force it to run on an arbitrary port, it might be possible. But does it make sense?
  • Certificates are checked against the provider of the certificate. I guess this works fine from your web browser? Or did you just add a security exception?
  • Has the installed "elog.exe" been compiled with SSL support on?
Antonio Bulgheroni wrote:

Any news for my problem? 

Your help is very much appreaciated! 

thanks :)

 

Antonio Bulgheroni wrote:

Dear all, 

we have a running elog installation using SSL (with the self-signed certificate). Generally we use the web interface, but we have been asked if it was possible to automatically insert elog entries via command line. 

elog.exe should be the answer and so I gave it a try.

I was trying the following command line: 

elog.exe. -h server-ip-address -p 8080 -l demo -s -v -u username password -a "Mass=0" This is a test entry

Of course server-ip-address and username / password were proper fields. 

When I was doing this from the server itself, I got the following message:

Successfully connected to host server-ip-address, port 8080
Possibly invalid certificate, continue on your own risk!

and then the entry was inserted, but when I was typing the same from any other PC I got the error message:

Successfully connected to host server-ip-address, port 8080
elogd server does not run SSL protocol

The entry is of course not added and also the server (that is running in very verbose mode) reported a

SSL_accept failed

How can I fix it?  

Thanks for helping,

Antonio

 

 

 

             icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Thu Aug 15 19:00:12 2019 

So as promised, I add some more information. 

Unfortunately changing the port where the server is listening did not make any change. The situation is still the same. If I try directly from the server, I get a warning about the fake certificate and if I do it from elsewhere, I get the error that the server is not running SSL. 

I had a look at the source code of elog.c and found the point where the error is produced. in order to produce this message, the ssl_connect should be returning -1 and this is only possible in two cases: 

   if (SSL_connect(*ssl_con) <= 0)
      return -1;
   
   cert = SSL_get_peer_certificate(*ssl_con);
   if (cert == NULL)
      return -1;

So, in the first case, it means that the SSL connection failed completly. In the second case, the peer certificate is invalid. 

Is it possible to discriminate between the two, for example changing the return value? Unfortunately I don't have a windows computer with development tools. So it would be great if you could prepare an executable for me with this small change. 

Thanks in advance for your help,

cheers,

 

icon4.gif   restrict edit time, posted by Sebastian Schenk on Mon Jul 15 17:35:48 2019 

Hello,
I have experienced some inconveniences with the restrict edit time option.

First, it is not possible for admin users to edit an entry after the edit time.
The restrict edit option allows admin users to edit posts from other users,
so I think admins should also be allowed to edit posts after edit time.
As they can edit the config and temporarily disable the restrict edit time option, which is an issue.

Secondly, if a user made a draft and did not submitted it before the edit time runs out,
the draft got stuck as it cannot be edited (and submitted) any more.

Best wishes,
Sebastian

    icon2.gif   Re: restrict edit time, posted by Andreas Luedeke on Thu Aug 15 13:34:23 2019 

Yes, I agree that cleaning up old Draft entries and correcting/deleting old entries is a job for the administrator. Currently I do what you've said: commenting out "restrict edit time", changing the entry, commenting in "restrict edit time".

There are already some commands specifically for the admin:

  • Admin textarea = <cols>,<rows>
  • Admin user = <user list>

It would make sense to add more of them, for this specific case:

  • Admin restrict edit time = <hours>

If that is set to "-1", then the Admin can edit old entries regardless of their age. Actually there is no option to "unset" restrict edit time inherited from a global config: a negative time would make sense as "disabling" restrict edit time.

Another item for the endless wishlist ;-)

Cheers, Andreas

Sebastian Schenk wrote:

Hello,
I have experienced some inconveniences with the restrict edit time option.

First, it is not possible for admin users to edit an entry after the edit time.
The restrict edit option allows admin users to edit posts from other users,
so I think admins should also be allowed to edit posts after edit time.
As they can edit the config and temporarily disable the restrict edit time option, which is an issue.

Secondly, if a user made a draft and did not submitted it before the edit time runs out,
the draft got stuck as it cannot be edited (and submitted) any more.

Best wishes,
Sebastian

 

icon5.gif   tags, posted by Lech on Wed Aug 7 02:57:55 2019 

Hello,

Is it possible to create tags for new entries in elog? I understand it would have to be some kind of mix between Extendable options and moptions. Currently, whatever is entered in extendable options forms one option, while usually for tags, words separated by # form different tags. As usual with tags, I would like to add multiple tags to my new entry and then be able to filter all entries by specific tag or group of tags.

    icon2.gif   Re: tags #testtag, posted by Stefan Ritt on Wed Aug 7 17:16:30 2019 

While tags are not explicitly foreseen, you can use moptions and filter with them. Look at this logbook for example: Click on "Find", then select one or more boxes of the "OS" attribute, and you will see the filtering. Another option is to use freetext in the subject for example. I added "#testtag" in this subject, so you can search for the text "#testtag" and will find this entry.

Stefan

Lech wrote:

Hello,

Is it possible to create tags for new entries in elog? I understand it would have to be some kind of mix between Extendable options and moptions. Currently, whatever is entered in extendable options forms one option, while usually for tags, words separated by # form different tags. As usual with tags, I would like to add multiple tags to my new entry and then be able to filter all entries by specific tag or group of tags.

 

icon1.gif   Calculations & Interfacing a DataBase with Elog., posted by John on Sat Jun 22 06:52:32 2019 

Hi, I am trying to calculate two or more Elog fields and then return the value to Elog. I am currently learning Perl to do this. I realize JS can do this.. but so can IBM Basic ;)  I am savy with other db techniques like sql. My question is before I get too far along with this project, is it safe to say the current storage of Elog data is 'Flat File' database? I also want to find out if it would be better to try and grab the data prior OR  after it gets into the Elog database. I see there are other forum messages related to sql interfacing and such, but nothing conclusive.  I will submit my personal progress here. Thanks again, John

    icon2.gif   Re: Calculations & Interfacing a DataBase with Elog., posted by Stefan Ritt on Sat Jun 22 10:07:08 2019 

Yes elog stores data in a flat file database. Go to your logbook directory and look for files YYMMDDa.log where you find all data. Some people do a post submit call to scripts, other integrate JS directly on each page (e.g. via "bottom text" option where you can load a whole JavaScript file), then pick the fields and do calculations directly in the edit window.

Stefan

John wrote:

Hi, I am trying to calculate two or more Elog fields and then return the value to Elog. I am currently learning Perl to do this. I realize JS can do this.. but so can IBM Basic ;)  I am savy with other db techniques like sql. My question is before I get too far along with this project, is it safe to say the current storage of Elog data is 'Flat File' database? I also want to find out if it would be better to try and grab the data prior OR  after it gets into the Elog database. I see there are other forum messages related to sql interfacing and such, but nothing conclusive.  I will submit my personal progress here. Thanks again, John

 

       icon2.gif   Re: Calculations & Interfacing a DataBase with Elog., posted by John on Sat Jun 22 10:21:39 2019 

Thanks Stefan soo much. As I've said, I will update this post(s) as I make any progress :)

John

Stefan Ritt wrote:

Yes elog stores data in a flat file database. Go to your logbook directory and look for files YYMMDDa.log where you find all data. Some people do a post submit call to scripts, other integrate JS directly on each page (e.g. via "bottom text" option where you can load a whole JavaScript file), then pick the fields and do calculations directly in the edit window.

Stefan

John wrote:

Hi, I am trying to calculate two or more Elog fields and then return the value to Elog. I am currently learning Perl to do this. I realize JS can do this.. but so can IBM Basic ;)  I am savy with other db techniques like sql. My question is before I get too far along with this project, is it safe to say the current storage of Elog data is 'Flat File' database? I also want to find out if it would be better to try and grab the data prior OR  after it gets into the Elog database. I see there are other forum messages related to sql interfacing and such, but nothing conclusive.  I will submit my personal progress here. Thanks again, John

 

 

icon5.gif   enable batch file execution, posted by dev on Wed Jan 28 18:12:53 2015 

How to execute  the batch file  in elogd

    icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 18:17:15 2015 

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

       icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 18:21:17 2015 

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

          icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 18:27:44 2015 

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

             icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 19:18:24 2015 

From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting it from command 

Stefan Ritt wrote:

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

 

                icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 19:39:50 2015 

May I kindly ask you to Google how to start/stop a service from the command line.

dev wrote:

From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting it from command 

Stefan Ritt wrote:

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

 

 

                   icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 19:50:41 2015 

First of all thanx for your kind help. Kindly help me on the following problem.

I have a logbook which keeps the record of all fault booked by different subscriber.this logbook has three attribute downtime,uptime & total duration (date &time format) . I want to calculate the total duration automatically whenevr uptime value is given and if the uptime is not given it should calculate depending upon the system present time.pleas explain it with example.

thanking you 

Stefan Ritt wrote:

May I kindly ask you to Google how to start/stop a service from the command line.

dev wrote:

From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting it from command 

Stefan Ritt wrote:

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

 

 

 

                      icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 19:57:32 2015 

This is not possible with ELOG. May I suggest that you use a spreadsheet for that.

dev wrote:

First of all thanx for your kind help. Kindly help me on the following problem.

I have a logbook which keeps the record of all fault booked by different subscriber.this logbook has three attribute downtime,uptime & total duration (date &time format) . I want to calculate the total duration automatically whenevr uptime value is given and if the uptime is not given it should calculate depending upon the system present time.pleas explain it with example.

thanking you 

Stefan Ritt wrote:

May I kindly ask you to Google how to start/stop a service from the command line.

dev wrote:

From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting it from command 

Stefan Ritt wrote:

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

 

 

 

 

                         icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 20:00:15 2015 

Sir, how to use that spreadsheet 

can the calculation is possible by running a batch file . 

Stefan Ritt wrote:

This is not possible with ELOG. May I suggest that you use a spreadsheet for that.

dev wrote:

First of all thanx for your kind help. Kindly help me on the following problem.

I have a logbook which keeps the record of all fault booked by different subscriber.this logbook has three attribute downtime,uptime & total duration (date &time format) . I want to calculate the total duration automatically whenevr uptime value is given and if the uptime is not given it should calculate depending upon the system present time.pleas explain it with example.

thanking you 

Stefan Ritt wrote:

May I kindly ask you to Google how to start/stop a service from the command line.

dev wrote:

From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting it from command 

Stefan Ritt wrote:

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

 

 

 

 

 

                            icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 20:03:05 2015 

https://docs.google.com/spreadsheets

dev wrote:

Sir, how to use that spreadsheet 

can the calculation is possible by running a batch file . 

Stefan Ritt wrote:

This is not possible with ELOG. May I suggest that you use a spreadsheet for that.

dev wrote:

First of all thanx for your kind help. Kindly help me on the following problem.

I have a logbook which keeps the record of all fault booked by different subscriber.this logbook has three attribute downtime,uptime & total duration (date &time format) . I want to calculate the total duration automatically whenevr uptime value is given and if the uptime is not given it should calculate depending upon the system present time.pleas explain it with example.

thanking you 

Stefan Ritt wrote:

May I kindly ask you to Google how to start/stop a service from the command line.

dev wrote:

From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting it from command 

Stefan Ritt wrote:

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

 

 

 

 

 

 

                               icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 20:07:48 2015 

Is it as good as Microsoft excel  sheet.

but how can achieve my aim of calculation  how how to integrate it with elog 

Sorry for disturbing yau again and again 

 

Stefan Ritt wrote:

https://docs.google.com/spreadsheets

dev wrote:

Sir, how to use that spreadsheet 

can the calculation is possible by running a batch file . 

Stefan Ritt wrote:

This is not possible with ELOG. May I suggest that you use a spreadsheet for that.

dev wrote:

First of all thanx for your kind help. Kindly help me on the following problem.

I have a logbook which keeps the record of all fault booked by different subscriber.this logbook has three attribute downtime,uptime & total duration (date &time format) . I want to calculate the total duration automatically whenevr uptime value is given and if the uptime is not given it should calculate depending upon the system present time.pleas explain it with example.

thanking you 

Stefan Ritt wrote:

May I kindly ask you to Google how to start/stop a service from the command line.

dev wrote:

From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting it from command 

Stefan Ritt wrote:

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

 

 

 

 

 

 

 

                                  icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 20:31:58 2015 

I meant to use it instead of ELOG. Spreadsheets allow calculaiton of dates, etc. So you can achieve what you need. Again: WHAT YOU WANT IS NOT POSSIBLE WITH ELOG.

dev wrote:

Is it as good as Microsoft excel  sheet.

but how can achieve my aim of calculation  how how to integrate it with elog 

Sorry for disturbing yau again and again 

 

Stefan Ritt wrote:

https://docs.google.com/spreadsheets

dev wrote:

Sir, how to use that spreadsheet 

can the calculation is possible by running a batch file . 

Stefan Ritt wrote:

This is not possible with ELOG. May I suggest that you use a spreadsheet for that.

dev wrote:

First of all thanx for your kind help. Kindly help me on the following problem.

I have a logbook which keeps the record of all fault booked by different subscriber.this logbook has three attribute downtime,uptime & total duration (date &time format) . I want to calculate the total duration automatically whenevr uptime value is given and if the uptime is not given it should calculate depending upon the system present time.pleas explain it with example.

thanking you 

Stefan Ritt wrote:

May I kindly ask you to Google how to start/stop a service from the command line.

dev wrote:

From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting it from command 

Stefan Ritt wrote:

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

 

 

 

 

 

 

 

 

                                     icon2.gif   Re: enable batch file execution, posted by Frank Baptista on Sat Jun 15 23:44:35 2019 

I have not tried these, but since CKeditor works so well, you may want to consider taking a look at integrating jQuery Calx or jExcel...just for fun.

Stefan Ritt wrote:

I meant to use it instead of ELOG. Spreadsheets allow calculaiton of dates, etc. So you can achieve what you need. Again: WHAT YOU WANT IS NOT POSSIBLE WITH ELOG.

dev wrote:

Is it as good as Microsoft excel  sheet.

but how can achieve my aim of calculation  how how to integrate it with elog 

Sorry for disturbing yau again and again 

 

Stefan Ritt wrote:

https://docs.google.com/spreadsheets

dev wrote:

Sir, how to use that spreadsheet 

can the calculation is possible by running a batch file . 

Stefan Ritt wrote:

This is not possible with ELOG. May I suggest that you use a spreadsheet for that.

dev wrote:

First of all thanx for your kind help. Kindly help me on the following problem.

I have a logbook which keeps the record of all fault booked by different subscriber.this logbook has three attribute downtime,uptime & total duration (date &time format) . I want to calculate the total duration automatically whenevr uptime value is given and if the uptime is not given it should calculate depending upon the system present time.pleas explain it with example.

thanking you 

Stefan Ritt wrote:

May I kindly ask you to Google how to start/stop a service from the command line.

dev wrote:

From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting it from command 

Stefan Ritt wrote:

Stop the old server first, but we told you this already on elog:67770. If you don't follow our suggestions we cannot help you.

dev wrote:

I tried it but still it gives error like Shell execution not enabled via -x flag 

 

Stefan Ritt wrote:

Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd" to the elog installation directory.

dev wrote:

How to enable the batch file execution in elogd

 

 

 

 

 

 

 

 

 

 

 

 

ELOG V3.1.5-3fb85fa6