Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 259 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  66469   Tue Jul 28 11:04:01 2009 Reply Stefan Rittstefan.ritt@psi.chQuestionWindowsv2.7.42111Re: display GMT time instead of local time in Entry time/ Last edit field

Dan Duong wrote:

Hi all,

I have set my PC in Time Zone GMT+10:00 but I get GMT time in Entry time/Last edit field.

I have installed in another PC. Which has Time Zone GMT+10:00 but I still get GMT time in Entry time/Last edit field.

Please help. Thank you very much.

 

That's strange. I use the C function localtime() to obtain the local time from Windows. The documentation says that this function checks the Windows control panel  and returns the proper local time. So far, nobody complained so I guess only you have this problem (anybody else to correct me???). The only hint I found is to set the environment variable TZ. So open a DOS box and enter

set TZ=AST+10

then start elogd.exe interactively in that dos box and see if you get something else.

  66475   Tue Jul 28 19:14:23 2009 Question Ricardo Goncalojgoncalo@mail.cern.chQuestionMac OSX2.7.6Problems when trying to set up mirror elog

Hi,

I'm trying to synchronize an elog in my computer with my personal elog in my institute's server. The two elogd.cfg files are necessarily different since the elog in my institute is for many people's elogs, so I'm not completely sure this is supposed to work.  

I've copied the configuration of my (remote) elog into my local elogd.cfg file, and added in the global section of the local file:

 

 

Mirror server = https://www.pp.rhul.ac.uk:8080/

Mirror Config = 1

Mirror cron = 0 7-19 * * 0-5

Mirror user = ricardo

Password file = [my password file]

 

 

Then I relaunched my local elogd demon and tried both to synchronize the local elog and to wait for the cron job to do it. When I try to synchronize the "ATLAS Trigger" elog I get in the browser:

"Safari can’t open the page “https://localhost:8080/ATLAS+Trigger/?cmd=Synchronize” because Safari can’t establish a secure connection to the server “localhost”"

 

(the local elog is in https://localhost:8080/ATLAS+Trigger/)

When I wait for cron to update from the mirror this is what I get in the log:

 

28-Jul-2009 18:51:09 [] SSLServer listening on port 8080 ...

 

28-Jul-2009 18:50:00 [] Cron job started

28-Jul-2009 18:50:00 [] {ATLAS Trigger} MIRROR: Remote server is not an ELOG server

 
Any ideas of what I'm doing wrong? I thought it might be the password, but checked that the one in the local password file should be the same as in the remote server. Then I thought it could be the path to the remote server, but can't figure out what might be bad about it and it still doesn't work after a few variations. Another possibility is the elog version: 2.7.3 in the remote server and 2.7.6 locally. Any ideas would be welcome... this is a very convenient feature and it would be great to get it to work!
Cheers,
Ricardo
 
 

 

  66476   Wed Jul 29 04:56:27 2009 Reply Dan DuongDan.Duong@team.telstra.comQuestionWindowsv2.7.42111Re: display GMT time instead of local time in Entry time/ Last edit field

Stefan Ritt wrote:

Dan Duong wrote:

Hi all,

I have set my PC in Time Zone GMT+10:00 but I get GMT time in Entry time/Last edit field.

I have installed in another PC. Which has Time Zone GMT+10:00 but I still get GMT time in Entry time/Last edit field.

Please help. Thank you very much.

 

That's strange. I use the C function localtime() to obtain the local time from Windows. The documentation says that this function checks the Windows control panel  and returns the proper local time. So far, nobody complained so I guess only you have this problem (anybody else to correct me???). The only hint I found is to set the environment variable TZ. So open a DOS box and enter

set TZ=AST+10

then start elogd.exe interactively in that dos box and see if you get something else.

 I did as instructed but time was 20 hours behide

I have entered    set TZ=AST-10   I got the correct time. I think my elog files have been changed by someone. elogd file is running in DOS box now. Please help how to run elog as normal or correct elog files. Which file I should check. Is it elconv.c file? Thank you Stefan.

  66477   Wed Jul 29 09:21:39 2009 Reply Stefan Rittstefan.ritt@psi.chQuestionWindowsv2.7.42111Re: display GMT time instead of local time in Entry time/ Last edit field

Dan Duong wrote:

 I did as instructed but time was 20 hours behide

I have entered    set TZ=AST-10   I got the correct time. I think my elog files have been changed by someone. elogd file is running in DOS box now. Please help how to run elog as normal or correct elog files. Which file I should check. Is it elconv.c file? Thank you Stefan.

You have to change your environment variable "TZ" system wide.  You do that by going to 

My Computer/Properties/Advanced/Environment Variables/New

then you enter TZ as the variable name and AST-10 as the value. You might have to reboot your computer.

  66478   Wed Jul 29 09:33:16 2009 Reply Stefan Rittstefan.ritt@psi.chQuestionMac OSX2.7.6Re: Problems when trying to set up mirror elog

Ricardo Goncalo wrote:

Any ideas of what I'm doing wrong? 

Yepp. Synchronizing over SSL does not yet work. I have it on my to-do list since quite some time, but can't find the time to implement it. So at the moment you have to synchronize without SSL. 

  66479   Wed Jul 29 09:59:02 2009 Reply Ricardo Goncalojgoncalo@mail.cern.chQuestionMac OSX2.7.6Re: Problems when trying to set up mirror elog

Stefan Ritt wrote:

Ricardo Goncalo wrote:

Any ideas of what I'm doing wrong? 

Yepp. Synchronizing over SSL does not yet work. I have it on my to-do list since quite some time, but can't find the time to implement it. So at the moment you have to synchronize without SSL. 

 Hi,

Ok, to see if I understand. You mean setting SSL = 0 in my cfg file and leaving the rest as it is, right? Then I synchronize by hand and I guess I'll be prompted for the password. Perhaps I should remove my local password file to avoid that the password is send unencrypted?

Cheers,

Ricardo

  66480   Wed Jul 29 10:17:49 2009 Reply Stefan Rittstefan.ritt@psi.chQuestionMac OSX2.7.6Re: Problems when trying to set up mirror elog

Ricardo Goncalo wrote:

Ok, to see if I understand. You mean setting SSL = 0 in my cfg file and leaving the rest as it is, right? Then I synchronize by hand and I guess I'll be prompted for the password. Perhaps I should remove my local password file to avoid that the password is send unencrypted?

That's correct. The password will be sent unencrypted if you get prompted, but if you use the automatic scheme the password will be encrypted (but not the logbook entries of course). But your concerns are right, running this thing not over SSL is a bad thing these days...

  66481   Wed Jul 29 10:33:53 2009 Reply Ricardo Goncalojgoncalo@mail.cern.chQuestionMac OSX2.7.6Re: Problems when trying to set up mirror elog

Stefan Ritt wrote:

Ricardo Goncalo wrote:

Ok, to see if I understand. You mean setting SSL = 0 in my cfg file and leaving the rest as it is, right? Then I synchronize by hand and I guess I'll be prompted for the password. Perhaps I should remove my local password file to avoid that the password is send unencrypted?

That's correct. The password will be sent unencrypted if you get prompted, but if you use the automatic scheme the password will be encrypted (but not the logbook entries of course). But your concerns are right, running this thing not over SSL is a bad thing these days...

 Ok, thanks a lot! I'll try asap and report back.

Cheers,

Ricardo

ELOG V3.1.5-3fb85fa6