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 |
What distro are you using?
|
The simplest way to do this is simply put the command to start proftpd in your /etc/rc.local file.
|
redhat 9
Quote:
|
any1?
|
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 |
nope :( it doesn't work aswell
|
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? |
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 |
<repeat>
Which distro... </repeat> Cool |
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... |
autoboot
and how is it done for a standalone ?
|
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 |
aha thx
so you can compare rc.local with the win.ini file of windows i guess |
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. |