Results 1 to 10 of 10
  1. #1

    Unhappy Linux VPS unable to ping centos

    Hi

    i m unable to ping any host or ip from vps.

    thats y php script also fails when they try to make connection to other

    anyone know how to solve this ?

    thx

  2. #2
    Join Date
    Jan 2011
    Location
    Varna, Bulgaria
    Posts
    1,270
    1. Stop any firewalls you might have installed and try again (iptables -F)
    2. If it doesn't help - contact your provider and ask them for help - most probably they have broken something.

  3. #3
    Hi rds100

    thanks

    Please see

    # iptables --list
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    this is what it show

    can anyone please let me know command for allow any ip or hostname ?
    My host provider support is not online , however they say 24hr help

  4. #4
    Join Date
    Jan 2003
    Location
    SLC
    Posts
    2,058
    Check your /etc/resolv.conf


    sounds like your name servers are missing
    Lowest Host/Empire Technology LLC
    Offering Quality Shared, Reseller, VPS servers, and Dedicated Servers
    24x7 Tech Support http://empire-hosting.net
    XEN Servers Now http://xenserversnow.com - Budget XEN VPS /

  5. #5
    Hi

    How to setup nameserver ,I only have 1 domain in there,and visitor can see my site on net

    thx

  6. #6
    Join Date
    Jan 2003
    Location
    SLC
    Posts
    2,058
    nano /etc/resolv.conf
    and put the fowlling in
    nameserver Resolver_IP_for_data_Center
    nameserver Resolver_IP_for_data_Center
    if you do not know your providers resolver IP's
    you can use
    nameserver 4.2.2.1
    nameserver 4.2.2.2
    Note: if this is a openVZ or Virtuozzo VPS you will need to have your provider add them permanently in your config file else you will drop them every time your reboot your server
    Lowest Host/Empire Technology LLC
    Offering Quality Shared, Reseller, VPS servers, and Dedicated Servers
    24x7 Tech Support http://empire-hosting.net
    XEN Servers Now http://xenserversnow.com - Budget XEN VPS /

  7. #7
    Thanks

    I try & let u know,Its solumvm it think,

    This is already there

    nameserver 4.2.2.1
    nameserver 4.2.2.2
    Last edited by Windking; 04-16-2011 at 12:41 PM. Reason: Result added

  8. #8
    Join Date
    Mar 2010
    Location
    Germany
    Posts
    681
    maybe there's some transparent firewall in your way, maybe not.

    netstat -rn

    ping 4.2.2.1

    ping $( netstat -rn | grep ^0.0.0.0 | awk '{print $2}' )

    traceroute 8.8.8.8

    do these all work?
    Check out my SSD guides for Samsung, HGST (Hitachi Global Storage) and Intel!

  9. #9
    Better to contact Host as it's being a network related issue..

  10. #10
    Hi

    Its working now

    Provider has problem in their system vps is ok

    Thanks for all suggestion & help guys

Similar Threads

  1. VPN unable to browse SOME websites, ping works
    By sunnyd71 in forum VPS Hosting
    Replies: 6
    Last Post: 02-25-2011, 04:31 AM
  2. Unable to create linux VPS templates
    By yogy007 in forum Hosting Security and Technology
    Replies: 0
    Last Post: 09-30-2008, 04:11 AM
  3. unable to ping from box
    By aussie_dude in forum Hosting Security and Technology
    Replies: 5
    Last Post: 06-21-2006, 07:15 AM
  4. Freebsd: Unable to ping local ip
    By ReliableServers in forum Hosting Security and Technology
    Replies: 2
    Last Post: 02-09-2002, 11:02 PM
  5. unable to ping local IP
    By Voodoo Web in forum Hosting Security and Technology
    Replies: 0
    Last Post: 11-08-2001, 06:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •