LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   proftpd question (https://www.linuxquestions.org/questions/linux-newbie-8/proftpd-question-56608/)

kinkybullet 04-24-2003 02:07 PM

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

david_ross 04-24-2003 02:11 PM

What distro are you using?

bulliver 04-24-2003 02:57 PM

The simplest way to do this is simply put the command to start proftpd in your /etc/rc.local file.

kinkybullet 04-24-2003 06:26 PM

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: (

kinkybullet 04-24-2003 08:04 PM

any1?

Satriani 04-25-2003 09:38 AM

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

kinkybullet 04-25-2003 06:39 PM

nope :( it doesn't work aswell

KillerCheeto 04-25-2003 07:19 PM

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?

kinkybullet 04-25-2003 08:03 PM

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

MasterC 04-25-2003 08:36 PM

<repeat>

Which distro...

</repeat>

Cool

Satriani 04-26-2003 07:36 PM

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...

guc 07-13-2003 06:59 PM

autoboot
 
and how is it done for a standalone ?

MasterC 07-13-2003 07:13 PM

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

guc 07-17-2003 07:02 AM

aha thx


so you can compare rc.local with the win.ini file of windows i guess

MasterC 07-17-2003 08:09 AM

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 :D

Cool


All times are GMT -5. The time now is 10:23 PM.