LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-07-2007, 09:33 AM   #1
timinator
Member
 
Registered: Sep 2006
Posts: 39

Rep: Reputation: 15
Pure-ftpd problem


Hi, we rebooted out FC5 server and ftp will not work.

From the messages log:
pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Invalid argument]

Some commands tried:

service pure-ftpd status
pure-ftpd dead but subsys locked

fuser -n tcp 21
21/tcp: 2561

ps -ef | grep 2561
root 2561 1 0 10:41 ? 00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid

Any suggestions would be appreciated
Thanks
 
Old 12-08-2007, 11:01 AM   #2
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Hi,


Check the config file of your pure-ftpd installation or, you could post it here if you're not sure what to check in that file.



Regards
 
Old 12-30-2007, 03:52 AM   #3
GosthMan
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian Sarge,Ubuntu,RHE 5, Gentoo,CentOS 5
Posts: 24

Rep: Reputation: 15
i had this error to, but someone who has acces to my server instaled proftpd. it worked after i closed proftpd.
i belive that you have the same problem
check the xinetd config, maibe you have there an option to start ftp from xinetd, and your pure-ftpd server is working.
here is what i have there:
/etc/xinetd.conf
Code:
defaults
{
        log_type        = SYSLOG daemon info
        log_on_failure  = HOST
        log_on_success  = PID HOST DURATION EXIT
        only_from       = localhost
        cps             = 50 10
        instances       = 50
        per_source      = 10
        v6only          = no
        groups          = yes
        umask           = 002
}

includedir /etc/xinetd.d
/etc/xinetd.d/pure-ftpd
Code:
#
# Pure-FTPd FTP daemon - http://www.pureftpd.org
#
service ftp
{
       socket_type      = stream
       wait             = no
       user             = root
       server           = /usr/sbin/pure-ftpd
       server_args      = -s -a 42
       protocol         = tcp
       disable          = yes
}
hoppe it helps
 
Old 12-30-2007, 07:49 AM   #4
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Can be a conflict with other ftp service installed on the same machine? maybe....but, the error is clear.

First, pure-ftpd isn't working as a xinetd service, is trying to work as a standalone mode so xinetd configuration doesn't matter unless there is other ftp service called by it.

Second, 'invalid argument' is almost certain that there is a parameter misstyped or bad configurated in the pure-ftpd configuration file.




Regards
 
Old 12-31-2007, 03:55 PM   #5
GosthMan
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian Sarge,Ubuntu,RHE 5, Gentoo,CentOS 5
Posts: 24

Rep: Reputation: 15
Talking

Quote:
Originally Posted by Acron_0248 View Post
Can be a conflict with other ftp service installed on the same machine? maybe....but, the error is clear.

First, pure-ftpd isn't working as a xinetd service, is trying to work as a standalone mode so xinetd configuration doesn't matter unless there is other ftp service called by it.

Second, 'invalid argument' is almost certain that there is a parameter misstyped or bad configurated in the pure-ftpd configuration file.




Regards
it can be,
but i don't beleve that is misconfiguration here.
My error from logs:
Code:
mail ~ # cat /var/log/logs.0 | grep Invalid
Dec 30 11:31:38 mail pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Invalid argument]
Dec 30 11:35:32 mail pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Invalid argument]
Dec 30 11:38:12 mail pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Invalid argument]
and it wasn't an misconfiguration, it was an conflict on port 21
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pure-ftpd problem Tinku Linux - Software 4 01-08-2006 10:52 AM
Problem with Pure-ftpd narunet Fedora 1 12-13-2005 06:30 AM
pure-ftpd & ntfs problem fr_laz Linux - Networking 0 01-25-2005 12:55 PM
problem with dependencies processing pure-ftpd coldy Debian 2 02-23-2004 03:02 AM
pure-ftpd connection problem bbaum Linux - Software 1 01-07-2004 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration