Configuration problems, posted by Erich Beyrent on Mon Feb 14 17:10:00 2005
|
I am trying to run eLog under Apache 2 on my FreeBSD 5.3 server. I started
the daemon with "elogd -n <my hostname> -p 8080" and when I connect to my
server on that port, I get a 500 server configuration error. The Apache log
contains this:
malformed header from script. Bad header=Please specify hostname.: elog
I am running elogd 2.5.7-1 built Feb 14 2005, 09:55:19 revision 1.558
Any assistance would be greatly appreciated!
-Erich- |
Re: Configuration problems, posted by Stefan Ritt on Mon Feb 14 19:03:31 2005
|
> I am trying to run eLog under Apache 2 on my FreeBSD 5.3 server. I started
> the daemon with "elogd -n <my hostname> -p 8080" and when I connect to my
> server on that port, I get a 500 server configuration error. The Apache log
> contains this:
>
> malformed header from script. Bad header=Please specify hostname.: elog
- make sure your proxy definition in httpd.conf is correct and it uses port 8080
- start elogd with the "-v" flag to see the communication between Apache and elogd
- maybe you might need an "URL = http://<my hostname>/<elog dir>/" in the config
file |
Re: Configuration problems, posted by Erich Beyrent on Mon Feb 14 20:39:30 2005
|
> > I am trying to run eLog under Apache 2 on my FreeBSD 5.3 server. I started
> > the daemon with "elogd -n <my hostname> -p 8080" and when I connect to my
> > server on that port, I get a 500 server configuration error. The Apache log
> > contains this:
> >
> > malformed header from script. Bad header=Please specify hostname.: elog
>
> - make sure your proxy definition in httpd.conf is correct and it uses port 8080
> - start elogd with the "-v" flag to see the communication between Apache and elogd
> - maybe you might need an "URL = http://<my hostname>/<elog dir>/" in the config
> file
No luck. I have the proxy definition in my httpd.conf file. I have the URL parameter
in my elogd.cfg file.
Here is the command line I am using to start the daemon:
elogd -v -D -n <myhost> -p 8080 -l <myhost>/cgi-bin/elog/logbooks -c
/usr/local/server/apache/cgi-bin/elog/elogd.cfg
With the -v argument, here are the messages I get in /var/log/messages:
elogd 2.5.7-1 built Feb 14 2005, 09:55:19
Feb 14 14:38:28 onion elogd[34579]: revision 1.558
Feb 14 14:38:28 onion elogd[34579]: Config file :
/usr/local/server/apache/cgi-bin/elog/elogd.cfg
Feb 14 14:38:28 onion elogd[34579]: Resource dir : /usr/local/server/apache/cgi-bin/elog/
Feb 14 14:38:28 onion elogd[34579]: Logbook dir :
/usr/local/server/apache/cgi-bin/elog/logbooks/
Feb 14 14:38:28 onion elogd[34579]: Falling back to default group "elog"
Feb 14 14:38:28 onion elogd[34579]: Group "elog" not found
Feb 14 14:38:28 onion elogd[34579]: Falling back to default group "nogroup"
Feb 14 14:38:28 onion elogd[34579]: Falling back to default user "elog"
Feb 14 14:38:28 onion elogd[34579]: User "elog" not found
Feb 14 14:38:28 onion elogd[34579]: Falling back to default user "nobody"
Feb 14 14:38:28 onion elogd[34579]: Indexing logbook "demo" ...
Feb 14 14:38:28 onion elogd[34579]:
Feb 14 14:38:28 onion elogd[34579]: ID 1, 011108a.log, ofs 0, thead, MD5=
Feb 14 14:38:28 onion elogd[34579]: E4
Feb 14 14:38:28 onion elogd[34579]: 25
Feb 14 14:38:28 onion elogd[34579]: 4C
Feb 14 14:38:28 onion elogd[34579]: B8
Feb 14 14:38:28 onion elogd[34579]: AD
Feb 14 14:38:28 onion elogd[34579]: 4E
Feb 14 14:38:28 onion elogd[34579]: 88
Feb 14 14:38:28 onion elogd[34579]: 68
Feb 14 14:38:28 onion elogd[34579]: 08
Feb 14 14:38:28 onion elogd[34579]: 91
Feb 14 14:38:28 onion elogd[34579]: C9
Feb 14 14:38:28 onion elogd[34579]: 4D
Feb 14 14:38:28 onion elogd[34579]: 1E
Feb 14 14:38:28 onion elogd[34579]: B7
Feb 14 14:38:28 onion elogd[34579]: CB
Feb 14 14:38:28 onion elogd[34579]: C3
Feb 14 14:38:28 onion elogd[34579]:
Feb 14 14:38:28 onion elogd[34579]: After sort:
Feb 14 14:38:28 onion elogd[34579]: ID 1, 011108a.log, ofs 0
Feb 14 14:38:28 onion elogd[34579]: ok
Feb 14 14:38:28 onion elogd[34579]: Server listening on port 8080 ...
I am still getting the exact same error in my Apache log.
Any more ideas?
-Erich- |
Re: Configuration problems, posted by Stefan Ritt on Mon Feb 14 20:43:48 2005
|
> No luck. I have the proxy definition in my httpd.conf file. I have the URL parameter
> in my elogd.cfg file.
Can you show me the proxy definition? I hope you don't treat elogd as a CGI script... |
ELOG security vulnerability fixed, IMPORTANT!!!!, posted by Stefan Ritt on Mon Feb 14 12:36:30 2005
|
Dear ELOG users,
It has been brought to my attention that ELOG has a vulnerability through
which one can obtain a remote shell (meaning to log in to your machine
through elog). There is even an exploit available which demonstrates that
both for linux and windows.
This is a severe security problem for all logooks which can be seen from
outside, even if they have password protection on. I strongly recommened to
upgrade to elog version 2.5.7 as soon as possible if you run a public elog
server.
Here is some explanation for the technically interested:
The problem arises from a strcpy() in the decode_post() routine, which
triggers a buffer overflow when attachment file names longer than 256
characters are submitted. I replaced (hopefully) all strcpy() with strlcpy()
to fix this problem, but if someone sees a location which I have missed,
please tell me.
The second vulnerability had to do with write passwords. If you put a "write
password = xxx" statement into your config file, it was still possible to
download the config file with a special hand-written URL, and decode the
write password, which is usually only base-64 encoded unless you haven't
compiled elog with the -DHAVE_CRYPT flag. I have changed that so if a write
password is present, the download is only possible when this password is
submitted in each request. If this has some effects on synchronizing of
logbooks, please let me know.
Stefan Ritt |
Re: ELOG security vulnerability fixed, IMPORTANT!!!!, posted by Recai Oktas on Mon Feb 14 18:49:44 2005
|
Attention to Debian users;
I've prepared the fixed package and also contacted to Debian Security Team for
an urgent security upload. Since then you may wish to update your package from
the following URL:
http://l10n-turkish.alioth.debian.org/debian/elog_2.5.7+r1558-1_i386.deb
Or you can also make an update via apt-get by adding the below line to your
'/etc/apt/sources.list' file:
deb http://l10n-turkish.alioth.debian.org/debian/ ./
> The second vulnerability had to do with write passwords. If you put a "write
> password = xxx" statement into your config file, it was still possible to
> download the config file with a special hand-written URL, and decode the
> write password, which is usually only base-64 encoded unless you haven't
> compiled elog with the -DHAVE_CRYPT flag.
FYI, Debian package has already been compiled with this flag.
-- Recai Oktas, Maintainer of Debian package |
ELOG Command Line Utility, posted by Tim Fowler on Wed Feb 9 15:40:12 2005
|
I am trying to use the command line utility elog. Some of the attributes
that I have setup are multiple options. When I run the command line
utility to create a new message, any attribute that is setup with multiple
options will not be filled in. The syntax I am using is as follows:
elog -h localhost -p 8080 -l Lab -a "Site=xxxx" -a "Area=System" -
a "Priority=Low" -a "Shift=1" -a "Status=Open" -m text.txt
Site and Area are defined in the config file as MOptions. Is there a way
to use this feature with multiple options on attributes with the
attributes = to one or more variables? |
Re: ELOG Command Line Utility, posted by Stefan Ritt on Sun Feb 13 17:21:19 2005
|
> I am trying to use the command line utility elog. Some of the attributes
> that I have setup are multiple options. When I run the command line
> utility to create a new message, any attribute that is setup with multiple
> options will not be filled in. The syntax I am using is as follows:
>
> elog -h localhost -p 8080 -l Lab -a "Site=xxxx" -a "Area=System" -
> a "Priority=Low" -a "Shift=1" -a "Status=Open" -m text.txt
>
> Site and Area are defined in the config file as MOptions. Is there a way
> to use this feature with multiple options on attributes with the
> attributes = to one or more variables?
For MOptions, you have to append an "_n" to each attribute to distinguish
different options for the same attribute, like
elog -h localhost -p 8080 -l Lab -a "Site_0=Home" -a "Site_1=Work" ...
Even if you only use one attribute, the trailing "..._0" is necessary. I will
add a note to the documentation. |
Help with configuration newbie, posted by Anand Sengupta on Fri Feb 11 15:44:38 2005
|
Hi,
We have set up a elog server at our institute. The configuration file is
attached. We have the following queries:
1. When replying to another reply in a thread, the author_name attribute is
not substitued (as desired). Since this is a mandatory field, we are not
able to send the reply message. However, reply to the originial message
works fine.
2. "Use Email From = string" prepends an additional "" to the "From"
field in the e-mails.
3. "Fixed Attributes Reply = Subject" fixes the subject line while replying.
However when we add "Category" attribute to this list, it breaks.
Can someone help us?
Suggestions and tips will be thankfully recieved. |
Re: Help with configuration newbie, posted by Stefan Ritt on Sat Feb 12 20:11:48 2005
|
> 1. When replying to another reply in a thread, the author_name attribute is
> not substitued (as desired). Since this is a mandatory field, we are not
> able to send the reply message. However, reply to the originial message
> works fine.
Preset on reply Author = $long_name
Do not use "Remove on reply".
> 2. "Use Email From = string" prepends an additional "" to the "From"
> field in the e-mails.
This has been fixed recently, please update.
> 3. "Fixed Attributes Reply = Subject" fixes the subject line while replying.
> However when we add "Category" attribute to this list, it breaks.
I tried to use your config file and add
Fixed attributes reply = Subject, Category
and it worked as expected. What kind of "break" did you observe? |
Re: Help with configuration newbie, posted by Anand Sengupta on Sat Feb 12 20:51:43 2005
|
> > 1. When replying to another reply in a thread, the author_name attribute is
> > not substitued (as desired). Since this is a mandatory field, we are not
> > able to send the reply message. However, reply to the originial message
> > works fine.
>
> Preset on reply Author = $long_name
>
> Do not use "Remove on reply".
This worked. Thanks.
>
> > 2. "Use Email From = string" prepends an additional "" to the "From"
> > field in the e-mails.
>
> This has been fixed recently, please update.
Agani, thanks for the information.
>
> > 3. "Fixed Attributes Reply = Subject" fixes the subject line while replying.
> > However when we add "Category" attribute to this list, it breaks.
>
> I tried to use your config file and add
>
> Fixed attributes reply = Subject, Category
>
> and it worked as expected. What kind of "break" did you observe?
For me, when I put the Category in the fixed attributes for reply, I see the
Category but when I actually try to send the message - it says Category not
entered. I am sure I am doing something very stupid. Please help.
- Anand. |
Re: Help with configuration newbie, posted by Stefan Ritt on Sun Feb 13 16:43:05 2005
|
> For me, when I put the Category in the fixed attributes for reply, I see the
> Category but when I actually try to send the message - it says Category not
> entered. I am sure I am doing something very stupid. Please help.
No, it was a bug, which I could reproduce now. I fixed it in revision 1.554. It will
be contained in the next release. |
erroneus encoding, posted by Emiliano Gabrielli on Tue Feb 8 13:00:40 2005
|
elog sends wrong HTTP headers, charset is empty and not separed from the
next one "Connection: Keep-Alive ... this bug tells the browser that the
encoding is "connection:" ... that is wrong.
root@emc2:/home/albert# GET -USde http://midas.psi.ch/elogs/Forum/
GET http://midas.psi.ch/elogs/Forum/
User-Agent: lwp-request/2.06
GET http://midas.psi.ch/elogs/Forum/ --> 200 Document follows
Connection: close
Date: Tue, 08 Feb 2005 11:54:40 GMT
Pragma: no-cache
Server: ELOG HTTP 2.5.6-2
Content-Type: text/html;charset=Connection: Keep-Alive
Expires: Fri, 01 Jan 1983 00:00:00 GMT
.....
....
this is the problem from validator point of viev:
http://validator.w3.org/check?uri=http%3A%2F%2Fmidas.psi.ch%2Felogs%2FForum%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1&verbose=1 |
Re: erroneus encoding, posted by Emiliano Gabrielli on Tue Feb 8 15:41:55 2005
|
the following patch corrects the problem, plz apply :
--- elogd.c 2005-02-03 16:46:10.000000000 +0100
+++ elogd_albert.c 2005-02-08 15:40:36.000000000 +0100
@@ -6178,7 +6178,7 @@
if (getcfg("global", "charset", str, sizeof(str)))
rsprintf("Content-Type: text/html;charset=%s\r\n", str);
else
- rsprintf("Content-Type: text/html;charset=%S\r\n", DEFAULT_HTTP_CHARSET);
+ rsprintf("Content-Type: text/html;charset=%s\r\n", DEFAULT_HTTP_CHARSET);
if (use_keepalive) {
rsprintf("Connection: Keep-Alive\r\n");
@@ -11267,7 +11267,7 @@
rsprintf("Server: ELOG HTTP %s\r\n", VERSION);
rsprintf("Accept-Ranges: bytes\r\n");
rsprintf("Connection: close\r\n");
- rsprintf("Content-Type: text/plain;charset=%S\r\n", DEFAULT_HTTP_CHARSET);
+ rsprintf("Content-Type: text/plain;charset=%s\r\n", DEFAULT_HTTP_CHARSET);
rsprintf("Pragma: no-cache\r\n");
rsprintf("Expires: Fri, 01 Jan 1983 00:00:00 GMT\r\n\r\n"); |
Re: erroneus encoding, posted by Stefan Ritt on Sat Feb 12 17:31:46 2005
|
> elog sends wrong HTTP headers, charset is empty and not separed from the
> next one "Connection: Keep-Alive ... this bug tells the browser that the
> encoding is "connection:" ... that is wrong.
This has to do with the "%S" vs. "%s" bug described elsewhere in this forum.
I fixed that. The validator link above now also reports error free. |
Page not found after login or create useraccount, posted by Rob de Bruin on Tue Feb 8 10:38:39 2005
|
best all,
I'm having trouble with redirecting after creating an account or login.
For example when i create an account with an Admin user when i click on
Save i recieve the following error:
Error finding page!
And this is what de browser address tels me.
http://192.168.71.26/ZC004/?
cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456
But when i remove the line frome the ? and than press enter then i'll while
be able to just elog again.
here is my Global cfg file setting.
What did i do wrong??
########################################
Port = 80
Grp = elog
Usr = elog
Password file = /usr/local/elog/elog-2.5.6/passwd
User login = /usr/local/elog/elog-2.5.6/passwd
Admin user = rdbruin
Resource dir = /usr/local/elog/elog-2.5.6/
Logbook dir = /usr/local/bin/logbooks/
time format = %d %B %Y %H:%M
SMTP host = smtp.xs4all.nl
Main tab = Startpagina
Page Title = Logboeken Zernike College
IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif,
icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Submit page = /usr/local/elog/elog-2.5.6/bericht
Attributes = Author, Type, Category, Subject, Owner, Email
Group Zernike college = Desktops, Servers, Printers, Ribox, Switches,
Routers, Algemeen, Documentatie, XafaX
Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
Options Type = Software, Hardware, Besturingssysteem, Monitor
Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof,
Westersedrift
Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247,
ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602,
ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612,
ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622,
ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632,
ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642,
ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652,
ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708,
ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906,
ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916,
ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
Group Ribox = HPB, HJZ, HRN, WD, ZDL
Group Printers = HP, Canon
Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
Group Documentatie = Administratief, Educatief, Systeembeheer, Software,
Hardware
Group Xafax = Pasjes, Chipnet, Smartprinter, Docs
################################################### |
Re: Page not found after login or create useraccount, posted by Rob de Bruin on Tue Feb 8 11:04:18 2005
|
As you can see the password is also visable in the addressbar??
> best all,
>
> I'm having trouble with redirecting after creating an account or login.
> For example when i create an account with an Admin user when i click on
> Save i recieve the following error:
> Error finding page!
> And this is what de browser address tels me.
>
> http://192.168.71.26/ZC004/?
> cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
> venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456
>
> But when i remove the line frome the ? and than press enter then i'll while
> be able to just elog again.
>
> here is my Global cfg file setting.
>
> What did i do wrong??
>
> ########################################
>
> Port = 80
> Grp = elog
> Usr = elog
> Password file = /usr/local/elog/elog-2.5.6/passwd
> User login = /usr/local/elog/elog-2.5.6/passwd
> Admin user = rdbruin
> Resource dir = /usr/local/elog/elog-2.5.6/
> Logbook dir = /usr/local/bin/logbooks/
> time format = %d %B %Y %H:%M
> SMTP host = smtp.xs4all.nl
> Main tab = Startpagina
> Page Title = Logboeken Zernike College
> IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif,
> icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
> Submit page = /usr/local/elog/elog-2.5.6/bericht
> Attributes = Author, Type, Category, Subject, Owner, Email
> Group Zernike college = Desktops, Servers, Printers, Ribox, Switches,
> Routers, Algemeen, Documentatie, XafaX
> Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
> Options Type = Software, Hardware, Besturingssysteem, Monitor
> Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof,
> Westersedrift
> Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247,
> ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602,
> ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612,
> ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622,
> ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632,
> ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642,
> ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652,
> ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708,
> ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906,
> ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916,
> ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
> Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
> Group Ribox = HPB, HJZ, HRN, WD, ZDL
> Group Printers = HP, Canon
> Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
> Group Documentatie = Administratief, Educatief, Systeembeheer, Software,
> Hardware
> Group Xafax = Pasjes, Chipnet, Smartprinter, Docs
>
> ################################################### |
Re: Page not found after login or create useraccount, posted by Rob de Bruin on Tue Feb 8 14:49:40 2005
|
Sorry people,
I did not use de - n host/ip syntax at the startup of elogd.
Now it's working properly.
> As you can see the password is also visable in the addressbar??
>
>
> > best all,
> >
> > I'm having trouble with redirecting after creating an account or login.
> > For example when i create an account with an Admin user when i click on
> > Save i recieve the following error:
> > Error finding page!
> > And this is what de browser address tels me.
> >
> > http://192.168.71.26/ZC004/?
> > cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
> > venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456
> >
> > But when i remove the line frome the ? and than press enter then i'll while
> > be able to just elog again.
> >
> > here is my Global cfg file setting.
> >
> > What did i do wrong??
> >
> > ########################################
> >
> > Port = 80
> > Grp = elog
> > Usr = elog
> > Password file = /usr/local/elog/elog-2.5.6/passwd
> > User login = /usr/local/elog/elog-2.5.6/passwd
> > Admin user = rdbruin
> > Resource dir = /usr/local/elog/elog-2.5.6/
> > Logbook dir = /usr/local/bin/logbooks/
> > time format = %d %B %Y %H:%M
> > SMTP host = smtp.xs4all.nl
> > Main tab = Startpagina
> > Page Title = Logboeken Zernike College
> > IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif,
> > icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
> > Submit page = /usr/local/elog/elog-2.5.6/bericht
> > Attributes = Author, Type, Category, Subject, Owner, Email
> > Group Zernike college = Desktops, Servers, Printers, Ribox, Switches,
> > Routers, Algemeen, Documentatie, XafaX
> > Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
> > Options Type = Software, Hardware, Besturingssysteem, Monitor
> > Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof,
> > Westersedrift
> > Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247,
> > ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602,
> > ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612,
> > ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622,
> > ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632,
> > ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642,
> > ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652,
> > ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708,
> > ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906,
> > ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916,
> > ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
> > Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
> > Group Ribox = HPB, HJZ, HRN, WD, ZDL
> > Group Printers = HP, Canon
> > Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
> > Group Documentatie = Administratief, Educatief, Systeembeheer, Software,
> > Hardware
> > Group Xafax = Pasjes, Chipnet, Smartprinter, Docs
> >
> > ################################################### |
Re: Page not found after login or create useraccount, posted by Rob de Bruin on Tue Feb 8 14:55:26 2005
|
Sorry people,
I did not use de - n host/ip syntax at the startup of elogd.
Now it's working properly.
> As you can see the password is also visable in the addressbar??
>
>
> > best all,
> >
> > I'm having trouble with redirecting after creating an account or login.
> > For example when i create an account with an Admin user when i click on
> > Save i recieve the following error:
> > Error finding page!
> > And this is what de browser address tels me.
> >
> > http://192.168.71.26/ZC004/?
> > cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
> > venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456
> >
> > But when i remove the line frome the ? and than press enter then i'll while
> > be able to just elog again.
> >
> > here is my Global cfg file setting.
> >
> > What did i do wrong??
> >
> > ########################################
> >
> > Port = 80
> > Grp = elog
> > Usr = elog
> > Password file = /usr/local/elog/elog-2.5.6/passwd
> > User login = /usr/local/elog/elog-2.5.6/passwd
> > Admin user = rdbruin
> > Resource dir = /usr/local/elog/elog-2.5.6/
> > Logbook dir = /usr/local/bin/logbooks/
> > time format = %d %B %Y %H:%M
> > SMTP host = smtp.xs4all.nl
> > Main tab = Startpagina
> > Page Title = Logboeken Zernike College
> > IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif,
> > icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
> > Submit page = /usr/local/elog/elog-2.5.6/bericht
> > Attributes = Author, Type, Category, Subject, Owner, Email
> > Group Zernike college = Desktops, Servers, Printers, Ribox, Switches,
> > Routers, Algemeen, Documentatie, XafaX
> > Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
> > Options Type = Software, Hardware, Besturingssysteem, Monitor
> > Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof,
> > Westersedrift
> > Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247,
> > ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602,
> > ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612,
> > ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622,
> > ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632,
> > ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642,
> > ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652,
> > ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708,
> > ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906,
> > ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916,
> > ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
> > Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
> > Group Ribox = HPB, HJZ, HRN, WD, ZDL
> > Group Printers = HP, Canon
> > Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
> > Group Documentatie = Administratief, Educatief, Systeembeheer, Software,
> > Hardware
> > Group Xafax = Pasjes, Chipnet, Smartprinter, Docs
> >
> > ################################################### |
repository of elog configuration files, posted by Anand Sengupta on Mon Feb 7 09:58:25 2005
|
Hi
Is there a repository of elog configuration files for newbies to lookup and
learn ? I have seen the 'contributions' elog - useful as it is ... it is not
much. I would appreciate if someone can point out such a site where people
have contributed their elog configuration files.
Thanks,
AnandO. |
Re: repository of elog configuration files, posted by Stefan Ritt on Mon Feb 7 10:00:42 2005
|
> Is there a repository of elog configuration files for newbies to lookup and
> learn ? I have seen the 'contributions' elog - useful as it is ... it is not
> much. I would appreciate if someone can point out such a site where people
> have contributed their elog configuration files.
Have a look at the elog:Config+Examples. The configuration of this Forum for
example is there, covering most of the available options.
- Stefan |
$user_email variable causes problems in Use Email From setting, posted by John Habermann on Sun Feb 6 04:12:52 2005
|
I am running into problems when I try and use the
Use Email From = $user_email
setting in my individual logbook configs. I had to set this field as I set a
Use Email From = real_email_address
in my global config so that the email would be sent out by the
CommunigatePro mail server.
When I made those changes though the mail was not sent and I got the
following errors in the elog log:
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} NEW entry #0
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} Email from
john.habermann@wilderness.org.au to john.habermann@wilderness.org.au,
SMTP host localhost:
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 220
tanami.wilderness.org.au ESMTP CommuniGate Pro 4.2.8 is glad to see you!
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog}
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} HELO tanami.wilderness.org.au
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 250
tanami.wilderness.org.au your name is not tanami.wilderness.org.au
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} MAIL FROM:
john.habermann@wilderness.org.au
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 555 syntax error in MAIL
FROM parameters
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} RCPT TO:
<john.habermann@wilderness.org.au>
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 501 Unknown command
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} DATA
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 501 Unknown command
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} To:
john.habermann@wilderness.org.au
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} From:
john.habermann@wilderness.org.au
Subject: [twslog: Elog] will it work on tanami from konqueror
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} X-Mailer: Elog, Version
2.5.6-1
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} X-Elog-URL:
http://tanami.wilderness.org.au:8080/Elog/36
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} X-Elog-submit-type: web|elog
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} Date: Sun, 06 Feb 2005
13:48:34 +1100
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} Content-Type: TEXT/PLAIN;
charset=US-ASCII
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} .
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 501 Unknown command
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} QUIT
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 501 Unknown command
It looks like Communigate Pro doesn't like what is being put in the From as
it complains about the syntax.
I tried the same elog.conf file on my laptop which uses a qmail server as
its SMTP and the mail was sent ok but I got mailto appearing in the from
header. I saw that elog:333 reported a similar problem but this was listed
as fixed. This is the headers from a message sent by the qmail server:
X-Gmail-Received: 04395b7bf4189dd6e4c23606ee6adbd5fdcb0e53
Delivered-To: john.haberman@gmail.com
Received: by 10.54.43.19 with SMTP id q19cs16478wrq;
Sat, 5 Feb 2005 18:44:47 -0800 (PST)
Received: by 10.54.43.11 with SMTP id q11mr64342wrq;
Sat, 05 Feb 2005 18:44:47 -0800 (PST)
Return-Path: <john.habermann@wilderness.org.au>
Received: from mx-1.netregistry.net (mx-1.netregistry.net [203.202.16.27])
by mx.gmail.com with ESMTP id 33si43805wra.2005.02.05.18.44.45;
Sat, 05 Feb 2005 18:44:47 -0800 (PST)
Received-SPF: neutral (gmail.com: 203.202.16.27 is neither permitted nor
denied by best guess record for domain of
john.habermann@wilderness.org.au)
Received: from mail.ngogeeks.com ([216.17.101.59])
by mx-1.netregistry.net with esmtp (Exim 4.20 #2 (Debian))
id 1CxcPj-0003zY-Io
for <john.habermann@wilderness.org.au>; Sun, 06 Feb 2005 13:44:43 +1100
Received: (qmail 5486 invoked by uid 1021); 6 Feb 2005 00:45:04 +0000
Received: from john.habermann@wilderness.org.au by ngogeeks.com by
uid 1012 with qmail-scanner-1.22-st-qms
(clamdscan: 0.75. spamassassin: 2.20. Clear:RC:1(10.3.0.2):.
Processed in 0.363281 secs); 06 Feb 2005 00:45:04 -0000
X-Antivirus-MYDOMAIN-Mail-From: john.habermann@wilderness.org.au via
ngogeeks.com
X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(10.3.0.2):. Processed in
0.363281 secs Process 5482)
Received: from unknown (HELO localhost) (10.3.0.2)
by mail.ngogeeks.com with SMTP; 6 Feb 2005 00:45:03 +0000
To:
john.habermann@wilderness.org.au
From: john.habermann@wilderness.org.au
Subject: [twslog: Email] test of new elog version
X-Mailer: Elog, Version 2.5.6-1
X-Elog-URL: http://localhost:8080/Email/79
X-Elog-submit-type: web|elog
Date: Sun, 06 Feb 2005 13:43:31 +1000
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Antivirus-MYDOMAIN-1.22-st-qms: added fake MIME-Version header
MIME-Version: 1.0
X-Antivirus-MYDOMAIN-Message-ID: <11076507048355482@ngogeeks.com>
Message-Id: <E1CxcPj-0003zY-Io@mx-1.netregistry.net>
X-Spam-Score: 0.3 (/)
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/)
*1CxcPj-0003zY-Io*13Qgra0rAPA*
A new entry has been submitted on localhost
Logbook : Email
Author : John Habermann
Subject : test of new elog version
Type : Other
Todo :
Logbook URL : http://localhost:8080/Email/79
=================================
Testing |
Re: $user_email variable causes problems in Use Email From setting, posted by Stefan Ritt on Sun Feb 6 12:44:03 2005
|
> header. I saw that elog:333 reported a similar problem but this was listed
> as fixed.
Yes, this was fixed in revision 1.550 of elogd.c. You apparently have revision 1.54x
which does not yet contain the patch. You need to donwload the newest version from
CVS and compile it by hand (or wait for the next major release). |
|