LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2010, 06:47 AM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 957

Rep: Reputation: 32
proftpd


Hi all

I installed proftpd once before, but i had removed it due to some errors
I removed all folder and files linked to proftp, probley not the best thing to do

How ever I'm trying to reinstall it againbut it doesn't seem to be installing every thing.

My webmin did have it on the server rigth hand panel but now doesn't show

How do I install all files needed again

I used apt-get install proftpd

Code:
root@rockinghamgateway:~# apt-get clean
root@rockinghamgateway:~# updatedb
root@rockinghamgateway:~# clear
root@rockinghamgateway:~# apt-get clean
root@rockinghamgateway:~# updatedb
root@rockinghamgateway:~# apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@rockinghamgateway:~# whereis proftpd
proftpd: /usr/share/man/man8/proftpd.8.gz
root@rockinghamgateway:~# find / -name proftpd
root@rockinghamgateway:~# /etc/init.d/proftpd restart
-bash: /etc/init.d/proftpd: No such file or directory
root@rockinghamgateway:~# apt-get install proftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-pgsql
The following NEW packages will be installed:
  proftpd proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-pgsql
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 815kB of archives.
After this operation, 1057kB of additional disk space will be used.
Do you want to continue [Y/n]?
system says its installed

Code:
Get:1 http://au.archive.ubuntu.com jaunty-updates/universe proftpd-mod-mysql 1.3.1-17ubuntu1.1 [204kB]
Get:2 http://au.archive.ubuntu.com jaunty-updates/universe proftpd-mod-pgsql 1.3.1-17ubuntu1.1 [203kB]
Get:3 http://au.archive.ubuntu.com jaunty-updates/universe proftpd-mod-ldap 1.3.1-17ubuntu1.1 [213kB]
Get:4 http://au.archive.ubuntu.com jaunty-updates/universe proftpd 1.3.1-17ubuntu1.1 [195kB]
Fetched 815kB in 16s (49.1kB/s)
Selecting previously deselected package proftpd-mod-mysql.
(Reading database ... 45083 files and directories currently installed.)
Unpacking proftpd-mod-mysql (from .../proftpd-mod-mysql_1.3.1-17ubuntu1.1_i386.deb) ...
Selecting previously deselected package proftpd-mod-pgsql.
Unpacking proftpd-mod-pgsql (from .../proftpd-mod-pgsql_1.3.1-17ubuntu1.1_i386.deb) ...
Selecting previously deselected package proftpd-mod-ldap.
Unpacking proftpd-mod-ldap (from .../proftpd-mod-ldap_1.3.1-17ubuntu1.1_i386.deb) ...
Selecting previously deselected package proftpd.
Unpacking proftpd (from .../proftpd_1.3.1-17ubuntu1.1_all.deb) ...
Setting up proftpd-mod-mysql (1.3.1-17ubuntu1.1) ...
Setting up proftpd-mod-pgsql (1.3.1-17ubuntu1.1) ...
Setting up proftpd-mod-ldap (1.3.1-17ubuntu1.1) ...
Setting up proftpd (1.3.1-17ubuntu1.1) ...
root@rockinghamgateway:~#
tried to start it

Code:
root@rockinghamgateway:~# /etc/init.d/proftpd start
-bash: /etc/init.d/proftpd: No such file or directory
root@rockinghamgateway:~#
I'm lost now, any answers to why please

TT ( karl ) Ubuntu CLI 9.04

Last edited by tommytomato; 09-18-2010 at 06:48 AM.
 
Old 09-18-2010, 07:57 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Try to write a init script for proftpd, reference to this link.
 
Old 09-18-2010, 09:16 AM   #3
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,491

Rep: Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542
proftp

I have found problems with proftp. I liked its features, but it does not handle some conditions well, including running in some virtual guests. You might want to consider seeking an alternative.

OK, past that have you tried both install and reinstall with the force option? Once those are done you MAY need to run a manual re-configure.

For future reference, you should never 'uninstall' packages by deleting to components. Always use the package manager to uninstall and update the database of installed packages. Then if you later delete related files that the uninstall does not, at least the system will not be confused about what is and is not installed.
 
Old 09-20-2010, 11:18 AM   #4
linux_hy
Member
 
Registered: Oct 2006
Posts: 66

Rep: Reputation: -2
try to use dpkg to get the deb info
dpkg -l|grep proftp
and then
dpkg -L packagename
to get the files in the deb,maybe you can find where the proftpd is installed
find out the main executabel file of the proftpd,then run it or make a symbol in /etc/init.d/ link to the proftpd
 
  


Reply


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
proftpd: proftpd startup failed tumana Linux - Newbie 14 06-17-2012 12:06 PM
ProFTPd - Change proftpd.conf location ('not found' error) varney Linux - Newbie 1 02-22-2008 02:51 AM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 10:51 AM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 11:27 AM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:20 AM.

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