Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 129 of 806  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  1360   Sat Jul 30 14:36:08 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6Re: Login twice

Carl Shirey wrote:
Where I work we started to use Elog for our shift carry over log, everyone seems to likes it.
I do have one problem for some reason we have to login twice in order to submit a new entree in
the log. I do have a guest account setup so when we click logon the logon page pops up and you
type in username and password and enter. Then main page pops up and you are still in the guest mode.
Click on logon again and enter everything again and this you get in the edit mode.
I hope you can me with this.


Can you send me your elogd.cfg?
  1363   Mon Aug 1 23:41:06 2005 Reply Carl Shireycarl.shirey@pw.utc.comQuestionLinux2.6Re: Login twice

Stefan Ritt wrote:

Carl Shirey wrote:
Where I work we started to use Elog for our shift carry over log, everyone seems to likes it.
I do have one problem for some reason we have to login twice in order to submit a new entree in
the log. I do have a guest account setup so when we click logon the logon page pops up and you
type in username and password and enter. Then main page pops up and you are still in the guest mode.
Click on logon again and enter everything again and this you get in the edit mode.
I hope you can me with this.


Can you send me your elogd.cfg?


Yes Here is a copy of the elog.cfg.

Thanks for your help
Attachment 1: elogd.cfg
[global]
Mirror server = http://pdl:8080
Mirror cron = 30 01 * * *

port = 8080

Welcome title = <center><H1>Test & Operations Log</h1><p>Contact Carl Shirey with questions.</p></center>

#  Top text = <center><a href="/">Logbooks</a></center>
Bottom text = <center><a href="/">Logbooks</a></center>

#  SMTP host = E102374@pwflwp

#  Theme = compact

Theme = default

password file = elogd_passwd

self register = 1

Login expiration = 1

Group DRO = DRO-E06, DRO-E8A, DRO-E8B, DRO-North_Stand, DRO-EWR, DRO-Other

Group OPS = OPS-E06, OPS-E8A, OPS-E8B, OPS-North_Stand, OPS-EWR, OPS-Other

Group Stand_Crew = Stand_Crew-E06, Stand_Crew-E08, Stand_Crew-North_Stand, Stand_Crew-PSA,

Group ELECTRICIAN = Elec_Log

Group Test_log = Test_log

admin user = e102374, admin

Write Password Expiration = 0

Reverse sort = 1

Default encoding = 1




##########################################################################
##########################################################################

[DRO-E06]
Comment = DRO PASS#DOWN E06 LOG

#   look and feel

Menu commands = Edit, Copy to

Display mode = full

Guest menu commands = Back, Find, Login, Help

Guest find menu commands = Find, Login, Help

Date format = %B %d, %Y


#   attributes

Attributes = Author, Category, Subject

Options Category = Test, Maintenance, Repair

Required Attributes = Author, Category, Subject

Thread display = $Subject, posted by $author, on $date

Quick filter = Date

 

#   preset author and email

Preset Author = $long_name

Preset Author Email = $user_email

 

#   these attributes cannot be changed

Locked Attributes = Author, Last Revision, Auther Email

 

#   add last revision on each edit

Subst on Edit Last Revision = $date by $long_name

 

#   some comments showing up in the "new" page

Message comment = Please enter your <b>log</b> here:

Attachment comment = Please upload your <b>FILE</b> here:
 

#   a few flags



Filtered browsing = 0

Entries per page = 10

Restrict edit = 1

Summary lines = 0

Back to main = 1

Restrict edit time = 8


#   options for reply

Subst on reply subject = Re: $Configuration Name

Remove on reply = Author, Author Email

 

#   No Email notification

Suppress Email to users = 1

#   RSS Title

RSS Title = $subject, posted by $author on $entry time




##########################################################################
##########################################################################

[DRO-E8A]
Comment = DRO PASS#DOWN E8A LOG

#   look and feel

Menu commands = Edit, Copy to

Display mode = full

Guest menu commands = Back, Find, Login, Help

Guest find menu commands = Find, Login, Help

Date format = %B %d, %Y


#   attributes

Attributes = Author, Category, Subject

Options Category = Test, Maintenance, Repair

Required Attributes = Author, Category, Subject

Thread display = $Subject, posted by $author, on $date

Quick filter = Date

 

#   preset author and email

Preset Author = $long_name

Preset Author Email = $user_email

 

#   these attributes cannot be changed

Locked Attributes = Author, Last Revision, Auther Email

 

#   add last revision on each edit

Subst on Edit Last Revision = $date by $long_name

 

#   some comments showing up in the "new" page

Message comment = Please enter your <b>log</b> here:

Attachment comment = Please upload your <b>FILE</b> here:
 

#   a few flags

Filtered browsing = 0

Entries per page = 10

Restrict edit = 1

Summary lines = 0

Back to main = 1

Restrict edit time = 8
 

#   options for reply

Subst on reply subject = Re: $Configuration Name

Remove on reply = Author, Author Email

 

#   No Email notification

Suppress Email to users = 1

#   RSS Title

RSS Title = $subject, posted by $author on $entry time


##########################################################################
##########################################################################

[DRO-E8B]
Comment = DRO PASS#DOWN E8B LOG

#   look and feel

Menu commands = Edit, Copy to

Display mode = full

Guest menu commands = Back, Find, Login, Help

Guest find menu commands = Find, Login, Help

Date format = %B %d, %Y
 

#   attributes

Attributes = Author, Category, Subject

Options Category = Test, Maintenance, Repair

Required Attributes = Author, Category, Subject

Thread display = $Subject, posted by $author, on $date

Quick filter = Date

 

#   preset author and email

Preset Author = $long_name

Preset Author Email = $user_email

 

#   these attributes cannot be changed

Locked Attributes = Author, Last Revision, Auther Email

 

#   add last revision on each edit

Subst on Edit Last Revision = $date by $long_name

 

#   some comments showing up in the "new" page

Message comment = Please enter your <b>log</b> here:

Attachment comment = Please upload your <b>FILE</b> here:

 

#   a few flags

Filtered browsing = 0

Entries per page = 10

Restrict edit = 1
... 1466 more lines ...
  1364   Tue Aug 2 08:56:21 2005 Reply Stefan Rittstefan.ritt@psi.chInfoLinux2.6.0Re: "full" only changes color

Kees Bol wrote:
I have the strange problem that when changing to "full"-diplaymode the output looks the same as with "summary", only the color is different. The texts don't appear.
Any idea what can cause this behaviour?


Can you send me your elogd.cfg ?

Have you made sure that the entries do contain some text? The behaviour you describe usually happens if you have entries without any text.
  1365   Tue Aug 2 10:25:32 2005 Reply Kees Bolkees.bol@wur.nlInfoLinux2.6.0Re: "full" only changes color

Stefan Ritt wrote:

Kees Bol wrote:
I have the strange problem that when changing to "full"-diplaymode the output looks the same as with "summary", only the color is different. The texts don't appear.
Any idea what can cause this behaviour?


Can you send me your elogd.cfg ?

Have you made sure that the entries do contain some text? The behaviour you describe usually happens if you have entries without any text.


Well, I guess that causes it. In the summary-view there is no visible text.
I thougt when choosing the full-view the text would appear along with the other attributes.

My config-file is:
================================================================
Theme = default

Attributes = Author, Type, Subject
Required Attributes = Type, Subject
Preset Author = $long_name
Locked Attributes = Author

Options Type = Question, Configuration, Problem, Info, Other

List Display = ID, Date, Author, Type, Subject
Thread display = $Subject, posted by $Author on $Date

Menu commands = Back, New, Edit, Delete, Reply, Find, Last 10, Change password, Logout, Help

Quick filter = Date, Type
Summary lines = 0

Start page = ?rsort=Date

; alleen eigen messages editen
Restrict edit = 1
======================================================================================
  1366   Wed Aug 3 13:01:17 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinux | Windows2.60b3Re: Response is very slow with beta3

PJ Meyer wrote:
I finally got 2.60 Beta3 running on my server (explicit statements in cfg for most of the defaults)

Now I'm seeing a veerrry slooooow response time - over 3 minutes to open a logbook vs 10 sec in 2.54
Utilization of CPU runs to 60% on elogd.

Tried slimning down elog.cfg, 'emptying' userlog file (actually renamed so Elog created a new one).

Still 2.60b3 is very slow to respond.

When I rolled back to 2.54 speed was fast again.

Any ideas?

this is on a dual processor Win2000 server with 2 gb memory.

attached is the elog.cfg if that helps.

i'm stumped

7/28 Follow-up testing and trials

When I stopped using a password file - speed was quick and responsive (on test book with no password file speed was good which got me thinking about the password file)
When I added back in the 'old' xml password file - slow response
I created new password file with only one user - slow response (took almost 3 minutes to save new account)

I've attached the password file so you can try it out if yo want....

This has me very stumped.



I can confirm .. it's very very slow for me too:

munmap(0xb7db4000, 4096)                = 0
select(1024, [5], NULL, NULL, {6, 0})   = 1 (in [5], left {5, 996000})
recv(5, "GET /calendar_filter/imgs/window"..., 100000, 0) = 485
open("/usr/share/elog/scripts/calendar_filter/imgs/window_close.gif", O_RDONLY) = 6
close(6)                                = 0
open("/usr/share/elog/scripts/calendar_filter/imgs/window_close.gif", O_RDONLY) = 6
lseek(6, 0, SEEK_END)                   = 648
lseek(6, 0, SEEK_CUR)                   = 648
lseek(6, 0, SEEK_SET)                   = 0
time([1123066183])                      = 1123066183
read(6, "GIF89a\20\0\20\0\306`\0\16\26 \r\27!\16\30!\24 .\25 .I"..., 648) = 648
close(6)                                = 0
send(5, "HTTP/1.1 200 Document follows\r\nS"..., 879, 0) = 879
close(5)                                = 0
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 1 (in [3], left {0, 81000})
accept(3, {sa_family=AF_INET, sin_port=htons(57723), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
time(NULL)                              = 1123066193
socket(PF_FILE, SOCK_STREAM, 0)         = 6
connect(6, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)  
= 0


for every image elog has to serve one can see something similar to the above ... lot of time lost in selects.. then a lot of data (serving an image I suppose), then a lot of time in select again and again ... untill everything is sent, in a couple of minutes or more Crying


Maybe an issue related to the dns search you introduced in order to guess the correct host name ?? ..
  1367   Wed Aug 3 22:44:43 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux | Windows2.60b3Re: Response is very slow with beta3

Emiliano Gabrielli wrote:
for every image elog has to serve one can see something similar to the above ... lot of time lost in selects.. then a lot of data (serving an image I suppose), then a lot of time in select again and again ... untill everything is sent, in a couple of minutes or more Crying


Maybe an issue related to the dns search you introduced in order to guess the correct host name ?? ..


This is strange to me, since I did not change anything which could slow down the server this much. The dns search your mentioned is only evaluated once on startup of elogd, so it cannot be the cause. The select() statements with Timeouts are normal. If there is no HTTP request (elogd is idling), the select should time out after one second, to be able to check a changed config file for example. If a HTTP request arrives, the select() call is immediately terminated and the request served.

There is however some problem with DNS server which I saw on midas.psi.ch. If the DNS host name resolution is slow due to a slow DNS server, this could slow down elogd considerably significantly, but only occasionally. I saw elogd hanging on midas.psi.ch like once or twice a day for ~30 seconds.

I order to address this problem, I imlemented a global flag "resolve host names = 0|1". The default is "0", which means that elogd does not contact the DNS server, and rather save the raw IP address in log files etc.

Can you check the CVS version and see if it makes any difference?
  1368   Thu Aug 4 11:19:53 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinux | Windows2.60b3Re: Response is very slow with beta3

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
for every image elog has to serve one can see something similar to the above ... lot of time lost in selects.. then a lot of data (serving an image I suppose), then a lot of time in select again and again ... untill everything is sent, in a couple of minutes or more Crying


Maybe an issue related to the dns search you introduced in order to guess the correct host name ?? ..


This is strange to me, since I did not change anything which could slow down the server this much. The dns search your mentioned is only evaluated once on startup of elogd, so it cannot be the cause. The select() statements with Timeouts are normal. If there is no HTTP request (elogd is idling), the select should time out after one second, to be able to check a changed config file for example. If a HTTP request arrives, the select() call is immediately terminated and the request served.

There is however some problem with DNS server which I saw on midas.psi.ch. If the DNS host name resolution is slow due to a slow DNS server, this could slow down elogd considerably significantly, but only occasionally. I saw elogd hanging on midas.psi.ch like once or twice a day for ~30 seconds.

I order to address this problem, I imlemented a global flag "resolve host names = 0|1". The default is "0", which means that elogd does not contact the DNS server, and rather save the raw IP address in log files etc.

Can you check the CVS version and see if it makes any difference?


No, ok it appears to be a very strange problem related to my JS calendar filter ... I'll change it's state to beta in contributions, but the very strange thing is that it works fine when no stunnel is used ...
  1369   Thu Aug 4 20:29:23 2005 Reply Stefan Rittstefan.ritt@psi.ch   Re: Notify email recipient of attachments without including?

Chris Green wrote:
Hi,

Our elog is going to be taking some large attachments. I've disabled the attachments from going out in the email, but I'd like email recipients to know that the post has attachments associated with it. Is there a mechanism to do this already, or would it be an enhancement? I'm looking for something like:

Email Notify Attachments = 0 | 1 | 2

Where 0 = no notification,
1 = number only,
2 = list

... independent of whether attachments are included with the email itself.

Thanks,
Chris.


I added Email Format = 64 for only attachment names. So you could set Email Format = 111 to get everything except the full attachments.
ELOG V3.1.5-3fb85fa6