[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Starting Telnet and Wu-ftpd using kickstart



I checked my hosts.allow and hosts.deny files.  They are both empty.

I attempted to start telnet as a daemon during startup.  Here are the steps
I followed as root:

cd etc/xinetd.d
cp telnet /etc/rc.d/init.d
cd etc/rc.d/init.d
chmod 777 telnet
cd etc/rc.d/rc3.d
ln -s ../init.d/telnet S70telnet

when I watch the screen during reboot and telnet tries to start, I get the
following message:
Starting telnet:
VFS: file-max limit 4096 reached
exec: too many open files in system
Unable to load interpreter /lib/ld-linux.so.2

I am able to telnet from my machine but if I try to telnet to it I get a
"connection refused" message.

My file called telnet looks like this:
# default: on
# description: The telnet server serves telnet sessions; it uses \
#     unencrypted username/password pairs for authentication.
service telnet
{
      flags          = REUSE
      socket_type    = stream
      wait           = no
      user           = root
      server    = /usr/sbin/in.telnetd
      log_on_failure += USERID
}

When I look at the rest of the executable files in /etc/rc.d/init.d, I see
that most of them have start(), stop()  and restart().  I am assuming I
need something like that in my telnet file.  Is there documentation around
to help me create this file?  Do I have the correct steps to start a daemon
at startup...so once I get a good telnet file it should work for me?

Thanks!
Rebecca








Scott Shealy <sshealy asgnet psc sc edu>@redhat.com on 03/07/2001 08:48:49
AM

Please respond to kickstart-list redhat com

Sent by:  kickstart-list-admin redhat com


To:   "'kickstart-list redhat com'" <kickstart-list redhat com>
cc:

Subject:  RE: Starting Telnet and Wu-ftpd using kickstart


Rebecca,

     The reason that they are not running is that they are not launched
as daemons at startup.... For each session that is requested by a client,
an
ftp or telnet process is started by the inetd daemon(you should see this
process running)...   So you will not see the processes running unless
someone is actually using FTP or telnet....  Also it may be that
tcp-wrappers is preventing you from telneting or ftping into the box.....
Check you hosts.allow and hosts.deny file... and make sure that you can
resolve the name of the client..

Scott

-----Original Message-----
From: Rebecca R Krause seagate com [mailto:Rebecca R Krause seagate com]
Sent: Wednesday, March 07, 2001 9:35 AM
To: kickstart-list redhat com
Subject: Starting Telnet and Wu-ftpd using kickstart


Hello All,

In the %packages section of my ks.cfg file I install telnet-server and
wu-ftpd.  After installation, I start up my machine and both programs are
installed but neither are running.  Why aren't they running?  Is there a
way to automatically start them every time my computer is powered up during
the %post section?

I have a second machine which I installed using the RedHat CDs.  I have
both telnet and wu-ftpd on this machine, both are running and I never had
to do anything to get them running.  What am I missing with my kickstart?

Thanks!

Regards,
Becky



_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://listman.redhat.com/mailman/listinfo/kickstart-list



_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://listman.redhat.com/mailman/listinfo/kickstart-list







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]