Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Ftp
@ 1998-10-06 23:58 Jacek Perry
       [not found] ` <chrobry@yahoo.com>
  0 siblings, 1 reply; 13+ messages in thread
From: Jacek Perry @ 1998-10-06 23:58 UTC (permalink / raw)
  To: axp-list


I have a curious problem.  I have 3 node system.  One of them is the
main server the other two are just nodes.  I can telnet to all of
them.  I can ftp from all of them.  However I can't ftp INTO one of
the nodes (even though I can telnet to it).  After a short period of
time (about 5 seconds) it says that unable to start service,
connection closed by remote host.  Any idea why that would be?  BTW I
CAN ftp from that node to all the other ones.

Thanks :)
Jacek



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ftp
@ 1998-10-07  0:35 Jacek Perry
  0 siblings, 0 replies; 13+ messages in thread
From: Jacek Perry @ 1998-10-07  0:35 UTC (permalink / raw)
  To: axp-list


Thank you Sebastian.

Unfortunatly that line is already included.  Also the ftpd is in the
/usr/sbin directory.  The networking scripts are all set correctly. 
However everytime I do it, I still get the error saying:
421 sercice non avliable connection closed by remote server.

Is there something else I should be watching for?

Thank you 



---Sebastian Cramer <cramer@informatik.uni-hannover.de> wrote:
>
> On Oct 6,  4:58pm, Jacek Perry wrote:
> 
> 
> > I have a curious problem.
> 
> It's not as curious as it sounds. The telnet and the ftp "server"
deamons are
> two seperate programs. So they can miss (partially).
> 
> 
> > Any idea why that would be?  BTW I CAN ftp from that node to all the
> > other ones.
> 
> FTPing _from_ a host just means the host has a ftp-client installed.
Look at
> apropriate /etc/inetd.conf for a line that reads somewhat like this
one:
> 
> ftp     stream  tcp     nowait  root    /usr/etc/ftpd   ftpd -l
> 
> this is the line where the ftpd (the server deamon) is started. If
you do not
> have line like this (do a "man ftpd") you need to add it. Otherwise
you might
> just want to check the path that the ftpd is supposed to be.
> 
> > Thanks :)
> > Jacek
> 
> No problem...
> 
> -- 
> CU
> Sebastian Cramer
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ftp
       [not found] ` <chrobry@yahoo.com>
@ 1998-10-07  2:04   ` Sebastian Cramer
  1998-10-07 14:31   ` Ftp Sebastian Cramer
                     ` (4 subsequent siblings)
  5 siblings, 0 replies; 13+ messages in thread
From: Sebastian Cramer @ 1998-10-07  2:04 UTC (permalink / raw)
  To: axp-list

On Oct 6,  4:58pm, Jacek Perry wrote:


> I have a curious problem.

It's not as curious as it sounds. The telnet and the ftp "server" deamons are
two seperate programs. So they can miss (partially).


> Any idea why that would be?  BTW I CAN ftp from that node to all the
> other ones.

FTPing _from_ a host just means the host has a ftp-client installed. Look at
apropriate /etc/inetd.conf for a line that reads somewhat like this one:

ftp     stream  tcp     nowait  root    /usr/etc/ftpd   ftpd -l

this is the line where the ftpd (the server deamon) is started. If you do not
have line like this (do a "man ftpd") you need to add it. Otherwise you might
just want to check the path that the ftpd is supposed to be.

> Thanks :)
> Jacek

No problem...

-- 
CU
Sebastian Cramer


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ftp
       [not found] ` <chrobry@yahoo.com>
  1998-10-07  2:04   ` Ftp Sebastian Cramer
@ 1998-10-07 14:31   ` Sebastian Cramer
  1998-10-07 14:33   ` Ftp Sebastian Cramer
                     ` (3 subsequent siblings)
  5 siblings, 0 replies; 13+ messages in thread
From: Sebastian Cramer @ 1998-10-07 14:31 UTC (permalink / raw)
  To: axp-list

On Oct 6,  5:35pm, Jacek Perry wrote:

> Is there something else I should be watching for?

Yes you might be watching for an /etc/services entrie line showing something
like:


-- 
CU
Sebastian Cramer


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ftp
       [not found] ` <chrobry@yahoo.com>
  1998-10-07  2:04   ` Ftp Sebastian Cramer
  1998-10-07 14:31   ` Ftp Sebastian Cramer
@ 1998-10-07 14:33   ` Sebastian Cramer
  1998-10-08 14:37   ` Ftp Sebastian Cramer
                     ` (2 subsequent siblings)
  5 siblings, 0 replies; 13+ messages in thread
From: Sebastian Cramer @ 1998-10-07 14:33 UTC (permalink / raw)
  To: axp-list

Sorry I mailed the mail before I was finished...

The /etc/services lines look like this:

ftp-data        20/tcp
ftp             21/tcp



-- 
CU
Sebastian Cramer


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ftp
@ 1998-10-07 18:29 Jacek Perry
  0 siblings, 0 replies; 13+ messages in thread
From: Jacek Perry @ 1998-10-07 18:29 UTC (permalink / raw)
  To: axp-list


Thank you

I already checked that as well.  and it is correct.  ALso I checked
the error logs, and all that it says is that connection was refused. 
I don't have anything in either hosts.denny or anything else that
would deny access (that I know of)....

:) I said it was curious :)

Thank you again
Jacek



---Sebastian Cramer <cramer@informatik.uni-hannover.de> wrote:
>
> Sorry I mailed the mail before I was finished...
> 
> The /etc/services lines look like this:
> 
> ftp-data        20/tcp
> ftp             21/tcp
> 
> 
> 
> -- 
> CU
> Sebastian Cramer
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ftp
       [not found] ` <chrobry@yahoo.com>
                     ` (2 preceding siblings ...)
  1998-10-07 14:33   ` Ftp Sebastian Cramer
@ 1998-10-08 14:37   ` Sebastian Cramer
  1998-10-09 11:10   ` Ftp Sebastian Cramer
  1998-11-17  4:56   ` Alpha Raid Tools axp
  5 siblings, 0 replies; 13+ messages in thread
From: Sebastian Cramer @ 1998-10-08 14:37 UTC (permalink / raw)
  To: axp-list

Hello !!!

Did you try hosts.allow ?!?

-- 
CU
Sebastian Cramer


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ftp
@ 1998-10-08 16:15 Jacek Perry
  1998-10-08 18:33 ` Ftp Wes Bauske
  0 siblings, 1 reply; 13+ messages in thread
From: Jacek Perry @ 1998-10-08 16:15 UTC (permalink / raw)
  To: axp-list



Well hosts.allow doesn't have any entries.  Neither does hosts.denay. 
hosts has entries for all 3 machines so that there is no need for
nameserver.  Other then that everything else is clean.


---Sebastian Cramer <cramer@informatik.uni-hannover.de> wrote:
>
> Hello !!!
> 
> Did you try hosts.allow ?!?
> 
> -- 
> CU
> Sebastian Cramer
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ftp
  1998-10-08 16:15 Ftp Jacek Perry
@ 1998-10-08 18:33 ` Wes Bauske
  0 siblings, 0 replies; 13+ messages in thread
From: Wes Bauske @ 1998-10-08 18:33 UTC (permalink / raw)
  To: axp-list

Jacek Perry wrote:
> 
> Well hosts.allow doesn't have any entries.  Neither does hosts.denay.
> hosts has entries for all 3 machines so that there is no need for
> nameserver.  Other then that everything else is clean.
> 

Can't find your description.

Does the error message say "Connection refused"?

If so, no one is listening on the FTP socket.

Use the command "netstat -a" and look for a line like:

tcp        0      0 *:ftp                   *:*                     LISTEN 

This indicates that FTP is being listened for on your
system. If it's missing, then there is a problem with
your /etc/services, /etc/inetd.conf, or you need to
restart inetd. When ever you make changes to those
files, you must get inetd to reread them. Just changing
them does nothing until inetd looks them over. Send
inetd a SIGHUP to get it to reread the files, or, if
you prefer, fix the files and reboot if it's your personal
system. SIGHUP is the way to go on servers. Then check again
with "netstat -a" to see if FTP is available.

If it doesn't show up under that command, the service won't
be available to use, at least on everything I've ever worked
with...


Wes


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Ftp
       [not found] ` <chrobry@yahoo.com>
                     ` (3 preceding siblings ...)
  1998-10-08 14:37   ` Ftp Sebastian Cramer
@ 1998-10-09 11:10   ` Sebastian Cramer
  1998-11-17  4:56   ` Alpha Raid Tools axp
  5 siblings, 0 replies; 13+ messages in thread
From: Sebastian Cramer @ 1998-10-09 11:10 UTC (permalink / raw)
  To: axp-list

On Oct 8,  9:15am, Jacek Perry wrote:

> Well hosts.allow doesn't have any entries.  Neither does hosts.denay.
> hosts has entries for all 3 machines so that there is no need for
> nameserver.

Did you try putting the machines in hosts.allow ?!? Shouldn't help any - but
who knows. (It really is a weird problem! :) )

-- 
CU
Sebastian Cramer


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Alpha Raid Tools
@ 1998-11-16 22:19 Jacek Perry
  0 siblings, 0 replies; 13+ messages in thread
From: Jacek Perry @ 1998-11-16 22:19 UTC (permalink / raw)
  To: Alpha Linux

Hello all

I have just downloaded raidtools.  I understand that I have to patch
the kernel (which I have done so), since I run basic redhat 5.1 kernel
(2.0.34).  Then I tried to read the installation notes (i.e. README,
Install) and run the programs there.  Everything seemed to run fine,
but no md tools were added.  Then I run make install (just because
most programs seem to like that command, and I was running out of
ideas) that seemed to compile the tools.  I now have mdadd,mdstart etc
tools in my /sbin directory.  However when I did run make install I
got bunch of errors (mknod not enough arguments).  

Now my question is how do I compile the raid tool, and do I have to
get specific ones for alpha (I am running LX164)?

Thank you
Jacek Perry




_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Alpha Raid Tools
       [not found] ` <chrobry@yahoo.com>
                     ` (4 preceding siblings ...)
  1998-10-09 11:10   ` Ftp Sebastian Cramer
@ 1998-11-17  4:56   ` axp
  5 siblings, 0 replies; 13+ messages in thread
From: axp @ 1998-11-17  4:56 UTC (permalink / raw)
  To: axp-list

On Nov 16 Jacek Perry (chrobry@yahoo.com) wrote:

> Now my question is how do I compile the raid tool, and do I have to
> get specific ones for alpha (I am running LX164)?

About a month ago I wrote to this list (does the listarchive
at Redhat work now?):

Hi

Yesterday I added one more disk to my Alpha and
I used the opportunity to create some raid-arrays.

As I had some troubles to get it working, I thought,
I'd share my findings with you:


I got "raidtools-0_51beta9" and "raid0145-19980913-2_0_35"
from ftp.kernel.org/pub/linux/kernel/deamons (or
something very similar).

I have RH5.1, Kernel 2.0.35 from RH (without any
patches), egcs1.1a on a PC164.


The Raid-patches for the Kernel applied cleanly
(beside one patch to asm-i386/irq.h (I think)).


To compile the Tools I needed to make the
following changes:

In "/usr/src/linux/include/asm-alpha/bitops.h" I added
--------------------------------------------------
extern inline int ffs(int word)
{
	int result = ffz(~word);
	return word ? result+1 : 0;
}
--------------------------------------------------
right after the definition of ffz (took that one from
a 2.1.xxx Kernel)


"/usr/src/linux/include/linux/raid/md.h" was missing
a "#include <asm/segment.h>".

I think, that was all I changed.



As the doc is a bit unclear (no comment), here a
short rundown on hot to use it:

1. make a new kernel with:
--------------------------------------------------
 CONFIG_BLK_DEV_MD=y
 CONFIG_AUTODETECT_RAID=y
 CONFIG_MD_LINEAR=y
 CONFIG_MD_STRIPED=y
 CONFIG_MD_MIRRORING=y
 CONFIG_MD_RAID5=y
--------------------------------------------------
(you don't need all raid-levels if you don't want
to...)


2. compile and install the tools:
"cd raidtools;./configure;make;make install"


3. create "/etc/raidtab". mine looks like this:
--------------------------------------------------
raiddev /dev/md0
    raid-level                0
    nr-raid-disks             3
    nr-spare-disks            0
    chunk-size                16
    persistent-superblock     1

    device                    /dev/sdc2
    raid-disk                 0
    device                    /dev/sde2
    raid-disk                 1
    device                    /dev/sdf2
    raid-disk                 2

raiddev /dev/md1
    raid-level                0
    nr-raid-disks             2
    nr-spare-disks            0
    chunk-size                16
    persistent-superblock     1

    device                    /dev/sdd1
    raid-disk                 0
    device                    /dev/sdf1
    raid-disk                 1
--------------------------------------------------
(The persistent-superblock isn't documented anywhere,
but it's needed for normal operation. also the
chunk-size entry is mandatory).


4. use "fdisk" to set the partitiontype to "86" for all
the future raid-partitions (needed for autodetection
on the next reboot (you can even put the root on a
raid-partition, but of course you need to keep the
kernel on a non-raid-partition).


5. "mkraid -a"


6. "mke2fs /dev/md0" and "mke2fs /dev/md1"


7. make entries in your "/etc/fstab".


8. mount them and use them :)


Hope I didn't forget anything. It works for me (so
far). No warranty....


Bye
 dworz


^ permalink raw reply	[flat|nested] 13+ messages in thread

* ftp
@ 1999-04-23 20:50 ALEXANDRE A. P. SUIADE
  0 siblings, 0 replies; 13+ messages in thread
From: ALEXANDRE A. P. SUIADE @ 1999-04-23 20:50 UTC (permalink / raw)
  To: axp-list

Hello,

Does somebody know what is happening?

I have some alpha boxes running RedHat Linux 5.2 and a NIS server
that is running D.U. 4. It is possible to logon on the linux boxes
but when I try to do a FTP to these machines the a password
autentication error occurs. I think the problem is located on the
linux boxes because I have another D.U box when the password is
autenticated on NIS server and this problem doe not occurs.

I am using wu-ftpd-2.4.2b18-2.1

Thanks,

Alexandre 
 
    _/_/_/    _/_/_/_/ ALEXANDRE A. P. SUAIDE     
     _/      _/        suaide@uspif1.if.usp.br    
    _/      _/_/_/     Pelletron-LiNac Laboratory   
   _/      _/          Physics Institute - University of Sao Paulo    
_/_/_/    _/           Sao Paulo - Brazil    phone: 55 11 818-6939


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~1999-04-23 21:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-08 16:15 Ftp Jacek Perry
1998-10-08 18:33 ` Ftp Wes Bauske
  -- strict thread matches above, loose matches on Subject: below --
1999-04-23 20:50 ftp ALEXANDRE A. P. SUIADE
1998-11-16 22:19 Alpha Raid Tools Jacek Perry
1998-10-07 18:29 Ftp Jacek Perry
1998-10-07  0:35 Ftp Jacek Perry
1998-10-06 23:58 Ftp Jacek Perry
     [not found] ` <chrobry@yahoo.com>
1998-10-07  2:04   ` Ftp Sebastian Cramer
1998-10-07 14:31   ` Ftp Sebastian Cramer
1998-10-07 14:33   ` Ftp Sebastian Cramer
1998-10-08 14:37   ` Ftp Sebastian Cramer
1998-10-09 11:10   ` Ftp Sebastian Cramer
1998-11-17  4:56   ` Alpha Raid Tools axp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox