February 21, 2014 in Classic self-hosted technical help
OK I was in this hospital and was laid up for a week and my bill came due (Should paid all year in advance) :-) So within only 4 days they suspended my account. It is a self managed hosting plan so while my knowledge is intermediate on VPS I know enough to handle most issues.
Well they reactivated the service since we got that all straightened out but now when I pull up the site I cannot access it. My FTP and email works fine, When i look at the services running Apache is running. I ran command to restart Apache and rebooted the server. I can ping the domain but I cannot get the site to come up. This is not the best company and moving form them immediately but can someone tell me what else I should look at? I am getting the it is self managed VPS so we aren't accountable for anything garbage.
Any help would be great. My site has been down for 3 days now.
What do you see in the broswer when you visit your URL?
Chrome = No data received
FF = The connection was reset
So have you tried nslookup to make sure your URL resolves to your IP?
And tried telnet to the IP on port 80 to make sure it's 'listening'?
nslookup goes to correct IP on the domain
I pinged the domain and received a response back
it's something on the web service I think but apache is running so not sure the issue. I can FTP to the IP and domain and email is functioning
One other thing to add. I can get to subfolders and they will present. For instance I went to my domain/example.img and the image that was there presented itself in the browser. So I can get to folders through the browser but my home page is IP Content and all the other pieces of my site are IP board related, When they shut it down could they have broken something?
Could it be IP board related and something I need to fix? I wouldn't think shutting down hosting would cause this but I am not sure.
Make sure MySQL is running.
What happens when you go to domain.com/index.php
When I go there I get the same connection reset message:
, I stopped and restarted mysql so that isnt the issue
Can you verify that mysql is working? Do you use phpmyadmin or similar? Is it possible that your databases were damaged when they shut down (which you may be able to repair)?
I just ran a repaired on all tables just in case but I can get to the DB and everything seems fine
Do any php files work?
e.g. if you upload a file with a php extension and the following contents:
<?php phpinfo(); ?>
does it work?
you might on to something none of the php files work
Where would I look ?
Note: I've learned what I've learned by personal experience, and do not claim to be a server expert.
I would start by looking at the apache conf file for the AddHandler and AddType lines. This may be in the main .conf file, or perhaps in something like /etc/httpd/conf.d/php.conf (CentOS default).
I'm not definitely not a server expert but I will check into it.
Here's are those lines from my php.conf in case it's useful (note that I may be using a different php handler than you):
LoadModule php5_module modules/libphp5.so
LoadModule php5_module modules/libphp5-zts.so
AddHandler php5-script .php
AddType text/html .php
thanks I'll try that. it seems strange with them just shutting the host down that all this could be hosed but hey I have seen worse things :-)
If you can use PHPMyAdmin and your VPS 'Panel' is PHP too, then it may be that in the Panel, a setting to use PHP just in your domain is switched off. Can you check that?
it's set to mod-php
- take a look at your logs, esp error logs, for clues; look for log messages that occur when you try to view a php page
- is php still installed?
- take a look at your apache config files to make sure everything looks right (as mentioned above)
- take a look at php.ini to make sure everything looks ok
Given your description, I'd contact your Host again and politely tell them that your VPS worked before they suspended/canceled it, and will they please get it working again as this is clearly not something you did to cause the problem, but rather something they did.
I totally agree and not liking this host too much. I am moving but it sucks my site is down until I get moved.
Guys I am stuck until I get this moved. Anyone let me pay a couple of bucks to fix this? The hosting company doesn't know what happened. It is something with IP Board and Content not working.
Everything else works
So a script with nothing but phpinfo works? I thought you said a bit ago that nothing php related was executing.
Try uploading the IP.Board check_requirements.php file... does it work?
Yes sorry if I confused things work OUTSIDE of the IP board or anything else php
Anything in your error logs?
Any SQL errors? /cache/sql_error_latest.cgi
This topic is now archived and is closed to further replies.
Started 2 hours ago
Started September 9
Started 35 minutes ago