|
Home > Archive > Unix administration > August 2006 > rlogin issues
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| yls177 2006-07-31, 1:22 am |
| hi
i got 3 boxes, boxA, boxB, boxC
i can do the below
boxA> ufsdump 0fu boxB:/mydirectory/myfile /myfile
boxA> rlogin boxB is okay
but when i do the below
boxA> ufsdump 0fu boxC:/mydirectory/myfile /myfile, system says error,
boxA> rlogin boxC got error
on boxB, and boxC, i have added the below
1) /.rhosts entries are boxA
2) inetd.conf, enabled shell... in.rshd (got 2 such entries) and
rlogin.d too... even restart the inetd daemon.
on boxA, i have added the below
1) /.rhosts entries are boxB, boxC
i noticed a KEY finding. on BoxB, i got results from the "netstat -an |
grep -i 514".. however , on BoxC, i dont any results from the same
command
Any assistance?
| |
| Logan Shaw 2006-07-31, 7:28 am |
| yls177 wrote:
> i got 3 boxes, boxA, boxB, boxC
>
>
> i can do the below
>
>
> boxA> ufsdump 0fu boxB:/mydirectory/myfile /myfile
> boxA> rlogin boxB is okay
>
>
> but when i do the below
>
>
> boxA> ufsdump 0fu boxC:/mydirectory/myfile /myfile, system says error,
> boxA> rlogin boxC got error
You want help with a problem, you got an error message, and you're
not going to post the error message? That doesn't make it very easy
to help you.
- Logan
| |
| yls177 2006-08-01, 1:21 am |
| Hi
When i do a rlogin, rsh to BoxC, there are no error messages. The
system just waits there.
When i did a telnet boxC 514 from BoxA, i got this error message
"telnet : unable to connect to remote host : connection refused"
All boxes are on solaris 8.
Rgds
Logan Shaw wrote:
> yls177 wrote:
>
> You want help with a problem, you got an error message, and you're
> not going to post the error message? That doesn't make it very easy
> to help you.
>
> - Logan
lshaw-use...@austin.rr.com
| |
| Barry Margolin 2006-08-01, 1:26 pm |
| In article <1154396854.394249.150070@p79g2000cwp.googlegroups.com>,
"yls177" <yls177@hotmail.com> wrote:
> Hi
>
> When i do a rlogin, rsh to BoxC, there are no error messages. The
> system just waits there.
You didn't wait long enough. rlogin retries a bunch of times when it
gets "Connection refused".
>
> When i did a telnet boxC 514 from BoxA, i got this error message
> "telnet : unable to connect to remote host : connection refused"
>
> All boxes are on solaris 8.
BoxC doesn't have the shell service enabled. Check its /etc/inetd.conf.
>
> Rgds
>
> Logan Shaw wrote:
>
> lshaw-use...@austin.rr.com
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
| |
| yls177 2006-08-01, 1:26 pm |
| Hi
i alrady enabled BoxC inetd.conf to allow rsh, by uncommenting its
shell entry
also, i have added the /.rhosts as well.
and i did a pkill -HUP inetd, followed by a netstat -an | grep 514, but
still no port 514 existence. and therefore, i cant do a rsh from BoxA
Rgds
Barry Margolin wrote:
> In article <1154396854.394249.150070@p79g2000cwp.googlegroups.com>,
> "yls177" <yls177@hotmail.com> wrote:
>
>
> You didn't wait long enough. rlogin retries a bunch of times when it
> gets "Connection refused".
>
>
> BoxC doesn't have the shell service enabled. Check its /etc/inetd.conf.
>
>
> --
> Barry Margolin, barmar@alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
> *** PLEASE don't copy me on replies, I'll read them in the group ***
| |
| Barry Margolin 2006-08-02, 1:24 am |
| In article <1154445268.197307.186170@i42g2000cwa.googlegroups.com>,
"yls177" <yls177@hotmail.com> wrote:
> Hi
>
> i alrady enabled BoxC inetd.conf to allow rsh, by uncommenting its
> shell entry
>
> also, i have added the /.rhosts as well.
..rhosts is irrelevant if the server isn't running.
>
> and i did a pkill -HUP inetd, followed by a netstat -an | grep 514, but
> still no port 514 existence. and therefore, i cant do a rsh from BoxA
Did inetd log any errors that might explain why it couldn't start up the
server on port 514?
[vbcol=seagreen]
>
> Rgds
>
> Barry Margolin wrote:
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
| |
| Kevin Collins 2006-08-02, 7:22 pm |
| In article <1154445268.197307.186170@i42g2000cwa.googlegroups.com>, yls177 wrote:
> Hi
>
> i alrady enabled BoxC inetd.conf to allow rsh, by uncommenting its
> shell entry
You have to tell inetd to re-read its config AFTER you change the config. Have
you done that? See 'man inetd' for more info...
> also, i have added the /.rhosts as well.
>
> and i did a pkill -HUP inetd, followed by a netstat -an | grep 514, but
> still no port 514 existence. and therefore, i cant do a rsh from BoxA
>
> Rgds
>
> Barry Margolin wrote:
>
Kevin
--
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, PERL and CGI scripting
http://www.unix-guy.com
| |
| Barry Margolin 2006-08-02, 7:22 pm |
| In article <slrned1tkm.6v9.spamtotrash@halo.unix-guy.com>,
Kevin Collins <spamtotrash@toomuchfiction.com> wrote:
> In article <1154445268.197307.186170@i42g2000cwa.googlegroups.com>, yls177
> wrote:
>
> You have to tell inetd to re-read its config AFTER you change the config.
> Have
> you done that? See 'man inetd' for more info...
Didn't you see below where he said "I did a pkill -HUP inetd"?
[vbcol=seagreen]
>
Check your log for errors from inetd that might explain it.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
| |
| yls177 2006-08-03, 7:29 am |
| Hi all
Thanks for assisting. Just want to update all the status
I had give up on BoxC. I got another BoxY.
So BoxY and BoxA are in different network segments. I can open up the
port 514 on BoxY. My network team opened up the port514 too. However, I
still have problems with rsh to BoxA. The error message was "rsh :
connection timed out". After some debugging from my network team, they
told me that i need port 513. After they opened up port 513, the rest
is history.
Rgds
Mark
Thanks all who contribute
Barry Margolin wrote:
> In article <slrned1tkm.6v9.spamtotrash@halo.unix-guy.com>,
> Kevin Collins <spamtotrash@toomuchfiction.com> wrote:
>
>
> Didn't you see below where he said "I did a pkill -HUP inetd"?
>
>
> Check your log for errors from inetd that might explain it.
>
> --
> Barry Margolin, barmar@alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
> *** PLEASE don't copy me on replies, I'll read them in the group ***
| |
| Kevin Collins 2006-08-03, 7:33 pm |
| In article <barmar-D5C0E7.20050002082006@comcast.dca.giganews.com>, Barry Margolin wrote:
> In article <slrned1tkm.6v9.spamtotrash@halo.unix-guy.com>,
> Kevin Collins <spamtotrash@toomuchfiction.com> wrote:
>
>
> Didn't you see below where he said "I did a pkill -HUP inetd"?
DOH! Yep - I completely missed that... 
>
> Check your log for errors from inetd that might explain it.
>
Kevin
--
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, PERL and CGI scripting
http://www.unix-guy.com
| |
| Barry Margolin 2006-08-04, 1:26 am |
| In article <1154597088.355972.312780@i42g2000cwa.googlegroups.com>,
"yls177" <yls177@hotmail.com> wrote:
> Hi all
>
> Thanks for assisting. Just want to update all the status
>
> I had give up on BoxC. I got another BoxY.
>
> So BoxY and BoxA are in different network segments. I can open up the
> port 514 on BoxY. My network team opened up the port514 too. However, I
> still have problems with rsh to BoxA. The error message was "rsh :
> connection timed out". After some debugging from my network team, they
> told me that i need port 513. After they opened up port 513, the rest
> is history.
>
513 is for "rlogin hostname".
514 is for "rsh hostname command".
If you use the rsh command, but don't provide a command, it actually
acts like rlogin.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
| |
| James Carlson 2006-08-06, 1:25 am |
| Barry Margolin <barmar@alum.mit.edu> writes:
>
> 513 is for "rlogin hostname".
> 514 is for "rsh hostname command".
>
> If you use the rsh command, but don't provide a command, it actually
> acts like rlogin.
At least on Solaris, it doesn't just act like rlogin -- it _execs_
/usr/bin/rlogin when there is no command supplied.
--
James Carlson, KISS Network <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
|
|
|