<< 28-August-2008 : bevinbot on #wikimedia-toolserver at freenode [download] [back] >>
 
 
time nick message

00:06

<tsbot>

RSS: linuxkernel: 2.6.27-rc4-git7: stable snapshot <http://www.kernel.org/kdist/fragments/stable_snapshot.html>

02:06

<wikirc>

[[Special:Log/newusers]] create 10 * Vantassela26 * (New user)

02:11

<MZMcBride>

@replag

02:11

<tsbot>

MZMcBride: s1: 1s [-0.01 sec/sec]; s2: 3s [no change]; s3: 3s [-0.23 sec/sec] (5h 2m 19s sample)

02:12

<TheLetterX>

It's ok to use a PHP framework that I didn't write, as long as it is open source, right?

02:13

<carl-m>

huh?

02:13

<carl-m>

MZMcBride: any count of expired IP talk pages yet?

02:14

<MZMcBride>

Not yet.

02:15

<MZMcBride>

My query got killed earlier. I'm about to re-run it.

02:16

<TheLetterX>

Carl-m: I found a framework for drawing graphs written in PHP, but I'm unsure if it should be allowed or nor

02:16

<carl-m>

I think that as long as it's legal, toolserver is fine with it

03:08

<MZMcBride>

@replag

03:08

<tsbot>

MZMcBride: s1: 5s [+0.00 sec/sec]; s2: 23s [+0.01 sec/sec]; s3: 7s [+0.00 sec/sec] (56m 36s sample)

06:27

<SQLDb>

@replag

06:27

<tsbot>

SQLDb: s1: 0s [-0.00 sec/sec]; s2: 1s [-0.00 sec/sec]; s3: 4s [-0.00 sec/sec] (3h 19m 18s sample)

07:06

<tsbot>

RSS: sunsecurity: Sun Alert 240706 Covert Channel Security Vulnerability in the Solaris Kernel <http://blogs.sun.com/security/entry/sun_alert_240706_covert_channel>

08:47

<_mary_kate_>

does anyone here have a windows system with opera installed?

08:55

<MinuteElectron>

yes

08:55

<MinuteElectron>

opera 9.52

08:55

<MinuteElectron>

windows xp sp 2

08:55

<_mary_kate_>

can you go to confluence.toolserver.org, edit something and see if you can preview it? (just click preview, no need to actually edit)

08:56

<_mary_kate_>

feel free to test in IE as well ;)

08:58

<MinuteElectron>

Able to preview in Opera 9.52.

08:58

<_mary_kate_>

hm.

08:58

<_mary_kate_>

it doesn't work for me with 9.52 in solaris

08:59

<_mary_kate_>

uh wait, now it does. wtf

08:59

<MinuteElectron>

Able to preview in Internet Explorer 7

10:24

<_mary_kate_>

apparently, zeus has some kind of integrated setuid php support.. i wonder if it's any good

11:31

<_mary_kate_>

i wonder if it's possible to cache CGIs by having a perl interpreter load the script and execute it several times

11:31

<_mary_kate_>

a bit like php fastcgi, but for perl

11:53

<_mary_kate_>

hmm... so zeus has built-in support for switchboard's functionality. and it's much faster

11:54

<_mary_kate_>

Requests per second: 4671.30 [#/sec] (mean)

12:35

<erwin85>

Is it possible to update your user table based on data in a wiki's database? I get UPDATE command denied to user 'erwin85'@'nightshade.toolserver.org' for table 'logging' when trying to do http://rafb.net/p/3cQaPh64.html It should only read the logging table and update u_erwin85.pp_nlwiki_p.

12:58

<Filnik>

_mary_kate_: ehhhmmm..

12:58

<Filnik>

_mary_kate_: seems that my IP is banned again :(

13:00

<erwin85>

Anyone? (See above.)

13:01

<_mary_kate_>

erwin85: i suggest rewriting it as a subquery

13:01

<_mary_kate_>

update a set x=(select some stuff from nlwiki_p.foo);

13:01

<_mary_kate_>

probably slower, though

13:02

<_mary_kate_>

Filnik: are you sure that's your IP? i don't see it in the deny list of the auth log

13:02

<erwin85>

Hmm.. I need to set three columns so I'd like to join, but it appears that isn't possible. I'll try the subquery.

13:03

<Filnik>

_mary_kate_: yes I am

13:03

<Filnik>

fil@deeder:~$ ssh toolserver

13:03

<Filnik>

ssh_exchange_identification: Connection closed by remote host

13:05

<Filnik>

Filnik tries to reboot..

13:06

<_mary_kate_>

_mary_kate_ wonders what 'toolserver' is

13:07

<erwin85>

Subqueries work. Thanks. Theyubqueries take 37.79 sec. Don't know what a left join would have taken.

13:07

<erwin85>

*They take

13:15

<Filnik>

(now it works)

15:15

<msgbot>

3(created) [MAGNUS-80] Only last upload shows up in upload history; Magnus's tools: CommonsHelper; Bug <10https://jira.toolserver.org/browse/MAGNUS-80> (ChrisiPK )

15:47

<_mary_kate_>

who wants to help test a new web server?

15:53

<_mary_kate_>

no one?

15:54

<MinuteElectron>

me

15:55

<_mary_kate_>

do you have some php, fcgi or cgi scripts? (especially ones that don't work well under switchboard)

15:55

<MinuteElectron>

no

15:56

<MinuteElectron>

not much help for you, sorry

15:57

<_mary_kate_>

oh well

15:57

<_mary_kate_>

i guess you could test static file serving ;)

15:58

<_mary_kate_>

oh, do you use .htaccess rules?

15:58

<MinuteElectron>

i suppose so

15:58

<MinuteElectron>

no, id on't

15:58

<MinuteElectron>

well, actually, just a DirectoryINdex

16:04

<_mary_kate_>

Luxo: you want to help test stuff, right? ;)

16:05

<Luxo>

ok

16:05

<_mary_kate_>

take a script that doesn't work very well and change http://toolserver.org/ to http://toolserver.org:81/

16:06

<_mary_kate_>

and see if it works any better

16:09

<Luxo>

seems to work better

16:11

<Luxo>

yeah I don't become errors

16:13

<_mary_kate_>

okay

16:14

<_mary_kate_>

(don't distribute that url, it's not permanent, only for testing)

16:14

<Luxo>

yep

16:20

<_mary_kate_>

the only thing i can't make work is the cgi-bin directory (but .cgi files work)..

16:36

<_mary_kate_>

aha, got it

16:52

<_mary_kate_>

hm, zeus's rewrite scripts are nicer

16:52

<_mary_kate_>

rather more powerful than mod_rewrite, and easier to read

17:23

<VasilievVV>

_mary_kate_: what is new web server?

17:23

<_mary_kate_>

http://www.zeus.com/products/zws/index.html

17:24

<VasilievVV>

VasilievVV wonders when _mary_kate_ will install custom PHP interpreter, because it is the only standard thing he has not changed anywhere

17:25

<_mary_kate_>

we already use a custom php handler (switchboard) - ZWS has the same functionality built-in

17:25

<_mary_kate_>

(and it's much faster)

17:25

<_mary_kate_>

and it supports most of apache's .htaccess, which the other servers i looked at didn't

17:26

<VasilievVV>

So all LAMP components are now changed somewhere :)

17:26

<_mary_kate_>

well, we still use M (sadly)

17:26

<_mary_kate_>

can't really change that one ;)

17:27

<VasilievVV>

_mary_kate_: you use Postgres on tswiki :)

17:27

<_mary_kate_>

mainly because everything else there uses pg

17:27

<_mary_kate_>

using mw with pg is a little annoying, but less annoying than having to run two databases ;)

17:35

<dungodung>

_mary_kate_: I'm getting "Error 400 Bad Request" for .htacccess-controlled tools that do work on :80

17:35

<_mary_kate_>

example?

17:38

<_mary_kate_>

dungodung: ?

17:38

<dungodung>

http://www.toolserver.org:81/~dungodung/cgi-bin/pywiki

17:38

<dungodung>

(sry)

17:39

<dungodung>

ah

17:39

<dungodung>

it's because of the www.

17:39

<dungodung>

without it, it works

17:39

<_mary_kate_>

ah. let me add an alias..

17:39

<dungodung>

dungodung lets you

17:40

<_mary_kate_>

now it works with www.

17:40

<dungodung>

indeed it does. thx

18:51

<_mary_kate_>

[28/Aug/2008:20:41:54 +0200] "GET /~jsmith/cgi-bin/myscript HTTP/1.1" 404 1193

18:51

<_mary_kate_>

i guess someone took that list post quite literally ;)

18:54

<ST47>

ST47 was going to click the link, until he read it and realized

19:01

<_mary_kate_>

hm wtf, $TZ got screwed again

19:02

<_mary_kate_>

i guess dab sets $TZ in his env, then restarts sshd...

19:12

<Luxo>

is /var/log/user.log on hemlock not longer readable? I become a permission denied

19:12

<_mary_kate_>

i guess it got rotated

19:13

<Luxo>

rotated?

19:13

<kju>

hi

19:13

<_mary_kate_>

Duesentrieb: did you change the perms on user.log to something more relaxed? it seems to have lost them

19:14

<kju>

on the old login server sqlite3 was installed. on the current one it isn't. it would be nice if it could bei nstalled.

19:14

<Duesentrieb>

_mary_kate_: i did on hemlock, not on nightshade. if it list them... death to logrotate

19:14

<Duesentrieb>

err, lost

19:14

<_mary_kate_>

Duesentrieb: sit doesn't seem to have been rotated

19:14

<Duesentrieb>

huh. wtf?

19:14

<_mary_kate_>

kju: now it's installed

19:15

<kju>

_mary_kate_: tnx

19:15

<kju>

bye

19:15

<Duesentrieb>

_mary_kate_: any clue what could have done that?

19:16

<_mary_kate_>

wow, syslog-ng'd config file really sucks

19:16

<_mary_kate_>

Duesentrieb: other than logrotate... no

19:17

<Duesentrieb>

-rw-r----- 1 root adm 3888 2007-12-10 18:39 /var/log/user.log.0

19:17

<Duesentrieb>

wtf is that?

19:17

<_mary_kate_>

the first rotated logfile

19:18

<Duesentrieb>

but...why?

19:18

<_mary_kate_>

?

19:18

<Luxo>

hacker! :P

19:18

<Duesentrieb>

well, it's not compressed. and number 1 is newer than nuber 4.

19:18

<Duesentrieb>

all are from august

19:18

<Duesentrieb>

so what the hell is that 0 thing doing there sitting around?

19:19

<_mary_kate_>

i think someone has changed from rotating to .0 to .1

19:19

<_mary_kate_>

there are other .0 files

19:19

<_mary_kate_>

s/someone/something

19:19

<Duesentrieb>

yea, probably

19:22

<_mary_kate_>

did you test the new web server? ;)

19:24

<Bryan>

no RewriteRules :(

19:26

<Duesentrieb>

_mary_kate_: no didn't yet.

19:26

<Duesentrieb>

still musing about wtf syslog is doing to file permissions, and why.

19:26

<Duesentrieb>

hm... no restart since i did that, right?...

19:26

<_mary_kate_>

no

19:27

<_mary_kate_>

hmm, well dab did an upgrade the other day

19:27

<_mary_kate_>

not sure if syslog got upgraded

19:29

<_mary_kate_>

Bryan: it has a nice rewrite language but it doesn't seem to be accessible to users. i might ask them if there's a way around that

19:29

<Duesentrieb>

STIME: Aug22

19:29

<Bryan>

does it have something like plugins?

19:29

<_mary_kate_>

Bryan: yes. NSAPI and ISAPI, and mod_perl

19:29

<_mary_kate_>

(NSAPI = sjs web server plugins, ISAPI = IIS plugins)

19:30

<Bryan>

I meant more like plugins for the htaccess handler

19:30

<_mary_kate_>

well i'd assume plugins can add new htaccess options

19:30

<Bryan>

so perhaps a rewrite module could be written

19:30

<_mary_kate_>

_mary_kate_ goes looking for a manual

19:31

<_mary_kate_>

heh.. the first example ISAPI plugin is a URL rewriter ;)

19:32

<Bryan>

:P

19:32

<Bryan>

I imagine that it will no problem then

19:32

<_mary_kate_>

well, i'm probably not go to rewrite all of mod_rewrite as a module

19:32

<_mary_kate_>

but the basic functionality is probably doable

19:38

<_mary_kate_>

hmm, i bet .htaccess rewrites don't help performance

19:39

<Bryan>

that sounds logical

19:42

<Luxo>

Duesentrieb: Kannst du die chmods vom log noch ändern?

19:42

<Duesentrieb>

Luxo: klar, die frage ist blos, ob das dann bleibt

19:43

<Duesentrieb>

Luxo: done. for now.

19:43

<Luxo>

würde nur gerne schnell reingucken ob da was von mir drinn ist (bzgl. query.php), dannach ist es mir egal ;)

19:43

<_mary_kate_>

Bryan: btw, did you see you can use fastcgi on hemlock now? (.fcgi files)

19:44

<Bryan>

yes but I haven't had the time to look how it works

19:44

<Bryan>

and now I have had some beer

19:49

<Luxo>

hehe kolossos fill the log with his notices

19:50

<Duesentrieb>

no idea why warnigns get logged at all. they shouldn't.

19:52

<_mary_kate_>

hmm, seems like some people already wrote mod_rewrite-alike modules for IIS

19:52

<_mary_kate_>

which is also using ISAPI modules

19:53

<_mary_kate_>

although most of them seem to be closed-source windows binaries

19:59

<_mary_kate_>

hm, found an open source one that even uses the same syntax as mod_rewrite

19:59

<_mary_kate_>

no .htaccess support, but that could be added

20:03

<SQLDb>

_mary_kate_: what new server is it you're trying? :)

20:03

<_mary_kate_>

http://www.zeus.com/products/zws/index.html

20:04

<SQLDb>

ahh

20:04

<SQLDb>

does not seem to work with MediaWiki

20:04

<_mary_kate_>

no?

20:04

<Bryan>

?

20:04

<SQLDb>

at least not in the same config that worked on apache

20:04

<SQLDb>

http://toolserver.org:81/~sql/ra/wiki/Main_Page

20:04

<_mary_kate_>

do you use rewrite?

20:04

<SQLDb>

erm, you probably can't see that

20:04

<SQLDb>

yeah

20:04

<_mary_kate_>

that's not supported

20:05

<SQLDb>

ahh, there ya go then :P

20:05

<_mary_kate_>

(but i'm looking at a third-party module that would support it)

20:08

<Luxo>

what's the price they want for this server? "call [...] to discuss your requirements" ...

20:10

<_mary_kate_>

didn't get a price yet

20:10

<_mary_kate_>

they seemed open to non profit discounts ;)

20:14

<Duesentrieb>

_mary_kate_: that $TZ stuff is pretty nasty :)

20:14

<_mary_kate_>

yes indeed

20:16

<VasilievVV>

Duesentrieb: you mean format?

20:16

<Duesentrieb>

what?

20:20

<VasilievVV>

VasilievVV remembers how did he try to parse zoneinfo files

20:21

<VasilievVV>

The most ridiculous thing that TZ=GMT+1 is really UTC-1

20:22

<Duesentrieb>

VasilievVV: the problem was the if you have TZ set and restart crond, crond will run on that TZ. so, if you have a sudoer with a non-utc tz, this may cause trouble :)

20:25

<Duesentrieb>

_mary_kate_: i think i found something. man, they syntax syslog-ng uses for the config file is a bit over the top...

20:26

<_mary_kate_>

yeah really

20:26

<_mary_kate_>

old-style syslog.conf is much easier to read, whch seems rather backwards

20:26

<Duesentrieb>

_mary_kate_: restarting syslogd on hemlock, to test this

20:27

<Duesentrieb>

hm... at least it didn't change it back... trying on nightshade now

20:29

<Duesentrieb>

hm... no... that didn't do it...

20:33

<Duesentrieb>

_mary_kate_: setting perm(644) for user.log in the config file didn't change the file's permission to that on restart. but i guess the file will be created like that from now on.

20:33

<Duesentrieb>

_mary_kate_: let's just hope for the best, i guess :o)

20:33

<Duesentrieb>

btw: #syslog-ng exists...

20:38

<_mary_kate_>

Bryan: i found a way to let users write Zeus rewrite scripts in $HOME/rewrite.script

20:38

<_mary_kate_>

i think that's probably enough

20:38

<Bryan>

yep

20:39

<_mary_kate_>

(the admin interface has a neat thing that converts Apache rewriterules into zeus scripts, but i don't think it's publicly accessible anywhere..)

20:48

<_mary_kate_>

SQLDb: wanna test that? ;)

21:35

<balasyum>

who configured suexec here yet?

21:35

<balasyum>

need help in it

22:02

<SQLDb>

_mary_kate_: test what now? :)

22:02

<_mary_kate_>

SQLDb: rewrite.script

22:02

<_mary_kate_>

for your wiki

22:02

<SQLDb>

(sorry, making dinner, and, the kids won't leave me be :P)

22:02

<SQLDb>

sure

22:03

<_mary_kate_>

okay

22:03

<SQLDb>

It's just a test wiki to demonstrate an extension we're working on anyhow, no big deal if it's down for a bit :P

22:04

<_mary_kate_>

so you need to create a file called $HOME/rewrite.script and write some rules in it. there are some examples on the website (http://support.zeus.com/zws/examples - "request rewriting") and it's documented in section 8.7 of the manual (http://support.zeus.com/zws/media/docs/4.3/ZWSUserGuide.pdf)

22:04

<_mary_kate_>

don't waste too much time on it, just curious how well it works

22:04

<SQLDb>

ahh

22:04

<SQLDb>

Should I still leave my .htaccess?

22:04

<SQLDb>

(It's got the htpasswd stuff)

22:04

<_mary_kate_>

yeah you can leave that

22:04

<_mary_kate_>

it'll ignore the unknown directives

22:05

<SQLDb>

ahh, k

22:10

<SQLDb>

wow heh

22:10

<SQLDb>

I'll poke this in a little while :P

22:10

<_mary_kate_>

i might see if there's an online version of the apache rewrite convertor

22:10

<SQLDb>

...Just when I finally learned apache rewriting too :P

22:11

<_mary_kate_>

heh

22:11

<_mary_kate_>

it's basically the same, just the syntax is different

22:11

<_mary_kate_>

(i think it's much easier to read, but it is more verbose)

22:11

<SQLDb>

yeah

22:13

<SQLDb>

heh, if there's an offline rewrite convertor I could probably use that too :P

22:13

<_mary_kate_>

there's one in the web interface... if you give me some rules i can do it there

23:11

<Duesentrieb>

hrmph, my host complained about the flood of 7000 mails from all the jira tickets resulting from the smtp cockup :(

23:13

<_mary_kate_>

heh. sorry

23:14

<_mary_kate_>

i fixed postmaster mail not to go to jira

23:14

<_mary_kate_>

so now you'll just get 7,000 mails addressed to you

23:14

<Duesentrieb>

at least then i won'Ät get everything twice :)

23:14

<_mary_kate_>

why do you get it twice?

23:14

<Duesentrieb>

because i have two jira accounts

23:14

<Duesentrieb>

because of shared login

23:15

<Duesentrieb>

daniel, and duesentrieb

23:17

<Duesentrieb>

i should fix one of them not to send mail i suppose :)

23:41

<_mary_kate_>

hm nice

23:41

<_mary_kate_>

you can configure ulimits and max run time for cgi scripts

Drone v1.4 © 2002-2005 Uwyn RIFE powered