× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



What about a firewall on the remote or between the remote and the i?

Depending on the configuration of the firewall, I believe you could
see the "host not found" instead of the "connection refused".

Charles

On Mon, Jan 17, 2011 at 3:11 PM, tim <tim.dclinc@xxxxxxxxx> wrote:
Yes, I am able to ping the address's

So I do a ping 10.0.0.150 it works...

When I try

strqsh cmd('rexec -u usernm -p password xxx.xxx.xxx.xxx dir')

it fails with

"rexec: 001-2246 Host xxx.xxx.xxx.xxx cannot be found."



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Monday, January 17, 2011 2:10 PM
To: Midrange Systems Technical Discussion
Subject: Re: strqsh rexec command question

Vern,

If there is no rexec running on that PC one should get:
rexec: 001-2245 Error found issuing command to remote host
gdspc74.dekko-1.
A remote host refused an attempted connect operation.

If it cannot find the PC by IP address you should get:
rexec: 001-2246 Host 10.10.1.123 cannot be found.

I would try pinging it from the i itself.

if the ping fails:
- verify the IP address
- verify that the reason the IP address works from your PC and not the i
is not because
+ your pc is on some vpn, different subnet, etc.
- from where the ping works try:
tracert xxx.xxx.xxx.xxx
- from the i try
traceroute 'xxx.xxx.xxx.xxx'
Spelling of that command varies by platform.

You may have to change some routings or whatnot on your i.  Let us know
before we give you TMI.

i commands above were ran on 7.1 of i.
My PC is running 7.1 of IBM Access for i.  I'm not finding that service
running on there.  I thought I used to have it.  I don't know if the
upgrade killed it or what.


Rob Berendt
--
Group Dekko
Dept 1600
Mail to:  2505 Dekko Drive
         Garrett, IN 46738
Ship to:  Dock 108
         6928N 400E
         Kendallville, IN 46755
http://www.dekko.com





From:   Jack Kingsley <iseriesflorida@xxxxxxxxx>
To:     Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date:   01/17/2011 01:48 PM
Subject:        Re: strqsh rexec command question
Sent by:        midrange-l-bounces@xxxxxxxxxxxx



The IP address of the pc's can you ping them from the ISERIES.

On Mon, Jan 17, 2011 at 12:55 PM, Vern Hamberg <vhamberg@xxxxxxxxxxx>
wrote:

First guess is that there is no rexecd running on the ones it can't
find.

On 1/17/2011 10:20 AM, tim wrote:
I am using the following command to several pc's on my network.



strqsh cmd('rexec -u usernm -p password xxx.xxx.xxx.xxx dir')



I replace xxx with the ip address of the computer. Some computers list
the
directory, while others display the error :



rexec: 001-2246 Host xxx.xxx.xxx.xxx cannot be found.



When I try to ping the computers that give me that error, it finds it.



Can someone tell me what that error means.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.