Multiple Instances not working
I was tryng to set up a second instance of schooltool on my server. Now the new instance does not work at all, but if I stop the new service (/init.
here are the files that I changed for the new instance:
/etc/init.
#######
#!/bin/sh
### BEGIN INIT INFO
# Provides: schooltool
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: SchoolTool server
### END INIT INFO
PATH=/usr/
DAEMON=
CONTROL=
NAME=roanoke
DESC="Roanoke SchoolTool"
SERVER=roanoke
INSTANCE=roanoke
CONFIGFILE=
DAEMON_OPTS="-c $CONFIGFILE"
PIDFILE=
DODTIME=5 # Time to wait for the server to die, in seconds
......
#######
/etc/schooltool
#######
# Standard SchoolTool server configuration file
# Site definition file (Do not change unless you know what you're doing):
site-definition /etc/schooltool
# Task server definition files:
result-
report-
# Where should the server store all data?
<zodb>
# <filestorage> traditional FileStorage
# path filename required
# create yes|no default: yes
# read-only yes|no default: no
# quota size default: no quota
# blob-dir directory directory to hold blob data
# </filestorage>
<filestorage>
path /var/lib/
</filestorage>
......
error-log-file /var/log/
#
# web-access-log-file
#
.........
#
web-access-log-file /var/log/
#######
/etc/schooltool
#######
[composite:main]
use = egg:Paste#urlmap
/ = schooltool
/schooltool.
[app:schooltool]
use = egg:schooltool#main
config_
[app:task_results]
use = egg:schooltool#
config_
[server:main]
use = egg:zope.server
host = 0.0.0.0
port = 7082
#######
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SchoolTool Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask John Davis for more information if necessary.