Support #3011
closed
Added by Legay Eric over 12 years ago.
Updated over 12 years ago.
Description
Vic ask for elog client on slowcontrol machines.
Is it possible to install the elog client program in scgw1.
I would like to get the elog interface from the digitizer controls working so that any problems can be logged out that way. It comes as a part of the full elog install.
- Priority changed from Low to Normal
- Status changed from New to Feedback
- % Done changed from 0 to 90
Waiting feedback from Vic...
- Status changed from Feedback to Assigned
- Assigned To set to Aubert Yann
- % Done changed from 90 to 50
It works but it is VERY slow...
When you use elog client with the command line option "-v" you got that:
run-control:~# /usr/local/bin/elog -v -h localhost -p 8989 -l "Slow Control" -u agata agata -a Author=AGATA -a Source=Nicolas -a Category=test -a Subject=test -n 1 -m test.txt
Successfully connected to host localhost, port 8989
Request sent to host:
POST /Slow+Control/ HTTP/1.0
Content-Type: multipart/form-data; boundary=---------------------------7BA4C8EC7587DF4A390D7CB
Host: run-control
User-Agent: ELOG
Content-Length: 1166
Content sent to host.
Response received:
HTTP/1.1 302 Found
Server: ELOG HTTP 2.7.2-2012
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Location: http://run-control/Slow+Control/2120?error=Error+sending+Email+via+<i>"smtp.lnl.infn.it"</i>:+Cannot+connect+to+server
<html>redir</html>
Message successfully transmitted, ID=2120
There is a problem on smtp server... which one can we use at GSI ?
beluga:~# telnet smtp.gsi.de 25
Trying 140.181.67.43...
Connected to smtp.gsi.de.
Escape character is '^]'.
220 GSI Mailserver 2
ehlo ipno.in2p3.fr
250-lxmta2.gsi.de
250-PIPELINING
250-SIZE 102400000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from: yann.aubert@ipno.in2p3.fr
250 2.1.0 Ok
rcpt to: yann.aubert@ipno.in2p3.fr
250 2.1.5 Ok
quit
221 2.0.0 Bye
smtp.gsi.de will do the trick.
- Due date set to 07/26/2012
- Status changed from Assigned to Closed
- % Done changed from 50 to 100
Thanks.
It works now!
run-control:~# /usr/local/bin/elog -v -h localhost -p 8989 -l "Slow Control" -u agata agata -a Author=AGATA -a Source=Nicolas -a Category=test -a Subject=test -n 1 -m test.txt
Successfully connected to host localhost, port 8989
Request sent to host:
POST /Slow+Control/ HTTP/1.0
Content-Type: multipart/form-data; boundary=---------------------------71107FB91B5D73663CD42EF2
Host: run-control
User-Agent: ELOG
Content-Length: 1177
Content sent to host.
Response received:
HTTP/1.1 302 Found
Server: ELOG HTTP 2.7.2-2012
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Location: http://run-control/Slow+Control/2122
<html>redir</html>
Message successfully transmitted, ID=2122
for information new value are :
SMTP host = smtp.gsi.de
SMTP user = agatalog
Use Email From = inf-dev@csnsm.in2p3.fr
Use Email Subject = Agata Elog: $logbook: $subject
Display Email recipients = 0
; Suppress default defines if email notifications can be suppressed
Suppress default = 2
Suppress Email on edit = 2
#Suppress Email to users = 1
#Email format suppresses the attachments in the email
# 47 means no attachment
# 111 means only link to the attachment in the email
Email format = 111
#Email format = 47
inf-dev@csnsm.in?p?.fr is use for the moment but we need to find an other email like Agata.LogBook@????
Also available in: Atom
PDF