Dedicated linux server problems

Discussion in 'Site & Server Administration' started by nat000, Aug 26, 2010.

  1. #1
    Hi guys

    I have two problems with my dedicated ubuntu server

    1) can't login via ssh

    log shows: "fatal: /var/run/sshd must be owned by root and not group or world-writable."

    so I changed the permission via ftp to 744, but nothing happens!

    2)server is unreachable, I type IP address in browser and nothing :mad:

    Any help will be appreciated!
     
    nat000, Aug 26, 2010 IP
  2. tepid

    tepid Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    As the server isn't reachable, i guess neither you, or us, could do anything about it. You'd need your provider to check this out for you.
     
    tepid, Aug 26, 2010 IP
  3. nat000

    nat000 Member

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    I wasn't clear enough:

    the server is not reachable online.

    I can login via ftp as root. This is all the server permits.
     
    nat000, Aug 26, 2010 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    I would suggest you get in touch with the provider to ensure that SSH access is restored, without this, you are going to have your hands tied. Do you have a control panel with this server?

    Chris
     
    RHS-Chris, Aug 26, 2010 IP
  5. Rackshack

    Rackshack Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yaa atleast if you have control panel i can check the exact problem you may be facing.
     
    Rackshack, Aug 26, 2010 IP
  6. nat000

    nat000 Member

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #6
    I restored ssh access

    How can I solve the second problem? server is not accessible via its ip
    if I type its IP in browser - no http headers, no logs change, nothing
     
    nat000, Aug 27, 2010 IP
  7. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #7
    Do you have a web server installed and running on it?
     
    RHS-Chris, Aug 27, 2010 IP
  8. nat000

    nat000 Member

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #8
    Ok the problem is solved ( firewall :mad:)

    Thanks to everybody!
     
    nat000, Aug 28, 2010 IP
  9. FavouritesBlog

    FavouritesBlog Peon

    Messages:
    846
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Try APF, may help with your future firewall issues.
     
    FavouritesBlog, Aug 28, 2010 IP
  10. jeffatrackaid

    jeffatrackaid Active Member

    Messages:
    168
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    75
    #10
    Looks like you found it. Firewalls trip up many new people. Anytime I have a system that I cannot reach, the first thing I check is the firewall.

    After that, you can run ping/traceroute from your location to the server IP and see where the route dies.

    From the server side, ping the server's own IP. This will test local networking setup. Then ping the gateway IP.

    I've seen many people pull their hair out only to find something simple like a firewall or routing table was incorrect. In fact, I had a staff member who put a big post it note on their terminal that read:

    To make sure he did not forget to check this.
     
    jeffatrackaid, Aug 29, 2010 IP
  11. indescoz

    indescoz Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    ah firewall...thank god I never faced that stupid problem with my server :)
     
    indescoz, Sep 4, 2010 IP