LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-27-2003, 07:34 AM   #1
Michael2003
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake Linux 9.1
Posts: 18

Rep: Reputation: 0
Installing Apache


I am trying to install Apache onto Mandrake 9.1. I am following the step by step procedure on Apache.org, but when I get to make install it produces an "Error 1". Is there any way to fix this/stop it happening?
 
Old 12-27-2003, 08:23 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
The info you provide ("Error 1") is not enough to help you with this.

- Which apache version?
- Did ./configure <--whatever> produce any errors/warnings?
- Did make produce any errors/warnings?
- Include the relevant part of make install that went wrong in your post.
 
Old 12-27-2003, 08:26 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Just an assumption, if everything went ok with no errors during ./configure and make and now only fails at 'make install', did you remember to su to root to perform that part of the install?
 
Old 12-27-2003, 09:15 AM   #4
Michael2003
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake Linux 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
OK, I used the root console, and that didn't produce any error messages, but it did not create the PREFIX directory. Any ideas?
 
Old 12-27-2003, 09:19 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Michael2003
OK, I used the root console, and that didn't produce any error messages, but it did not create the PREFIX directory. Any ideas?
What do you mean by prefix directory? When you install apache with no --prefix in the ./configure, it will install apache to /usr/local
 
Old 12-27-2003, 10:54 AM   #6
Michael2003
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake Linux 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
OK, I have now got Apache installed. But when I go to start it it says that it cannot open because of something to do with not connecting to port 80. I can't post the error message since I cannot seem to post here when in Linux, so have to use Windows for that though.
 
Old 12-27-2003, 11:13 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
How are you trying to start it, what command? Are you sure it wasn't already installed by default and not already running, given by the error you stated, the full error will be more helpful to determine?

ps -aux | grep httpd

You can also use netstat to find out what could be using port 80 as well, etc.

man netstat for more details/options.
 
Old 12-27-2003, 12:59 PM   #8
Michael2003
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake Linux 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
Well, I don't understand those screens, but I use the ./apachectl start command in the bin directory to start it.

Can't get the error message easily as I only seem to be able to post here in Windows, and that has Apache running on it. It said something about (89)Address at one point though.
 
  


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
Installing Apache Gins Linux - General 31 09-11-2005 01:08 PM
Installing Apache 2.0.53 dashp Linux - Newbie 5 03-06-2005 06:25 PM
Installing Apache 1.3 cmccully Linux - Software 2 02-03-2005 11:49 PM
Installing Apache 1.3.26 with Thinkgeekness Linux - Software 1 03-17-2003 12:51 PM
installing apache carlcromer Linux - Security 1 07-01-2002 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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