Your HostICan Community  


Go Back   Your HostICan Community > HostICan Web Hosting > Virtual Private Servers (VPS)

Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-17-2009, 02:53 AM
jeffj's Avatar
jeffj jeffj is offline
Junior Member
 
Join Date: Sep 2008
Location: Tokyo, Japan
Posts: 15
Send a message via Skype™ to jeffj
Unhappy External webfeeds not loading on Joomla on HIC VPS

I am using Joomla (v1.5.11) on three sites and am experiencing a problem loading webfeeds from external servers:
#1. The installation on HIC shared server is working fine.
#2. The 1st installation (domain A) on HIC VPS server is not working on external feeds.
#3. The 2nd installation (domain B) on HIC VPS (same server as #2) is not working either.
Webfeeds from the alternate domain on the same server are loading fine (i.e., feeds are working internally #2 <--> #3); the problem is confined to feeds from all external servers, resulting in the following errors: "ERROR LOADING FEED DATA" or "UNABLE TO RETRIEVE FEED DATA."

While in the Joomla support forums, I ran across someone else who had a similar problem, except this person was on a GoDaddy domain. Here is the response from someone who was helping him:
Quote:
If I remember correctly, to get out of GoDaddy's server infrastructure you need to configure a proxy to handle external HTTP requests, direct requests don't work. This is why there is a specific GoDaddy GMail auth plugin that has proxy server settings:
http://joomlacode.org/gf/project/gdgmail

Joomla! needs a global proxy setting functionality which we don't have as of yet (unfortunate) which would resolve the issue in these cases. It is certainly an interesting security perspective from GoDaddy and something whilst perhaps annoying I can see the value in. The same goes for the SMTP which I believe you have stuff for as well.
I am wondering if this solution will also help me resolve my "ERROR LOADING FEED DATA" problems.

If so, how can this be implemented on my HIC VPS? I would need specific instructions.

Thanks in advance!
__________________
Hosting 5 sites with HostICan, including:
Johnston Journal
| Stories of our life in Japan
Asian Access | Developing Leaders. Multiplying Churches.
go2japan |
for people who want to serve as missionaries in Japan
Reply With Quote
  #2  
Old 06-17-2009, 06:07 AM
randy's Avatar
randy randy is offline
Senior Member
 
Join Date: Jan 2009
Posts: 110
Default Re: External webfeeds not loading on Joomla on HIC VPS

I have only two sites made with Joomla, but I deal with "Joomla" since early 2006. So far I have not had a problem. I am interested in your problem and discussed it with my colleagues. Regarding your problem we found information only about 'Joomla! Security Newsfeed' module. Log in to administrator page. Go to your Module Manager from Extensions and choose the Administrator Tab, find the 'Joomla! Security Newsfeed' and disabled it. Another option is to reinstall this module.
Reply With Quote
  #3  
Old 06-17-2009, 08:43 AM
jeffj's Avatar
jeffj jeffj is offline
Junior Member
 
Join Date: Sep 2008
Location: Tokyo, Japan
Posts: 15
Send a message via Skype™ to jeffj
Question Re: External webfeeds not loading on Joomla on HIC VPS

Randy, thank you for your response. I appreciate your help. Are you running Joomla 1.5.11 on a VPS @ HIC? If so, are your com_newsfeeds component and mod_feed modules both working correctly, that is, loading webfeeds from external sites?

Here are my thoughts:

A) Disabling the Joomla Security Newsfeed only removes the error message on the back-end, because it's not a front-end feed. Even so, disabling this module (which I tried) does not help fix my problem on the front-end feeds. I want feeds on the front-end, and I need to run the com_newsfeeds and mod_feed to do that.

B) I seriously do not think it's a corrupted mod_feed set of files, because my com_newsfeeds component doesn't work either. Besides, it's not working on 2 separate sites on the same VPS server. Could it really be that both com_newsfeeds and mod_feed sets of files on both Joomla 1.5.11 installations be corrupted? Highly unlikely, especially since I have faithfully updated Joomla, which overwrites files with updated ones.

C) To clarify, it is working fine on feeds coming from the same VPS server (even on different domains), but it is not working on any feeds coming from external sites. Conversely, my HIC shared host Joomla 1.5.11 installation works on both internal and external feeds. This leads me to suspect that it's a VPS-related setting.

D) A Joomla expert checked my PHP and Joomla settings and agrees with other users who concur that the problem is with my web server settings not allowing any http requests from external sites. They have recommended that I write to my web host to see if they can open this up for me. Where can I look to check on this?

E) Another possible cause emerged when I was looking at my web services within the Web Host Manager. It indicates that "httpd" service has stopped. I cannot seem to restart my httpd service with WHM. Whenever I try to restart it manually, it completes 3 steps, but then fails on the fourth step to restart.

I welcome help from any others, as well.
- jeff
__________________
Hosting 5 sites with HostICan, including:
Johnston Journal
| Stories of our life in Japan
Asian Access | Developing Leaders. Multiplying Churches.
go2japan |
for people who want to serve as missionaries in Japan

Last edited by jeffj; 06-17-2009 at 08:45 AM.
Reply With Quote
  #4  
Old 06-17-2009, 09:07 AM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,012
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default Re: External webfeeds not loading on Joomla on HIC VPS

Jeff!

Thanks for your email.

In terms of Joomla not allowing http requests, you can enable / disable this function in the php.ini, which you should have full control over since its a VPS. The PHP.ini is in the /usr/local/... path or you may find it by doing "updatedb, and then locate php.ini"

In terms of apache, when you go to the "status" section of WHM, does it say running or failed currently?
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #5  
Old 06-17-2009, 09:38 AM
Vron's Avatar
Vron Vron is offline
Member
 
Join Date: Jan 2009
Posts: 83
Default Re: External webfeeds not loading on Joomla on HIC VPS

Hi jeffj, do not reinstall anything, first check your error logs. Start to watch this file
Code:
/usr/local/apache/logs/error_log
during the occurrence of the problem. Then surely you will know from where the problem come. I got it for something else, if you have mod_security rules then may be some rules can block your external addresses.
Reply With Quote
  #6  
Old 06-17-2009, 09:48 AM
jeffj's Avatar
jeffj jeffj is offline
Junior Member
 
Join Date: Sep 2008
Location: Tokyo, Japan
Posts: 15
Send a message via Skype™ to jeffj
Unhappy Re: External webfeeds not loading on Joomla on HIC VPS

Denis, thanks for responding.

1) PHP.INI
What settings exactly am I looking for? Here is the section that may apply. Please advise.
Quote:
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On
allow_url_include = On

; Define the anonymous ftp password (your email address)
;from="john@doe.com"

; Define the User-Agent string
; user_agent="PHP"

; Default timeout for socket based streams (seconds)
default_socket_timeout = 60

; If your scripts have to deal with files from Macintosh systems,
; or you are running on a Mac and need to deal with files from
; unix or win32 systems, setting this flag will cause PHP to
; automatically detect the EOL character in those files so that
; fgets() and file() will work regardless of the source of the file.
; auto_detect_line_endings = Off
2) HTTPD SERVICE STOPPED
Sorry, it was not in WHM, but in Virtuozzo. FIrst in System Services, then I checked the Action Log. See 4 attached screen shots.
Attached Images
File Type: jpg A-sys-services-1.jpg (15.9 KB, 2 views)
File Type: jpg B-sys-services-2.jpg (15.4 KB, 2 views)
File Type: jpg C-Action-Log-1.jpg (17.1 KB, 2 views)
File Type: jpg D-Action-Log-2.jpg (20.7 KB, 2 views)
__________________
Hosting 5 sites with HostICan, including:
Johnston Journal
| Stories of our life in Japan
Asian Access | Developing Leaders. Multiplying Churches.
go2japan |
for people who want to serve as missionaries in Japan
Reply With Quote
  #7  
Old 06-17-2009, 10:01 AM
jeffj's Avatar
jeffj jeffj is offline
Junior Member
 
Join Date: Sep 2008
Location: Tokyo, Japan
Posts: 15
Send a message via Skype™ to jeffj
Question Re: External webfeeds not loading on Joomla on HIC VPS

Quote:
Originally Posted by Vron View Post
Hi jeffj, do not reinstall anything, first check your error logs. Start to watch this file
Code:
/usr/local/apache/logs/error_log
during the occurrence of the problem. Then surely you will know from where the problem come. I got it for something else, if you have mod_security rules then may be some rules can block your external addresses.
@Vron: Thanks for the tip. I just recreated the feed error problem, then went to check out the error_log file. It is a whopping 175MB! It's taking awhile to download. I'll keep you posted on what I might discover.

But first a couple questions:
1) What do you mean: "I got it for something else..."
2) Where would the mod_security rules be stored? Can I check those out? If so, how?
__________________
Hosting 5 sites with HostICan, including:
Johnston Journal
| Stories of our life in Japan
Asian Access | Developing Leaders. Multiplying Churches.
go2japan |
for people who want to serve as missionaries in Japan
Reply With Quote
  #8  
Old 06-17-2009, 10:15 AM
DOCENTA's Avatar
DOCENTA DOCENTA is offline
Moderator
 
Join Date: Sep 2007
Posts: 96
Default Re: External webfeeds not loading on Joomla on HIC VPS

Hello,
You do not need to download the whole Apache error_log but just login via SSH as root and watch it with:

tail -f /usr/local/apache/logs/error_log
__________________
Thanks,

HostICan Rocket Scientist

HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #9  
Old 06-17-2009, 10:16 AM
jeffj's Avatar
jeffj jeffj is offline
Junior Member
 
Join Date: Sep 2008
Location: Tokyo, Japan
Posts: 15
Send a message via Skype™ to jeffj
Exclamation Re: External webfeeds not loading on Joomla on HIC VPS

@Denis: Also, attached is a 5th screenshot for you...

This was on the "Xinetd" tab:
Quote:
No services available for this VPS.
Probably your VPS is misconfigured or having a resource shortage.
Any thoughts here?
Attached Images
File Type: jpg E-sys-services-3.jpg (12.9 KB, 1 views)
__________________
Hosting 5 sites with HostICan, including:
Johnston Journal
| Stories of our life in Japan
Asian Access | Developing Leaders. Multiplying Churches.
go2japan |
for people who want to serve as missionaries in Japan
Reply With Quote
  #10  
Old 06-17-2009, 10:17 AM
DOCENTA's Avatar
DOCENTA DOCENTA is offline
Moderator
 
Join Date: Sep 2007
Posts: 96
Default Re: External webfeeds not loading on Joomla on HIC VPS

Hello,
Also you may look for error_log file into the folder from where the error is originating. Use the same way with tail -f to watch them in real time or if you like to see the last 100 rows do via SSH:

tail -n 100 error_log
__________________
Thanks,

HostICan Rocket Scientist

HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
Reply

Tags
external, feed, firewall, hic, joomla, loading, proxy, vps, webfeeds

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:28 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.