services didnt start

Bug #1356461 reported by Christian Tipantuna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
New
Undecided
Unassigned

Bug Description

schooltool STARTING
services:celery_report EXITED Aug 13 04:06 PM
services:redis RUNNING pid 25239, uptime 0:00:34
services:zeo EXITED Aug 13 04:06 PM

Revision history for this message
Douglas Cerna (replaceafill) wrote :

A couple of questions:

What version of SchoolTool are you using? Is it a new installation or did you change some configuration to an old one?

Could you please attach these log files:

/var/log/schooltool/error.log
/var/log/schooltool/celery_report.log
/var/log/schooltool/paste.log

Thanks.

Revision history for this message
Christian Tipantuna (ctipantuna) wrote :
Download full text (34.8 KiB)

2014-08-11 00:11:03,119 ['/var/run/schooltool/zeo.sock'] ClientStorage (pid=24957) created RW/normal for storage: '1'
2014-08-11 00:11:03,229 created temporary cache file '<fdopen>'
2014-08-11 00:11:03,273 ['/var/run/schooltool/zeo.sock'] Testing connection <ManagedClientConnection /var/run/schooltool/zeo.sock>
2014-08-11 00:11:03,283 (/var/run/schooltool/zeo.sock) received handshake 'Z3101'
2014-08-11 00:11:03,422 ['/var/run/schooltool/zeo.sock'] Server authentication protocol None
2014-08-11 00:11:03,429 ['/var/run/schooltool/zeo.sock'] Connected to storage: /var/run/schooltool/zeo.sock
2014-08-11 00:11:03,430 ['/var/run/schooltool/zeo.sock'] No verification necessary -- empty cache
2014-08-11 00:11:03,531 main db: evolving in mode EVOLVEMINIMUM
2014-08-11 00:22:37,812 ['/var/run/schooltool/zeo.sock'] ClientStorage (pid=17638) created RW/normal for storage: '1'
2014-08-11 00:22:37,930 created temporary cache file '<fdopen>'
2014-08-11 00:22:37,980 ['/var/run/schooltool/zeo.sock'] Testing connection <ManagedClientConnection /var/run/schooltool/zeo.sock>
2014-08-11 00:22:37,981 (/var/run/schooltool/zeo.sock) received handshake 'Z3101'
2014-08-11 00:22:38,083 ['/var/run/schooltool/zeo.sock'] Server authentication protocol None
2014-08-11 00:22:38,111 ['/var/run/schooltool/zeo.sock'] Connected to storage: /var/run/schooltool/zeo.sock
2014-08-11 00:22:38,112 ['/var/run/schooltool/zeo.sock'] No verification necessary -- empty cache
2014-08-11 00:22:38,219 main db: evolving in mode EVOLVEMINIMUM
2014-08-11 00:24:57,719 ['/var/run/schooltool/zeo.sock'] ClientStorage (pid=23106) created RW/normal for storage: '1'
2014-08-11 00:24:57,941 created temporary cache file '<fdopen>'
2014-08-11 00:24:58,111 (/var/run/schooltool/zeo.sock) received handshake 'Z3101'
2014-08-11 00:24:58,111 ['/var/run/schooltool/zeo.sock'] Testing connection <ManagedClientConnection /var/run/schooltool/zeo.sock>
2014-08-11 00:24:58,165 ['/var/run/schooltool/zeo.sock'] Server authentication protocol None
2014-08-11 00:24:58,190 ['/var/run/schooltool/zeo.sock'] Connected to storage: /var/run/schooltool/zeo.sock
2014-08-11 00:24:58,191 ['/var/run/schooltool/zeo.sock'] No verification necessary -- empty cache
2014-08-11 00:24:58,295 main db: evolving in mode EVOLVEMINIMUM
2014-08-11 00:26:39,163 ['/var/run/schooltool/zeo.sock'] ClientStorage (pid=26746) created RW/normal for storage: '1'
2014-08-11 00:26:39,458 created temporary cache file '<fdopen>'
2014-08-11 00:26:39,583 ['/var/run/schooltool/zeo.sock'] Testing connection <ManagedClientConnection /var/run/schooltool/zeo.sock>
2014-08-11 00:26:39,587 (/var/run/schooltool/zeo.sock) received handshake 'Z3101'
2014-08-11 00:26:39,704 ['/var/run/schooltool/zeo.sock'] Server authentication protocol None
2014-08-11 00:26:39,714 ['/var/run/schooltool/zeo.sock'] Connected to storage: /var/run/schooltool/zeo.sock
2014-08-11 00:26:39,715 ['/var/run/schooltool/zeo.sock'] No verification necessary -- empty cache
2014-08-11 00:26:39,825 main db: evolving in mode EVOLVEMINIMUM
2014-08-11 00:27:56,232 ['/var/run/schooltool/zeo.sock'] ClientStorage (pid=29948) created RW/normal for storage: '1'
2014-08-11 00:27:56,331 created temporary cache fi...

Revision history for this message
Christian Tipantuna (ctipantuna) wrote :

I didn´t any changes, how do I see the school tool version?

Revision history for this message
Douglas Cerna (replaceafill) wrote :

Your error.log file doesn't show anything wrong. Could you attach the other two files?

To find SchoolTool's version run this command in a terminal (and paste the output here):

$ apt-cache policy schooltool

Revision history for this message
Christian Tipantuna (ctipantuna) wrote :

the others files have 0 kb.

root@cloud-server-06-ubuntu:~# apt-cache policy schooltool
Segmentation fault

how could I reinstalll the school tool with default configuration?

Revision history for this message
Douglas Cerna (replaceafill) wrote :

Try (alternative to get SchoolTool's version):

$ dpkg -s schooltool

Are you just testing/trying SchoolTool or is this a "production" server? What version of Ubuntu are you running? Out of curiosity, how much RAM do you have in this server?

Revision history for this message
Christian Tipantuna (ctipantuna) wrote :

 dpkg -s schooltool
Package: schooltool
Status: install ok installed
Priority: extra
Section: education
Installed-Size: 110
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Version: 1:2.6.3-0ubuntu2
Provides: schooltool-server
Depends: adduser, lsb-base, python-schooltool, redis-server, supervisor
Pre-Depends: python-pastescript
Recommends: python-schooltool.gradebook, python-schooltool.lyceum.journal, python-schooltool.intervention, python-schooltool.cando
Conffiles:
 /etc/init.d/schooltool 8322be980838b9969a90d56a715acf58
 /etc/schooltool/standard/schooltool.conf cd06edf007d5dd61f2adb792e850a1bb
 /etc/schooltool/standard/zeo.conf 00f41c056f114850af6412402e04259f
 /etc/schooltool/standard/redis.conf 3f982f9620e70c7bf77ca4e62a9457ec
 /etc/schooltool/standard/result-server.zcml e4d56aad8c3deae5df73c5192510c977
 /etc/schooltool/standard/paste.ini 2a8cf34601c11e1b7ca3e3159b4cccb5
 /etc/schooltool/standard/supervisord.conf 9f2d33f671c4c8680115ea377bfbe0a9
 /etc/schooltool/standard/site.zcml 6ae6aa705b3b96b14f48b34fc8c012e0
 /etc/schooltool/standard/report-server.zcml 77dfa95895404cff066d757f4e7219f7
 /etc/logrotate.d/schooltool f9b97b33905da508b2c8c5fc90e811d0
Description: Suite of free administrative software for schools
 This is the standard distribution of SchoolTool, providing a running
 web-based student information system for a single school, including
 calendaring, student enrollment and demographics, gradebooks, attendance,
 intervention tracking and reporting.
Homepage: http://www.schooltool.org/
Original-Maintainer: Gediminas Paulauskas <email address hidden>

----------------------------------------------------------------------------------
root@cloud-server-06-ubuntu:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
---------------------------------------------------------------------------------
root@cloud-server-06-ubuntu:~# free -m
             total used free shared buffers cached
Mem: 488 285 202 0 12 170
-/+ buffers/cache: 102 385
Swap: 0 0 0

--------------------------------------------------------------------------------

I am testing school tool.

Revision history for this message
Douglas Cerna (replaceafill) wrote :

I may be wrong, but in my opinion, the issue is that your server has not enough RAM, and more importantly no swap space (the segmentation fault you reported is also very suspicious). I've seen processes dying with memory errors in this scenario. I recommend you to either upgrade your RAM or test using another approach (like a local virtual machine).

To uninstall SchoolTool you can:

$ sudo apt-get purge schooltool

Some directories will not be removed (because they contain data), but if you don't have important data in the instance and you want to start completely clean again, you can remove them manually:

$ sudo rm -rf /var/lib/schooltool/
$ sudo rm -rf /var/log/schooltool/
$ sudo rm -rf /var/run/schooltool/
$ sudo rm -rf /etc/schooltool

Then you can install again:

$ sudo apt-get install schooltool

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.