LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2003, 02:07 PM   #1
kinkybullet
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Rep: Reputation: 0
proftpd question


everytime i reboot the machine, i have to manually start proftpd what do i have to do for it to automaticly start?

thanks in advance
 
Old 04-24-2003, 02:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What distro are you using?
 
Old 04-24-2003, 02:57 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
The simplest way to do this is simply put the command to start proftpd in your /etc/rc.local file.
 
Old 04-24-2003, 06:26 PM   #4
kinkybullet
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Original Poster
Rep: Reputation: 0
redhat 9

Quote:
The simplest way to do this is simply put the command to start proftpd in your /etc/rc.local file.
btw that doesn't work: (

Last edited by kinkybullet; 04-24-2003 at 07:35 PM.
 
Old 04-24-2003, 08:04 PM   #5
kinkybullet
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Original Poster
Rep: Reputation: 0
any1?
 
Old 04-25-2003, 09:38 AM   #6
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
if you use xinetd, place a file called proftpd in your /etc/xinetd.d directory.
Out the following in this file:

--------------------------------------------------------------------------------------
service ftp
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.proftpd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
}

--------------------------------------------------------------------------------------

Next, in your /etc/proftpd.conf (if its not already done) change the servertype to inetd instead of standalone:

ServerType inetd



restart xinetd: service xinetd restart

thats it.. Next time you boot, proftpd should automatically be started, and start a daemon on request.

Good luck
 
Old 04-25-2003, 06:39 PM   #7
kinkybullet
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Original Poster
Rep: Reputation: 0
nope it doesn't work aswell
 
Old 04-25-2003, 07:19 PM   #8
KillerCheeto
LQ Newbie
 
Registered: Nov 2002
Location: KC Missouri
Distribution: Fedora Core
Posts: 20

Rep: Reputation: 0
I'm having a similar problem... even though I know how to start it up in inetd... I would like to try it out on xinetd...

I have a xinetd folder... and it has one thing in it... but when I try the "service xinetd restart" command... it says unreconized service... so there is no xinetd starting up...

How would I get it to start up?
 
Old 04-25-2003, 08:03 PM   #9
kinkybullet
LQ Newbie
 
Registered: Apr 2003
Posts: 11

Original Poster
Rep: Reputation: 0
KillerCheeto try the debug mode see what error message u get
type this: proftpd -n -d2
but normally the command "proftpd start" its ok

Argg I can't get it to automaticly start up :'( bohoo
 
Old 04-25-2003, 08:36 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
<repeat>

Which distro...

</repeat>

Cool
 
Old 04-26-2003, 07:36 PM   #11
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
I use Redhat Distro
Check in the /etc/rc.d/init.d folder, is there's a file xinetd ??
It should be there...

I have proftpd running fine, and automatically at boot. However, I did have the same problem... It was a problem with proftpd itself, check the log files (messages) for any errors...
 
Old 07-13-2003, 06:59 PM   #12
guc
Member
 
Registered: Jul 2003
Posts: 34

Rep: Reputation: 15
autoboot

and how is it done for a standalone ?
 
Old 07-13-2003, 07:13 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
It depends on your distro, but you can usually find an rc.local file on any distro. If you place the full path to the proftpd binary (/usr/sbin/proftpd probably) that file will execute it during startup. You can verify it's running by using:
ps aux | grep ftp
And it should reveal proftpd and it's pid.

Cool
 
Old 07-17-2003, 07:02 AM   #14
guc
Member
 
Registered: Jul 2003
Posts: 34

Rep: Reputation: 15
aha thx


so you can compare rc.local with the win.ini file of windows i guess
 
Old 07-17-2003, 08:09 AM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
If I knew windoze I could tell ya Lucky for me I didn't waste my time mastering it, figured out how worthwhile my time would be spent learning something better, and bam! I'm here

But yeah, likely it is

Cool
 
  


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
ProFTPD Question.. sspiro Linux - Software 1 04-03-2005 05:27 PM
ProFTPD question bolbort Linux - Software 1 01-27-2004 01:44 AM
proftpd question Vampyric Linux - Software 2 09-25-2003 11:07 PM
Question about proftpd Drogo Linux - Software 2 10-10-2002 08:28 PM
ProFTPd Question Nyc0n Linux - General 0 10-05-2001 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 PM.

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