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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-24-2003, 02:07 PM
|
#1
|
LQ Newbie
Registered: Apr 2003
Posts: 11
Rep:
|
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
|
|
|
04-24-2003, 02:11 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
What distro are you using?
|
|
|
04-24-2003, 02:57 PM
|
#3
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,762
Rep:
|
The simplest way to do this is simply put the command to start proftpd in your /etc/rc.local file.
|
|
|
04-24-2003, 06:26 PM
|
#4
|
LQ Newbie
Registered: Apr 2003
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
04-24-2003, 08:04 PM
|
#5
|
LQ Newbie
Registered: Apr 2003
Posts: 11
Original Poster
Rep:
|
any1?
|
|
|
04-25-2003, 09:38 AM
|
#6
|
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:
|
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
|
|
|
04-25-2003, 06:39 PM
|
#7
|
LQ Newbie
Registered: Apr 2003
Posts: 11
Original Poster
Rep:
|
nope it doesn't work aswell
|
|
|
04-25-2003, 07:19 PM
|
#8
|
LQ Newbie
Registered: Nov 2002
Location: KC Missouri
Distribution: Fedora Core
Posts: 20
Rep:
|
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?
|
|
|
04-25-2003, 08:03 PM
|
#9
|
LQ Newbie
Registered: Apr 2003
Posts: 11
Original Poster
Rep:
|
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
|
|
|
04-25-2003, 08:36 PM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
<repeat>
Which distro...
</repeat>
Cool
|
|
|
04-26-2003, 07:36 PM
|
#11
|
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:
|
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...
|
|
|
07-13-2003, 06:59 PM
|
#12
|
Member
Registered: Jul 2003
Posts: 34
Rep:
|
autoboot
and how is it done for a standalone ?
|
|
|
07-13-2003, 07:13 PM
|
#13
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
07-17-2003, 07:02 AM
|
#14
|
Member
Registered: Jul 2003
Posts: 34
Rep:
|
aha thx
so you can compare rc.local with the win.ini file of windows i guess
|
|
|
07-17-2003, 08:09 AM
|
#15
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|