LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2012, 08:23 PM   #1
ioub22
LQ Newbie
 
Registered: May 2012
Posts: 10

Rep: Reputation: Disabled
ssh: Network error: Connection refused


hi
i cant log to my server with ssh or ftp
im getting this error
Network error: Connection refused
i can login to the server using rescue mod
but when i boot regular cant connect


dist: CentOS release 5.8 (Final)

thanks
 
Old 05-08-2012, 02:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
sounds initially like a firewall issue, external to the server or in iptables. Have you permitted inbound connections to TCP port 22 in system-config-securitylevel?
 
Old 05-08-2012, 02:22 AM   #3
ioub22
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
from my end its not blocked cause i have other servers that i can log on to them
and i have turned off the iptables in the server
 
Old 05-08-2012, 02:23 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
So you could have said that in the first post...


Is sshd running and listening correctly?
 
Old 05-08-2012, 03:19 AM   #5
ioub22
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Code:
[root@rescue conf]# service sshd start
Starting sshd:                                             [  OK  ]
[root@rescue conf]# service sshd status
openssh-daemon is stopped

Code:
[root@rescue conf]# ps -ef | grep sshd
root      2847     1  0 08:41 ?        00:00:00 /usr/sbin/sshd
root      3135  2847  0 08:41 ?        00:00:00 sshd: root@pts/1
root      4049  3144  0 10:16 ?        00:00:00 grep sshd
[root@rescue conf]# netstat -aln | grep ":22"
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN
tcp        0     68 xxxxxxxxxxx:22            xxxxxxxxxx:64884          ESTABLISHED
tcp        0      0 :::22                       :::*                        LISTEN
im on rescue mod ^^
 
Old 05-08-2012, 03:20 AM   #6
linuxgurusa
Member
 
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151

Rep: Reputation: 29
Please do the following commands on the server you can not log into

iptables -L -n

and also

netstat -anop | grep LIST


Send us both outputs please
 
Old 05-08-2012, 03:24 AM   #7
ioub22
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Code:
[root@rescue conf]# iptables -L -n
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

[root@rescue conf]# netstat -anop | grep LIST
tcp        0      0 0.0.0.0:39884               0.0.0.0:*                   LISTEN      2543/rpc.statd      off (0.00/0/0)
tcp        0      0 127.0.0.1:111               0.0.0.0:*                   LISTEN      2531/portmap        off (0.00/0/0)
tcp        0      0 0.0.0.0:113                 0.0.0.0:*                   LISTEN      2749/inetd          off (0.00/0/0)
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      2858/named          off (0.00/0/0)
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      2759/vsftpd         off (0.00/0/0)
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      2847/sshd           off (0.00/0/0)
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LISTEN      2858/named          off (0.00/0/0)
tcp        0      0 :::80                       :::*                        LISTEN      3178/httpd          off (0.00/0/0)
tcp        0      0 :::81                       :::*                        LISTEN      2870/apache2        off (0.00/0/0)
tcp        0      0 ::1:53                      :::*                        LISTEN      2858/named          off (0.00/0/0)
tcp        0      0 :::22                       :::*                        LISTEN      2847/sshd           off (0.00/0/0)
tcp        0      0 ::1:953                     :::*                        LISTEN      2858/named          off (0.00/0/0)
unix  2      [ ACC ]     STREAM     LISTENING     6600   2876/apache2        /var/run/apache2/cgisock.2870
appreciate your helping

Last edited by ioub22; 05-08-2012 at 03:25 AM.
 
Old 05-08-2012, 03:40 AM   #8
linuxgurusa
Member
 
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151

Rep: Reputation: 29
Ok cool, it all looks good from a service and firewall point of view.

Now next questions

1.) Are you connected to the same LAN as the server, or is the server sitting on a different network ? I am trying to see if there is a device or devices between you and the server you are connecting to ?

2.) If you do the following command on the server you can't connect to:

ifconfig

Does it show the same IP address you are trying to connect to ( very stupid question I know, just checking)

3.) Have you ever connected to this server before, or is this the first time you trying to connect ?
 
Old 05-08-2012, 03:45 AM   #9
ioub22
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linuxgurusa View Post
Ok cool, it all looks good from a service and firewall point of view.

Now next questions

1.) Are you connected to the same LAN as the server, or is the server sitting on a different network ? I am trying to see if there is a device or devices between you and the server you are connecting to ?

2.) If you do the following command on the server you can't connect to:

ifconfig

Does it show the same IP address you are trying to connect to ( very stupid question I know, just checking)

3.) Have you ever connected to this server before, or is this the first time you trying to connect ?
no, the server is in different country
yes many time before, but the problem started yesterday after i installed lighttpd and nginx but i dont think they are causing the problem and they are also turned off
 
Old 05-08-2012, 03:51 AM   #10
linuxgurusa
Member
 
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151

Rep: Reputation: 29
OK cool

1.) Now, from your PC you are trying to connect from

If you do the following command , does it open up ?

telnet the.ssh.server.ip 22

Just replace the "the.ssh.server.ip" with the Ip of the server you want to connect to

2.) If port 80 is running on the server you are trying to connect to as well, can you open a port 80 connection to that server ?
If you do : telnet the.ssh.server.ip 80
Does that open ?
 
1 members found this post helpful.
Old 05-08-2012, 03:59 AM   #11
ioub22
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linuxgurusa View Post
OK cool

1.) Now, from your PC you are trying to connect from

If you do the following command , does it open up ?

telnet the.ssh.server.ip 22

Just replace the "the.ssh.server.ip" with the Ip of the server you want to connect to

2.) If port 80 is running on the server you are trying to connect to as well, can you open a port 80 connection to that server ?
If you do : telnet the.ssh.server.ip 80
Does that open ?
thanks again for helping
right now yes it open the telnet cause as i said im on the mod rescue
but when i boot hard disk, both 22 and 80 are down
 
1 members found this post helpful.
Old 05-08-2012, 04:07 AM   #12
ioub22
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
i have tried this with no success
Quote:
chown root:root /var/empty/sshd
chmod 711 /var/empty/sshd
/etc/init.d/sshd start
the server respond to ping when i boot hd but seems all ports are closed or the services are down
 
Old 05-08-2012, 08:56 AM   #13
linuxgurusa
Member
 
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151

Rep: Reputation: 29
Quote:
Originally Posted by ioub22 View Post
i have tried this with no success


the server respond to ping when i boot hd but seems all ports are closed or the services are down
Have you checked to make sure your hard drive is not full, or not mounted in read only mode perhaps ?
It seems the issue is with the server, not services or firewalls etc ?

Can you check the /var/log/messages file and check the command dmesg to pickup perhaps on the read only issue the drive might have ?
 
1 members found this post helpful.
Old 05-08-2012, 03:20 PM   #14
ioub22
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
the disk is not full
firewall off
services seems that doesnt load on boot hd

log:
Code:
May  6 18:28:48 ns305860 kernel: OCFS2 Node Manager 1.5.0
May  6 18:28:48 ns305860 kernel: OCFS2 DLM 1.5.0
May  6 18:28:48 ns305860 kernel: Btrfs loaded
May  6 18:28:48 ns305860 kernel: GFS2 installed
May  6 18:28:48 ns305860 kernel: ceph: loaded (mds proto 32)
May  6 18:28:48 ns305860 kernel: msgmni has been set to 31905
May  6 18:28:48 ns305860 kernel: async_tx: api initialized (async)
May  6 18:28:48 ns305860 kernel: Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
May  6 18:28:48 ns305860 kernel: io scheduler noop registered
May  6 18:28:48 ns305860 kernel: io scheduler deadline registered (default)
May  6 18:28:48 ns305860 kernel: io scheduler cfq registered
May  6 18:28:48 ns305860 kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
May  6 18:28:48 ns305860 kernel: pciehp: PCI Express Hot Plug Controller Driver version: 0.4
May  6 18:28:48 ns305860 kernel: acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
May  6 18:28:49 ns305860 kernel: ERST: Table is not found!
May  6 18:28:49 ns305860 kernel: GHES: HEST is not enabled!
May  6 18:28:49 ns305860 kernel: ioatdma: Intel(R) QuickData Technology Driver 4.00
May  6 18:28:49 ns305860 kernel: Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
May  6 18:28:49 ns305860 kernel: Linux agpgart interface v0.103
May  6 18:28:49 ns305860 kernel: Refined TSC clocksource calibration: 3392.296 MHz.
May  6 18:28:49 ns305860 kernel: Switching to clocksource tsc
May  6 18:28:49 ns305860 kernel: floppy0: no floppy controllers found
May  6 18:28:49 ns305860 kernel: brd: module loaded
May  6 18:28:49 ns305860 kernel: loop: module loaded
May  6 18:28:49 ns305860 kernel: nbd: registered device at major 43
May  6 18:28:49 ns305860 kernel: usbcore: registered new interface driver ub
May  6 18:28:49 ns305860 kernel: drbd: initialized. Version: 8.3.11 (api:88/proto:86-96)
May  6 18:28:49 ns305860 kernel: drbd: built-in
May  6 18:28:49 ns305860 kernel: drbd: registered as block device major 147
May  6 18:28:49 ns305860 kernel: drbd: minor_table @ 0xffff880405b90900
May  6 18:28:49 ns305860 kernel: Uniform Multi-Platform E-IDE driver
May  6 18:28:49 ns305860 kernel: ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
May  6 18:28:49 ns305860 kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
May  6 18:28:49 ns305860 kernel: ide1 at 0x170-0x177,0x376 on irq 15
May  6 18:28:49 ns305860 kernel: ide-gd driver 1.18
May  6 18:28:49 ns305860 kernel: Loading iSCSI transport class v2.0-870.
May  6 18:28:49 ns305860 kernel: iscsi: registered transport (tcp)
May  6 18:28:49 ns305860 kernel: megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
May  6 18:28:49 ns305860 kernel: megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
May  6 18:28:49 ns305860 kernel: megasas: 00.00.06.12-rc1 Wed. Oct. 5 17:00:00 PDT 2011
May  6 18:28:49 ns305860 kernel: mpt2sas version 10.100.00.00 loaded
May  6 18:28:50 ns305860 kernel: 3ware Storage Controller device driver for Linux v1.26.02.003.
May  6 18:28:50 ns305860 kernel: 3ware 9000 Storage Controller device driver for Linux v2.26.02.014.
May  6 18:28:50 ns305860 kernel: VMware PVSCSI driver - version 1.0.1.0-k
May  6 18:28:50 ns305860 kernel: ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
May  6 18:28:50 ns305860 kernel: ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x37 impl SATA mode
May  6 18:28:50 ns305860 kernel: ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part ems sxs apst
May  6 18:28:50 ns305860 kernel: scsi0 : ahci
May  6 18:28:50 ns305860 kernel: scsi1 : ahci
May  6 18:28:50 ns305860 kernel: scsi2 : ahci
May  6 18:28:50 ns305860 kernel: scsi3 : ahci
May  6 18:28:50 ns305860 kernel: scsi4 : ahci
May  6 18:28:50 ns305860 kernel: scsi5 : ahci
May  6 18:28:50 ns305860 kernel: ata1: SATA max UDMA/133 abar m2048@0xfe521000 port 0xfe521100 irq 42
May  6 18:28:50 ns305860 kernel: ata2: SATA max UDMA/133 abar m2048@0xfe521000 port 0xfe521180 irq 42
May  6 18:28:50 ns305860 kernel: ata3: SATA max UDMA/133 abar m2048@0xfe521000 port 0xfe521200 irq 42
May  6 18:28:50 ns305860 kernel: ata4: DUMMY
May  6 18:28:50 ns305860 kernel: ata5: SATA max UDMA/133 abar m2048@0xfe521000 port 0xfe521300 irq 42
May  6 18:28:50 ns305860 kernel: ata6: SATA max UDMA/133 abar m2048@0xfe521000 port 0xfe521380 irq 42
May  6 18:28:50 ns305860 kernel: slram: not enough parameters.
May  6 18:28:50 ns305860 kernel: tun: Universal TUN/TAP device driver, 1.6
May  6 18:28:50 ns305860 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
May  6 18:28:50 ns305860 kernel: pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
May  6 18:28:51 ns305860 kernel: e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
May  6 18:28:51 ns305860 kernel: e100: Copyright(c) 1999-2006 Intel Corporation
May  6 18:28:51 ns305860 kernel: e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
May  6 18:28:51 ns305860 kernel: e1000: Copyright (c) 1999-2006 Intel Corporation.
May  6 18:28:51 ns305860 kernel: e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k
May  6 18:28:51 ns305860 kernel: e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
May  6 18:28:51 ns305860 kernel: e1000e 0000:00:19.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
May  6 18:28:51 ns305860 kernel: e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 38:60:77:59:a9:18
May  6 18:28:51 ns305860 kernel: e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
May  6 18:28:51 ns305860 kernel: e1000e 0000:00:19.0: eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
May  6 18:28:51 ns305860 kernel: Intel(R) Gigabit Ethernet Network Driver - version 3.2.10-k
May  6 18:28:51 ns305860 kernel: Copyright (c) 2007-2011 Intel Corporation.
May  6 18:28:51 ns305860 kernel: Intel(R) Gigabit Virtual Function Network Driver - version 2.0.1-k
May  6 18:28:51 ns305860 kernel: Copyright (c) 2009 - 2011 Intel Corporation.
May  6 18:28:51 ns305860 kernel: ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 3.6.7-k
May  6 18:28:51 ns305860 kernel: ixgbe: Copyright (c) 1999-2011 Intel Corporation.
May  6 18:28:52 ns305860 kernel: ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
May  6 18:28:52 ns305860 kernel: ixgb: Copyright (c) 1999-2008 Intel Corporation.
May  6 18:28:52 ns305860 kernel: sky2: driver version 1.30
May  6 18:28:52 ns305860 kernel: QLogic/NetXen Network Driver v4.0.77
May  6 18:28:52 ns305860 kernel: PPP generic driver version 2.4.2
May  6 18:28:52 ns305860 kernel: PPP BSD Compression module registered
May  6 18:28:52 ns305860 kernel: PPP Deflate Compression module registered
May  6 18:28:52 ns305860 kernel: PPP MPPE Compression module registered
May  6 18:28:52 ns305860 kernel: NET: Registered protocol family 24
May  6 18:28:52 ns305860 kernel: VMware vmxnet3 virtual NIC driver - version 1.1.29.0-k-NAPI
May  6 18:28:52 ns305860 kernel: Fusion MPT base driver 3.04.20
May  6 18:28:52 ns305860 kernel: Copyright (c) 1999-2008 LSI Corporation
May  6 18:28:52 ns305860 kernel: Fusion MPT SPI Host driver 3.04.20
May  6 18:28:52 ns305860 kernel: Fusion MPT FC Host driver 3.04.20
May  6 18:28:52 ns305860 kernel: Fusion MPT SAS Host driver 3.04.20
May  6 18:28:52 ns305860 kernel: Fusion MPT misc device (ioctl) driver 3.04.20
May  6 18:28:52 ns305860 kernel: mptctl: Registered with Fusion MPT base driver
May  6 18:28:52 ns305860 kernel: mptctl: /dev/mptctl @ (major,minor=10,220)
May  6 18:28:52 ns305860 kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
May  6 18:28:52 ns305860 kernel: ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
May  6 18:28:53 ns305860 kernel: ehci_hcd 0000:00:1a.0: EHCI Host Controller
May  6 18:28:53 ns305860 kernel: ehci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
May  6 18:28:53 ns305860 kernel: ehci_hcd 0000:00:1a.0: debug port 2
May  6 18:28:53 ns305860 kernel: ehci_hcd 0000:00:1a.0: irq 16, io mem 0xfe523000
May  6 18:28:53 ns305860 kernel: ata3: SATA link down (SStatus 0 SControl 300)
May  6 18:28:53 ns305860 kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
May  6 18:28:53 ns305860 kernel: ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
May  6 18:28:53 ns305860 kernel: ata6: SATA link down (SStatus 0 SControl 300)
May  6 18:28:53 ns305860 kernel: ata5: SATA link down (SStatus 0 SControl 300)
May  6 18:28:53 ns305860 kernel: ata1.00: ATA-8: ST31000524AS, JC4B, max UDMA/133
May  6 18:28:53 ns305860 kernel: ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32)
May  6 18:28:53 ns305860 kernel: ata2.00: ATA-8: ST31000524AS, JC4B, max UDMA/133
May  6 18:28:53 ns305860 kernel: ata2.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32)
May  6 18:28:53 ns305860 kernel: ata1.00: configured for UDMA/133
May  6 18:28:53 ns305860 kernel: ata2.00: configured for UDMA/133
May  6 18:28:53 ns305860 kernel: scsi 0:0:0:0: Direct-Access     ATA      ST31000524AS     JC4B PQ: 0 ANSI: 5
May  6 18:28:53 ns305860 kernel: sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
May  6 18:28:53 ns305860 kernel: sd 0:0:0:0: [sda] Write Protect is off
May  6 18:28:53 ns305860 kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May  6 18:28:53 ns305860 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
May  6 18:28:53 ns305860 kernel: scsi 1:0:0:0: Direct-Access     ATA      ST31000524AS     JC4B PQ: 0 ANSI: 5
May  6 18:28:53 ns305860 kernel: sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
May  6 18:28:54 ns305860 kernel: sd 1:0:0:0: Attached scsi generic sg1 type 0
May  6 18:28:54 ns305860 kernel: sd 1:0:0:0: [sdb] Write Protect is off
May  6 18:28:54 ns305860 kernel: sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May  6 18:28:54 ns305860 kernel: ehci_hcd 0000:00:1a.0: USB 2.0 started, EHCI 1.00
May  6 18:28:55 ns305860 kernel: hub 1-0:1.0: USB hub found
May  6 18:28:55 ns305860 kernel: hub 1-0:1.0: 2 ports detected
May  6 18:28:55 ns305860 kernel: ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
May  6 18:28:55 ns305860 kernel: ehci_hcd 0000:00:1d.0: EHCI Host Controller
May  6 18:28:55 ns305860 kernel: ehci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
May  6 18:28:55 ns305860 kernel: ehci_hcd 0000:00:1d.0: debug port 2
May  6 18:28:55 ns305860 kernel: ehci_hcd 0000:00:1d.0: irq 23, io mem 0xfe522000
May  6 18:28:55 ns305860 kernel: ehci_hcd 0000:00:1d.0: USB 2.0 started, EHCI 1.00
May  6 18:28:55 ns305860 kernel: hub 2-0:1.0: USB hub found
May  6 18:28:55 ns305860 kernel: hub 2-0:1.0: 2 ports detected
May  6 18:28:55 ns305860 kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
May  6 18:28:55 ns305860 kernel: uhci_hcd: USB Universal Host Controller Interface driver
May  6 18:28:55 ns305860 kernel: Initializing USB Mass Storage driver...
May  6 18:28:55 ns305860 kernel: usbcore: registered new interface driver usb-storage
May  6 18:28:55 ns305860 kernel: USB Mass Storage support registered.
May  6 18:28:55 ns305860 kernel: usbcore: registered new interface driver libusual
May  6 18:28:55 ns305860 kernel: i8042: PNP: No PS/2 controller found. Probing ports directly.
May  6 18:28:55 ns305860 kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
May  6 18:28:55 ns305860 kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
May  6 18:28:55 ns305860 kernel: mousedev: PS/2 mouse device common for all mice
May  6 18:28:55 ns305860 kernel: rtc_cmos 00:04: RTC can wake from S4
May  6 18:28:55 ns305860 kernel: rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
May  6 18:28:56 ns305860 kernel: rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
May  6 18:28:56 ns305860 kernel: w83627ehf: Found NCT6775F chip at 0x290
May  6 18:28:56 ns305860 kernel: Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout= 0)
May  6 18:28:56 ns305860 kernel: md: linear personality registered for level -1
May  6 18:28:56 ns305860 kernel: md: raid0 personality registered for level 0
May  6 18:28:56 ns305860 kernel: md: raid1 personality registered for level 1
May  6 18:28:56 ns305860 kernel: md: raid10 personality registered for level 10
May  6 18:28:56 ns305860 kernel: md: raid6 personality registered for level 6
May  6 18:28:56 ns305860 kernel: md: raid5 personality registered for level 5
May  6 18:28:56 ns305860 kernel: md: raid4 personality registered for level 4
May  6 18:28:56 ns305860 kernel: md: multipath personality registered for level -4
May  6 18:28:56 ns305860 kernel: md: faulty personality registered for level -5
May  6 18:28:56 ns305860 kernel: device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
May  6 18:28:56 ns305860 kernel: device-mapper: multipath: version 1.3.0 loaded
May  6 18:28:56 ns305860 kernel: device-mapper: multipath round-robin: version 1.0.0 loaded
May  6 18:28:56 ns305860 kernel: EDAC MC: Ver: 2.1.0
May  6 18:28:56 ns305860 kernel: AMD64 EDAC driver v3.4.0
May  6 18:28:56 ns305860 kernel: cpuidle: using governor ladder
May  6 18:28:56 ns305860 kernel: cpuidle: using governor menu
May  6 18:28:56 ns305860 kernel: EFI Variables Facility v0.08 2004-May-17
May  6 18:28:56 ns305860 kernel: No iBFT detected.
May  6 18:28:56 ns305860 kernel: usbcore: registered new interface driver usbhid
May  6 18:28:56 ns305860 kernel: usbhid: USB HID core driver
May  6 18:28:57 ns305860 kernel: Netfilter messages via NETLINK v0.30.
May  6 18:28:57 ns305860 kernel: nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
May  6 18:28:57 ns305860 kernel: ctnetlink v0.93: registering with nfnetlink.
May  6 18:28:57 ns305860 kernel: xt_time: kernel timezone is -0000
May  6 18:28:57 ns305860 kernel: IPv4 over IPv4 tunneling driver
May  6 18:28:57 ns305860 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
May  6 18:28:57 ns305860 kernel: ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
May  6 18:28:57 ns305860 kernel: TCP cubic registered
May  6 18:28:57 ns305860 kernel: Initializing XFRM netlink socket
May  6 18:28:57 ns305860 kernel: NET: Registered protocol family 10
May  6 18:28:57 ns305860 kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
May  6 18:28:57 ns305860 kernel: IPv6 over IPv4 tunneling driver
May  6 18:28:57 ns305860 kernel:  sda: sda1 sda2
May  6 18:28:57 ns305860 kernel: NET: Registered protocol family 17
May  6 18:28:57 ns305860 kernel: NET: Registered protocol family 15
May  6 18:28:58 ns305860 kernel: Bridge firewalling registered
May  6 18:28:58 ns305860 kernel: sd 0:0:0:0: [sda] Attached SCSI disk
May  6 18:28:58 ns305860 kernel: L2TP core driver, V2.0
May  6 18:28:58 ns305860 kernel: PPPoL2TP kernel driver, V2.0
May  6 18:28:58 ns305860 kernel: L2TP IP encapsulation support (L2TPv3)
May  6 18:28:58 ns305860 kernel: L2TP netlink interface
May  6 18:28:58 ns305860 kernel: L2TP ethernet pseudowire support (L2TPv3)
May  6 18:28:58 ns305860 kernel: 8021q: 802.1Q VLAN Support v1.8
May  6 18:28:58 ns305860 kernel: sctp: Hash tables configured (established 65536 bind 65536)
May  6 18:28:58 ns305860 kernel: Registering the dns_resolver key type
May  6 18:28:58 ns305860 kernel: libceph: loaded (mon/osd proto 15/24, osdmap 5/6 5/6)
May  6 18:28:58 ns305860 kernel: registered taskstats version 1
May  6 18:28:58 ns305860 kernel: rtc_cmos 00:04: setting system clock to 2012-05-06 16:13:25 UTC (1336320805)
May  6 18:28:58 ns305860 kernel:  sdb: sdb1 sdb2 sdb3
May  6 18:28:58 ns305860 kernel: sd 1:0:0:0: [sdb] Attached SCSI disk
May  6 18:28:58 ns305860 kernel: md: Waiting for all devices to be available before autodetect
May  6 18:28:58 ns305860 kernel: md: If you don't use raid, use raid=noautodetect
May  6 18:28:58 ns305860 kernel: md: Autodetecting RAID arrays.
May  6 18:28:58 ns305860 kernel: md: invalid raid superblock magic on sdb1
May  6 18:28:58 ns305860 kernel: md: sdb1 does not have a valid v0.90 superblock, not importing!
May  6 18:28:58 ns305860 kernel: md: invalid raid superblock magic on sdb2
May  6 18:28:58 ns305860 kernel: md: sdb2 does not have a valid v0.90 superblock, not importing!
May  6 18:28:59 ns305860 kernel: md: Scanned 2 and added 0 devices.
May  6 18:28:59 ns305860 kernel: md: autorun ...
May  6 18:28:59 ns305860 kernel: md: ... autorun DONE.
May  6 18:28:59 ns305860 kernel: EXT3-fs (sda1): recovery required on readonly filesystem
May  6 18:28:59 ns305860 kernel: EXT3-fs (sda1): write access will be enabled during recovery
May  6 18:28:59 ns305860 kernel: usb 1-1: new high-speed USB device number 2 using ehci_hcd
May  6 18:28:59 ns305860 kernel: hub 1-1:1.0: USB hub found
May  6 18:28:59 ns305860 kernel: hub 1-1:1.0: 6 ports detected
May  6 18:28:59 ns305860 kernel: usb 2-1: new high-speed USB device number 2 using ehci_hcd
May  6 18:28:59 ns305860 kernel: hub 2-1:1.0: USB hub found
May  6 18:28:59 ns305860 kernel: hub 2-1:1.0: 8 ports detected
May  6 18:28:59 ns305860 kernel: kjournald starting.  Commit interval 5 seconds
May  6 18:28:59 ns305860 kernel: EXT3-fs (sda1): orphan cleanup on readonly fs
May  6 18:28:59 ns305860 kernel: EXT3-fs (sda1): 3 orphan inodes deleted
May  6 18:28:59 ns305860 kernel: EXT3-fs (sda1): recovery complete
May  6 18:28:59 ns305860 kernel: EXT3-fs (sda1): mounted filesystem with writeback data mode
May  6 18:28:59 ns305860 kernel: VFS: Mounted root (ext3 filesystem) readonly on device 8:1.
May  6 18:28:59 ns305860 kernel: Freeing unused kernel memory: 632k freed
May  6 18:28:59 ns305860 kernel: udevd (1806): /proc/1806/oom_adj is deprecated, please use /proc/1806/oom_score_adj instead.
May  6 18:29:00 ns305860 kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
May  6 18:29:00 ns305860 kernel: e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
May  6 18:29:00 ns305860 kernel: e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO
May  6 18:29:00 ns305860 kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
May  6 18:29:00 ns305860 kernel: md: Autodetecting RAID arrays.
May  6 18:29:00 ns305860 kernel: md: Scanned 0 and added 0 devices.
May  6 18:29:00 ns305860 kernel: md: autorun ...
May  6 18:29:00 ns305860 kernel: md: ... autorun DONE.
May  6 18:29:00 ns305860 kernel: EXT3-fs (sda1): using internal journal
May  6 18:29:00 ns305860 kernel: Adding 523484k swap on /dev/sda2.  Priority:-1 extents:1 across:523484k
May  6 18:29:00 ns305860 kernel: warning: process `kudzu' used the deprecated sysctl system call with 1.23.
May  6 18:29:00 ns305860 kernel: warning: `dbus-daemon' uses 32-bit capabilities (legacy support in use)
 
Old 05-09-2012, 06:33 PM   #15
officecase
Member
 
Registered: Jan 2007
Distribution: Centos, ArchLinux
Posts: 40

Rep: Reputation: 18
nmap

Could you use nmap to scan the IP to verify that it is listing external?

nmap -P0 192.168.1.1 -p 22

make sure to update the IP (192.168.1.1) with your servers IP

It should look like this...

PORT STATE SERVICE
22/tcp open ssh
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SSH connection refused on local network mbvpixies78 Linux - Networking 10 12-08-2011 12:21 PM
Putty fatal error: Network error: connection refused (ubunty server 6.06.1) gerardnijboer Ubuntu 2 03-18-2010 03:46 PM
ssh error connection refused immortaltechnique Linux - Software 4 07-25-2008 02:52 AM
ssh connection refused - error with ncurses when loading sshd tai786 Linux - Software 1 01-29-2006 03:24 AM
RHN - Network error 111: Connection refused Adam555 Linux - Newbie 1 05-25-2004 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration