Posted by Phaaze, 01-08-2008, 01:14 AM | I had to reboot my server and about 20 minutes later I tried to access the web site but the page was not found... I am able to login to SSH. However, I am not familiar with *nix or the workings of CPanel... What should I do to get the sites back online? Can you please give me the series of commands I should run and an explanation of what each does (I am trying to learn. )
Thanks
|
Posted by tix3, 01-08-2008, 01:19 AM | Probably apache hasnt started.Do you have a control panel?
If your server is Centos do a
and see if apache starts
|
Posted by Phaaze, 01-08-2008, 01:22 AM | Sorry, I should have mentioned... I am running CPanel and CentOS 4.5.
I typed that and it said that apache is already running. I am thinking it's probably the dns, how can I check/start it?
Thanks
|
Posted by tix3, 01-08-2008, 01:28 AM | When you login via SSH do you use your domain on your ip?
If you use your ip in your browser can you see anything?
To start bind you should use
|
Posted by Phaaze, 01-08-2008, 01:30 AM | Thanks, I was correct...
Soon as I typed that into SSH I was able to access the site. (Yea, I used SSH via IP not hostname.)
Thanks again for the quick responses!
|
Posted by tix3, 01-08-2008, 01:34 AM | You should also add named to start upon startup of the server so you wont have this kind of problems after a reboot.
Happy i was able to help
|
Posted by Phaaze, 01-09-2008, 09:08 PM | One more thing, what is the command to restart a service and what is the service name for the FTP?
Thanks again.
Last edited by Phaaze; 01-09-2008 at 09:14 PM.
|
Posted by Metallian, 01-10-2008, 01:34 AM | if you using proftpd : service proftpd restart
|
Posted by bitserve, 01-10-2008, 01:52 AM | I think that cpanel uses pureftp. Also, I think that WHM has service restart buttons for all services.
|
Posted by Phaaze, 01-10-2008, 08:06 AM | It does have a restart button but I'd still like to learn when I can.
Plus, a little command line knowledge helps a lot in situations similar to those of my initial post.
|
|
Add to Favourites
Print this Article |