List Info

Thread: Problems with ProFTPd




Problems with ProFTPd
country flaguser name
United States
2007-02-25 00:26:49
Hi all;

I installed XinetD and rebooted.
I am having issues with running ProFTPD from the optware
packages.
I installed it fine, no errors occured.

No matter what I do, I can't get it to run via xinetd.

ps -aux | grep xinet
  500         root       2280   S   /opt/sbin/xinetd 

/var/log/messages:
<31>Feb 26 00:53:41 xinetd[500]: Reading included
configuration file:
/opt/etc/xinetd.d/ftp-sensor [file=/opt/etc/xinetd.conf]
[line=15] 
<31>Feb 26 00:53:41 xinetd[500]: Reading included
configuration file:
/opt/etc/xinetd.d/proftpd [file=/opt/etc/xinetd.d/proftpd]
[line=70] 
<31>Feb 26 00:53:41 xinetd[500]: Reading included
configuration file:
/opt/etc/xinetd.d/telnetd [file=/opt/etc/xinetd.d/telnetd]
[line=16] 
<31>Feb 26 00:53:41 xinetd[500]: removing ftp 
<29>Feb 26 00:53:41 xinetd[500]: xinetd Version 2.3.14
started with no
options compiled in. 
<29>Feb 26 00:53:41 xinetd[500]: Started working: 2
available services 

/opt/etc/xinetd.d/ftp-sensor has the following:

service ftp
{
# This is for quick on or off of the service
        disable         = yes

/opt/etc/proftpd.conf has the following:
ServerName                      "ProFTPD Default
Installation"
ServerType                      inetd
DefaultServer                   on
WtmpLog                         off

# Port 21 is the standard FTP port.
Port                            21

when trying to run proftpd from /etc/sbin, I get:

# proftpd
LXXXXXX - fatal: Socket operation on non-socket



Does anyone have any ideas or what's wrong and how to fix
this?

Thanks in advance.



------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/CFFolB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://g
roups.yahoo.com/group/nslu2-general/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http
://groups.yahoo.com/group/nslu2-general/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:nslu2-general-digest@yahoogroups.com 
    mailto:nslu2-general-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    nslu2-general-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: Problems with ProFTPd
country flaguser name
United States
2007-02-25 18:05:58
Change the line that says:
         disable         = yes
to:
         disable         = no

Mike (mwester)

----- Original Message ----- 
From: "Cory Megitt" <corymegitt.ca>
To: <nslu2-general@yahoogroups.com>
Sent: Sunday, February 25, 2007 12:26 AM
Subject: [nslu2-general] Problems with ProFTPd


> Hi all;
> 
> I installed XinetD and rebooted.
> I am having issues with running ProFTPD from the
optware packages.
> I installed it fine, no errors occured.
> 
> No matter what I do, I can't get it to run via xinetd.
> 
> ps -aux | grep xinet
>   500         root       2280   S   /opt/sbin/xinetd 
> 
> /var/log/messages:
> <31>Feb 26 00:53:41 xinetd[500]: Reading included
configuration file:
> /opt/etc/xinetd.d/ftp-sensor
[file=/opt/etc/xinetd.conf] [line=15] 
> <31>Feb 26 00:53:41 xinetd[500]: Reading included
configuration file:
> /opt/etc/xinetd.d/proftpd
[file=/opt/etc/xinetd.d/proftpd] [line=70] 
> <31>Feb 26 00:53:41 xinetd[500]: Reading included
configuration file:
> /opt/etc/xinetd.d/telnetd
[file=/opt/etc/xinetd.d/telnetd] [line=16] 
> <31>Feb 26 00:53:41 xinetd[500]: removing ftp 
> <29>Feb 26 00:53:41 xinetd[500]: xinetd Version
2.3.14 started with no
> options compiled in. 
> <29>Feb 26 00:53:41 xinetd[500]: Started working:
2 available services 
> 
> /opt/etc/xinetd.d/ftp-sensor has the following:
> 
> service ftp
> {
> # This is for quick on or off of the service
>         disable         = yes
> 
> /opt/etc/proftpd.conf has the following:
> ServerName                      "ProFTPD Default
Installation"
> ServerType                      inetd
> DefaultServer                   on
> WtmpLog                         off
> 
> # Port 21 is the standard FTP port.
> Port                            21
> 
> when trying to run proftpd from /etc/sbin, I get:
> 
> # proftpd
> LXXXXXX - fatal: Socket operation on non-socket
> 
> 
> 
> Does anyone have any ideas or what's wrong and how to
fix this?
> 
> Thanks in advance.




------------------------ Yahoo! Groups Sponsor
--------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/CFFolB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://g
roups.yahoo.com/group/nslu2-general/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http
://groups.yahoo.com/group/nslu2-general/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:nslu2-general-digest@yahoogroups.com 
    mailto:nslu2-general-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    nslu2-general-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: Problems with ProFTPd
country flaguser name
United States
2007-02-25 18:27:27
Never mind - I see that's the ftp sensor config, not the
real one.  I
presume that the "disable" line is set to
"no" in /opt/etc/xinetd.d/proftpd,
then?

You can't run proftpd from the command line with a config
file that
specifies it to run from inetd -- basically, the way inetd
works is that it
fires up proftpd, and passes the network connection to it. 
You need to look
for a command line switch to override the "ServerType
inetd" line in order
to fire it up manually.

Mike (mwester)

----- Original Message ----- 
From: "Mike (mwester)" <mwesterdls.net>
To: <nslu2-general@yahoogroups.com>
Sent: Sunday, February 25, 2007 6:05 PM
Subject: Re: [nslu2-general] Problems with ProFTPd


> Change the line that says:
>          disable         = yes
> to:
>          disable         = no
>
> Mike (mwester)
>
> ----- Original Message ----- 
> From: "Cory Megitt" <corymegitt.ca>
> To: <nslu2-general@yahoogroups.com>
> Sent: Sunday, February 25, 2007 12:26 AM
> Subject: [nslu2-general] Problems with ProFTPd
>
>
> > Hi all;
> >
> > I installed XinetD and rebooted.
> > I am having issues with running ProFTPD from the
optware packages.
> > I installed it fine, no errors occured.
> >
> > No matter what I do, I can't get it to run via
xinetd.
> >
> > ps -aux | grep xinet
> >   500         root       2280   S  
/opt/sbin/xinetd
> >
> > /var/log/messages:
> > <31>Feb 26 00:53:41 xinetd[500]: Reading
included configuration file:
> > /opt/etc/xinetd.d/ftp-sensor
[file=/opt/etc/xinetd.conf] [line=15]
> > <31>Feb 26 00:53:41 xinetd[500]: Reading
included configuration file:
> > /opt/etc/xinetd.d/proftpd
[file=/opt/etc/xinetd.d/proftpd] [line=70]
> > <31>Feb 26 00:53:41 xinetd[500]: Reading
included configuration file:
> > /opt/etc/xinetd.d/telnetd
[file=/opt/etc/xinetd.d/telnetd] [line=16]
> > <31>Feb 26 00:53:41 xinetd[500]: removing
ftp
> > <29>Feb 26 00:53:41 xinetd[500]: xinetd
Version 2.3.14 started with no
> > options compiled in.
> > <29>Feb 26 00:53:41 xinetd[500]: Started
working: 2 available services
> >
> > /opt/etc/xinetd.d/ftp-sensor has the following:
> >
> > service ftp
> > {
> > # This is for quick on or off of the service
> >         disable         = yes
> >
> > /opt/etc/proftpd.conf has the following:
> > ServerName                      "ProFTPD
Default Installation"
> > ServerType                      inetd
> > DefaultServer                   on
> > WtmpLog                         off
> >
> > # Port 21 is the standard FTP port.
> > Port                            21
> >
> > when trying to run proftpd from /etc/sbin, I get:
> >
> > # proftpd
> > LXXXXXX - fatal: Socket operation on non-socket
> >
> >
> >
> > Does anyone have any ideas or what's wrong and how
to fix this?
> >
> > Thanks in advance.
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>




------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/CFFolB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://g
roups.yahoo.com/group/nslu2-general/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http
://groups.yahoo.com/group/nslu2-general/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:nslu2-general-digest@yahoogroups.com 
    mailto:nslu2-general-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    nslu2-general-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: Problems with ProFTPd
country flaguser name
United Kingdom
2007-02-26 11:45:40
In message <erra79+mbi3eGroups.com>, Cory
Megitt <corymegitt.ca> 
writes
>Hi all;
>
>I installed XinetD and rebooted.
>I am having issues with running ProFTPD from the optware
packages.
>I installed it fine, no errors occured.
>
>No matter what I do, I can't get it to run via xinetd.
>
>ps -aux | grep xinet
>  500         root       2280   S   /opt/sbin/xinetd
>
>/var/log/messages:
><31>Feb 26 00:53:41 xinetd[500]: Reading included
configuration file:
>/opt/etc/xinetd.d/ftp-sensor [file=/opt/etc/xinetd.conf]
[line=15]
><31>Feb 26 00:53:41 xinetd[500]: Reading included
configuration file:
>/opt/etc/xinetd.d/proftpd
[file=/opt/etc/xinetd.d/proftpd] [line=70]
><31>Feb 26 00:53:41 xinetd[500]: Reading included
configuration file:
>/opt/etc/xinetd.d/telnetd
[file=/opt/etc/xinetd.d/telnetd] [line=16]
><31>Feb 26 00:53:41 xinetd[500]: removing ftp
><29>Feb 26 00:53:41 xinetd[500]: xinetd Version
2.3.14 started with no
>options compiled in.
><29>Feb 26 00:53:41 xinetd[500]: Started working:
2 available services
>
This looks OK,  it indicates that proftpd and telnet should
start via 
the xinetd deamon.

>/opt/etc/xinetd.d/ftp-sensor has the following:
>
>service ftp
>{
># This is for quick on or off of the service
>        disable         = yes
>
This is the correct setting.

>/opt/etc/proftpd.conf has the following:
>ServerName                      "ProFTPD Default
Installation"
>ServerType                      inetd
>DefaultServer                   on
>WtmpLog                         off
>
># Port 21 is the standard FTP port.
>Port                            21
>
These settings are also correct if running from xinetd. 
Note that you 
also need to remove or disable the proftpd startup entry if
one exists 
from /opt/etc/init.d/

>when trying to run proftpd from /etc/sbin, I get:
>
># proftpd
>LXXXXXX - fatal: Socket operation on non-socket
>
Probably because port 21 is locked by the proftpd entry in
xinetd.

Suggest that the best way forward here is firstly get
Proftpd up and 
running correctly as a stand alone program.

So you will need to disable the xinetd start up of this
program in the 
file /opt/etc/xinetd.d/proftpd and re-boot xinetd.

Then edit /opt/etc/proftpd.conf changing the ServerType for
standard 
mode.

When you have it working correctly,  you can then
re-configure for 
xinetd.
-- 
Robert Hammond
PGP:0x154144DA


------------------------ Yahoo! Groups Sponsor
--------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/CFFolB/TM

------------------------------------------------------------
--------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://g
roups.yahoo.com/group/nslu2-general/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http
://groups.yahoo.com/group/nslu2-general/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:nslu2-general-digest@yahoogroups.com 
    mailto:nslu2-general-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    nslu2-general-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )