LinuxQuestions.org
Review your favorite Linux distribution.
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 01-29-2009, 11:13 PM   #1
sweetcoco
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Unhappy New to Linux, installed Fedora 10 on VMWare Workstation 6.0.3 trying to set up apache


I am new to Linux, right now I've installed Fedora 10 on VMWare Workstation Ace Edition, with minimum problems. I would like to host a web site using Apache. I have installed apache and receive this error once I try to start it:

[root@virtual-fedora ~]# service httpd start
Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 192.168.1.102:80
no listening sockets available, shutting down
unable to open logs
[FAILED]

This is the first time I've tried to host a web site so maybe I'm not doing something right. Every place I've looked says something about DNS, host names and various other technical words that I don't understand. If its not PC hardware, I know nothing about it. Could someone please help
 
Old 01-31-2009, 08:50 AM   #2
3rods
Member
 
Registered: Mar 2008
Posts: 70

Rep: Reputation: 16
I'm not super familiar with fedora, but you need to check your ports.conf file, it's in /etc/apache2/ for ubuntu, not sure where yours is. In that file it should say this:

Code:
Listen 80

<IfModule mod_ssl.c>
    Listen 443
</IfModule>
Or something like

Code:
Listen: *:80
Don't bind to a specific IP unless you know what you're doing.


If you need to find files fast, install a tool called "locate"; then, as root, do a "sudo updatedb".
That will make a database of all the files on your linux box to search quickly. Then you just do a "locate file" and it comes right back. Very useful for the n00b. I use is all the time.

Also, check out a virtual appliance called Ubuntu JeOS. You can find the link off of VMWare's site. It's a fully operational Ubuntu server already setupo inside a VMWare container, all ready to go and the webserver is all setup. It does not have a GUI installed and that helps keep the file size small, but you can always install it if you want it. (sudo apt-get install ubuntu-desktop)

Good luck.
 
Old 01-31-2009, 09:22 AM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
check you system to see if something else is running on port 80. Looks like something else is already using that port. a simple test could be to change the port number to say 8080 or 8000 and try and start again. to get a list of all running processes

Code:
netstat -a
 
Old 02-01-2009, 11:09 PM   #4
sweetcoco
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Unhappy I've installed Fedora 10 on VMWare Workstation Ace Edition, with minimum problems. I

Thanks for the replies, right now I would just like to get Fedora working again. I installed the VMWare tools and now I get a black screen. It looks like it might just be easier to reinstall Fedora, I'm first going to try to revert to a snapshot I took when I was trying to figure out the Apache problem. Hopefully it works
 
  


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
VMware Workstation 6.02 with Fedora 8 Dummy-in-Linux Fedora 4 12-11-2007 04:54 PM
Fedora 7 and Vmware Workstation Dummy-in-Linux Fedora 4 07-25-2007 05:16 AM
VMware workstation on fedora 5: not working! 144419855310001 Fedora 8 04-28-2006 06:50 AM
Fedora 3.0 + VMWare Workstation + USB support dadelcas Fedora 0 01-28-2005 09:26 AM
Vmware workstation 4+0 + Fedora and Win2K MongeK Linux - Software 5 02-15-2004 03:52 PM

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

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