Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 9th March 2008, 13:08
Musty Musty is offline
Member
 
Join Date: Mar 2008
Location: Morocco
Posts: 38
Thanks: 3
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by zcworld
yell out if that worked or not
im off to bed
5:30
and im almost the walking / living dead here

Hi zcworld,

This is what I got :

Failed to start apache :

Starting httpd: [Sun Mar 09 11:06:26 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sun Mar 09 11:06:26 2008] [error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[FAILED]
__________________
Computers are like air conditioners, they stop working properly if you open Windows.
Reply With Quote
Sponsored Links
  #12  
Old 9th March 2008, 13:44
zcworld zcworld is offline
Senior Member
 
Join Date: Jul 2006
Location: South Australia
Posts: 329
Thanks: 2
Thanked 37 Times in 37 Posts
Send a message via MSN to zcworld Send a message via Skype™ to zcworld
Default

dam it

remove all vhost and see if its starts up
if so

try adding this one to the list

<VirtualHost *:80>
DocumentRoot /var/www/html/test
ServerName mail.domain.org
<Directory /var/www/html/test>
</Directory>
</VirtualHost>


besides that im not sure what your done
__________________
Shane Ebert :: Facebok
Reply With Quote
  #13  
Old 9th March 2008, 14:58
Musty Musty is offline
Member
 
Join Date: Mar 2008
Location: Morocco
Posts: 38
Thanks: 3
Thanked 3 Times in 3 Posts
 
Default

Quote:
Originally Posted by zcworld
dam it

remove all vhost and see if its starts up
if so

try adding this one to the list

<VirtualHost *:80>
DocumentRoot /var/www/html/test
ServerName mail.domain.org
<Directory /var/www/html/test>
</Directory>
</VirtualHost>


besides that im not sure what your done

I sorted it out. This is what happened:

I read a tutorial on how to sign your own certificate for SSL. I followed the tutorial step by step and created a certificate which I used to overwrite the existing one. Then I just got bored and left right in the middle of the process. What happened is that a configuration file called openssl.conf was created in /etc/httpd/conf.d
Now when I was trying to troubleshoot the problem, I run the command :
httpd -X
some say this means that you start apache with only one process; and I believe apache runs with openssl.conf that it finds, and disregards the rest. That's why perhaps it would run https:// sites but not the others. Now this is what I did. I moved the openssl.conf file from that location to somewhere else (I didn't want to delete it in case it was needed there) and I started apache, and it beamed up like a light bulb. Now I put back all my previous Vhosts, and everything is working fine again.

Wowwww! that gave me a hard time!

Thanks again for your suggestions. and I hope this experience may be of help to somebody running into the same ditch as I did!
__________________
Computers are like air conditioners, they stop working properly if you open Windows.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Too many open files in system" problems Berry Installation/Configuration 3 10th November 2007 22:58
Apache won't start: "Too many files error"? bpmee Server Operation 4 31st July 2007 14:37
Segmentation Fault while trying to start Apache vibs_im Server Operation 4 26th March 2007 09:24
Apache wont start anymore ! wapa17 Server Operation 2 3rd January 2007 19:04
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 01:45


All times are GMT +2. The time now is 02:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.