Failed to connect
I typed http://
and it gave me an error sign. I'm using firefox 3 beta 5 in Ubuntu (8.04).
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SchoolTool Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Related bugs
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
Failed to Connect
Firefox can't establish a connection to the server at localhost:7080.
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
Revision history for this message
|
#2 |
Sorry now I discovered the webpage.....http://
But there were some problems in the terminal........It got stuck for a long time on:
Reading configuration from /home/daniel/
Starting server in PID 9180.
2008-05-21 06:34:59,428 Cannot use kill_thread_limit as ctypes/killthread is not available
serving on http://
Revision history for this message
|
#3 |
Is it working now or are you still unable to connect?
Revision history for this message
|
#4 |
Yes.
Looking above (cannot use kill_thread_limit as ctypes.....), can I continue somewhere in the terminal maybe I'll be lucky?
Revision history for this message
|
#5 |
The message above doesn't indicate that the server is "stuck," but that it is running. Did you try using 127.0.0.1 instead of "localhost?" Also, are you using a svn checkout rather than the release debs?
Revision history for this message
|
#6 |
What command do I need to write in the terminal to try 127 ....etc ?
Please explain svn checkout and release debs.
Revision history for this message
|
#7 |
In firefox, try http://
Also, did you follow these instructions? http://
Revision history for this message
|
#8 |
Schooltool was working perfectly before I installed XAMPP on the same machine and tried connecting with http://
Revision history for this message
|
#9 |
Can you post the contents of your /etc/hosts file?
Try connecting to http://
Try "ping 127.0.0.1" "ping localhost"
Revision history for this message
|
#10 |
127.0.0.1 localhost
192.168.0.1 ubunSvr710
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Above is the content of /etc/hosts file and ping 127.0.0.1 replied correctly
Revision history for this message
|
#11 |
Hi Ignas,
I can ping 127.0.0.1 and it replies. Below is the content of /etc/hosts file
127.0.0.1 localhost
192.168.0.1 ubunSvr710
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
This problem started after i installed xampp, and u know xampp also use localhost for testing page, so i uninstalled xampp, yet the prolem persist. When I tried to restart schooltool, it says :
* Restarting SchoolTool-2008... Changing user to schooltool:
No PID file exists in /var/run/
Could not stop daemon; aborting
Please help.
Regards!
David
----- Original Message ----
From: Ignas Mikalajūnas <email address hidden>
To: <email address hidden>
Sent: Tuesday, September 16, 2008 9:43:51 PM
Subject: Re: [Question #33763]: Failed to connect
Question #33763 on SchoolTool changed:
https:/
Ignas Mikalajūnas requested for more information:
Can you post the contents of your /etc/hosts file?
Try connecting to http://
Try "ping 127.0.0.1" "ping localhost"
--
You received this question notification because you are a direct
subscriber of the question.
Revision history for this message
|
#12 |
Dear all,
I just interested Schooltool. I installed schooltool - 2008, it run ok. When the Schooltool -2009 open, I updated Schooltool- 2008 to Schooltool-2009. And then I configure Schooltool view in Vietnamese language. I saw it didnt view very well. I have removed Schooltool and reInstalled it successfully. But when I run http://
I try many ways but http://
Can you help me fix this problems?
Thanks and the best regards,
Revision history for this message
|
#13 |
There are problems starting schooltool after installation, so please try starting it
/etc/
and then http://
Revision history for this message
|
#14 |
I have same problem.
Tried: starting it
/etc/
no go
Output:
:~$ /etc/init.
open: Permission denied
* Starting SchoolTool 2009... Traceback (most recent call last):
File "/usr/bin/paster", line 8, in <module>
load_
File "/var/lib/
invoke(command, command_name, options, args[1:])
File "/var/lib/
exit_code = runner.run(args)
File "/var/lib/
result = self.command()
File "/var/lib/
self.
File "/var/lib/
os.setgid(gid)
OSError: [Errno 1] Operation not permitted
open: Permission denied
open: Permission denied
Revision history for this message
|
#15 |
Yes, permission will be denied like that. You need root access to issue that command. So issue it like this;
sudo /etc/init.
it will work this time.
David
_______
From: merkin <email address hidden>
To: <email address hidden>
Sent: Tuesday, June 9, 2009 4:49:02 PM
Subject: Re: [Question #33763]: Failed to connect
Question #33763 on SchoolTool changed:
https:/
merkin requested for more information:
I have same problem.
Tried: starting it
/etc/
no go
Output:
:~$ /etc/init.
open: Permission denied
* Starting SchoolTool 2009... Traceback (most recent call last):
File "/usr/bin/paster", line 8, in <module>
load_
File "/var/lib/
invoke(command, command_name, options, args[1:])
File "/var/lib/
exit_code = runner.run(args)
File "/var/lib/
result = self.command()
File "/var/lib/
self.
File "/var/lib/
os.setgid(gid)
OSError: [Errno 1] Operation not permitted
open: Permission denied
open: Permission denied
--
You received this question notification because you are a direct
subscriber of the question.
Revision history for this message
|
#16 |
tiny@tiny-
* Restarting SchoolTool 2009... No PID file exists in /var/run/
Could not stop daemon; aborting
Revision history for this message
|
#17 |
tiny@tiny-
* Restarting SchoolTool 2009... No PID file exists in /var/run/
Could not stop daemon; aborting
please get be back the answer at <email address hidden>
Revision history for this message
|
#18 |
I'm not sure why you're REstarting. This error is telling you it isn't already running. Can you just start SchoolTool?
Revision history for this message
|
#19 |
Yes, schooltool-2009 script is a bit dumb, you can't restart a service that is not running.
$ sudo /etc/init.
should work.
Can you help with this problem?
Provide an answer of your own, or ask Daniel for more information if necessary.