Connection refused

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
mastachef
Posts: 10
Joined: Wed Jul 23, 2008 12:21 pm

Wed Jul 23, 2008 12:29 pm

Greetings. I am very new to my job and your software and I have some questions. I have consulted Google and the FAQs and I can't seem to find an answer. Currently my task is to install iSCSI support on a Windows blade (using W2K3 Server Ed.) What has happened is that we have created two partitions (Windows and Windows2). On the second parition, we place an image file so we can have a Linux blade point to it. I am able to get the ISCSI service started on Linux but on Windows, StarWind keeps returing an error message simliar to the following post:

http://www.starwindsoftware.com/forums/ ... .php?t=316

I tried all and still unsuccesful. Any help or suggestions?
User avatar
Bohdan (staff)
Staff
Posts: 435
Joined: Wed May 23, 2007 12:58 pm

Thu Jul 24, 2008 6:01 am

Please run: netstat -ab
and make sure that StarWindService.exe is listeting on the 3260 and 3261 ports.

Run: telnet localhost 3260
and make sure you are able to establish connection.

Run: telnet localhost 3261
and make sure you are able to establish connection.

Check your firewall rules. Check windows firewall.
mastachef
Posts: 10
Joined: Wed Jul 23, 2008 12:21 pm

Thu Jul 24, 2008 11:26 am

Thank you much. I tried those and here are my results:

command: netstat -ab
result: both ports are not listed

command: telnet localhost 3260 & 3261
result: could not open connection on either port.

I checked under Services and tried to start the StarWind service and it starts and then stops. I checked the Windows Firewall and the firewall is 'Diabled'. Is there something outside of StarWind that has to be done in order to connect?
User avatar
Bohdan (staff)
Staff
Posts: 435
Joined: Wed May 23, 2007 12:58 pm

Thu Jul 24, 2008 11:38 am

>>... tried to start the StarWind service and it starts and then stops
It is interesting.
Is it possible for you to send us (support@rocketdivision.com) StarWind logs (c:\Program Files\Rocket Division Software\StarWind\logs\)?
mastachef
Posts: 10
Joined: Wed Jul 23, 2008 12:21 pm

Thu Jul 24, 2008 12:11 pm

I tried sending the log but I received the Spam arrest notification and it wouldn't verify. Here is the log:

7/24 8:40:14.062 798 Srv: StarWind iSCSI Target v3.5.4 (Build 20080527, Win32)
7/24 8:40:14.062 798 Srv: Built May 30 2008 18:24:45
7/24 8:40:14.062 798 Srv: Windows Server 2003 R2 Enterprise Edition Service Pack 2 (Build 3790)
7/24 8:40:14.062 798 Srv: System CPU count: 2

7/24 8:40:17.078 798 Srv: Unlimited number of client hosts allowed.
7/24 8:40:17.093 798 Srv: Config file: 'StarWind.cfg'
7/24 8:40:17.187 798 conf: 'LogLevel' = '1'
7/24 8:40:17.187 798 conf: 'LogMask' = '0x8fffffff'
7/24 8:40:17.187 798 conf: 'Port' = '3260'
7/24 8:40:17.187 798 conf: 'Interface' = '172.17.0.38'
7/24 8:40:17.187 798 conf: 'Login' = 'test'
7/24 8:40:17.187 798 conf: 'Password' = '##CY9rzUYh03PK3k6DJie09g=='
7/24 8:40:17.187 798 conf: 'MinBufferSize' = '65536'
7/24 8:40:17.187 798 conf: 'AlignmentMask' = '0x0000'
7/24 8:40:17.187 798 conf: 'MaxPendingRequests' = '64'
7/24 8:40:17.187 798 conf: 'iScsiPingPeriod' = '0'
7/24 8:40:17.187 798 conf: read command: addplugin -module:"RamDisk.dll" -symlink:"RamDrive" -type:"RAM disk"
7/24 8:40:17.187 798 conf: read command: addplugin -module:"ImageFile.dll" -symlink:"ImageFile" -type:"Image file" -imagedir:"*|cmdfv|My Computer|img" -volumes:"no"
7/24 8:40:17.187 798 conf: read command: addplugin -module:"VirtualDvd.dll" -symlink:"VirtualDvd" -type:"Virtual DVD" -imagedir:"*|mv|My Computer|mds,iso"
7/24 8:40:17.187 798 conf: read command: addplugin -module:"IBVolume.dll" -symlink:"IBV" -type:"IBV" -imagedir:"*|cdmfv|My Computer|ibv" -imagedir:"*|dmfv|Snapshots|ibvss" -imagedir:"*|v|Image Files|img,dat"
7/24 8:40:17.187 798 conf: read command: addplugin -module:"Mirror.dll" -symlink:"Mirror" -type:"Mirror" -imagedir:"*|cdmfv|Mirror Volumes|mir" -imagedir:"*|v|Image Files|img,dat"
7/24 8:40:17.187 798 conf: read command: addplugin -module:"DiskBridge.dll" -symlink:"DiskBridge" -type:"DiskBridge"
7/24 8:40:17.187 798 conf: read command: addplugin -module:"VirtualTape.dll" -symlink:"VirtualTape" -type:"Virtual tape" -imagedir:"*|cmdfv|My Computer|vtl" -volumes:"no" -LogLevel:"1"
7/24 8:40:17.187 798 conf: 'AccessPolicy' = 'allow'
7/24 8:40:17.187 798 conf: read command:
7/24 8:40:17.187 798 conf: Variable 'LogLevel' is set to '1'.
7/24 8:40:17.187 798 conf: Variable 'LogMask' is set to '0x8fffffff'.
7/24 8:40:17.187 798 conf: Variable 'Port' is set to '3260'.
7/24 8:40:17.187 798 conf: Variable 'Interface' is set to '172.17.0.38'.
7/24 8:40:17.187 798 conf: Variable 'Login' is set to 'test'.
7/24 8:40:17.187 798 conf: Variable 'Password' is set to '##CY9rzUYh03PK3k6DJie09g=='.
7/24 8:40:17.187 798 conf: Variable 'MinBufferSize' is set to '65536'.
7/24 8:40:17.187 798 conf: Variable 'AlignmentMask' is set to '0x0000'.
7/24 8:40:17.187 798 conf: Variable 'MaxPendingRequests' is set to '64'.
7/24 8:40:17.187 798 conf: Variable 'iScsiPingPeriod' is set to '0'.
7/24 8:40:17.203 798 conf: 'RamDisk.dll' loaded successfully.
7/24 8:40:17.296 798 IMG: SscPort_Init: Parse ImageDir: '*|cmdfv|My Computer|img'
7/24 8:40:17.562 798 IMG: *SscPort_Init:
Dirname: '*'
Rights: 0x1f
Alias: 'My Computer'
Extensions: 'img'
7/24 8:40:17.562 798 IMG: SscPort_Init: Comment : ''
7/24 8:40:17.562 798 IMG: SscPort_Init: (build 20080527, built May 28 2008 17:37:38)
VendorId = ' '
ProductId = ' '
Revision = '0001'
DefImageDir = '*\'
Volumes = 0
ExeDir = 'C:\Program Files\Rocket Division Software\StarWind\'
7/24 8:40:17.562 798 conf: 'ImageFile.dll' loaded successfully.
7/24 8:40:17.562 798 VDVD: *SscPort_Init:
Dirname: '*'
Rights: 0x18
Alias: 'My Computer'
Extensions: 'mds,iso'
7/24 8:40:17.781 798 conf: 'VirtualDvd.dll' loaded successfully.
7/24 8:40:17.781 798 IBV: *SscPort_Init:
Dirname: '*'
Rights: 0x1f
Alias: 'My Computer'
Extensions: 'ibv'
7/24 8:40:17.828 798 IBV: *SscPort_Init:
Dirname: '*'
Rights: 0x1e
Alias: 'Snapshots'
Extensions: 'ibvss'
7/24 8:40:17.828 798 IBV: *SscPort_Init:
Dirname: '*'
Rights: 0x8
Alias: 'Image Files'
Extensions: 'img,dat'
7/24 8:40:17.828 798 IBV: SscPort_Init: (build 20080527, built May 30 2008 18:24:36)
VendorId = ' '
ProductId = ' '
Revision = '0001'
ImageDir = '*\'
ExeDir = 'C:\Program Files\Rocket Division Software\StarWind\'
7/24 8:40:17.828 798 conf: 'IBVolume.dll' loaded successfully.
7/24 8:40:17.843 798 MIR: *SscPort_Init:
Dirname: '*'
Rights: 0x1f
Alias: 'Mirror Volumes'
Extensions: 'mir'
7/24 8:40:18.031 798 MIR: *SscPort_Init:
Dirname: '*'
Rights: 0x8
Alias: 'Image Files'
Extensions: 'img,dat'
7/24 8:40:18.031 798 conf: 'Mirror.dll' loaded successfully.
7/24 8:40:18.046 798 DSKBR: SscPort_Init: (built May 28 2008 17:37:58)
VendorId = ' '
ProductId = ' '
Revision = '0001'
ExeDir = 'C:\Program Files\Rocket Division Software\StarWind\'
7/24 8:40:18.359 798 conf: 'DiskBridge.dll' loaded successfully.
7/24 8:40:18.375 798 VTAPE: SscPort_Init: Parse ImageDir: '*|cmdfv|My Computer|vtl'
7/24 8:40:18.484 798 VTAPE: *SscPort_Init:
Dirname: '*'
Rights: 0x1f
Alias: 'My Computer'
Extensions: 'vtl'
7/24 8:40:18.484 798 VTAPE: SscPort_Init: Comment : ''
7/24 8:40:18.484 798 VTAPE: *** SscPort_Init: Logging level is set to 1.
7/24 8:40:18.484 798 VTAPE: *** SscPort_Init: DBG_ERROR statements are ON.
7/24 8:40:18.484 798 VTAPE: SscPort_Init: (built Mar 24 2008 21:47:01)
VendorId = ' '
ProductId = ' '
Revision = ' '
DefImageDir = '*\'
Volumes = 0
ExeDir = 'C:\Program Files\Rocket Division Software\StarWind\'
7/24 8:40:18.484 798 VTAPE: *** TapeEmulCtrlApiStart: NexiTech License Type is 0
7/24 8:40:18.484 798 VTAPE: *** TapeEmulCtrlApiStart: This Evaluation Edition supports a maximum of 2 devices, each up to 256 MB in length.
7/24 8:40:18.484 798 conf: 'VirtualTape.dll' loaded successfully.
7/24 8:40:18.484 798 Srv: Refreshing device list (plugins)...
7/24 8:40:18.484 798 Srv: bind() to 172.17.0.38:3260 failed: The requested address is not valid in its context. (code: 10049).
7/24 8:40:18.484 9e8 conf: Waiting for Control connections at 0.0.0.0:3261 ...
7/24 8:40:18.484 9e8 conf: accept() failed: An operation was attempted on something that is not a socket. (code: 10038).
7/24 8:40:18.484 9e8 conf: Stop listening to control connections.
7/24 8:40:18.484 798 Srv: Timeout 10 second(s)...
7/24 8:40:18.484 798 Srv: Shutdown completed.
User avatar
Bohdan (staff)
Staff
Posts: 435
Joined: Wed May 23, 2007 12:58 pm

Thu Jul 24, 2008 12:39 pm

I think here is the answer:

7/24 8:40:18.484 798 Srv: bind() to 172.17.0.38:3260 failed: The requested address is not valid in its context. (code: 10049).

Please check your network settings and make sure that any other service is not listening on 172.17.0.38:3260

ipconfig /all
netstat -ab
mastachef
Posts: 10
Joined: Wed Jul 23, 2008 12:21 pm

Thu Jul 24, 2008 1:00 pm

Nope. Still not connecting. Do I need StarPort and StarWind to have this working?
User avatar
Bohdan (staff)
Staff
Posts: 435
Joined: Wed May 23, 2007 12:58 pm

Thu Jul 24, 2008 1:37 pm

Is this correct IP addres 172.17.0.38 ?
Please show us (email or forum) the information of

netstat -ab > c:\netstat.txt
and
ipconfig /all > c:\interfaces.txt

utilities.
Post Reply