Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
05-07-2012, 08:23 PM
#1
LQ Newbie
Registered: May 2012
Posts: 10
Rep:
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
05-08-2012, 02:19 AM
#2
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
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?
05-08-2012, 02:22 AM
#3
LQ Newbie
Registered: May 2012
Posts: 10
Original Poster
Rep:
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
05-08-2012, 02:23 AM
#4
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
So you could have said that in the first post...
Is sshd running and listening correctly?
05-08-2012, 03:19 AM
#5
LQ Newbie
Registered: May 2012
Posts: 10
Original Poster
Rep:
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 ^^
05-08-2012, 03:20 AM
#6
Member
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151
Rep:
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
05-08-2012, 03:24 AM
#7
LQ Newbie
Registered: May 2012
Posts: 10
Original Poster
Rep:
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 .
05-08-2012, 03:40 AM
#8
Member
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151
Rep:
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 ?
05-08-2012, 03:45 AM
#9
LQ Newbie
Registered: May 2012
Posts: 10
Original Poster
Rep:
Quote:
Originally Posted by
linuxgurusa
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
05-08-2012, 03:51 AM
#10
Member
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151
Rep:
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.
05-08-2012, 03:59 AM
#11
LQ Newbie
Registered: May 2012
Posts: 10
Original Poster
Rep:
Quote:
Originally Posted by
linuxgurusa
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.
05-08-2012, 04:07 AM
#12
LQ Newbie
Registered: May 2012
Posts: 10
Original Poster
Rep:
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
05-08-2012, 08:56 AM
#13
Member
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151
Rep:
Quote:
Originally Posted by
ioub22
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.
05-08-2012, 03:20 PM
#14
LQ Newbie
Registered: May 2012
Posts: 10
Original Poster
Rep:
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)
05-09-2012, 06:33 PM
#15
Member
Registered: Jan 2007
Distribution: Centos, ArchLinux
Posts: 40
Rep:
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.
All times are GMT -5. The time now is 02:19 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News