paste.ini messed up?
I might have messed up the paste ini , theres no browser access? Have I done a bad change??
Heres the paste.ini as it currently sits
[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 = 127.0.0.1
port = 7080
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SchoolTool Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Gediminas Paulauskas
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
should add, ive tried to remove and redownload schooltool via the Ubuntu software cemtre and it still didnt work.
Mark
Revision history for this message
|
#2 |
This file looks correct. What is the output of
sudo service schooltool status
All four processes should be RUNNING.
And see if there are any errors in /var/log/
Revision history for this message
|
#3 |
Hi thanks for the help, heres the status
schooltool FATAL Exited too quickly (process log
may have details)
services:
services:redis RUNNING pid 1245, uptime 0:01:37
services:zeo RUNNING pid 1246, uptime 0:01:37
and heres the attempt at getting the log
phil@ubuntu:~$ /var/log/
bash: /var/log/
so I might need advice even for this?
Mark
On Sun, Nov 3rd, 2013 at 11:26 PM, Gediminas Paulauskas
<email address hidden> wrote:
> Your question #238505 on SchoolTool changed:
> https:/
>
> Status: Open => Needs information
>
> Gediminas Paulauskas requested more information:
> This file looks correct. What is the output of
>
> sudo service schooltool status
>
> All four processes should be RUNNING.
>
> And see if there are any errors in /var/log/
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
>
Revision history for this message
|
#4 |
2013/11/4 mark mcdougall <email address hidden>
> schooltool FATAL Exited too quickly (process log
> may have details)
> services:
> services:redis RUNNING pid 1245, uptime 0:01:37
> services:zeo RUNNING pid 1246, uptime 0:01:37
>
Right, schooltool process fails to start. But need the log to see why.
> and heres the attempt at getting the log
> phil@ubuntu:~$ /var/log/
> bash: /var/log/
>
You tried to execute the log file. Use 'less' command.
$ sudo less /var/log/
and
$ sudo less /var/log/
Press 'End' to scroll to the end. See if there are any errors.
Press 'q' to exit.
--
Gediminas
Revision history for this message
|
#5 |
Hi, for the paste command heres the log,
Traceback (most recent call last):
File "/usr/bin/
load_
'start-
File "/usr/lib/
in main
paste.
File "/usr/lib/
in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/
in invoke
exit_code = runner.run(args)
File "/usr/lib/
in run
result = self.command()
File "/usr/lib/
command
self.
File "/usr/lib/
in logging_file_config
parser.
File "/usr/lib/
self._read(fp, filename)
File "/usr/lib/
raise e
ConfigParser.
/etc/schooltool
[line 30]: 'D\n'
[line 31]: 'D\n'
[line 33]: 'p\n'
[line 34]: 'A\n'
[line 35]: 'B\n'
Traceback (most recent call last):
File "/usr/bin/
load_
'start-
File "/usr/lib/
in main
paste.
File "/usr/lib/
in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/
in invoke
exit_code = runner.run(args)
File "/usr/lib/
in run
result = self.command()
File "/usr/lib/
command
self.
File "/usr/lib/
in logging_file_config
parser.
File "/usr/lib/
self._read(fp, filename)
File "/usr/lib/
raise e
ConfigParser.
/etc/schooltool
[line 30]: 'D\n'
[line 31]: 'D\n'
[line 33]: 'p\n'
[line 34]: 'A\n'
[line 35]: 'B\n'
Traceback (most recent call last):
File "/usr/bin/
load_
'start-
File "/usr/lib/
in main
paste.
File "/usr/lib/
in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/
in invoke
exit_code = runner.run(args)
File "/usr/lib/
in run
result = self.command()
File "/usr/lib/
command
self.
File "/usr/lib/
in logging_file_config
parser.
File "/usr/lib/
self._read(fp, filename)
File "/usr/lib/
raise e
ConfigParser.
/etc/schooltool
[line 30]: 'D\n'
[line 31]: 'D\n'
[line 33]: 'p\n'
[line 34]: 'A\n'
[line 35]: 'B\n'
Traceback (most recent call last):
File "/usr/bin/
load_
'start-
File "/usr/lib/
in main
paste.
File "/usr/lib/
in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/
in invoke
exit_code = runner.run(args)
File "/usr/lib/
in run
result = self.command()
File "/usr/lib/
command
self.
File "/usr/lib/
in logging_file_config
parser.
File "/usr/lib/
self._read(fp, filename)
File "/usr/lib/
raise e
ConfigParser.
/etc/schooltool
[line 30]: 'D\n'
[line 31]: 'D\n'
[line 33]: 'p\n'
[line 34]: 'A\n'
[line 35]: 'B\n'
For the error command there was no list
Hope this helps?
Thanks again,
Mark
On Mon, Nov 4th, 2013 at 9:46 AM, Gediminas Paulauskas
<email address hidden> wrote:
> Your question #238505 on SchoolTool changed:
> https:/
>
> Status: Open => Answered
>
> Gediminas Paulauskas proposed the following answer:
> 2013/11/4 mark mcdougall <email address hidden>
>
> > schooltool FATAL Exited too quickly (process
> log
> > may have details)
> > services:
> > services:redis RUNNING pid 1245, uptime 0:01:37
> > services:zeo RUNNING pid 1246, uptime 0:01:37
> >
>
> Right, schooltool process fails to start. But need the log to see why.
>
>
> > and heres the attempt at getting the log
> > phil@ubuntu:~$ /var/log/
> > bash: /var/log/
> >
>
> You tried to execute the log file. Use 'less' command.
>
> $ sudo less /var/log/
>
> and
>
> $ sudo less /var/log/
>
> Press 'End' to scroll to the end. See if there are any errors.
>
> Press 'q' to exit.
>
>
> --
> Gediminas
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
>
Revision history for this message
|
#6 |
Strange. What you pasted at first is correct, but it seems there is something at the end of the paste.ini file.
Try removing schooltool and configuration files, and then reinstall.
$ sudo apt-get purge schooltool
$ sudo apt-get install schooltool
Revision history for this message
|
#7 |
Purging configuration files for schooltool ...
rmdir: failed to remove `/var/log/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/run/
dpkg: warning: while removing schooltool, directory
'/etc/schooltoo
Processing triggers for ureadahead ...
Hi, looks like this is the problem? Then it doesnt reload properly?
Mark
On Mon, Nov 4th, 2013 at 10:46 AM, Gediminas Paulauskas
<email address hidden> wrote:
> Your question #238505 on SchoolTool changed:
> https:/
>
> Status: Open => Answered
>
> Gediminas Paulauskas proposed the following answer:
> Strange. What you pasted at first is correct, but it seems there is
> something at the end of the paste.ini file.
>
> Try removing schooltool and configuration files, and then reinstall.
>
> $ sudo apt-get purge schooltool
> $ sudo apt-get install schooltool
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
>
Revision history for this message
|
#8 |
There are some other files in that directory, therefore the directory could not be removed. You can remove it by hand
$ sudo rm -r /etc/schooltool
or, I think, the configuration files should be removed anyway, so reinstall should have helped.
Revision history for this message
|
#9 |
newly installed and operational,
thanks for the patient assistance,
mark
Revision history for this message
|
#10 |
For the record, apt-get purge does remove your data files, not only configuration.
To restore a single file to default,
$ sudo rm /etc/schooltool
$ sudo apt-get -o DPkg::options:
This will not touch other config files (unless they are missing, too) and leave data intact.
Revision history for this message
|
#11 |
Hi Douglas, my school tool is failling to start and showing this error below, It happened after running new updates,How do i go around this problem
Regards
Yakub B
schooltool FATAL Exited too quickly (process log may have details)
services:
services:redis RUNNING pid 4587, uptime 0:00:15
services:zeo RUNNING pid 4588, uptime 0:00:15