1
.. IVLE - Informatics Virtual Learning Environment
2
Copyright (C) 2007-2009 The University of Melbourne
4
.. This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or
7
(at your option) any later version.
9
.. This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
.. You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
**************************
21
Frequently Asked Questions
22
**************************
24
This is a list of Frequently Asked Questions for IVLE. It answers questions
25
about common issues encountered when configuring or running the system.
32
... change the Terms of Service notice?
33
---------------------------------------
35
You should customize the ToS notice at :file:`/var/lib/ivle/notices/tos.html`.
43
... Apache not restart?
44
-----------------------
46
Make sure no console processes are lying around (e.g. sudo killall
47
python), then restart with ``sudo /etc/init.d/apache2 restart``. If the issue
48
persists, try stopping the server and starting it in two separate
49
steps, so you see the errors reported by the start script.
51
... IVLE dump me back to the login screen with no error when I try to login?
52
----------------------------------------------------------------------------
54
This is usually because IVLE can't save your session information. IVLE saves
55
sessions to a sessions directory on disk. Unfortunately, this is not currently
56
configurable in :file:`./setup.py` config. You need to edit the Apache config
59
Look for ``PythonOption mod_python.file_session.database_directory``. Make
60
sure it is set to the place you want. Then, you need to manually make sure
61
that directory exists.
63
The default is :file:`/var/lib/ivle/sessions`.
66
... ivle-buildjail fail with 'Error: Jail contains world writable path'
67
-----------------------------------------------------------------------
69
When running :program:`ivle-buildjail` you may occasionally see an error
72
Error: Jail contains world writable path:
73
'/var/lib/ivle/jails/__base_build__/tmp/.ICE-unix'.
74
This is a security vulnerability as jail template contents are shared
75
between users. Please either make this path world unwriteable or remove it
78
This means that writable files exist in the Jail template. If left in the jail
79
then users would be able to edit a file that is shared between all jail
80
instances. The usual solution is just to remove these file from the jail build
81
directory and try again.
83
At present it is not possible to include world writable files outside a user's
84
home directory so if this file is deliberately included you will need to
85
ensure that it is not world writeable.
88
... the console return 'Console Restart' messages
89
-------------------------------------------------
91
There are three cases where a console may be restarted:
93
1. **Console Restart: The IVLE console has timed out due to inactivity**
95
The Python console process is no longer running. This is most likey due to
96
the console process being automatically terminated due to no messages
97
being sent or received by the console in the previous 15 minutes.
99
This message can also be triggered if the console is terminated for
100
another reason (such as being sent :const:`SIGKILL` from the system
101
command line or any other fatal signal).
103
2. **Console Restart: CPU Time Limit Exceeded**
105
To prevent exhaustion of local system resources, Python console processes
106
are set with an CPU Time Limit of 25 seconds of user time (time executing
107
on the CPU rather than real "clock-on-the-wall" time).
109
This setting can be configured by changing the values associated with
110
:const:`RLIMIT_CPU` in :file:`bin/trampoline/trampoline.c`.
112
3. **Console Restart: Communication to console process lost**
114
IVLE was unable to understand a response from the console process. This
115
will only happen if the console sends a malformed response and quite
118
4. **Console Restart: Communication to console process reset**
120
IVLE's TCP connection to the console process was reset. May indicate