~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/setup/faq.txt

  • Committer: drtomc
  • Date: 2008-01-31 08:11:37 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:352
Changed console so it no longer uses HTTP, just sends JSON over a normal socket.
Reason: Easier to control (since web.py offered limited control over *when* to Daemonise). Ultimately, this was necessary to get the port allocation strategy working.

* Replaced the HTTP / web.py code with socket code. (Web.py is no longer a dependency).
* Sundry bug fixes.
* Daemonization code - moved out of a Shell "&" call on the Apache side to a proper Daemon code on the spawned server side.

The upshot is we can now spawn any number of servers. Console is DONE for Alpha release.


YOU HAVE NO IDEA HOW TRICKY THIS WAS!!!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Install Procedure - Frequently Asked Questions
2
 
==============================================
3
 
 
4
 
This is a guide for administrators trying to configure IVLE. It answers
5
 
questions about common installation mistakes.
6
 
 
7
 
IVLE displays a generic Terms of Service notice
8
 
===============================================
9
 
 
10
 
You should customize the TOS notice at /var/lib/ivle/notices/tos.html.
11
 
 
12
 
Apache Server isn't Restarting
13
 
==============================
14
 
 
15
 
Make sure no console processes are lying around (e.g. sudo killall
16
 
python), then restart with "sudo /etc/init.d/apache2 restart".  If the issue
17
 
persists, try stopping the server and starting it in two separate
18
 
steps, so you see the errors reported by the start script.
19
 
 
20
 
Try to log in, and I'm just dumped back to the login screen with no error
21
 
=========================================================================
22
 
 
23
 
This is usually because IVLE can't save your session information. IVLE saves
24
 
sessions to a sessions directory on disk. Unfortunately, this is not currently
25
 
configurable in ./setup.py config. You need to edit the Apache config file.
26
 
 
27
 
Look for PythonOption mod_python.file_session.database_directory. Make sure it
28
 
is set to the place you want. Then, you need to manually make sure that
29
 
directory exists.
30
 
 
31
 
The default is /var/lib/ivle/sessions.