LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-02-2004, 12:42 PM   #1
Maarten_Holland
Member
 
Registered: Sep 2003
Location: Holland
Distribution: SuSE 9.2
Posts: 39

Rep: Reputation: 15
How to uninstall ProFTPd and other FTP-packages?


Hi all,

I've got some problems with my SuSE Linux 9.1 box: I've installed ProFTPd several weeks ago but can't remember what I did exactly (noob alert!).

When I make changes to /etc/proftpd.conf, these don't seem to affect proftpd. When I run /usr/sbin/ProFTPd stop, followed by /usr/sbin/ProFTPd start (or /usr/sbin/ProFTPd start -c /etc/proftpd.conf) my changes are not applied.

When I run /usr/sbin/ProFTPd stop I can still connect using my FTP client. I get the feeling there is another FTP server running or /usr/sbin/ProFTPd is not the right script to run.

When I search for 'ftp' using the package manager in YaST, it doesn't find anything. I like to delete all FTP-packages, and especially ProFTPd, to try a new install.

Can anyone tell me how to do this?

Thank you in advance,

Maarten
 
Old 10-02-2004, 03:55 PM   #2
SkyLinePL
LQ Newbie
 
Registered: Sep 2004
Location: Chicago
Distribution: SlackWare
Posts: 8

Rep: Reputation: 0
whereis proftpd
did u have one installed by default, then u installed one from the source ? check if u dont have it doubled
 
Old 10-02-2004, 04:13 PM   #3
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
So you didn't install a package.

if you compiled it, try a make uninstall. Some makefile bring a uninstall script.

you could also try to do an updatedb and then locate proftp. Locate is a command that will search the database generated by updatedb. This will show you all the file and directories that have proftp in the name and you can delete all the files.

You can also just delete the proftpd and there will be no more ftp service on, but you should clean it from your inicial scripts.

/usr/sbin/proftpd is a executable not a script. Therefor proftp stop doesn't work. Although I would expect it to read the configuration file and launch another copy of itself. Check out /etc/inetd.conf and then it's either init.d, rc.d or conf.d. It's the directory with your system inicialization scripts. Not sure what Suse is using.
 
Old 10-03-2004, 03:40 AM   #4
Maarten_Holland
Member
 
Registered: Sep 2003
Location: Holland
Distribution: SuSE 9.2
Posts: 39

Original Poster
Rep: Reputation: 15
Thank you for your replies.

I compiled it from source, but there is no 'make uninstall' available.

#whereis proftpd

/ etc/proftpd.conf /usr/local/sbin/proftpd

Inetd.conf does not mention anything about running ftp servers or proftpd. I guess it's running in stand-alone mode.

I'm thinking about following the advise of Krugger.

But before I do that: Do you guys know any other FTP-servers which I can try instead of ProFTPd? I just need a simple FTP-server, which can serve some files to my users. Don't need any fancy options. It should be easy to configure and maintain.

 
Old 10-03-2004, 03:45 AM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
Try:

/usr/local/sbin/proftpd stop

and

/usr/local/sbin/proftpd start
 
Old 10-03-2004, 04:22 AM   #6
Maarten_Holland
Member
 
Registered: Sep 2003
Location: Holland
Distribution: SuSE 9.2
Posts: 39

Original Poster
Rep: Reputation: 15
FTP still is active after /usr/local/sbin/proftpd stop. I tried /usr/local/sbin/ftpshut and /usr/local/sbin/ftpshut -l 1
but that keeps saying 'Invalid time interval specified'.
 
Old 10-03-2004, 04:47 AM   #7
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
ps aux | grep proftpd

kill [pid of proftpd]
which is the number in the second column. And then

/usr/local/sbin/proftpd

Take a look at man proftpd.
 
Old 10-03-2004, 05:48 AM   #8
Maarten_Holland
Member
 
Registered: Sep 2003
Location: Holland
Distribution: SuSE 9.2
Posts: 39

Original Poster
Rep: Reputation: 15
Thank you for your reply darthtux,

I've stopped ProFTPd this way and started it with /usr/local/sbin/proftpd start -c /etc/proftpd.conf. After that, my changes to /etc/proftpd.conf were applied!

Strange that /usr/local/sbin/proftpd stop did not stop the server...

I will take a look at the man pages, but I find them hard to use. I can't really find my way in using them.
 
Old 10-03-2004, 06:11 AM   #9
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
Not all daemons have "start" and "start" options. Sometimes you have to kill the PID of the parent process. I suspect the start you had in the last command was ignored.

You might find more help with commands by picking up the book Linux in a Nutshell or check out the links in my sig.

Last edited by darthtux; 10-03-2004 at 06:12 AM.
 
  


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
Uninstall proftpd-1.3.0rc2.tar.gz - Fedora-3 rulirahm Linux - Software 6 07-27-2005 10:16 PM
can't uninstall packages ddaas Fedora 1 04-15-2005 12:23 PM
Uninstall packages Klas Linux - Software 3 10-03-2004 03:56 PM
Uninstall packages? Kevin S Jones Linux - Newbie 3 03-12-2004 09:14 PM
Unable to uninstall proftpd Rodcl Linux - Software 1 08-31-2002 03:20 AM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration