Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Feb 07, 2014 10:01 am 
Offline
Senior Newbie

Joined: Tue Feb 14, 2012 11:52 pm
Posts: 8
Website: http://www.cnx-software.com
Yesterday, I've installed longview in my Linode, and seeing 80 packages needed to be updated, I ran aptget dist-upgrade.

Everything works fine with my Wordpress blog, except suddenly people can't access the homepage, and only if www is missing. The error message is:

"Error establishing a database connection"

Where it gets even more strange is that http://www.cnx-software.com works, but there's only a connection issue with http://cnx-software.com.

I can't see any message in /var/log/mysql/error.log, /var/log/nginx.log, nor /var/log/php5-fpm.log. There does not seem to be any error messages in the site specific error log either.

I guess dist-upgrade may have changed some config files, but I'm not exactly sure what to look for.


Top
   
PostPosted: Fri Feb 07, 2014 11:06 am 
Offline
Senior Newbie

Joined: Thu Feb 06, 2014 12:58 pm
Posts: 14
Just a hunch, but check the .htacess file in the wordpress directory. Then check the vhosts in /etc/apache2/sites-available (if you're using apache)


Top
   
PostPosted: Fri Feb 07, 2014 12:44 pm 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
Cloudflare has cached your error page. Presumably they provide a way to clear that cache.


Top
   
PostPosted: Sat Feb 08, 2014 12:46 am 
Offline
Senior Newbie

Joined: Tue Feb 14, 2012 11:52 pm
Posts: 8
Website: http://www.cnx-software.com
Nibbler wrote:
Cloudflare has cached your error page. Presumably they provide a way to clear that cache.


Thanks. Good idea, but I've just cleared the Cloudflare cache for the page, and even disabled CloudFlare a few hours ago, but the result is the same when connecting directly to my linode.

That's very strange because my DNS is supposed to redirect cnx-software.com to www.cnx-software.com. It works fine with anyother pages, but I'll get the database connection error, before redirection occurs.


Top
   
PostPosted: Sat Feb 08, 2014 1:12 am 
Offline
Senior Newbie

Joined: Tue Feb 14, 2012 11:52 pm
Posts: 8
Website: http://www.cnx-software.com
You were right about the cache, but it's my cache plugin (Quick Cache) which did that. Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group