LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-31-2001, 03:35 PM   #1
ctzimmerman
LQ Newbie
 
Registered: May 2001
Posts: 1

Rep: Reputation: 0
Unhappy


Hi all,

i am slowly learning linux (I use Corel v1.2, kernel 2.2.16 w/ the gui) and have recently aspired to implementing it as a web server... i followed the directions from the corel linux homepage for getting apache set up but after i set up "httpd.conf" as directed, i tried to restart apache (not that it would start in the first place) and it simply says "failed".
During my OS install, i included web-server package (thus apache was installed w/ necc. components). Please tell me what i am missing here. Thanx in advance!

p.s. i have successfully configured file/print sharing and tcp/ip
 
Old 05-31-2001, 06:51 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,260
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
I don't know whats missing from a distance, and if thats the -only- error that shows, maybe "apachectl configtest" shows more if its a config error, else u gotta look in tru the error_log for clues.
 
Old 06-01-2001, 08:57 AM   #3
rebby
LQ Newbie
 
Registered: Apr 2001
Location: Hugo, MN
Distribution: Slackware, RedHat
Posts: 24

Rep: Reputation: 15
yes, post a copy of your error_log...
 
Old 06-01-2001, 09:04 AM   #4
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
If you are learning Linux, I suggest compiling and installing your software yourself. This will give you more control over how your software is installed and your system is organized. This is especially important if you aspire to running servers

Download the current tar file of Apache and do the following:

1. Save the apache tar file into /usr/local/src
2. cd into /usr/local/src and unzip with following:
tar -xvzf <apache file name>
3. cd into new directory created in /usr/local/src
4. cd into /usr/local/<apache directory>/src
5. Run following command: ./configure
6. Run following command: make
7. Run following command: make install

Apache should now be installed with SWAT capabilities.
On my Mandrake box, all I now needed to do was type following in web browser: http://localhost.localdomain

If this doesnt work, check to make sure apache is running and start with following command if it is not:
cd /usr/local/<apache>/bin ./apachectl start

I dont like using rpm's.
They tend to scatter files all over the system and make admin more troublesome.

Good luck....
 
  


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
Failed to start apache : Apache does not appear to be running : number11 Slackware 9 02-11-2005 09:51 AM
apache can't start akbar_nasr Linux - Software 2 07-13-2004 03:29 PM
can't get SSLl working on Apache. Apache won't start bentman78 Linux - Software 1 08-10-2003 06:17 PM
Apache 2.0.45 does not start arkopolo Linux - Software 1 07-08-2003 12:52 PM
Apache won't start FNC Linux - Software 9 06-25-2003 02:50 AM


All times are GMT -5. The time now is 04:25 AM.

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