Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 682 of 807  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  1482   Mon Oct 24 16:20:37 2005 Reply Daniel Broersd.broers@amc.nlQuestionOther2.6.0 b4Re: Login screen reappears after correct login

Stefan Ritt wrote:

Can you
  • Delete all cookies on the client machine and try again
  • If the problem persists: Tell you how you access your elogd. Do you use Apache as proxy? Which URL statement do you have in your elogd.cfg? What are the URLs shown in the address bar of your browser?
  • Can you start elogd with the "-v" flag, and send me the output shown during an unsuccessful login


Attachment 1: output.txt
POST /Maldi/ HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://tara:8080/Maldi/
Accept-Language: en-us
Content-Type: multipart/form-data; boundary=---------------------------7d51968c015e
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: tara:8080
Content-Length: 340
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: urem=0

-----------------------------7d51968c015e
Content-Disposition: form-data; name="redir"


-----------------------------7d51968c015e
Content-Disposition: form-data; name="uname"

daniel
-----------------------------7d51968c015e
Content-Disposition: form-data; name="upassword"

pwd
-----------------------------7d51968c015e--

==== Return ================================
HTTP/1.1 302 Found
Server: ELOG HTTP 2.6.0-beta4
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Set-Cookie: unm=daniel; path=/Maldi; expires=Monday, 24-Oct-05 14:57:55 GMT;
Set-Cookie: upwd=bWlqZTE0; path=/Maldi; expires=Monday, 24-Oct-05 14:57:55 GMT;
Set-Cookie: urem=0; path=/Maldi; expires=Tuesday, 24-Oct-06 13:57:55 GMT;
Location: http://tara:8080/Maldi/
Content-Length: 20



<html>redir</html>




GET /Maldi/ HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://tara:8080/Maldi/
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: tara:8080
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: urem=0


==== Return ================================
HTTP/1.1 200 Document follows
Server: ELOG HTTP 2.6.0-beta4
Content-Type: text/html;charset=ISO-8859-1
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Pragma: no-cache
Expires: Fri, 01 Jan 1983 00:00:00 GMT
Content-Length: 1350



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>ELOG Login</title>
<link rel="stylesheet" type="text/css" href="http://tara:8080/Maldi/default.css">
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" href="favicon.png" type="image/png">
</head>
<body OnLoad="document.form1.uname.focus();">
<form name=form1 method="POST" action="./" enctype="multipart/form-data">

<input type=hidden name=redir value="">
<table class="dlgframe" cellspacing=0 align=center><tr><td colspan=2 class="dlgtitle">Please login</td></tr>
<tr><td align=right class="dlgform">Username:</td>
<td align=left class="dlgform"><input type=text name=uname value=""></td></tr>
<tr><td align=right class="dlgform">Password:</td>
<td align=left class="dlgform"><input type=password name=upassword></td></tr>
<tr><td align=center colspan=2 class="dlgform"><input type=checkbox name=remember value=1>
Remember me on this computer</td></tr>
<tr><td align=center colspan=2 class="dlgform"><a href="?cmd=Forgot">Forgot password?</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="?cmd=New+user">Register as new user</a></td></tr><tr><td align=center colspan=2 class="dlgform"><input type=submit value="Submit"></td></tr></table>
<center><a class="bottomlink" href="http://midas.psi.ch/elog/">ELOG V2.6.0-beta4</a></center></form></body></html>


  1484   Mon Oct 24 17:14:59 2005 Reply Daniel Broersd.broers@amc.nlQuestionOther2.6.0 b4Re: Login screen reappears after correct login

Stefan Ritt wrote:

Daniel Broers wrote:
Output in attachment


Your output shows:

Set-Cookie: unm=daniel; path=/Maldi; expires=Monday, 24-Oct-05 14:57:55 GMT;

Now I don't know when you made this entry, but it looks to me like either

- your time is set incorrectly on the server side
- your "login expiration" setting in elogd is set incorrectly

Can you check these two things?


Now it works!
- The time is (apparently) set incorect on the server side. But why would one client have problems while others don't?
- I changed the login expitation from 1 to 5 hours and now we can log in!
Thanks a lot for your quick support!
  68167   Tue Oct 27 15:41:57 2015 Question Danidroldan@cells.esQuestionLinux3.1.1 dynamic "preset text" option without remplace text if it has changed

Dear all,

Is it possible to have a dynamic "preset text" option without remplace text if it has changed?

I would like to switch the template file depending on the attribute value (Type). 

If user already started editing the text body, on change (Type) he could lose this data. 

I'm using this example code :
Attributes = Type, Subject
Options Type = One{1}, Two{2}, Three{3}
Show text = 0

{1} Preset text = text1
{2} Preset text = text2
{3} Preset text = text3
{1,2,3} Show text = 1


I the attribute type change the user lost the data, because the text has been replaced.

Any idea about how to solve it?

Thanks!
Cheers

  68169   Wed Oct 28 09:15:52 2015 Reply Danidroldan@cells.esQuestionLinux3.1.1Re: dynamic "preset text" option without remplace text if it has changed

thanks Andres for your response!

I was thinking that it cannot be possible, but , I had to try to ask in the forum.

for my question, I think that this could be left on user responsibility to take care about it, and add a comment the the text fied, explaining that will be erased the html text on change the text field.

Thanks four your time.

 

Andreas Luedeke wrote:

I don't think that this is possible.

And it is not clear to me, how you would like it to work: I often use HTML tables in preset text, where the user should fill out columns (e.g. for checklists). I wouldn't want the tables just to append when switching to another checklist. You could rather add a comment to the Type field, explaining that the text field will be overwritten when you change the type.

The Firefox addon Lazarus does store whatever you've typed in an HTML form: at least you could then recover what you've typed.

Cheers, Andreas

Dani wrote:

Dear all,

Is it possible to have a dynamic "preset text" option without remplace text if it has changed?

I would like to switch the template file depending on the attribute value (Type). 

If user already started editing the text body, on change (Type) he could lose this data. 

I'm using this example code :
Attributes = Type, Subject
Options Type = One{1}, Two{2}, Three{3}
Show text = 0

{1} Preset text = text1
{2} Preset text = text2
{3} Preset text = text3
{1,2,3} Show text = 1


I the attribute type change the user lost the data, because the text has been replaced.

Any idea about how to solve it?

Thanks!
Cheers

 

 

  69559   Fri Sep 23 01:32:15 2022 Entry Dan Wittemandrwitteman@physics.ucsd.eduQuestionLinux3.1.4-3Need help with permission

Hello,

I have just installed elog onto an ubuntu focal server using <sudo make install> and I am unable to create new entries.

When I access the log via a windows PC connected to the local network, I can see the demo logbook with the 1 test post, but I cannot create or edit anything.

Attempting to post throws the error:

New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Please check that it exists and elogd has write access and disk is not full.

 

 

Please point me in the right direction to correctly set permissions and create aditional log books.

 

Thanks,

Dan

  69563   Mon Sep 26 19:21:33 2022 Reply Dan Wittemandrwitteman@physics.ucsd.eduQuestionLinux3.1.4-395Re: Need help with permission

I used "chown" to pass permissions from root to my deafult user, then restarted the service and now I can make posts. Thank you!

Stefan Ritt wrote:

Sometimes this can also be an SELinux issue, if you have that service running. Try "journalctl | grep denied" to see denied resources and consult the SELinux documentation on how to fix that.

Stefan Ritt wrote:

Permissions are handled by the operating system and have nothing to do with elog. Make sure you run elog under an account which has write access to the desired directories. Consult Ubuntu documentation how to do that. Sometimes it's helpful to start elog interactively with the -v flag to see some verbose output. Maybe you can spot something there.

Stefan

Mikkel D. Lund wrote:

Hi all,

I have the same problem on Ubuntu 22.04. I have compiled from the latest tarball and copied all our logbooks from our old Ubuntu 18.04 server to a new Ubuntu 22.04. The logbooks does however not appear when I log in, so I assume ELOG doesn't have read access either?
Any hints on how to set the permissions correctly would be greatly appreciated.

Thanks,
Mikkel

Dan Witteman wrote:

Hello,

I have just installed elog onto an ubuntu focal server using <sudo make install> and I am unable to create new entries.

When I access the log via a windows PC connected to the local network, I can see the demo logbook with the 1 test post, but I cannot create or edit anything.

Attempting to post throws the error:

New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Please check that it exists and elogd has write access and disk is not full.

 

 

Please point me in the right direction to correctly set permissions and create aditional log books.

 

Thanks,

Dan

 

 

 

 

  65744   Fri Feb 15 22:55:11 2008 Question Dan Gawareckidan_gawarecki@datacard.comBug reportWindows error "Cannot retrieve host name: No error" using command line in Windows

I automatically install software on 3 machines in our lab, and at the end of the process, use eLOG to record relevant information for each machine (all running Windows XP) via the command line program elog.exe.  2 of the machines log their info correctly, but on third machine, I get the following error:

    Cannot retrieve host name: No error

The error is not very clear (i.e., the error is "no error"?), and furthermore, operationally, the error makes no sense to me, for the three machines are supposedly configured the same.  Additionally, the elog.exe used is stored on a network drive, as are the other batch files that all3 machines use, so it is not as a problem could creep in due to differing versions/configurations of files.

Just in case I am overlooking something, here's the command line invocation (I've X'd out sensitive information):

 

C:\>x:\@adat\tools\elog.exe -h max13 -l "Maxtee" -u xxxxxxxxxx xx1234   -a Tester=AULS_xxx_y    -a M
achine="Mercury 99"   -a "Module Type"=Controller   -a "Action Description=Configuration Change"   -
a Title="AULS upgraded to 1.2.7344 from [1.1.7343]."   -a "Card Count=998352"   -m X:\@ADAT\InterimP
F\MERCURY29.Blat_Msg1_PostBoot.TXT 1>X:\@ADAT\InterimPF\MERCURY29_eLog_CmdLineOutput1_(PostBoot).txt

Cannot retrieve host name: No error

 

Obvoiusly, there *must* be some configuration difference between the 2 working and 1 non-working machine, but I am at a loss to figure it out.

 

I am not sure which version of eLOG is being used, but the size of the elog.exe is 139,264. 

I suggest a new option be added to display the version information, or display the version info whenever eLOG is execute, or display the version info when "-?" option is used.

  65747   Mon Feb 18 17:25:42 2008 Reply Dan Gawareckidan_gawarecki@datacard.comBug reportWindows Re: error "Cannot retrieve host name: No error" using command line in Windows

Stefan:

Thanks for the analysis and information.  Why am I not surprised that the "No error" came from Windows!? 

I tried some of your suggestions with the following results:

1.  Ping ==>= works as expected on the failing machine; that is, can successfully ping "max13"  I also can ping successfully in the reverse direction; that is, from "max13" to my "client" machine.

2.  NSLookUp ==>does not work on any of the 3 machines.

3.  Added the computer name "max13" to HOSTS file; ==> observed no change in behavior (i.e., still fails)

I did notice that on the 2 machines that function as desired that there is no anti-virus software installed, while on the non-funcational machine there is A-V SW installed.  I am able to bring up eLOG via the browser on the non-functional machine, so am unsure if the A-V SW is a factor; that is, why does ELOG via browser work as expected, but not via command line. 

QUESTION:  does command line ELOG connect differently than ELOG through the browser?

I ask this question for perhaps the A-V SW *is* blocking some port or whatever, and I will need to ask our IT department how to remove such a restriction.

 

ELOG V3.1.5-3fb85fa6