LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-13-2007, 03:55 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Can't get rid of Apache


I am trying to upgrade to Apache2. The fact that Apache existed constantly screws up the install.

I finally tried:
apt-get --purge apache
apt-get clear

I was able to get apache2 to run, but not correctly. Apache *still* gets loaded at boot. I have to do a killall apache, then apache2 -k start. It works, but seems wrong.
 
Old 08-13-2007, 04:00 PM   #2
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Excuse me, I meant:
apt-get --purge remove apache
apt-get clean
 
Old 08-14-2007, 10:58 AM   #3
restless
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
well you could always just remove the SysV startup script?
 
Old 08-14-2007, 11:30 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
# apt-get install sysv-rc-conf
# sysv-rc-conf

use the space bar to toggle on and off services accordingly..
 
Old 08-15-2007, 01:34 PM   #5
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Stopping the service has never been a problem. I want to remove the service. I don't want it to start back up the next time I boot.
 
Old 08-15-2007, 03:24 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
and sysv-rc-conf can set it to not start next time you boot, even if it's still installed.

as for why it doesn't uninstall with apt, you need to post the errors you are getting when you try to remove apache in order for us to diagnose that problem. just saying it's not removed isn't enough information, that's why I only told you how to make it not start automatically.
 
Old 08-16-2007, 07:34 AM   #7
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
I don't get any errors when I attempt to remove apache. It just isn't removed.
 
Old 08-16-2007, 10:13 AM   #8
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
have you tried to remove with aptitude.....?
 
Old 08-16-2007, 09:26 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Did you use apt to install apache ? what is the output of apt-cache policy apache ?

Code:
debianetch:~# apt-cache policy apache
apache:
  Installed: (none)
  Candidate: 1.3.34-4.1
  Version table:
     1.3.34-4.1 0
        500 http://ftp.uwsg.indiana.edu etch/main Packages
 
  


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
Webmin & Apache: Can't get rid of start page! RavenLX Linux - Newbie 6 11-10-2004 11:04 PM
How to get rid of annoying MS worm log entries in Apache 320mb Linux - Security 1 10-17-2004 11:49 PM
Get rid of ip sanjibgupta Linux - Networking 3 06-07-2004 03:57 AM
get rid of this dkc_ace Linux - Software 9 02-12-2003 01:10 PM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:25 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