Jump to content

Can't ping localhost


Guest snowking
 Share

Recommended Posts

Guest snowking

Hello!

I've installed Mandriva 2009.

Set up the network interface (eth0). I can ping other network PCs, can visit web-sites. Also httpd works: from localhost and also from other PCs. But I can't ping my eth0 (1.0.0.140) and my loopback 127.0.0.1.

The command ping starts and just hanging on the string:

PING 127.0.0.1 (127.0.0.1) 56(84) bytes data.

 

I can only exit by Ctrl+C.

 

Why does that happen?

Link to comment
Share on other sites

Please post results from:

 

chkconfig --list | grep :on

 

I think you have iptables and probably shorewall or something else enabled, possibly mandi service too. We need to disable these, it's simple as:

 

chkconfig service off

 

so:

 

chkconfig iptables off
chkconfig shorewall off

 

but I need to see the full list of currently enabled services, then I can see if there is something else that might be causing it.

Link to comment
Share on other sites

Guest snowking

Nothing changed after your strings.

 

This is the list of all running services (I've translated from russian, so the words may be not identical to original)

 

acpid stopped

Звук running

anacron stopped

atd stopped

Демон Avahi running

coherence stopped, but subsys blocked

crond (pid 1789) running...

ct_sync stopped

dc_server (pid 2630) running...

dm (pid 1907) running...

hald (pid 1857) running...

httpd (pid 3451 3450 3449 3448 3447 3446 3445 3444 3407) running...

Use /etc/init.d/httpd extendedstatus for more information.

 

For this packet condition is anavailable

mailmanctl stopped

mandi stopped

memcached (pid 2696) running...

dbus-daemon (pid 2318 1828) running...

module netconsole not loaded

Configured devices:

lo eth0

Current active devices:

lo eth0

rpc.statd (pid 2766) running...

rpc.idmapd (pid 2925) running...

nfsd (pid 3138 3130 3129 3119 3118 3117 3116 3115) running...

rpc.mountd (pid 3183) running...

numlock switched on

partmon был runningportmap (pid 2692) running...

master (pid 3379) running...

postmaster stopped

preload (pid 3082) running...

proftpd (pid 2663) running...

resolvconf running

smbd (pid 2716 2665) running...

nmbd (pid 2752) running...

Звук загружен

sshd (pid 3074) running...

syslogd (pid 1680) running...

klogd (pid 1753) running...

ucarp stopped, но subsys blocked

xinetd (pid 2593) running...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...