We help IT Professionals succeed at work.

Cannot point apache server to new source content on port 8082

Glen Gibb
Glen Gibb asked
on
248 Views
Last Modified: 2014-09-01
Experts, I'm stumped.  I have three websites configured to listen on ports 8080-82.

I changed the content folder of port 8082 and now I receive "It works.  This is the default web page for this server.  ...No content has been added yet."

If I move the content to the virtual host on port 8080, no problem.  In fact, ANY content on port 8082 produces the same, "No content..." result.  

The file permissions are identical on all the folders.

What have I missed?
Comment
Watch Question

Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014

Commented:
What OS?  How did you set up the virtual hosts?
Glen GibbOwner

Author

Commented:
Set up using Webmin on Ubuntu (Linux Mint 15).  What sort of info do you require?
Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014

Commented:
I hadn't thought of using Webmin.  On my Ubuntu systems, I just create the virtual hosts files in the proper directory and I think I have to run some Apache program that creates links between the 'available hosts' directory and the 'in-use hosts' directory.  I always set up hosts in the 'user' directories.  Are you doing that or putting them all in 'var/www'?
Glen GibbOwner

Author

Commented:
I have a separate drive, w/ a folder named, "web" (+ the subfolders for my various websites).  The permissions on all the subfolders are the same.  The folder that I am trying to test works great on 8080 and 8081, but on port 8082 ANY content folder is being ignored.

It always used to, but then I wanted to test some major changes I was developing in Eclipse.   I copied the files from my home folder back to the server folder, and BANG!  Now I can't get a thing to run on this virtual host.  I've deleted and re-created, but I'm just repeating the error, whatever it is.
Glen GibbOwner

Author

Commented:
That is, port 8082 always used to deliver content.  But not now.
Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014

Commented:
That's kind of complicated to me.  Do the first two Vhosts on 8080 and 8081 still work?
Glen GibbOwner

Author

Commented:
That's the mystery, Dave.  The first two hosts work.  I can point them to any content folder and serve it up on the web.

Port 8082, however, will NOT.  Where do I start troubleshooting?
Dave BaldwinFixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014

Commented:
Double check the details.  Something isn't really the same.
Glen GibbOwner

Author

Commented:
K.  I THINK they're the same, but as my wife says, "Honey, you don't really look."
Fixer of Problems
CERTIFIED EXPERT
Most Valuable Expert 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Glen GibbOwner

Author

Commented:
Failed to apply changes :

[Mon May 19 13:37:03 2014] [warn] NameVirtualHost *:8081 has no VirtualHosts
[Mon May 19 13:37:03 2014] [warn] NameVirtualHost *:8080 has no VirtualHosts
(99)Cannot assign requested address: make_sock: could not bind to address 191.168.0.101:8082
no listening sockets available, shutting down
Unable to open logs

OK, so now there's an error to work with.  Generally this occurs b/c the general config file has two references to the same port number.  I'll check and get back.
Glen GibbOwner

Author

Commented:
Sorry to have taken so long.  I deleted the corrupted server configuration and started again.  All good.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.