Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-24-2013, 06:40 PM   #1
Registered: Mar 2013
Posts: 555

Rep: Reputation: Disabled
Can't start a service after making .tar.gz

Alright so I did the following commands to install vsftpd on Debain squeeze

$ wget

$ tar xzvf vsftpd-3.0.2.tar.gz
$ cd vsftpd-3.0.2

$ make -j8

$ mkdir -p /usr/share/empty /var/ftp /usr/local/man/man5 /usr/local/man/man8

$ useradd -d /var/ftp ftp
$ chown root.root /var/ftp
$ chmod og-w /var/ftp

$ cp vsftpd.conf /etc

$ make install

There is a vsftpd.conf file in my /etc directory but I cant actually get vsftpd running, I don't know what command to use. I used to use "service vsftpd start" back on CentOS but it says its an unrecognized service, what should I do?
Old 03-24-2013, 08:08 PM   #2
LQ Guru
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,045

Rep: Reputation: Disabled
You can start it from CLI alright. Will be lost next reboot. You have chosen to install by hand, this means you need also create start/shutdown script by hand if you want your Debian to start it for you. I have to say installing by hand is discouraged (unless you really know how to maintain it). Why didn't you install it using package manager?
Old 03-25-2013, 08:33 PM   #3
Registered: Mar 2013
Posts: 555

Original Poster
Rep: Reputation: Disabled
The version that Debain has of vsftpd is 2.3.2 or something, I requre 3.0.2 for a command thag goes something like alloweritesblechroot() which basically allows users to write in their home directory when they are locked in it and its also only available in vsftpd 3.0.2. I don't understand why distro's never update their packages, every single distro is using 2.3.2, I understand they might do this so that everyone is using the same version and maybe it's more stable but there should be an option to downloading newer versions easily.

I tried downloading the .deb vsftpd 3.0.2 from the debain website but it requires so many dependencies and when I finally reach the last one it says my libs or libc6 is >= something else I don't remember which most likely means I need to downgrade.

Wait a minute, is there an option in the terminal as to which version I can download? Ex. apt-get install vsftpd-3.0.2 would that work? :0
Old 03-26-2013, 06:12 PM   #4
LQ Guru
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,045

Rep: Reputation: Disabled
Debian is well known being conservative. I'm using Gentoo and 3.0.2 is marked as stable. Debian has it in Sid. Yes, you can install it using apt-get (this is the preferred method) but you still need to deal with lots of dependencies that need to be upgraded beyond your current level.
Old 03-26-2013, 06:29 PM   #5
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Double check your installation steps. The permissions on /var/ftp/ cannot be correct.
Write access on a directory without read or x access doesn't allow you to do anything.
The ownership or group owner probably should be ftp as well. If the vsftp daemon runs as ftp, it needs access.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
puppet needs to stop a service, do something, then start the service edwardcode Programming 1 12-03-2012 01:58 PM
Making a script start with service? your_shadow03 Linux - Newbie 13 12-05-2009 04:49 AM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
Making a service as a system service Dakkar SUSE / openSUSE 2 07-13-2005 07:36 AM
Making a program/service ( MySQL ) start up on boot ( FC3 ) karmazilla Fedora 6 06-27-2005 10:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration