Hello I installed the pure-ftpd from source and i want to start it when the system boots. I added that line in the /etc/rc.d/boot.local /usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf & But it doesn't start. Does anyone know what causes that malfunction?
Hello
I installed the pure-ftpd from source and i want to start it when the system boots.
I added that line in the /etc/rc.d/boot.local
/usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf &
But it doesn't start.
Does anyone know what causes that malfunction?
First, it would be better to run it from xinetd. But if you place boot.local in /etc/init.d and chmod it to 755, it must be executable. Then at top of the script, enter #!/bin/sh Anders
----- Original Message ----- From: "Anders Norrbring" <lists@norrbring.se> To: "'Suse'" <suse-linux-e@suse.com> Sent: Sunday, February 27, 2005 1:22 PM Subject: RE: [SLE] boot.local failed
Hello
I installed the pure-ftpd from source and i want to start it when the system boots.
I added that line in the /etc/rc.d/boot.local
/usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf &
But it doesn't start.
Does anyone know what causes that malfunction?
First, it would be better to run it from xinetd.
But if you place boot.local in /etc/init.d and chmod it to 755, it must be executable.
Then at top of the script, enter
#!/bin/sh
Anders
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
boot.local is 755 chmoded in tha /etc/rc.d/ and /etc/init.d The #!/bin/sh also exists at the top of the boot.local But it doesn't start. How could i start if through xinetd ? That is the building configuration ./configure --with-virtualchroot --with-mysql --without-usernames --with-alt log --with-quotas --with-cookie --with-tls --with-certfile=/etc/ssl/private/ pure-ftpd.pem
John wrote:
----- Original Message ----- From: "Anders Norrbring" <lists@norrbring.se>
Hello
I installed the pure-ftpd from source and i want to start it when the system boots.
I added that line in the /etc/rc.d/boot.local
/usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf &
But it doesn't start.
Does anyone know what causes that malfunction?
What result do you get running the command: "/usr/local/sbin/pure-ftpd -n 2000:30 etc.etc.etc."? What result do you get if just run boot.local from the command line? What is in the file "/var/log/pureftpd.log" Does the file "/etc/pureftpd-mysql.conf" exist?
How could i start if through xinetd ?
Best is to google for "pureftp xinetd" and choose the entry that seems closest to what you want to do. (The second one looks good :) ) As a tip, xinetd stores its configuration files in /etc/xinetd.d/. HTH jalal -- GPG fingerprint = 3D45 5509 D380 26A4 523E A9D8 A66A 5F38 CA43 BB0E
----- Original Message ----- From: "jalal" <the_jalal@fastmail.fm> To: "Suse" <suse-linux-e@suse.com> Sent: Sunday, February 27, 2005 2:13 PM Subject: Re: [SLE] boot.local failed
John wrote:
----- Original Message ----- From: "Anders Norrbring" <lists@norrbring.se>
Hello
I installed the pure-ftpd from source and i want to start it when the system boots.
I added that line in the /etc/rc.d/boot.local
/usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf &
But it doesn't start.
Does anyone know what causes that malfunction?
What result do you get running the command: "/usr/local/sbin/pure-ftpd -n 2000:30 etc.etc.etc."?
What result do you get if just run boot.local from the command line?
What is in the file "/var/log/pureftpd.log"
Does the file "/etc/pureftpd-mysql.conf" exist?
How could i start if through xinetd ?
Best is to google for "pureftp xinetd" and choose the entry that seems closest to what you want to do. (The second one looks good :) )
As a tip, xinetd stores its configuration files in /etc/xinetd.d/.
HTH jalal
--
GPG fingerprint = 3D45 5509 D380 26A4 523E A9D8 A66A 5F38 CA43 BB0E
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Running "/usr/local/sbin/pure-ftpd -n 2000:30 etc.etc.etc."? i can start the server from the command line. But i cannot from bootl.local
On Sun, 27 Feb 2005 15:13:34 +0200 "John" <isofroni@cc.uoi.gr> wrote:
Running "/usr/local/sbin/pure-ftpd -n 2000:30 etc.etc.etc."? i can start the server from the command line.
But i cannot from bootl.local
And the reason will be in /var/log/pureftp.log But, as James has suggested, it is probably because networking is not setup. -- GPG fingerprint = 3D45 5509 D380 26A4 523E A9D8 A66A 5F38 CA43 BB0E
John wrote:
Hello
I installed the pure-ftpd from source and i want to start it when the system boots.
I added that line in the /etc/rc.d/boot.local
/usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf &
But it doesn't start.
Does anyone know what causes that malfunction?
Boot.local is run, before any networking starts. I suspect the ftp service won't start without networking. Can it not be started, using /etc/xinetd.d?
On Sun, 2005-02-27 at 08:13, James Knott wrote:
John wrote:
Hello
I installed the pure-ftpd from source and i want to start it when the system boots.
I added that line in the /etc/rc.d/boot.local
/usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf &
But it doesn't start.
Does anyone know what causes that malfunction?
Boot.local is run, before any networking starts. I suspect the ftp service won't start without networking. Can it not be started, using /etc/xinetd.d?
Why not just create its own startup script using the template in /etc/init.d? That's what it is there for. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
Ken Schneider wrote:
On Sun, 2005-02-27 at 08:13, James Knott wrote:
John wrote:
Hello
I installed the pure-ftpd from source and i want to start it when the system boots.
I added that line in the /etc/rc.d/boot.local
/usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf &
But it doesn't start.
Does anyone know what causes that malfunction?
Boot.local is run, before any networking starts. I suspect the ftp service won't start without networking. Can it not be started, using /etc/xinetd.d?
Why not just create its own startup script using the template in /etc/init.d? That's what it is there for.
I thought servers, such as ftp etc., were generally started using xinetd.
----- Original Message ----- From: "Ken Schneider" <suse-list@bout-tyme.net> To: "SuSE email list" <suse-linux-e@suse.com> Sent: Sunday, February 27, 2005 3:28 PM Subject: Re: [SLE] boot.local failed
On Sun, 2005-02-27 at 08:13, James Knott wrote:
John wrote:
Hello
I installed the pure-ftpd from source and i want to start it when the system boots.
I added that line in the /etc/rc.d/boot.local
/usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf &
But it doesn't start.
Does anyone know what causes that malfunction?
Boot.local is run, before any networking starts. I suspect the ftp service won't start without networking. Can it not be started, using /etc/xinetd.d?
Why not just create its own startup script using the template in /etc/init.d? That's what it is there for.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
* Only reply to the list please*
"The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Well, where is the template for creating a init script for the pure-ftpd?
On Sun, 2005-02-27 at 09:00, John wrote: PLEASE - you DO NOT need to reply to me AND the LIST as I am ON the list and get a copy from there. ( I did a reply to all so that you would see the effect, you get two copies of the same email, DUH ) This is NOT rocket science. If you had read my sig you would NOT have sent this directly to me AND the list. Also trim the email when you reply.
Well, where is the template for creating a init script for the pure-ftpd?
/etc/init.d/skeleton is the template file, modify it for your needs, it is well documented. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
John wrote:
I installed the pure-ftpd from source and i want to start it when the system boots.
I added that line in the /etc/rc.d/boot.local
/usr/local/sbin/pure-ftpd -n 2000:30 -S my.server.com,21 -c 100 -C 2 -E -A -O clf:/var/log/pureftpd.log --tls=1 -F /home/.banner -l mysql:/etc/pureftpd-mysql.conf &
But it doesn't start.
Does anyone know what causes that malfunction?
boot.local is started before networking, etc., is set up. Is there a reason to compile? Just use the pure-ftpd that comes with the distro. It will be much easier. Alternatively, you could check out the src.rpm to see how SuSE did it. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
participants (6)
-
Anders Norrbring
-
jalal
-
James Knott
-
Joe Morris (NTM)
-
John
-
Ken Schneider