Mailinglist Archive: opensuse (3242 mails)
| < Previous | Next > |
Re: [SLE] Connecting to 192.168.?.?
- From: Anders Johansson <andjoh@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 15 Sep 2001 22:53:24 +0200
- Message-id: <200109152053.f8FKrNr16062@xxxxxxxxxxxxxxxxxxxxx>
Note that the grep sometimes returns info on the grep process itself. Look at
the extreme right (maximize the window if you have to. ps doesn't check the
size of the terminal, and the lines are clipped if the window is too small).
At the extreme right is the command. I'm not running inetd on the machine I'm
on at the moment, and here's what I got
andjoh 31120 0.0 0.2 1544 580 pts/4 S 22:48 0:00 grep inetd
Note that this is not inetd, but "grep inetd"
It doesn't happen every time. It's a "race condition". Sometimes, grep reads
the 'ps' information before the kernel has time to put the 'grep' process in
there, sometimes it doesn't.
So which command did you get? "/usr/sbin/inetd" or "grep inetd"?
Anders
On Saturday 15 September 2001 22.46, Ricardo Rodriguez wrote:
> I ran:
>
> aux|grep inetd
>
> and it gives me a line with info of the user, ps, and
> else.....
>
> --- Ricardo Rodriguez <rik73106@xxxxxxxxx> wrote:
> > rcinetd start = command not found
> >
> > --- Anders Johansson <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> >
> > wrote:
> > > Well, there's your problem. try
> > >
> > > rcinetd start
> > >
> > > If that says 'done' and not 'failed', try ps
> > > aux|grep inetd again. If it's
> > > running now, try telnetting. It should work
> >
> > (fingers
> >
> > > crossed :), and you can
> > > edit /etc/rc.config changing the line START_INETD=
> > > to "yes". That will make
> > > inetd start automatically on bootup.
> > >
> > > And I agree with Ben. If you have to use telnet
> >
> > from
> >
> > > a machine on the net,
> > > make sure you never use an important password,
> >
> > like
> >
> > > roots, not even with
> > > 'su'. Remember that everything you do is
> >
> > transmitted
> >
> > > in cleartext.
> > >
> > > Anders
> > >
> > > On Saturday 15 September 2001 22.37, Ricardo
> > >
> > > Rodriguez wrote:
> > > > ps aux|grep inetd gives absolutely nothing. It
> > >
> > > just
> > >
> > > > bring the next promopt command line as
> > >
> > > nothing.....
> > >
> > > > --- Anders Johansson
> > >
> > > <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> > >
> > > > wrote:
> > > > > nkitserv? Are you running 7.1?. OK, what did
> >
> > ps
> >
> > > > > aux|grep inetd give you?
> > > > > If inetd is running, and you still can't
> >
> > telnet
> >
> > > to
> > >
> > > > > localhost from the server,
> > > > > then I'm afraid I'm out if ideas.
> > > > >
> > > > > Anyone else have anything?
> > > > >
> > > > > Anders
> > > > >
> > > > > On Saturday 15 September 2001 22.29, Ricardo
> > > > >
> > > > > Rodriguez wrote:
> > > > > > you were right, I ran the command you gave
> >
> > me
> >
> > > and
> > >
> > > > > it
> > > > >
> > > > > > say is not installed, but I double checked
> > >
> > > with
> > >
> > > > > yast
> > > > >
> > > > > > ant it is in the nkitserv package which is
> > > > >
> > > > > installed,
> > > > >
> > > > > > so......., what should I do, now?
> > > > > >
> > > > > >
> > > > > > --- Anders Johansson
> > > > >
> > > > > <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> > > > >
> > > > > > wrote:
> > > > > > > in.telnetd isn't designed to be started
> > > > >
> > > > > manually.
> > > > >
> > > > > > > When it starts, it expects
> > > > > > > to be called by inetd, and expects there
> >
> > to
> >
> > > be a
> > >
> > > > > > > socket waiting with a telnet
> > > > > > > client on the other end. If you want to
> >
> > try
> >
> > > > > telnetd
> > > > >
> > > > > > > manually, you have to
> > > > > > > specify
> > > > > > >
> > > > > > > in.telnetd -debug
> > > > > > >
> > > > > > > but it shouldn't be necessary.
> > > > > > >
> > > > > > > Anders
> > > > > > >
> > > > > > > On Saturday 15 September 2001 22.25,
> >
> > Ricardo
> >
> > > > > > > Rodriguez wrote:
> > > > > > > > I ran in.telnetd on the server and it
> > >
> > > gives me
> > >
> > > > > the
> > > > >
> > > > > > > > following message:
> > > > > > > >
> > > > > > > > getpeername: Socket operation on
> > >
> > > non-socket
> > >
> > > > > > > > What does that mean and what should I
> >
> > do?
> >
> > > > > > > > --- Anders Johansson
> > > > > > >
> > > > > > > <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> > > > > > >
> > > > > > > > wrote:
> > > > > > > > > rpm -q telnet-server
> > > > > > > > > should give something like
> > > > >
> > > > > telnet-server-1.0-69
> > > > >
> > > > > > > is
> > > > > > >
> > > > > > > > > it's installed
> > > > > > > > >
> > > > > > > > > ps aux|grep inetd
> > > > > > > > > to check if inetd is running. If you
> >
> > get
> >
> > > > > > > nothing,
> > > > > > >
> > > > > > > > > it's not. Try rcinetd start
> > > > > > > > > to start
> > > > > > > > >
> > > > > > > > > Anders
> > > > > > > > >
> > > > > > > > > On Saturday 15 September 2001 22.09,
> > >
> > > Ricardo
> > >
> > > > > > > > > Rodriguez wrote:
> > > > > > > > > > Im almos sure it is installed, but
> >
> > how
> >
> > > can
> > >
> > > > > I
> > > > >
> > > > > > > make
> > > > > > >
> > > > > > > > > sure
> > > > > > > > >
> > > > > > > > > > that it is running?
> > > > > > > > > >
> > > > > > > > > > Should I check it somewhere?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --- Anders Johansson
> > > > > > > > >
> > > > > > > > > <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> > > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > > > On Saturday 15 September 2001
> >
> > 19.56,
> >
> > > > > Ricardo
> > > > >
> > > > > > > > > > > Rodriguez wrote:
> > > > > > > > > > > > I TELNET the localhost in the
> > >
> > > server I
> > >
> > > > > am
> > > > >
> > > > > > > > > getting
> > > > > > > > >
> > > > > > > > > > > the
> > > > > > > > > > >
> > > > > > > > > > > > error message: "CONECTION
> > >
> > > REFUSED".
> > >
> > > > > > > > > > > > and yes. the telnet is enable in
> > >
> > > the
> > >
> > > > > > > > > inetd.conf
> > > > > > > > >
> > > > > > > > > > > (Im
> > > > > > > > > > >
> > > > > > > > > > > > supposed if the telnet line is
> >
> > not
> >
> > > > > > > commented,
>
> === message truncated ===
>
>
> =====
> Ricardo A. Rodriguez
>
> __________________________________________________
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Information/
the extreme right (maximize the window if you have to. ps doesn't check the
size of the terminal, and the lines are clipped if the window is too small).
At the extreme right is the command. I'm not running inetd on the machine I'm
on at the moment, and here's what I got
andjoh 31120 0.0 0.2 1544 580 pts/4 S 22:48 0:00 grep inetd
Note that this is not inetd, but "grep inetd"
It doesn't happen every time. It's a "race condition". Sometimes, grep reads
the 'ps' information before the kernel has time to put the 'grep' process in
there, sometimes it doesn't.
So which command did you get? "/usr/sbin/inetd" or "grep inetd"?
Anders
On Saturday 15 September 2001 22.46, Ricardo Rodriguez wrote:
> I ran:
>
> aux|grep inetd
>
> and it gives me a line with info of the user, ps, and
> else.....
>
> --- Ricardo Rodriguez <rik73106@xxxxxxxxx> wrote:
> > rcinetd start = command not found
> >
> > --- Anders Johansson <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> >
> > wrote:
> > > Well, there's your problem. try
> > >
> > > rcinetd start
> > >
> > > If that says 'done' and not 'failed', try ps
> > > aux|grep inetd again. If it's
> > > running now, try telnetting. It should work
> >
> > (fingers
> >
> > > crossed :), and you can
> > > edit /etc/rc.config changing the line START_INETD=
> > > to "yes". That will make
> > > inetd start automatically on bootup.
> > >
> > > And I agree with Ben. If you have to use telnet
> >
> > from
> >
> > > a machine on the net,
> > > make sure you never use an important password,
> >
> > like
> >
> > > roots, not even with
> > > 'su'. Remember that everything you do is
> >
> > transmitted
> >
> > > in cleartext.
> > >
> > > Anders
> > >
> > > On Saturday 15 September 2001 22.37, Ricardo
> > >
> > > Rodriguez wrote:
> > > > ps aux|grep inetd gives absolutely nothing. It
> > >
> > > just
> > >
> > > > bring the next promopt command line as
> > >
> > > nothing.....
> > >
> > > > --- Anders Johansson
> > >
> > > <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> > >
> > > > wrote:
> > > > > nkitserv? Are you running 7.1?. OK, what did
> >
> > ps
> >
> > > > > aux|grep inetd give you?
> > > > > If inetd is running, and you still can't
> >
> > telnet
> >
> > > to
> > >
> > > > > localhost from the server,
> > > > > then I'm afraid I'm out if ideas.
> > > > >
> > > > > Anyone else have anything?
> > > > >
> > > > > Anders
> > > > >
> > > > > On Saturday 15 September 2001 22.29, Ricardo
> > > > >
> > > > > Rodriguez wrote:
> > > > > > you were right, I ran the command you gave
> >
> > me
> >
> > > and
> > >
> > > > > it
> > > > >
> > > > > > say is not installed, but I double checked
> > >
> > > with
> > >
> > > > > yast
> > > > >
> > > > > > ant it is in the nkitserv package which is
> > > > >
> > > > > installed,
> > > > >
> > > > > > so......., what should I do, now?
> > > > > >
> > > > > >
> > > > > > --- Anders Johansson
> > > > >
> > > > > <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> > > > >
> > > > > > wrote:
> > > > > > > in.telnetd isn't designed to be started
> > > > >
> > > > > manually.
> > > > >
> > > > > > > When it starts, it expects
> > > > > > > to be called by inetd, and expects there
> >
> > to
> >
> > > be a
> > >
> > > > > > > socket waiting with a telnet
> > > > > > > client on the other end. If you want to
> >
> > try
> >
> > > > > telnetd
> > > > >
> > > > > > > manually, you have to
> > > > > > > specify
> > > > > > >
> > > > > > > in.telnetd -debug
> > > > > > >
> > > > > > > but it shouldn't be necessary.
> > > > > > >
> > > > > > > Anders
> > > > > > >
> > > > > > > On Saturday 15 September 2001 22.25,
> >
> > Ricardo
> >
> > > > > > > Rodriguez wrote:
> > > > > > > > I ran in.telnetd on the server and it
> > >
> > > gives me
> > >
> > > > > the
> > > > >
> > > > > > > > following message:
> > > > > > > >
> > > > > > > > getpeername: Socket operation on
> > >
> > > non-socket
> > >
> > > > > > > > What does that mean and what should I
> >
> > do?
> >
> > > > > > > > --- Anders Johansson
> > > > > > >
> > > > > > > <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> > > > > > >
> > > > > > > > wrote:
> > > > > > > > > rpm -q telnet-server
> > > > > > > > > should give something like
> > > > >
> > > > > telnet-server-1.0-69
> > > > >
> > > > > > > is
> > > > > > >
> > > > > > > > > it's installed
> > > > > > > > >
> > > > > > > > > ps aux|grep inetd
> > > > > > > > > to check if inetd is running. If you
> >
> > get
> >
> > > > > > > nothing,
> > > > > > >
> > > > > > > > > it's not. Try rcinetd start
> > > > > > > > > to start
> > > > > > > > >
> > > > > > > > > Anders
> > > > > > > > >
> > > > > > > > > On Saturday 15 September 2001 22.09,
> > >
> > > Ricardo
> > >
> > > > > > > > > Rodriguez wrote:
> > > > > > > > > > Im almos sure it is installed, but
> >
> > how
> >
> > > can
> > >
> > > > > I
> > > > >
> > > > > > > make
> > > > > > >
> > > > > > > > > sure
> > > > > > > > >
> > > > > > > > > > that it is running?
> > > > > > > > > >
> > > > > > > > > > Should I check it somewhere?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --- Anders Johansson
> > > > > > > > >
> > > > > > > > > <andjoh@xxxxxxxxxxxxxxxxxxxxx>
> > > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > > > On Saturday 15 September 2001
> >
> > 19.56,
> >
> > > > > Ricardo
> > > > >
> > > > > > > > > > > Rodriguez wrote:
> > > > > > > > > > > > I TELNET the localhost in the
> > >
> > > server I
> > >
> > > > > am
> > > > >
> > > > > > > > > getting
> > > > > > > > >
> > > > > > > > > > > the
> > > > > > > > > > >
> > > > > > > > > > > > error message: "CONECTION
> > >
> > > REFUSED".
> > >
> > > > > > > > > > > > and yes. the telnet is enable in
> > >
> > > the
> > >
> > > > > > > > > inetd.conf
> > > > > > > > >
> > > > > > > > > > > (Im
> > > > > > > > > > >
> > > > > > > > > > > > supposed if the telnet line is
> >
> > not
> >
> > > > > > > commented,
>
> === message truncated ===
>
>
> =====
> Ricardo A. Rodriguez
>
> __________________________________________________
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Information/
| < Previous | Next > |