*** dlobo has quit IRC | 00:34 | |
*** dlobo has joined #schooltool | 01:06 | |
*** lisppaste5 has joined #schooltool | 01:20 | |
*** alga has joined #schooltool | 01:49 | |
*** dlobo has quit IRC | 01:52 | |
*** ignas has joined #schooltool | 02:09 | |
*** alga has quit IRC | 02:40 | |
*** dlobo has joined #schooltool | 02:50 | |
*** dlobo has quit IRC | 03:09 | |
*** lisppaste5 has quit IRC | 03:41 | |
*** pcardune has quit IRC | 03:47 | |
*** dlobo has joined #schooltool | 04:04 | |
*** dlobo has quit IRC | 04:08 | |
*** dlobo has joined #schooltool | 04:36 | |
*** pcardune has joined #schooltool | 04:54 | |
*** dlobo has quit IRC | 05:09 | |
*** replaceafill has joined #schooltool | 05:25 | |
*** pcardune has quit IRC | 05:49 | |
*** th1a has quit IRC | 05:58 | |
*** replaceafill has quit IRC | 08:27 | |
*** ignas has quit IRC | 08:28 | |
*** alga has joined #schooltool | 09:34 | |
*** Aiste has joined #schooltool | 10:03 | |
*** menesis has quit IRC | 12:12 | |
*** ignas has joined #schooltool | 12:36 | |
*** Aiste has quit IRC | 12:52 | |
*** ignas has quit IRC | 13:04 | |
*** jelkner has joined #schooltool | 13:26 | |
*** ignas has joined #schooltool | 13:52 | |
*** menesis has joined #schooltool | 14:30 | |
*** mgedmin has joined #schooltool | 15:01 | |
*** th1a has joined #schooltool | 15:11 | |
*** dlobo has joined #schooltool | 15:40 | |
*** defunkt has joined #schooltool | 16:35 | |
*** defunkt has left #schooltool | 16:36 | |
*** defunkt_ has joined #schooltool | 16:37 | |
*** defunkt_ has quit IRC | 16:38 | |
*** defunkt2 has joined #schooltool | 16:41 | |
defunkt2 | ok.. finally got email from freenode | 16:43 |
---|---|---|
defunkt2 | now i can talk | 16:44 |
defunkt2 | alright... i isntalled schooltool however i dont believe it is listening on port 7080 | 16:44 |
defunkt2 | this is ubuntu karmic server edition running on a test VM with apache2 on it | 16:44 |
defunkt2 | error log stops: | 16:45 |
defunkt2 | 2010-03-17 09:09:18,491 main db/zope.app: running install generation | 16:45 |
Lumiere | let it run | 16:45 |
defunkt2 | ok | 16:45 |
defunkt2 | been almost 40 min now | 16:45 |
Lumiere | how powerful is the server? | 16:46 |
defunkt2 | single core 3 ghz with 2 GB ram if i recall correctly... it can have more if needed but with the web page info i thought this would suffice | 16:46 |
Lumiere | also, try 'netstat -anlt | grep 7080' | 16:46 |
Lumiere | that should be plenty | 16:46 |
defunkt2 | no results | 16:46 |
defunkt2 | i already checked iptables and thats not blockign it | 16:47 |
Lumiere | try ps -ef | grep python | 16:48 |
defunkt2 | no results (except the grep we were running) | 16:49 |
defunkt2 | before i came i did a apt-get remove --purge schootool-2009 and then reinstalled.. but still no luck | 16:53 |
defunkt2 | oo... build-dep showed some more packages... hang on.. lets see if this does it | 16:54 |
defunkt2 | root@gold:/var/www# /etc/init.d/schooltool-2009 restart | 16:54 |
defunkt2 | * Restarting SchoolTool 2009... No PID file exists in /var/run/schooltool/schooltool-2009.pid | 16:54 |
defunkt2 | Could not stop daemon; aborting | 16:54 |
defunkt2 | hmm.... | 16:55 |
defunkt2 | root@gold:/var/www# /etc/init.d/schooltool-2009 start | 16:55 |
defunkt2 | * Starting SchoolTool 2009... [ OK ] | 16:55 |
defunkt2 | root@gold:/var/www# /etc/init.d/schooltool-2009 status | 16:55 |
defunkt2 | No PID file /var/run/schooltool/schooltool-2009.pid | 16:55 |
*** alga has quit IRC | 16:56 | |
mgedmin | did it fail to start, or did it fail to write a pid file? | 16:58 |
mgedmin | what does the log file say? | 16:58 |
defunkt2 | failed stopping... and says it starts ok.. but apparently PID doesnt exist | 16:58 |
defunkt2 | 2010-03-17 09:09:18,491 main db/zope.app: running install generation | 16:58 |
defunkt2 | 2010-03-17 09:55:45,731 Ignoring index for /var/lib/schooltool/schooltool-2009-Data.fs | 16:58 |
defunkt2 | 2010-03-17 09:55:45,736 main db: evolving in mode EVOLVEMINIMUM | 16:58 |
defunkt2 | thats the error log | 16:59 |
mgedmin | sounds normal | 16:59 |
mgedmin | it can take a while to run the db evolution scripts, I suppose | 17:00 |
defunkt2 | whats the "paste.log"? | 17:00 |
defunkt2 | well from the timestamps.. i let it sit for 40 min... i couldnt imagine it would take that long would it? | 17:00 |
mgedmin | how big is your Data.fs? | 17:00 |
defunkt2 | fresh install... hang on let me check | 17:01 |
mgedmin | does top show a process eating all your CPU (on one of the cores)? | 17:01 |
mgedmin | fresh install? interesting | 17:01 |
defunkt2 | nope... top shows fine | 17:01 |
defunkt2 | ps aux | grep python shows nothing | 17:02 |
defunkt2 | -rw-r--r-- 1 schooltool schooltool 64135 2010-03-17 09:09 schooltool-2009-Data.fs | 17:02 |
*** dlobo has quit IRC | 17:02 | |
defunkt2 | fresh install on karmic using the method of adding the deb's in the sources.list manually | 17:03 |
defunkt2 | download and install worked without a hitch | 17:03 |
defunkt2 | but not listenign on port either... | 17:04 |
mgedmin | this is debs from the schooltool ppa, right? | 17:04 |
defunkt2 | i know linux pretty well... but after a purge/reinstall of it.. i figured there may be a bug or something was above me | 17:04 |
defunkt2 | yes | 17:04 |
* mgedmin hopes menesis will join the discussion | 17:05 | |
defunkt2 | deb http://ppa.launchpad.net/schooltool-owners/ppa/ubuntu karmic main | 17:05 |
defunkt2 | deb-src http://ppa.launchpad.net/schooltool-owners/ppa/ubuntu karmic main | 17:05 |
mgedmin | he's building the debs now | 17:05 |
mgedmin | I haven't been doing anything with schooltool for years ... | 17:05 |
defunkt2 | i just heard of it the other day... so i figured id install it on a VM real quick and see what it has to offer | 17:05 |
defunkt2 | sounds promising... but dunno how flexible yet | 17:06 |
defunkt2 | <--- works in a highschool of about 900 9-12th graders | 17:06 |
menesis | hm | 17:06 |
menesis | look at /var/log/schooltool/paste.log for errors | 17:07 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:08 |
defunkt2 | theres a bunch of lines... thats one that says "error" | 17:08 |
menesis | "evolving in mode EVOLVEMINIMUM" message is expected | 17:08 |
menesis | looks like something else is running on that port | 17:08 |
defunkt2 | root@gold:/var/log/schooltool# cat paste.log | grep "error" | 17:08 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/deploy/util/fixtypeerror.py", line 57, in fix_call | 17:08 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:08 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/deploy/util/fixtypeerror.py", line 57, in fix_call | 17:08 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:08 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/deploy/util/fixtypeerror.py", line 57, in fix_call | 17:08 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:08 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/deploy/util/fixtypeerror.py", line 57, in fix_call | 17:08 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:08 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/deploy/util/fixtypeerror.py", line 57, in fix_call | 17:09 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:09 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/deploy/util/fixtypeerror.py", line 57, in fix_call | 17:09 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:09 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/deploy/util/fixtypeerror.py", line 57, in fix_call | 17:09 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:09 |
defunkt2 | hope i dont get kicked for spamming | 17:09 |
defunkt2 | lol | 17:09 |
defunkt2 | nothing is on that port tho | 17:09 |
defunkt2 | hang on | 17:09 |
menesis | :( | 17:09 |
Lumiere | btw next time... | 17:09 |
Lumiere | err | 17:09 |
defunkt2 | pastebin? | 17:09 |
defunkt2 | lol | 17:09 |
Lumiere | where's lisppaste <_< | 17:09 |
menesis | it is the same error 7 times | 17:09 |
defunkt2 | well that may have been each time it was restarted as well | 17:10 |
menesis | don't know what may prevent from using a port.. | 17:10 |
defunkt2 | Active Internet connections (w/o servers) | 17:10 |
defunkt2 | Proto Recv-Q Send-Q Local Address Foreign Address State | 17:10 |
defunkt2 | tcp 0 0 10.9.1.83:ssh 10.9.8.44:51048 ESTABLISHED | 17:10 |
defunkt2 | Active UNIX domain sockets (w/o servers) | 17:10 |
menesis | maybe firewall | 17:10 |
defunkt2 | just using UFW with basic ubuntu install | 17:10 |
defunkt2 | let me see if its even enabled | 17:10 |
defunkt2 | nope... its off | 17:11 |
defunkt2 | thats not the whole file... if you look at the top... i jgrepped it | 17:11 |
Lumiere | defunkt2: tail -20 paste.log and pastebin it | 17:12 |
defunkt2 | kk | 17:12 |
Lumiere | I'd say use paste.lisp.org/new/schooltool | 17:12 |
Lumiere | but it is down | 17:12 |
*** ignas has quit IRC | 17:12 | |
defunkt2 | root@gold:/var/log/schooltool# tail -20 paste.log | 17:13 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/script/command.py", line 218, in run | 17:13 |
defunkt2 | result = self.command() | 17:13 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/script/serve.py", line 303, in command | 17:13 |
defunkt2 | serve() | 17:13 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/script/serve.py", line 287, in serve | 17:13 |
defunkt2 | server(app) | 17:13 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/deploy/loadwsgi.py", line 151, in server_wrapper | 17:13 |
defunkt2 | **context.local_conf) | 17:13 |
defunkt2 | File "/usr/lib/pymodules/python2.5/paste/deploy/util/fixtypeerror.py", line 57, in fix_call | 17:13 |
defunkt2 | val = callable(*args, **kw) | 17:13 |
defunkt2 | File "/usr/lib/python2.5/site-packages/zope/server/http/wsgihttpserver.py", line 125, in run_paste | 17:13 |
defunkt2 | task_dispatcher=task_dispatcher) | 17:13 |
defunkt2 | File "/usr/lib/python2.5/site-packages/zope/server/http/wsgihttpserver.py", line 46, in __init__ | 17:13 |
defunkt2 | HTTPServer.__init__(self, *args, **kw) | 17:13 |
defunkt2 | File "/usr/lib/python2.5/site-packages/zope/server/serverbase.py", line 49, in __init__ | 17:13 |
defunkt2 | self.bind((ip, port)) | 17:13 |
defunkt2 | File "/usr/lib/python2.5/asyncore.py", line 303, in bind | 17:13 |
defunkt2 | return self.socket.bind(addr) | 17:13 |
defunkt2 | File "<string>", line 1, in bind | 17:13 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:13 |
mgedmin | there are many pastebins | 17:14 |
mgedmin | I've been using pastey.net lately, because it's pretty | 17:14 |
mgedmin | defunkt2, that means something is already listening on that port | 17:14 |
mgedmin | I hate Python socket errors: they say the port is busy, but don't say which port | 17:14 |
defunkt2 | what parts are being used? | 17:14 |
defunkt2 | i know 7080 | 17:14 |
defunkt2 | any others? | 17:15 |
menesis | look at /etc/schooltool/schooltool-2009/paste.ini | 17:15 |
menesis | there is the address and port to use | 17:15 |
defunkt2 | [app:main] | 17:15 |
defunkt2 | use = egg:schooltool#main | 17:15 |
defunkt2 | config_file=main.conf | 17:15 |
defunkt2 | [server:main] | 17:15 |
defunkt2 | use = egg:zope.server | 17:15 |
defunkt2 | host = 127.0.0.1 | 17:15 |
defunkt2 | port = 7080 | 17:15 |
mgedmin | defunkt2, you pasted the output of netstat without the -l flag -- see, it says "(w/o servers)" | 17:15 |
menesis | well this is the default | 17:15 |
mgedmin | try netstat -tnl|grep 7080 | 17:15 |
defunkt2 | mgedmin no results... | 17:16 |
mgedmin | weird | 17:16 |
defunkt2 | root@gold:/etc/schooltool/schooltool-2009# netstat -tnl | 17:16 |
defunkt2 | Active Internet connections (only servers) | 17:16 |
defunkt2 | Proto Recv-Q Send-Q Local Address Foreign Address State | 17:16 |
defunkt2 | tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN | 17:16 |
defunkt2 | tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN | 17:16 |
defunkt2 | tcp 0 0 10.9.1.83:3306 0.0.0.0:* LISTEN | 17:16 |
defunkt2 | tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN | 17:16 |
defunkt2 | tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN | 17:16 |
defunkt2 | tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN | 17:16 |
defunkt2 | tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN | 17:16 |
defunkt2 | tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN | 17:16 |
defunkt2 | tcp6 0 0 :::22 :::* LISTEN | 17:16 |
defunkt2 | see... stupidly basic | 17:16 |
defunkt2 | i dunno... | 17:16 |
mgedmin | weird | 17:17 |
defunkt2 | menesis... if the adderss is 127.0.0.1 doe it also listen from its external address? | 17:17 |
mgedmin | no | 17:17 |
defunkt2 | i guess it doesnt matter at this point because it isnt listening to begin with... but that will need to be chnged | 17:18 |
mgedmin | normally people will put apache2 as a reverse proxy, and add ssl and stuff | 17:18 |
defunkt2 | ooh | 17:18 |
defunkt2 | ok | 17:18 |
menesis | 127.0.0.1 is localhost and can only be accessed from it | 17:18 |
defunkt2 | that makes sense | 17:18 |
defunkt2 | yea... (im a netwroking major) | 17:18 |
defunkt2 | thats why i was asking.. | 17:19 |
defunkt2 | wanted to make sure i could access ti remotely or see if i had to tunnel my http to it | 17:19 |
*** replaceafill has joined #schooltool | 17:19 | |
defunkt2 | jsut for shits... i changed the ip to the external ip and a port to 1000 (as its not a standard used port and not listed in the netstat) | 17:20 |
defunkt2 | same issue when restarting the process | 17:20 |
mgedmin | 1000 would require root perms to bind | 17:20 |
menesis | if you want to access it from another machine you have to change `host` in /etc/schooltool/schooltool-2009/paste.ini to external ip address | 17:20 |
mgedmin | anything above 1024 is fair game | 17:20 |
mgedmin | I believe schooltool runs under its own user account | 17:21 |
defunkt2 | thats what i did menesis... and i will move it above 1024 to be sure... | 17:21 |
defunkt2 | one min | 17:21 |
defunkt2 | host = 10.9.1.83 | 17:21 |
defunkt2 | port = 1028 | 17:21 |
defunkt2 | root@gold:/etc/schooltool/schooltool-2009# /etc/init.d/schooltool-2009 restart | 17:21 |
defunkt2 | * Restarting SchoolTool 2009... No PID file exists in /var/run/schooltool/schooltool-2009.pid | 17:21 |
defunkt2 | Could not stop daemon; aborting | 17:21 |
defunkt2 | [fail] | 17:21 |
defunkt2 | [ OK ] | 17:21 |
defunkt2 | root@gold:/etc/schooltool/schooltool-2009# /etc/init.d/schooltool-2009 status | 17:22 |
defunkt2 | No PID file /var/run/schooltool/schooltool-2009.pid | 17:22 |
defunkt2 | netstat -tnl | grep 1028 has no results | 17:24 |
defunkt2 | root@gold:/var/log/schooltool# tail 20 paste.log | 17:24 |
defunkt2 | tail: cannot open `20' for reading: No such file or directory | 17:24 |
defunkt2 | ==> paste.log <== | 17:24 |
defunkt2 | File "/usr/lib/python2.5/site-packages/zope/server/http/wsgihttpserver.py", line 125, in run_paste | 17:24 |
defunkt2 | task_dispatcher=task_dispatcher) | 17:24 |
defunkt2 | File "/usr/lib/python2.5/site-packages/zope/server/http/wsgihttpserver.py", line 46, in __init__ | 17:24 |
defunkt2 | HTTPServer.__init__(self, *args, **kw) | 17:24 |
defunkt2 | File "/usr/lib/python2.5/site-packages/zope/server/serverbase.py", line 49, in __init__ | 17:25 |
defunkt2 | self.bind((ip, port)) | 17:25 |
defunkt2 | File "/usr/lib/python2.5/asyncore.py", line 303, in bind | 17:25 |
defunkt2 | return self.socket.bind(addr) | 17:25 |
defunkt2 | File "<string>", line 1, in bind | 17:25 |
defunkt2 | socket.error: (99, 'Cannot assign requested address') | 17:25 |
Lumiere | if you look in /etc/schooltool/schooltool.ini | 17:27 |
Lumiere | what port settings is it using | 17:27 |
defunkt2 | does not exist... | 17:27 |
menesis | cannot see why but it is a problem with that ubuntu install | 17:27 |
Lumiere | what is in /etc/schooltool | 17:27 |
defunkt2 | /etc/schooltool/schooltool-2009 | 17:28 |
defunkt2 | another dir thats all | 17:28 |
Lumiere | go in there | 17:28 |
menesis | if the port is not available schooltool fails to start of course | 17:28 |
defunkt2 | main.conf and paste.ini | 17:28 |
Lumiere | look in paste.ini | 17:28 |
Lumiere | for a port number | 17:28 |
Lumiere | menesis: I am worried it is trying to use a port sub-1024 | 17:28 |
Lumiere | or some such | 17:28 |
defunkt2 | [app:main] | 17:29 |
defunkt2 | use = egg:schooltool#main | 17:29 |
defunkt2 | config_file=main.conf | 17:29 |
defunkt2 | [server:main] | 17:29 |
defunkt2 | use = egg:zope.server | 17:29 |
menesis | we talked about that already | 17:29 |
defunkt2 | host = 10.9.1.83 | 17:29 |
defunkt2 | port = 1028 | 17:29 |
defunkt2 | that is my paste.ini | 17:29 |
Lumiere | try looking at 10.9.1.83 port 1028 | 17:29 |
defunkt2 | in netstant -tnl? | 17:29 |
Lumiere | yea | 17:29 |
* mgedmin would be inclined to strace the paster process and see what exactly it is trying to bind | 17:29 | |
defunkt2 | root@gold:/etc/schooltool/schooltool-2009# netstat -tnl | 17:29 |
defunkt2 | Active Internet connections (only servers) | 17:29 |
defunkt2 | Proto Recv-Q Send-Q Local Address Foreign Address State | 17:29 |
defunkt2 | tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN | 17:29 |
defunkt2 | tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN | 17:29 |
defunkt2 | tcp 0 0 10.9.1.83:3306 0.0.0.0:* LISTEN | 17:29 |
defunkt2 | tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN | 17:29 |
defunkt2 | tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN | 17:29 |
defunkt2 | tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN | 17:29 |
defunkt2 | tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN | 17:29 |
defunkt2 | tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN | 17:29 |
defunkt2 | tcp6 0 0 :::22 :::* LISTEN | 17:30 |
* mgedmin strongly recommends pastebins | 17:30 | |
mgedmin | it's hard to see the conversation through all the pastes | 17:30 |
mgedmin | that probably explains the repeated questions | 17:30 |
mgedmin | although people don't read, in general ;) | 17:30 |
defunkt2 | ok... i can pastebin it i guess | 17:30 |
mgedmin | nah, now we've seen it already | 17:31 |
mgedmin | but for the future | 17:31 |
defunkt2 | yea thats what i figured... | 17:31 |
mgedmin | so, any chance on the strace thing? | 17:32 |
mgedmin | is it a config file confusion, or a port binding confusion? | 17:32 |
defunkt2 | we can try it... | 17:32 |
mgedmin | I don't suppose something like apparmor/selinux could be blocking the port? | 17:32 |
defunkt2 | im nto a programmer... im a linux guy.. | 17:32 |
defunkt2 | i wouldnt think so.. but ive been suprised b4 | 17:33 |
menesis | defunkt2: you said you installed into a virtual machine | 17:33 |
defunkt2 | vmware, yes | 17:33 |
menesis | ok, just to know what environment didn't work | 17:34 |
menesis | haven't tried it | 17:34 |
defunkt2 | mgedmin: i cant say ive used strace.. u wanna walk me through it real quick id be happy to try it | 17:34 |
menesis | but other servers run so should not be a problem | 17:35 |
menesis | karmic? server? | 17:35 |
mgedmin | how do you try to launch schooltool in the foreground? | 17:35 |
mgedmin | what's the location of the paster binary? | 17:35 |
mgedmin | /usr/bin | 17:35 |
mgedmin | ? | 17:35 |
defunkt2 | really i dont think tis a VM issue... karmic... used the source.list route when installing from your web page | 17:35 |
menesis | sudo paster2.5 serve --user=schooltool --group=schooltool /etc/schooltool/schooltool-2009/paste.ini start | 17:35 |
* mgedmin could try installing schooltool from the ppa in a lucid-server vbox... after two hours of rsyncing the iso image :( | 17:36 | |
defunkt2 | lol | 17:36 |
mgedmin | so, sudo strace -f -e bind paster2.5 serve --user=schooltool --group=schooltool /etc/schooltool/schooltool-2009/paste.ini | 17:36 |
mgedmin | should work | 17:36 |
defunkt2 | its starting | 17:36 |
* mgedmin has a lucid-desktop iso lying around | 17:37 | |
defunkt2 | root@gold:/etc/schooltool/schooltool-2009# sudo paster2.5 serve --user=schooltool --group=schooltool /etc/schooltool/schooltool-2009/paste.ini start | 17:37 |
defunkt2 | Changing user to schooltool:schooltool (110:120) | 17:37 |
defunkt2 | Reading configuration from /etc/schooltool/schooltool-2009/main.conf | 17:37 |
defunkt2 | Starting server in PID 12900. | 17:37 |
mgedmin | what's the name of the ppa? | 17:37 |
defunkt2 | stopping there... but the app is still running | 17:37 |
mgedmin | wait a bit | 17:37 |
mgedmin | either it works fine, or it should exit | 17:37 |
defunkt2 | kk | 17:37 |
* defunkt2 slaps himself for not using pastebin.... | 17:38 | |
defunkt2 | lol | 17:38 |
defunkt2 | its still sitting there... program hasnt exited yet | 17:45 |
mgedmin | so, is it listening on that port? | 17:46 |
defunkt2 | one sec.. opening another ssh window | 17:46 |
defunkt2 | appears to be in the netstat... lets see if it loads | 17:46 |
defunkt2 | yup... it loads... | 17:47 |
defunkt2 | so the application loads... wheres the issue... must be in the configs sumwhere right? | 17:47 |
th1a | Have you tried to access schooltool from the server? | 17:47 |
defunkt2 | its a server OS | 17:48 |
defunkt2 | no gui | 17:48 |
th1a | Or, is that what you just did? | 17:48 |
th1a | telnet | 17:48 |
defunkt2 | nah... earlier we set it up on an external IP | 17:48 |
defunkt2 | so i could view it throughout the school | 17:48 |
defunkt2 | yea.. i supposed i could have used telnet... but with the netstat info above... it wasnt listening | 17:49 |
th1a | Anyhow, you should reset the host in paste.ini to 0.0.0.0 | 17:49 |
defunkt2 | will that liston on all interfaces? | 17:49 |
th1a | http://book.schooltool.org/htmlhelp/remote.html | 17:49 |
*** lisppaste5 has joined #schooltool | 17:49 | |
mgedmin | okay, test #1: same command line, but add 'start' at the end | 17:49 |
th1a | Well, that's the standard thing we do. | 17:50 |
mgedmin | err, test #2 | 17:50 |
mgedmin | that should make paster fork into background, afaiu | 17:50 |
mgedmin | strace will stay in the foreground, though | 17:50 |
mgedmin | hey, wait, you didn't see any output from strace? | 17:50 |
mgedmin | I must've got the syntax wrong :( | 17:50 |
*** ignas has joined #schooltool | 17:51 | |
defunkt2 | thanks th1a... that will work for making the site public... | 17:52 |
defunkt2 | no output from strace... and start was already on the end | 17:53 |
menesis | to start in the background have to add --daemon to paster command line | 17:55 |
menesis | like in /etc/init.d/schooltool-2009 script | 17:56 |
mgedmin | well, the goal is to make the init.d script work | 17:56 |
mgedmin | assuming it still doesn't? | 17:56 |
defunkt2 | let me check again | 17:56 |
defunkt2 | err... seems to ahve started... | 17:57 |
defunkt2 | wtf | 17:57 |
defunkt2 | ok... hang on | 17:57 |
defunkt2 | yea..page loads... | 17:57 |
defunkt2 | so what was done besides changin the port? | 17:57 |
defunkt2 | and manually starting it | 17:58 |
menesis | the port was busy for some strange reason, but now isn't. no idea | 17:59 |
menesis | what value of host worked? | 17:59 |
defunkt2 | 0.0.0.0 | 17:59 |
defunkt2 | th1a suggested that and it worked | 17:59 |
th1a | I think the port was busy because schooltool was running but the port wasn't set to allow outside access. | 17:59 |
defunkt2 | but when we check entstat (posted above) it wasnt lsitening | 18:00 |
th1a | We argue every six months over whether that default should be changed. | 18:00 |
defunkt2 | on any interface (including localhost) | 18:00 |
defunkt2 | lol | 18:00 |
menesis | might be a vmware quirk | 18:01 |
defunkt2 | any thoughts of a mysql backend? | 18:01 |
defunkt2 | !!!XLS IMPORT.... im in love already! | 18:02 |
th1a | Not really on sql backend -- we're pretty far down the other path. | 18:02 |
th1a | I tend to think in the *long* run someone may want sql backends for specific plug-ins, like attendance. | 18:03 |
defunkt2 | if you dont mind me asking... how owuld a bigger school (we wouldnt be an issue im just curios) do load balancing or something like that? | 18:03 |
th1a | ZEO. | 18:03 |
th1a | Does load sharing on a ZODB. | 18:03 |
defunkt2 | hmm.. hadnt heard of ZEO.... but ive never used ZODB | 18:03 |
defunkt2 | cool... is there a feature request page? | 18:04 |
defunkt2 | or am i in it? | 18:04 |
defunkt2 | :P | 18:04 |
th1a | You don't need to know about ZEO if you not running a *big* site with ZODB. | 18:04 |
th1a | You can file bugs in launchpad -- see the bug on the bottom of each page for a link. | 18:04 |
defunkt2 | yea... we would only ahve ~100 users... | 18:05 |
th1a | Or just ask here. | 18:05 |
defunkt2 | i asked more for potential additions or plugins.. | 18:05 |
th1a | What are you thinking about? | 18:05 |
defunkt2 | nothing yet.. but im sure i will ahve a lot of suggestions when i let some of our teacher play around with it | 18:06 |
defunkt2 | they seem to dislike otu current software... so i figured id let them have a whack at this.. | 18:06 |
th1a | Where are you? | 18:06 |
defunkt2 | USA- over by chicago | 18:06 |
th1a | What kind of school. | 18:07 |
th1a | I'm in Providence, btw. | 18:07 |
defunkt2 | oh cool... were a 9-12 high school | 18:08 |
th1a | Private? Charter? | 18:08 |
defunkt2 | public | 18:08 |
th1a | There aren't many regular public schools left in the US with the option of switching SIS's. | 18:09 |
th1a | Everything is getting very centralized. | 18:09 |
defunkt2 | yes.. and the state is being a huge pain in the ass | 18:09 |
defunkt2 | its becoming harder and harder to get the information that the state requires | 18:09 |
th1a | Are you in a multiple high school district? | 18:10 |
defunkt2 | one of the reasons im looking at this is to see how customizable the demographic sections are | 18:10 |
defunkt2 | singl ebuilding single district | 18:10 |
defunkt2 | single tech | 18:10 |
defunkt2 | :P | 18:10 |
th1a | Small town? | 18:10 |
defunkt2 | population of about 5 thousand | 18:10 |
defunkt2 | so yea... pretty little | 18:10 |
th1a | Gotcha. You threw me off with the "over by Chicago" part. | 18:11 |
th1a | Although that might have been helpful to mgedmin. | 18:11 |
defunkt2 | he live around here? | 18:11 |
th1a | He's in Lithuania. | 18:11 |
th1a | So a vague description is enough. ;-) | 18:12 |
defunkt2 | were about 2 hours from chicago... | 18:12 |
defunkt2 | any of you work in a school district? | 18:12 |
th1a | I used to work in Providence. | 18:12 |
defunkt2 | as a tech im assuming? | 18:13 |
th1a | I also worked on a research project that was mostly in Chicago, so I commuted up there about once a month for a while. | 18:13 |
defunkt2 | well... heard of marengo? | 18:13 |
th1a | I went English Teacher > Tech Coordinator > Crazy open source project manager. | 18:13 |
defunkt2 | were off of I90 | 18:13 |
defunkt2 | lol | 18:13 |
th1a | I've heard of the battle. | 18:13 |
defunkt2 | yea... student > part time IT > full time IT and no help... | 18:14 |
defunkt2 | www.mchs154.org | 18:14 |
th1a | Yes, small town schools have their own set of problems. | 18:16 |
defunkt2 | yea... thankfully were pretty well off money wise... but were all laying off people these days | 18:17 |
th1a | Yes... I've been reading about Illinois's budget problems. | 18:18 |
defunkt2 | i think that the media is covering that just fine... *laughs* | 18:19 |
defunkt2 | i know it said soemwhere that you can tie this up with a LDAP server... do you ahvea link or tut on what steps to take... | 18:20 |
th1a | Well... that's... hm... | 18:20 |
th1a | I guess "not officially supported" would be the right phrase. | 18:21 |
th1a | otoh, it should work. | 18:21 |
defunkt2 | lol | 18:21 |
th1a | Have you ever read about CAS? | 18:21 |
defunkt2 | no... how bout RADIUS auth? | 18:21 |
th1a | http://www.jasig.org/cas | 18:22 |
defunkt2 | i read about CAS on that one page i saw about ldap | 18:22 |
*** dlobo has joined #schooltool | 18:22 | |
th1a | Let me put it this way, if, after looking at the rest of SchoolTool, talking with your teachers, etc., you're serious about SchoolTool, we can help you get LDAP going. | 18:23 |
defunkt2 | i wouldnt mind that... was just wondering if it was a "easy way" of setting it up or not | 18:24 |
th1a | No. | 18:24 |
defunkt2 | cool | 18:24 |
th1a | Basically, it was easy for us to slap some standard Python LDAP libraries in and make it work. | 18:25 |
th1a | And if it turns out that lots of people want it, we'll make it more solid. | 18:25 |
th1a | But it should work as is. | 18:25 |
th1a | And our CAS support is actually used in production at one site, so we feel a little more solid about that. | 18:26 |
th1a | Although it involves you adding more stuff on your end. | 18:26 |
th1a | So it is understandable that you wouldn't necessarily want to jump into that if you arent using CAS for your Moodle, etc... | 18:26 |
defunkt2 | yea... if it ties in directly to LDAP (active directory) itd be better... id have to do more readon on CAS | 18:26 |
th1a | What LDAP are you using? | 18:27 |
defunkt2 | we used LDAP on moodle until it fell through... | 18:27 |
defunkt2 | we tie right into active directory 03.. soon to be 08 | 18:27 |
th1a | I don't think we've tried hooking into Active Directory LDAP, which might be a little tricky, from my dim memories of trying to grapple with AD in my school 10 years ago. | 18:28 |
defunkt2 | its not too bad... i did ti with moodle...but that was years ago as well | 18:29 |
defunkt2 | if/when the time comes | 18:29 |
th1a | Actually, that's the main reason we like CAS -- we don't have to be able to help you debug against a random LDAP implementation we have no access to. | 18:32 |
defunkt2 | lol | 18:33 |
defunkt2 | fair enough | 18:33 |
defunkt2 | :P | 18:33 |
defunkt2 | actually i was gonna ask if you guys had a service system... | 18:33 |
th1a | Sometimes it takes me a while to remember the rationale behind these decisions. | 18:33 |
defunkt2 | i would think so peopel dont ask you to fix their issues.... | 18:33 |
defunkt2 | lol | 18:33 |
defunkt2 | i mean... in some cases it would be nice.. but it could get out of hand as well | 18:34 |
th1a | Well, we're just getting to the point of picking up more real users. | 18:35 |
defunkt2 | well i sent an email out to mchenry county technology directors before i installed this as a informative | 18:37 |
defunkt2 | we have a meeting this friday with all the directors in the area.. so this may get brought up | 18:37 |
defunkt2 | honestly... its got a lot of cool features that most SIS sytems dont ahve... | 18:38 |
th1a | There are definitely things you'll notice you need as well though. | 18:38 |
th1a | For example, we're just getting ready to write a transcript report now. | 18:38 |
defunkt2 | but for scheduling and reporting and state reports and stuff... i think ti will lack | 18:38 |
defunkt2 | excatly | 18:38 |
th1a | Of course, another factor is whether or not your budget for the project is greater than $0. | 18:39 |
defunkt2 | yea, thats a huge factor as well | 18:39 |
defunkt2 | alright.. im off to lunch... ill be back on a little later | 18:43 |
defunkt2 | thanks for the help guys | 18:43 |
th1a | np! | 18:43 |
defunkt2 | http://pastebin.com/TWz2sW8d | 19:25 |
defunkt2 | got that after coming back from lunch | 19:25 |
defunkt2 | FYI | 19:25 |
*** dlobo has quit IRC | 19:31 | |
*** ignas has quit IRC | 19:31 | |
*** jelkner has quit IRC | 19:36 | |
defunkt2 | i get that error when i click on the intervention button at the top... | 19:39 |
*** ignas has joined #schooltool | 19:46 | |
Lumiere | defunkt2: check the schooltool book (book.schooltool.org) there are some basics to setup first (school year, term, etc) | 19:55 |
Lumiere | then you may want to file a bug that it crashes if no year is made (instead of saying ... need a year) | 19:56 |
* Lumiere -> meeting | 19:56 | |
defunkt2 | yea.. im looking for terms now... im on the site | 19:56 |
defunkt2 | im just playing right now... | 19:56 |
*** menesis has quit IRC | 20:16 | |
*** dlobo has joined #schooltool | 20:26 | |
*** ignas has quit IRC | 20:38 | |
*** mgedmin has quit IRC | 20:45 | |
th1a | defunkt2: I thought that bug was fixed. | 21:20 |
th1a | aelkner: ayt? | 21:20 |
defunkt2 | well i may not ahve everything setup how it should be... however i would think it should show a "Please set up <whatever> before you can access this." | 21:24 |
*** menesis has joined #schooltool | 21:27 | |
*** menesis has quit IRC | 22:24 | |
*** dlobo has quit IRC | 22:27 | |
*** pcardune has joined #schooltool | 22:49 | |
replaceafill | th1a, in a new installation you get a "The operation you attempted cannot be completed..." when you hit Intervention | 23:04 |
replaceafill | th1a, aelkner you get the error when you have no schoolyear, you create a person and then hit the "Intervention Center" button in the person view | 23:12 |
replaceafill | th1a, aelkner, defunkt2: bug reported https://bugs.launchpad.net/schooltool.intervention/+bug/540530 | 23:23 |
*** dlobo has joined #schooltool | 23:36 | |
aelkner | that error is fixed in trunk but not yet released as an egg | 23:46 |
defunkt2 | lol.. ok | 23:49 |
replaceafill | aelkner, you mean this https://bugs.launchpad.net/schooltool.intervention/+bug/480616 ? | 23:51 |
aelkner | yes | 23:52 |
replaceafill | but that refers to the Intervention tab, correct? | 23:53 |
aelkner | it does | 23:55 |
replaceafill | this you get it from the person view | 23:56 |
aelkner | ah yes, i see | 23:56 |
replaceafill | :/ | 23:57 |
aelkner | looking at that view right now | 23:57 |
aelkner | that view does not have that protection, so yes, that would be a bug | 23:58 |
replaceafill | thanks to defunkt2 :) | 23:58 |
aelkner | i will fix that in time for the next egg release | 23:58 |
*** dlobo has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!