ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
Draft
|
Fri Nov 18 01:50:26 2016 |
| I Gede Made Wira Saputra | igmadews@gmail.com | Question | Windows | 3.1.1 | Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>" | Thanks Xuan Wu, I hope Ludeke or Stefan see my problem.
Xuan Wu wrote: |
Hi,
I'm sorry that I'm not familiar with the stunel. I came across email sending problem before. I created a email server in my own PC called postfix. Elog can use this email server to send email. Finally, I could use the email server from our institution. Maybe Luedeke or Stefan can help you.
I Gede Made Wira Saputra wrote: |
Hi Xuan Wu,
I got error from stunel as below.
2016.11.17 14:07:01 LOG5[0]: Service [gmail-smtp] accepted connection from 127.0.0.1:52473
2016.11.17 14:07:03 LOG3[0]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:07:04 LOG3[0]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:07:04 LOG5[0]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2016.11.17 14:09:02 LOG5[1]: Service [gmail-smtp] accepted connection from 127.0.0.1:52510
2016.11.17 14:09:03 LOG3[1]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:09:04 LOG3[1]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:09:04 LOG5[1]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2016.11.17 14:18:04 LOG5[2]: Service [gmail-smtp] accepted connection from 127.0.0.1:52569
2016.11.17 14:18:05 LOG3[2]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:06 LOG3[2]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:06 LOG5[2]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2016.11.17 14:18:25 LOG5[3]: Service [gmail-smtp] accepted connection from 127.0.0.1:52581
2016.11.17 14:18:26 LOG3[3]: s_connect: connect 74.125.130.108:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:27 LOG3[3]: s_connect: connect 74.125.130.109:465: Connection refused (WSAECONNREFUSED) (10061)
2016.11.17 14:18:27 LOG5[3]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
Do you know about these?
Xuan Wu wrote: |
You can use command to test your email service and your username and password.
telnet your.email.host 25
ehlo hostname
auth login
(input your username) note that:the username and password should be generaterd by command perl -MMIME::Base64 -e 'print encode_base64 (“username”)’
(input your password)
Then you can test the server and username and password are right or not.
And you can set "Logging level = 3" elogd -v and see what is going on?
I Gede Made Wira Saputra wrote: |
Hi Xuan Wu,
Nothing happen, I still got error. Do you have any more idea? I really confuse.
Xuan Wu wrote: |
I use "SMTP username = <My_email_account>" without "@xxx" for my site. So you can try it like that. HTH
I Gede Made Wira Saputra wrote: |
Hi All,
I have a problem with email configuration with gmail account. I use Elog V3.1.1 and Stuneel V5-32 with Windows 7 Profesional 64-bit
I follow the instruction in elog:68039 This is my configuration elogd.cfg and stunnel.conf
# My elogd.cfg
;Mail server configuration
smtp host = 127.0.0.1
SMTP username = <My_email_account>@gmail.com
SMTP Password = MjhNYXNrb2tpMjI=
Email encoding = 1
Logout to main = 1
# My Stunnel.conf
[gmail-pop3]
client = yes
accept = 127.0.0.1:110
connect = pop.gmail.com:995
verify = 2
CAfile = ca-certs.pem
checkHost = pop.gmail.com
OCSPaia = yes
[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993
verify = 2
CAfile = ca-certs.pem
checkHost = imap.gmail.com
OCSPaia = yes
[elogssl]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CApath = /etc/ssl/certs
[gmail-smtp]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CAfile = ca-certs.pem
checkHost = smtp.gmail.com
OCSPaia = yes
I got error "Error sending Email via <i>"127.0.0.1"</i>" when I run it.
Could somebody help me?
Thanks,
|
|
|
|
|
|
|
68473
|
Wed Nov 30 14:32:00 2016 |
| Daniel Sajdyk | daniel.sajdyk@gmail.com | Question | Windows | V3.1.0-3c6435e | Elog not see image magick | Hello.
I finally try add ImageMagick to ELOG.
I downloaded latest version (ImageMagick-7.0.3-Q16) and installed it. Everything looks ok, but when I start Elog service it says that "ImageMagick not detected".
When I look at the "path" variable i have "C:\Program Files\ImageMagick-7.0.3-Q16;C:\ProgramData\Oracle\Java\javapath;[...]".
What else can I check?
Regards
Daniel.
Ps. My system is Windows 7 Pro. |
68474
|
Wed Nov 30 14:53:41 2016 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | V3.1.0-3c6435e | Re: Elog not see image magick | The detection in elogd works by executing the command "convert" and check if the program executes. If you start elogd as a service, the program might see another path variable. Maybe reboot Windows or start the service in the environment of a real user instead of system, where it might miss your modified "path".
Stefan
Daniel Sajdyk wrote: |
Hello.
I finally try add ImageMagick to ELOG.
I downloaded latest version (ImageMagick-7.0.3-Q16) and installed it. Everything looks ok, but when I start Elog service it says that "ImageMagick not detected".
When I look at the "path" variable i have "C:\Program Files\ImageMagick-7.0.3-Q16;C:\ProgramData\Oracle\Java\javapath;[...]".
What else can I check?
Regards
Daniel.
Ps. My system is Windows 7 Pro.
|
|
68489
|
Tue Dec 6 13:48:48 2016 |
| Daniel Sajdyk | daniel.sajdyk@gmail.com | Question | Windows | V3.1.0-3c6435e | Re: Elog not see image magick | Ok. It take me a while, but I reinstalled ImageMagick with marked option "convert". Now, when I start elog, it can see ImageMagick, but screenshots attached to elog entries are still in original sizes. And, I don't see buttons for rotating, resizing images.
I look into elog cfg options, but only what I found is Thumbnail size which, it looks, don't work.
Don't know what more I should check.
Daniel.
Stefan Ritt wrote: |
The detection in elogd works by executing the command "convert" and check if the program executes. If you start elogd as a service, the program might see another path variable. Maybe reboot Windows or start the service in the environment of a real user instead of system, where it might miss your modified "path".
Stefan
Daniel Sajdyk wrote: |
Hello.
I finally try add ImageMagick to ELOG.
I downloaded latest version (ImageMagick-7.0.3-Q16) and installed it. Everything looks ok, but when I start Elog service it says that "ImageMagick not detected".
When I look at the "path" variable i have "C:\Program Files\ImageMagick-7.0.3-Q16;C:\ProgramData\Oracle\Java\javapath;[...]".
What else can I check?
Regards
Daniel.
Ps. My system is Windows 7 Pro.
|
|
|
68497
|
Mon Dec 12 13:35:16 2016 |
| Aaron James Long | al876@york.ac.uk | Question | Windows | 3.1.1-3f311c5 | Re: Highlight code? | Can I ask for some clarification; I would like to include code highlighting for some computational students who will be making use of ELOG.
In the example you showed, my understanding is that you included a "Bottom text =... " entry in the forums elog config. This included the bare minimum remote call outlined by the highlightjs site. Can you clarify (as I'm having issues setting it up) should the "Bottom text=..." entry take this as a string, or should it be contained in a seperate html file in the same local directory as the cfg?
Daniel Sajdyk wrote: |
Ok. Thanks a lot :)
Stefan Ritt wrote: |
In the HTML editor, you can select the code text, then select from the "Styles" drop-down the style "Computer Code", and on the "Normal" drop-down the formatting "Formatted". This puts the code in <pre> and <code> tags, so you don't have to manipulate HTML directly.
Daniel Sajdyk wrote: |
Looks like it works :)
Code need to be put in tags:
<pre><code class="sql">...</code></pre>
but it works.
Thank you :D
Best Regards
Daniel Sajdyk
Stefan Ritt wrote: |
I did not know about highlight.js . You can put it into any elog page with "Bottom text = ...". I tried it for this forum and put in some C code:
#include <stdio.h>
int main()
{
// printf() displays the string inside quotation
printf("C Programming");
return 0;
}
Seems like this works nicely. Thanks for that hint.
Daniel Sajdyk wrote: |
I thought so.
One more question :) I want manually add that parser (https://highlightjs.org), but I'm newby in that and don't know where ....
I know that downloaded hightlight pack I must put into folder scripts, but where to add this line:
<script>hljs.initHighlightingOnLoad();</script>
Stefan Ritt wrote: |
You can manually highlight code, but there is no automatic language parser.
Daniel Sajdyk wrote: |
Hello :)
Is there any way to highlight code (for example php, SQL) in elogs entries?
Best Regards
Daniel Sajdyk
|
|
|
|
|
|
|
|
68498
|
Mon Dec 12 13:48:41 2016 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 3.1.1-3f311c5 | Re: Highlight code? | All I did was this:
Bottom Text = <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/styles/default.min.css"><script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js"></script><script>hljs.initHighlightingOnLoad();</script>
Aaron James Long wrote: |
Can I ask for some clarification; I would like to include code highlighting for some computational students who will be making use of ELOG.
In the example you showed, my understanding is that you included a "Bottom text =... " entry in the forums elog config. This included the bare minimum remote call outlined by the highlightjs site. Can you clarify (as I'm having issues setting it up) should the "Bottom text=..." entry take this as a string, or should it be contained in a seperate html file in the same local directory as the cfg?
Daniel Sajdyk wrote: |
Ok. Thanks a lot :)
Stefan Ritt wrote: |
In the HTML editor, you can select the code text, then select from the "Styles" drop-down the style "Computer Code", and on the "Normal" drop-down the formatting "Formatted". This puts the code in <pre> and <code> tags, so you don't have to manipulate HTML directly.
Daniel Sajdyk wrote: |
Looks like it works :)
Code need to be put in tags:
<pre><code class="sql">...</code></pre>
but it works.
Thank you :D
Best Regards
Daniel Sajdyk
Stefan Ritt wrote: |
I did not know about highlight.js . You can put it into any elog page with "Bottom text = ...". I tried it for this forum and put in some C code:
#include <stdio.h>
int main()
{
// printf() displays the string inside quotation
printf("C Programming");
return 0;
}
Seems like this works nicely. Thanks for that hint.
Daniel Sajdyk wrote: |
I thought so.
One more question :) I want manually add that parser (https://highlightjs.org), but I'm newby in that and don't know where ....
I know that downloaded hightlight pack I must put into folder scripts, but where to add this line:
<script>hljs.initHighlightingOnLoad();</script>
Stefan Ritt wrote: |
You can manually highlight code, but there is no automatic language parser.
Daniel Sajdyk wrote: |
Hello :)
Is there any way to highlight code (for example php, SQL) in elogs entries?
Best Regards
Daniel Sajdyk
|
|
|
|
|
|
|
|
|
68499
|
Mon Dec 12 14:04:32 2016 |
| Aaron James Long | al876@york.ac.uk | Question | Windows | 3.1.1-3f311c5 | Re: Highlight code? | Thanks for the quicky reply Stefan. Yes, I had inut the same string! My error was not restarting the server; I've done this and code highlighting works fine.
Stefan Ritt wrote: |
All I did was this:
Bottom Text = <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/styles/default.min.css"><script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js"></script><script>hljs.initHighlightingOnLoad();</script>
Aaron James Long wrote: |
Can I ask for some clarification; I would like to include code highlighting for some computational students who will be making use of ELOG.
In the example you showed, my understanding is that you included a "Bottom text =... " entry in the forums elog config. This included the bare minimum remote call outlined by the highlightjs site. Can you clarify (as I'm having issues setting it up) should the "Bottom text=..." entry take this as a string, or should it be contained in a seperate html file in the same local directory as the cfg?
Daniel Sajdyk wrote: |
Ok. Thanks a lot :)
Stefan Ritt wrote: |
In the HTML editor, you can select the code text, then select from the "Styles" drop-down the style "Computer Code", and on the "Normal" drop-down the formatting "Formatted". This puts the code in <pre> and <code> tags, so you don't have to manipulate HTML directly.
Daniel Sajdyk wrote: |
Looks like it works :)
Code need to be put in tags:
<pre><code class="sql">...</code></pre>
but it works.
Thank you :D
Best Regards
Daniel Sajdyk
Stefan Ritt wrote: |
I did not know about highlight.js . You can put it into any elog page with "Bottom text = ...". I tried it for this forum and put in some C code:
#include <stdio.h>
int main()
{
// printf() displays the string inside quotation
printf("C Programming");
return 0;
}
Seems like this works nicely. Thanks for that hint.
Daniel Sajdyk wrote: |
I thought so.
One more question :) I want manually add that parser (https://highlightjs.org), but I'm newby in that and don't know where ....
I know that downloaded hightlight pack I must put into folder scripts, but where to add this line:
<script>hljs.initHighlightingOnLoad();</script>
Stefan Ritt wrote: |
You can manually highlight code, but there is no automatic language parser.
Daniel Sajdyk wrote: |
Hello :)
Is there any way to highlight code (for example php, SQL) in elogs entries?
Best Regards
Daniel Sajdyk
|
|
|
|
|
|
|
|
|
|
68513
|
Sun Dec 18 08:51:47 2016 |
| Alan Grant | agrant@winnipeg.ca | Bug report | Windows | 3.1.2 | Elog crashes with null Username | I haven't found any reporterd issues in the forum similar yet, but it appears there is a bug in Elog when logging into logbooks. If I leave Username and Password null and click Submit the daemon crashes. We've been having this problem off and on and after some verbose logging level 3 I was drawn to these recurring lines in the log:
16-Dec-2016 18:20:22 [172.23.113.4] {SER Reports} LOGIN user "" (attempt)
16-Dec-2016 23:15:52 [] Server listening on port 8080 ..
16-Dec-2016 23:18:05 [172.23.113.4] {Daily Request Log} LOGIN user "dmorrison" (attempt) |
|