All posts in the topic Trying to download http://www.blahblahblah.com/pa/web/peopleaggregator.txt ... error 111 (Connection refused) (Short link)
Summary
- There are 8 posts — by 4 authors — in this topic.
- Latest post made by adrianodepetris at Jul 08 18:52 UTC
Anyone have any ideas on this error I'm encountering during install: Trying to download http://www.blahblahblah.com/pa/web/peopleaggregator.txt ... error 111 (Connection refused) FATAL: Unable to guess base URL - I think it should be http://www.blahblahblah.com/pa/web/ but that URL does not seem to work. Although when I navigate to http://www.blahblahblah.com/pa/web/peopleaggregator.txt it is there. Any thoughts? Everything else appears to be fine.
Just checked my error log and I've got: Cannot get media type from
'cgi-script'. Hope this helps a bit. Please help me. AARRGGGHHHHHHHHHH!!!
Two ideas:
* Are you running PHP as CGI? That is lekley to cause trouble later
anyway, so I recommend you do not try it. PA is targeted at mod_php type
installations, a lot of the networking code relies on the proper passing
of APCHE server vars etc
* Is it possible that your PHP install disallows fetching of files over
the web? That could be a reason why it's unable to access the
peopleaggregator.txt file that yu can access directly i the browser. any
default PHP installs disallow functions like fopen() to use http://
style file descriptors...
-Martin
michael schrieb:
> Just checked my error log and I've got: Cannot get media type from
'cgi-script'. Hope this helps a bit. Please help me. AARRGGGHHHHHHHHHH!!!
Thanks for getting back so soon. I'm on shared hosting. I'm pretty new to this.
It is running as CGI. Is there anyway of getting round this. I haven't got
access to php5.ini but I can over write it.
I don't think there is a way around the PHP as CGI here. That's an
installation issue, that you can't solve on a shared host you don't control.
Also, overriding settings in php.ini miht help for some settings, but
the ones I think are causing you trouble are security related (fopen()
etc) so I guess there's little hope here either...
Can you set up PA on a server that uses PHP as an apache module? Even if
it's only a local machine rnning Linix, that wiill help you get into PA
and lear it's workings while you evaluate it.
-Martin
michael schrieb:
> Thanks for getting back so soon. I'm on shared hosting. I'm pretty new to
this. It is running as CGI. Is there anyway of getting round this. I haven't
got access to php5.ini but I can over write it.
I'm in contact with my hosting service, heart internet. I'll let you know what
they say.
PA used to install OK on CGI. Michael, it sounds like the issue here is that a script running on your web server isn't able to connect back to the web server -- if you can ask your hosting provider if there's any reason a script running on the server can't download http://www.blahblahblah.com/pa/web/peopleaggregator.txt, that might help. ("Connection refused" is a socket error; I think if it's a fopen() problem then you'll get a different error. This sounds like the config script is trying to download peopleaggregator.txt but www.blahblahblah.com isn't allowing the connection. Possibly there's some DNS thing? Apache is only listening on certain IP addresses but www.blahblahblah.com resolves to something else if you're on the server itself?)
I HAVE A SIMILAR PROBLEM.
READ WHATS HAPPEN TO MY INSTALLATION PROCESS, READ AT THE AND... THE
IONSTALLATION TRUNCATE THE URL!!
PeopleAggregator setup
Prerequisites
* Install root (path prefix): /export/home/fi/fiveoclock.org/public_html/pa
* Running on PHP 5.1.6
* Short PHP open tags are enabled
* MySQL functions are available
* PEAR::DB is available
* GD is installed.
* ImageMagick is installed.
* XML extension is installed
* DOM extension is installed
* XSL extension is installed
* zlib is installed
* The log directory is writable.
* The networks directory is writable.
* The web/files directory is writable.
* The web/cache directory is writable.
* The web/sb-files directory is writable.
Congratulations, it looks like your server can run PeopleAggregator!
Detecting URLs
* Trying to download http://fiveoclock.org/pa/web/peopleaggregator.txt ...
142 bytes
* Good: we can access the system at http://fiveoclock.org/pa/web/
* Trying to download http://org/pa/web/peopleaggregator.txt ...