LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-14-2007, 11:56 PM   #1
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Rep: Reputation: 30
Issue with Apache Server??


yesterday I was attempting to run the apache server in one of the Ubuntu Linux.I decided to remove the packages through
#sudo apt-get remove apache2

It says the apache package cannot be removed.I used the synaptic tool to remove and it said it is removed.But I could see the files under /etc/apache2 being unaffected.This time I deleted the files under /etc/apache2 in an attempt to install it from the start.When again I tried to run
#sudo apt-get install apache2
-------------------------------------------------------------------
Reading package lists... Done
Building dependency tree... Done
apache is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 106 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache (1.3.34-2ubuntu0.1) ...
Can't read /private/etc/apache2/extra/httpd-mpm.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-autoindex.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-languages.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-userdir.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-manual.conf
No such file or directory
Can't open directory /private/etc/apache2/other
No such file or directory
Can't read /private/etc/apache2/extra/httpd-mpm.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-autoindex.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-languages.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-userdir.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-manual.conf
No such file or directory
Can't open directory /private/etc/apache2/other
No such file or directory
Can't read /private/etc/apache2/extra/httpd-mpm.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-autoindex.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-languages.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-userdir.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-manual.conf
No such file or directory
Can't open directory /private/etc/apache2/other
No such file or directory
Can't read /private/etc/apache2/extra/httpd-mpm.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-autoindex.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-languages.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-userdir.conf
No such file or directory
Can't read /private/etc/apache2/extra/httpd-manual.conf
No such file or directory
Can't open directory /private/etc/apache2/other
No such file or directory
* Configuration syntax error detected, not starting/reloading...
Syntax error on line 44 of /etc/apache/httpd.conf:
Missing, invalid, or non-numeric port
[fail]
invoke-rc.d: initscript apache, action "start" failed.
dpkg: error processing apache (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
apache
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------

How can get rid of this?Please help em to install apache?By the way what is difference between apache and apache2?Cant I install apache only???Plzz help
 
Old 11-15-2007, 03:25 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,438

Rep: Reputation: 103Reputation: 103
i guess installing apache (1) is the easiest solution. It is still the most used http server and tons of modules are available so it will probably do the job you intend.
It often leads to problems if you throw away directories or a couple of files you dont know if you are using a high polished distro like ubuntu, redhat, suse.
 
  


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
apache issue kidswipe Linux - Server 8 07-09-2007 09:16 AM
Using Apache server with non-static IP address issue coldbeer Linux - Server 2 07-06-2007 09:09 AM
Apache 2.2.3 issue. Galaxy_Stranger Linux - Server 4 09-12-2006 04:57 AM
apache server slow with images issue? mutsu Linux - Software 3 08-15-2006 05:36 PM
Apache Issue Jukas Linux - Software 3 07-14-2005 02:33 PM


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