LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-03-2011, 09:10 PM   #1
dsp2267
LQ Newbie
 
Registered: Oct 2011
Posts: 5

Rep: Reputation: Disabled
Question weird problem starting iscsi service


Hello all, I've run into a problem that I have no idea how to troubleshoot, and since it seems like a skill I ought to have, I want to understand what's going on and resolve it. So, here's the short version;

network consists of an OpenFiler VM and a CentOS 6 VM
----------------------------------------------------------
network is 192.168.1.0/24, inside a Linksys router
host machine is Win7Pro, running VMware Workstation 8
OpenFiler VM is serving out NFS, CIFS, and iSCSI
CentOS VM is client, and have got NFS and CIFS access working but not iSCSI
CentOS VM used to have config to connect to NFS, CIFS, and ISCSI on a FreeNAS VM with IPv4=192.168.1.90 which is not running
essentially, the iSCSI initiator daemon on the CentOS box is trying to connect to the FreeNAS iSCSI which is not there, and thus failing out

I have recursively grepped for the IPv4 address of the FreeNAS box, 192.168.1.90, but found nothing in /etc. For the life of me I cannot figure out why the iSCSI initiator still wants to connect to the FreeNAS box.

Obviously the easy way out would be to delete the VM and build a new one, but not knowing why this is happening is driving me nuts. I REALLY want to learn how to fix this. So I hope y'all can help me troubleshoot.

on CentOS box, here are the symptoms (forgive the length);

[root@centos6-server Desktop]# chkconfig --list | grep scsi
iscsi 0:off 1:off 2:on 3:on 4:on 5:on 6:off
iscsid 0:off 1:off 2:on 3:on 4:on 5:on 6:off

[root@centos6-server Desktop]# service iscsid status
iscsid (pid 1205) is running...
[root@centos6-server Desktop]# service iscsi status
iscsi is stopped

[root@centos6-server Desktop]# logger 'iscsi initialization retry starts here!!!'
[root@centos6-server Desktop]# logger 'iscsi initialization retry starts here!!!'
[root@centos6-server Desktop]# logger 'iscsi initialization retry starts here!!!'
[root@centos6-server Desktop]#
[root@centos6-server Desktop]# service iscsi start
Starting iscsi: iscsiadm: Could not login to [iface: default, target: iqn.2011-03.example.org.istgt:freenas, portal: 192.168.1.90,3260].
iscsiadm: initiator reported error (8 - connection timed out)
[FAILED]

Dec 3 21:32:07 centos6-server root: iscsi initialization retry starts here!!!
Dec 3 21:32:08 centos6-server root: iscsi initialization retry starts here!!!
Dec 3 21:32:09 centos6-server root: iscsi initialization retry starts here!!!
Dec 3 21:32:15 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:32:21 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:32:28 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:32:34 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:32:40 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:32:46 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:32:52 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:32:58 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:04 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:11 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:17 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:23 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:29 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:35 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:41 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:47 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:53 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:33:59 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:34:05 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:34:11 centos6-server iscsid: connect to 192.168.1.90:3260 failed (No route to host)
Dec 3 21:34:14 centos6-server iscsid: Login timed out. Could not login to [target: iqn.2011-03.example.org.istgt:freenas, portal: 192.168.1.90,3260] through [iface: default].
Dec 3 21:34:14 centos6-server iscsid: Connection-1:0 to [target: iqn.2011-03.example.org.istgt:freenas, portal: 192.168.1.90,3260] through [iface: default] is shutdown.

[root@centos6-server Desktop]# grep -R "192.168.1.90" /etc
[root@centos6-server Desktop]#

How do I get rid of this desire to connect to a phantom iSCSI server?
 
Old 12-04-2011, 09:21 AM   #2
lordy
LQ Newbie
 
Registered: Feb 2003
Location: Bulgaria
Distribution: debian/fedora
Posts: 11

Rep: Reputation: 0
Hi,

Check your network connectivity to the iSCSI target host - this message might mean that the port is filtered (try telnet/nc to verify)

Good luck
 
Old 12-05-2011, 01:08 AM   #3
dsp2267
LQ Newbie
 
Registered: Oct 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lordy View Post
Hi,

Check your network connectivity to the iSCSI target host - this message might mean that the port is filtered (try telnet/nc to verify)
The iSCSI target host that the iscsi service is trying to connect to does not exist. Connectivity is irrelevant in this case.
 
  


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
Squid service starting problem katariya.subhash Linux - Newbie 3 07-02-2010 01:59 AM
Problem with service not starting at boot dabeeler Linux - Enterprise 4 03-23-2008 11:01 PM
problem in starting httpd service!! mhmo Linux - Server 1 03-17-2007 07:01 AM
problem with starting Samba service honghebox Linux - Newbie 6 01-03-2006 11:20 PM
Problem starting java service during bootup TomCruise2002 Linux - Newbie 0 01-29-2003 09:44 PM


All times are GMT -5. The time now is 12:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration