Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Restarted VPS - website not loading
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Restarted VPS - website not loading

JoeBissJoeBiss Member

Hello,

I have a server from OVH. It was not working. So I went to the control panel and I rebooted it. Now if I want to go to my webserver I can't. I can't access the website.

What do I need to do as this is the first time this happens to me.

Thanks.

Comments

  • ndelaespadandelaespada Member, Host Rep

    Checked logs?

  • How do I do that? I'm sorry -- not very good with servers, etc..

  • FlorisFloris Member
    edited March 2014

    @JoeBiss said:
    How do I do that? I'm sorry -- not very good with servers, etc..

    If you're not good with servers etc. You probably should've gone with a managed server.

  • InfinityInfinity Member, Host Rep
    edited March 2014

    @Floris said:
    If you're not good with servers etc. You probably should've gone with a dedicated server.

    What? If you're not good at servers, you don't go and spend more hoping it'll help. You hire someone to manage your server for you, VPS or dedicated..

    Does OVH's panel show the VPS as up? Do they have some sort of recovery console or VNC?

  • ndelaespadandelaespada Member, Host Rep

    Running Apache? Centos?
    Restart apache by running: service httpd restart
    Or /etc/init.d/httpd restart
    See if there are any errors while starting then check logs:
    tail -f /var/log/httpd/error_log

  • ndelaespadandelaespada Member, Host Rep

    @Infinity said:

    True, is the server even accesible?

  • khavkhav Member
    edited March 2014

    @JoeBiss

    ping your ip address to see if server is online {google if you don't know how to do that}

    We really need more info such as :

    1)Are you using a control panel like Cpanel , Plesk , Kloxo etc... or its pure ssh

    2)What OS your server is using?

    3)What is your webserver : Apache/Nginx

    At first guess i think you missed to chkconfig a software to start at reboot.

    It can be

    1)Your Webserver

    2)PHP

    3)Your DNS Software e.g BIND

  • My server was inaccessible so I had to hard rebooted from the Admin.

    Now it's working with the SSH. But for the web it's not working.

    I tried this:
    service httpd restart -- -- /etc/init.d/httpd restart

    But both gave me an error..!

    I guess the http is not activated?

  • @Infinity said:
    Does OVH's panel show the VPS as up? Do they have some sort of recovery console or VNC?

    Yeah sorry, I forgot to add "managed".

  • Thanks everyone. Ping is working also the SSH.

    See what I'm getting..

    root@ks54751:~# /etc/init.d/apache2 start
    [....] Starting web server: apache2apache2: Syntax error on line 202 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/scgi.load: No such file or directory
    Action 'start' failed.
    The Apache error log may have more information.
    failed!

  • drserverdrserver Member, Host Rep

    mod name is cgi.load not scgi.load

    there are 2 possible fixes of this situation.
    go to line 202 of file /etc/apache2/apache2.conf and rename /etc/apache2/mods-enabled/scgi.load to /etc/apache2/mods-enabled/cgi.load

    or second one
    rename /etc/apache2/mods-enabled/cgi.load to /etc/apache2/mods-enabled/scgi.load

    Use first one, however if you are not familiar with editing files, this can be faster fix.

    Or you can just copy it

    cp /etc/apache2/mods-enabled/cgi.load /etc/apache2/mods-enabled/scgi.load

    after that

    /etc/init.d/apache2 restart

  • Floris said: If you're not good with servers etc. You probably should've gone with a managed server.

    This is not WHT.

  • Thanks a lot.

    I did this:

    Include module configuration:

    /etc/apache2/mods-enabled/cgi.load
    Include mods-enabled/*.conf

    But then I got this error in SSH:

    /etc/init.d/apache2 restart
    Syntax error on line 159 of /etc/apache2/apache2.conf:
    Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
    Action 'configtest' failed.

    The Apache error log may have more information.

  • n0myn0my Member
    edited March 2014

    Make sure HTTP is enabled

    Btw, regarding your last post. You might wanna check your apache2.conf file. The error says there is a mistake on/near line 159.

Sign In or Register to comment.