LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-15-2005, 09:33 PM   #1
Calus
LQ Newbie
 
Registered: Apr 2004
Location: Glasgow, Scotland.
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Apache won't fully re-install


ok..

I installed apache-2.0.52 from source, and all went well, after playing around with apache and getting the hang of it i decided to re-install it (I have never setup more than pidentd before), after realizing how many files and folders apache makes I wrote a script to do it for me:

Code:
#!/usr/bin/python
import commands

file_list = commands.getoutput('/usr/bin/locate apache')
print file_list
file_list = file_list.split()
for file in file_list:
    cmd = "/usr/bin/rm %s" % (file)
    cmd = cmd.replace("'", '')
    output = commands.getoutput(cmd)
    if output[-14:] == 'Is a directory':
        cmd = "/usr/bin/rm -R %s" % (file)
        cmd = cmd.replace("'", '')
        output = commands.getoutput(cmd)
    print output
    continue
Now even after a make distclean it does not install all of the necessary files, most noteably:
/usr/sbin/httpd
/etc/apache
/usr/sbin/apachectl (and the rest of those tools)
But I presume others are missing as well.
 
  


Reply



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
Apache giving the error :Could not determine the server's fully qualified domain name bcf2 Linux - Server 47 02-13-2015 10:34 PM
any fully supported wireless pci cards that are very easy to install ?? kewlmadisonguy Linux - Wireless Networking 3 05-29-2004 03:46 PM
Apache: httpd: Could not determine the server's fully qualified domain name.. shirtboy Linux - Software 1 11-20-2003 03:47 AM
Apache fully qualified somain name? tharris Linux - Networking 2 09-02-2003 10:09 AM
Removing apache rpm and install apache from source john lee Linux - Software 2 11-15-2001 08:44 PM

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

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

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