Spartacus / Connection refused
Spartacus / Connection refused
I installed S9y on Qweb TS-101 NAS server. It runs PPC linux 2.16 and Apache plus PHP4+Sqlite. The installation works smoothly.
But I was not able to run "Spartacus" plugin. It gives me the "connection refused" error.
Can any one help me to resolve this problem.
Below is the error message.
Sidebar Plugins
Trying to open URL package_sidebar_en.xml...
Connection refused
Notice: Connection refused in /share/HDA_DATA/Qweb/serendipity/bundled-libs/PEAR.php on line 848
Connection refused
But I was not able to run "Spartacus" plugin. It gives me the "connection refused" error.
Can any one help me to resolve this problem.
Below is the error message.
Sidebar Plugins
Trying to open URL package_sidebar_en.xml...
Connection refused
Notice: Connection refused in /share/HDA_DATA/Qweb/serendipity/bundled-libs/PEAR.php on line 848
Connection refused
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
package_sidebar_en.xml
package_template.xml
package_event_en.xml
Are all the files that the Spartacus plugin needs to save to your server and contains a list of plugins/templates available. These are stored in your templates_c folder and if this folder isn't writable by Apache then you get this error message.
Simply making the folder 777 should fix the problem, although one of the other developers might suggest another set of permissions. Hope that helps, Carl
package_template.xml
package_event_en.xml
Are all the files that the Spartacus plugin needs to save to your server and contains a list of plugins/templates available. These are stored in your templates_c folder and if this folder isn't writable by Apache then you get this error message.
Simply making the folder 777 should fix the problem, although one of the other developers might suggest another set of permissions. Hope that helps, Carl
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Actually if you get a "Connection refused" error it means your webserver is not able to create an outgoing connection.
This is because your server seems to be firewalled for outgoing connections. Are you able to change that, to allow outgoing port 80?
Regards,
Garvin
Actually if you get a "Connection refused" error it means your webserver is not able to create an outgoing connection.
This is because your server seems to be firewalled for outgoing connections. Are you able to change that, to allow outgoing port 80?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi,garvinhicking wrote:Hi!
Actually if you get a "Connection refused" error it means your webserver is not able to create an outgoing connection.
This is because your server seems to be firewalled for outgoing connections. Are you able to change that, to allow outgoing port 80?
Regards,
Garvin
I have a similiar error:
Code: Select all
Versuche URL package_sidebar_de.xml zu öffnen...
Connection refused
Notice: Connection refused in /home/username/www.domainname.de/bundled-libs/PEAR.php on line 848
Connection refusedCode: Select all
allow_url_fopen = OnThanks in advance
joerg
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Which mirror did you configure to be used by the spartacus event plugin? Set it to 'netmirror.org' or 'sf.net' only, one of those would need to work.
If it doesn't, it actually really only can mean that the server is firewalling outgoing port 80...
Regards,
Garvin
Which mirror did you configure to be used by the spartacus event plugin? Set it to 'netmirror.org' or 'sf.net' only, one of those would need to work.
If it doesn't, it actually really only can mean that the server is firewalling outgoing port 80...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi,garvinhicking wrote:Hi!
Which mirror did you configure to be used by the spartacus event plugin? Set it to 'netmirror.org' or 'sf.net' only, one of those would need to work.
If it doesn't, it actually really only can mean that the server is firewalling outgoing port 80...
Regards,
Garvin
I tried both settings
I'm able to ssh to the server. When I call W3m with www.google.com, it works. I think this makes sure port 80 is not blocked. Am I right with this assumption ?
Joerg
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Upload a script google.php in your s9y directory:
What does that show you?
Regards,
Garvin
That must not mean something, it can be that only PHP is firewalled.I'm able to ssh to the server. When I call W3m with www.google.com, it works. I think this makes sure port 80 is not blocked. Am I right with this assumption ?
Upload a script google.php in your s9y directory:
Code: Select all
<?php
echo htmlspecialchars(file_get_contents('http://www.google.de/'));
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi,garvinhicking wrote:Hi!
What does that show you?
Regards,
Garvin
Here is the output:
Code: Select all
<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><title>Google</title><style><!-- body,td,a,p,.h{font-family:arial,sans-serif} .h{font-size:20px} .h{color:#3366cc} .q{color:#00c} --></style> <script> <!-- function sf(){document.f.q.focus();} // --> </script> </head><body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000 onload="sf();if(document.images){new Image().src='/images/nav_logo2.png'}" topmargin=3 marginheight=3><center><div align=right id=guser style="font-size:84%;padding-bottom:4px" width=100%><nobr><a href="/url?sa=p&pref=ig&pval=3&q=http://www.google.de/ig%3Fhl%3Dde&usg=__Z0CJbWM4HlSgUfAvcqREfrp5hxE=">Diese Seite personalisieren</a> | <a href="https://www.google.com/accounts/Login?continue=http://www.google.de/&hl=de">Anmelden</a></nobr></div><img alt="Google" height=110 src="/intl/de_de/images/logo.gif" width=301><br><br><form action="/search" name=f><script defer><!-- //--> </script><table border=0 cellspacing=0 cellpadding=4><tr><td nowrap><font size=-1><b>Web</b> <a class=q href="http://images.google.de/imghp?ie=ISO-8859-1&oe=ISO-8859-1&hl=de&tab=wi">Bilder</a> <a class=q href="http://groups.google.de/grphp?ie=ISO-8859-1&oe=ISO-8859-1&hl=de&tab=wg">Groups</a> <a class=q href="http://news.google.de/nwshp?ie=ISO-8859-1&oe=ISO-8859-1&hl=de&tab=wn">News</a> <a class=q href="http://froogle.google.de/frghp?ie=ISO-8859-1&oe=ISO-8859-1&hl=de&tab=wf">Froogle</a> <b><a href="/intl/de/options/" class=q>Mehr »</a></b></font></td></tr></table><table cellpadding=0 cellspacing=0><tr valign=top><td width=25%> </td><td align=center nowrap><input name=hl type=hidden value=de><input type=hidden name=ie value="ISO-8859-1"><input maxlength=2048 name=q size=55 title="Google-Suche" value=""><br><input name=btnG type=submit value="Google-Suche"><input name=btnI type=submit value="Auf gut Glück!"></td><td nowrap width=25%><font size=-2> <a href=/advanced_search?hl=de>Erweiterte Suche</a><br> <a href=/preferences?hl=de>Einstellungen</a><br> <a href=/language_tools?hl=de>Sprachtools</a></font></td></tr><tr><td align=center colspan=3><font size=-1>Suche: <input id=all type=radio name=meta value="" checked><label for=all> Das Web </label><input id=lgr type=radio name=meta value="lr=lang_de"><label for=lgr> Seiten auf Deutsch </label><input id=cty type=radio name=meta value="cr=countryDE"><label for=cty> Seiten aus Deutschland </label></font></td></tr></table></form><br><br><font size=-1><a href="/intl/de/ads/">Werbung</a> - <a href="/services/">Unternehmensangebote</a> - <a href="/intl/de/about.html">Über Google</a> - <a href=http://www.google.com/ncr>Google.com in English</a></font><p><font size=-2>©2007 Google</font></p></center></body></html>-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hhhhm. Okay, that means that the url fopen wrappers do work on your install.
It could be that sockets are specially triggered, can you try this PHP code:
Regards,
Garvin
Hhhhm. Okay, that means that the url fopen wrappers do work on your install.
It could be that sockets are specially triggered, can you try this PHP code:
Code: Select all
<?php
$fp = fsockopen("www.google.com", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: www.google.com\r\n";
$out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
while (!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
?>
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Here is the output:garvinhicking wrote:Hi!
It could be that sockets are specially triggered, can you try this PHP code:
Code: Select all
HTTP/1.1 302 Found Location: http://www.google.de/ Cache-Control: private Set-Cookie: PREF=ID=6c209fe9b2dfe6ab:TM=1175163551:LM=1175163551:S=xyEvrRHVmwMR8Yg2; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com Content-Type: text/html Server: GWS/2.1 Content-Length: 218 Date: Thu, 29 Mar 2007 10:19:11 GMT
302 Moved
The document has moved here.Joerg
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, my last idea is that something might be fishy with your PEAR installation.
Can you edit your serendipity_config.inc.php file and search fur "serendipity['usePEAR']" and make sure that is set to false?
It might be that the PEAR libs required to make a connection are loaded from your webserver instead of s9y, and that your webserver does not allow readaccess to the global files...
Best regards,
Garvin
Hm, my last idea is that something might be fishy with your PEAR installation.
Can you edit your serendipity_config.inc.php file and search fur "serendipity['usePEAR']" and make sure that is set to false?
It might be that the PEAR libs required to make a connection are loaded from your webserver instead of s9y, and that your webserver does not allow readaccess to the global files...
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Higarvinhicking wrote: Can you edit your serendipity_config.inc.php file and search fur "serendipity['usePEAR']" and make sure that is set to false?
Here is what I changed, was it the right place ? It did not change anything.
Code: Select all
if (!isset($serendipity['use_PEAR'])) {
$serendipity['use_PEAR'] = false;Code: Select all
Versuche URL package_sidebar_de.xml zu öffnen...
Connection refused
Notice: Connection refused in /home/s1tokdbm/www.tokahabe.de/bundled-libs/PEAR.php on line 848
Connection refusedJoerg
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes, but the PEAR HTTP_Request component consists of several other components whose path is not revealed; those might have been included.
But you changed the right place, and since it did not make a difference, that can't be it either.
I suppose you are currently using netmirror.org as your mirror. If you ssh to your machine and use wget netmirror.org, do you get a connection there?
I'm quite at a loss where the Connection gets refused.
Regards,
Garvin
Yes, but the PEAR HTTP_Request component consists of several other components whose path is not revealed; those might have been included.
But you changed the right place, and since it did not make a difference, that can't be it either.
I suppose you are currently using netmirror.org as your mirror. If you ssh to your machine and use wget netmirror.org, do you get a connection there?
I'm quite at a loss where the Connection gets refused.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/