Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Cannot access web sites
PostPosted: Sun Jan 26, 2014 2:57 pm 
Offline
Junior Member

Joined: Thu Aug 02, 2012 8:22 am
Posts: 30
Good morning,

Not sure why this has happened. I cannot access my virtual hosts in the browser. So for example, cannot access jasminmartin.com

I am able to login to my linode manager, log into my linode via FTP, log into the Mysql database via Phpmyadmin and also log into the linode via the Terminal.

From one day to the next though, the sites are not available anymore online. Just a blank page, and not even an error page.

I checked in the linode status that there isn't anything major going on, just some maintenance for one hour, but nothing should be affected.

I am running Debian Wheezy 7.0.

I would appreciate any pointers or tips, so that I can read more online and fix it myself. Hoping that someone can help me.

Thank you in advance.

Greetings, Jasmin


Top
   
PostPosted: Sun Jan 26, 2014 3:02 pm 
Offline
Senior Newbie
User avatar

Joined: Sat Jan 04, 2014 1:13 pm
Posts: 8
Website: https://www.halothe23.com/
What web-server are you running? - Also, PHP seems to be off by visiting the website?

Code:
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/blog/wp-blog-header.php' );


Top
   
PostPosted: Sun Jan 26, 2014 3:08 pm 
Offline
Junior Member

Joined: Thu Aug 02, 2012 8:22 am
Posts: 30
Hi, thanks for your speedy reply.

It is not only that site that doesn't work, all of them have gone offline at the same time. They have been working fine for months until now.

I am running Debian 7.0. web server.

Greetings, Jasmin


Top
   
PostPosted: Sun Jan 26, 2014 3:24 pm 
Offline
Senior Newbie
User avatar

Joined: Sat Jan 04, 2014 1:13 pm
Posts: 8
Website: https://www.halothe23.com/
Hmm, Debian 7.0 is the OS, web-server is a piece of software that runs on it to deliver the web functionality.

Have you tried giving it a reboot, or updating it perhaps? I doubt that somehow magically PHP would be uninstalled by itself, so I am guessing some error happened and its not able to handle it, a reboot/update may or may not fix it. - Else, assuming you have apache2 as your web-server you can try installing PHP if its not already installed (in case a magical flying pony decided to remove it overnight) using this command " sudo apt-get install php5 libapache2-mod-php5 "


Top
   
PostPosted: Sun Jan 26, 2014 3:31 pm 
Offline
Junior Member

Joined: Thu Aug 02, 2012 8:22 am
Posts: 30
Hi, thanks too for the quick reply. Yes sorry, Apache 2 is the web server. I also rebooted it, but nothing changed. I'll try what you just suggested and see what happens. Thanks again. Greetings, Jasmin


Top
   
PostPosted: Sun Jan 26, 2014 3:33 pm 
Offline
Junior Member

Joined: Thu Aug 02, 2012 8:22 am
Posts: 30
Hi again, just tested the install for php etc as you suggested, but they are already installed. :)


Top
   
PostPosted: Sun Jan 26, 2014 3:36 pm 
Offline
Senior Newbie
User avatar

Joined: Sat Jan 04, 2014 1:13 pm
Posts: 8
Website: https://www.halothe23.com/
Could you post the output of " apache2ctl -V " then?


Top
   
PostPosted: Sun Jan 26, 2014 3:42 pm 
Offline
Junior Member

Joined: Thu Aug 02, 2012 8:22 am
Posts: 30
Yes I can - here it is below. Thanks for your help and time!

Server version: Apache/2.2.22 (Debian)
Server built: Mar 4 2013 22:05:16
Server's Module Magic Number: 20051115:30
Server loaded: APR 1.4.6, APR-Util 1.4.1
Compiled using: APR 1.4.6, APR-Util 1.4.1
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"


Top
   
PostPosted: Sun Jan 26, 2014 4:20 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
Is apache running? I don't even get a default page when I try your IP address.

What do you get when you try the following commands:
service apache2 graceful
service apache2 status
ps aux | grep apache
netstat -tulpn | grep "80"

MSJ


Top
   
PostPosted: Sun Jan 26, 2014 4:28 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
I see your default "It works" page has just popped up on your domain and on your IP address. What did you change?


Top
   
PostPosted: Sun Jan 26, 2014 4:38 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Hopefully not to late - but you should be backing up all data and config files BEFORE you start attempting to fix it.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


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


Who is online

Users browsing this forum: No registered users and 4 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