LinuxQuestions.org
Review your favorite Linux distribution.
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 01-24-2002, 04:04 AM   #1
omac
LQ Newbie
 
Registered: Jan 2002
Posts: 7

Rep: Reputation: 0
Installing Apache on Debian, apt-get error


hello everyone,

i'm new to debian linux (or linux for that matter), and i'm having problems installing apache. i type:

apt-get install apache

everything seems fine, until i get this message:
==========================================
apache: cannot determine host name.
Use the ServerName directives to set it manually.
/usr/sbin/apachectl start: httpd could not be started.

Configuration failed! Run "apacheconfig" to try this again later.
===========================================

what do you think i should do? is it just a matter of changing the text in some configuration files? which ones? help

thanks a lot.

ramel.
 
Old 01-24-2002, 04:59 AM   #2
alfie
Debian Developer
 
Registered: Jan 2002
Location: Vienna / Austria / Europe / Earth / Milky Way
Distribution: Debian
Posts: 22

Rep: Reputation: 15
Re: Installing Apache on Debian, apt-get error

Quote:
Originally posted by omac
apache: cannot determine host name.
Use the ServerName directives to set it manually.
/usr/sbin/apachectl start: httpd could not be started.

Configuration failed! Run "apacheconfig" to try this again later.
Hi there.

It seems that your computer doesn't have a real hostname associated to it (I guess an nslookup or such is done to check that). Then you will have to like sugguested: Use the ServerName directives which is located in your /etc/apache/httpd.conf file. Once you've set that apache should start with no problem at all.

Btw., I don't know if it's common here to put a question into different forums - try to avoid that :)

Last edited by alfie; 01-24-2002 at 05:00 AM.
 
Old 01-24-2002, 10:38 AM   #3
omac
LQ Newbie
 
Registered: Jan 2002
Posts: 7

Original Poster
Rep: Reputation: 0
thanks :)

oops, sorry about posting to 2 forums.

and thanks for the reply. i'll check out that httpd.conf.

if it's no trouble, what should the servername be? should i just use any name, or is it the host name of my computer, or is it the ip address?

thanks

ramel.
 
  


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
debian apt-get upgrade error strattonbrazil Debian 4 11-17-2005 06:52 AM
Debian : apt-get error NL-Stitch Linux - Newbie 3 06-07-2005 02:01 PM
odd apt-get error in debian Lleb_KCir Linux - Software 2 10-08-2004 10:40 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM
installing apache on debian, apt-get error omac Linux - Newbie 4 01-27-2002 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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