The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
help me........... my apache can't start yatmianto SUN Solaris 5 04-13-2008 11:19 PM
Xwindows wont start frankkahle UNIX for Advanced & Expert Users 1 07-26-2007 04:29 AM
startup script wont start up msearson1 UNIX for Dummies Questions & Answers 7 11-08-2006 05:13 PM
Start Stop Apache MILLERJ62 AIX 2 12-27-2005 05:40 PM
SMC wont start wjseaman SUN Solaris 0 11-15-2005 06:07 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-02-2002
Alpha_Harblo Alpha_Harblo is offline
Registered User
  
 

Join Date: Aug 2001
Location: Lawton Oklahoma
Posts: 14
Question Apache wont start

Hi, like a lot of people that post here, I am new at UNIX. The only UNIX I have ever messed with is my iBook running MacOSX (10.1). I have a grasp of the basic commands and understanding of the system but only to a point.

I searched the archive and FreeBSD.org and apache.org but I couldn't find anything that helped me any.

Anyway, I just set up a FreeBSD Box (4.4) with an AMD K6 333, 2.5G, 32MBs of ram, ect... and I have been haveing fun trying to get it to work properly for me.

I got most of the stuff to work besides the sound card, but I'll mess with that later.

I'm wanting to use it as a webserver but I can't get apache to work. I just reinstalled everything last night. I installed everything in the www install packet. Every time I try to start apachectl it gives me this error

[alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/usr/local/sbin/apachectl start: httpd could not be started

As of now, I don't plan to attach a domain to my system, I just want to mirror the IP address to my normal website. I was able to do this with the apache on my iBook with no problem, and, in fact, the apache on the BSD Box was working when I wasn't able to get my NIC card to work.

I don't know what to do with httpd.conf and i don't know if there is anything I should do with any of the hosts files. As you can see, I'm a bit lost.

I have this system behind a linksys router on a cable modem and the BSD box and my iBook are set as DHCP rather than static.

Thanks, and i hope I gave you enough information
  #2 (permalink)  
Old 01-02-2002
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,687
httpd.conf

Apache will not start if there is a syntax or configuration error in the httpd.conf file.
  #3 (permalink)  
Old 01-02-2002
Alpha_Harblo Alpha_Harblo is offline
Registered User
  
 

Join Date: Aug 2001
Location: Lawton Oklahoma
Posts: 14
ok I messed around in the httpd.conf file and I'm not getting " [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ", but I'm still getting /usr/local/sbin/apachectl start: httpd could not be started.

What I did was I enabled the NameServer and set it to 127.0.0.1. Should I set this to something else?
  #4 (permalink)  
Old 01-02-2002
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,687
Sounds like you have a lot of basic leaning to do with TCP/IP like hostnames, nameservers, IP addresses,etc. The best approach is to get the O'Reilly book on Apache and read it, step-by-step; if you need more information on TCP/IP you might consider keeping the O'Reilly book TCP/IP Network Adminstration next to the Apache book.

Prior to setting up Apache, you need to insure your TCP/IP infrastructure is up and running. What is your IP address? The IP address of your nameserver(s)? Your host and domain names? What is the IP address of your web server?

These are all basic TCP/IP network administration 'things' that you need to know prior to trying to configure an Apache web server.
  #5 (permalink)  
Old 01-02-2002
Alpha_Harblo Alpha_Harblo is offline
Registered User
  
 

Join Date: Aug 2001
Location: Lawton Oklahoma
Posts: 14
I seen that book at hastings, I'll pick it up

Thanks
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0