LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-25-2006, 08:35 PM   #1
aztek
LQ Newbie
 
Registered: Apr 2006
Posts: 18

Rep: Reputation: 0
httpd could not be started - Virtual Hosts


Hi Guys,

First of all im new to Linux and im still threading the waters. I hope you could help me with this. Im using apache 1.3.36 and trying to install virtual host. Before i installed virtual host my apache was still working.
Here's the error when i boot-up:
Processing config file: /www/conf/vhosts/test.com.conf
/www/bin/apachectl startssl: httpd could not be started
What i did to creat virtual host:
1. created /www/conf/vhosts
2. modify httpd.conf to include at the end of the script: include conf/vhosts
3. edited NameVirtualHost *
4. Created a separate file: test.com.conf for my hosts.
5. I added test.com with an ipadd to my hosts file at /etc/hosts
6. I created directories for VirtualHost:
/home/test.com/public_html
/home/test.com/logs
7. I created users and asigned permissions:
chown -R someuser.somegroup /home/test.com/
8. added to /etc/init.d/rc: /www/bin/apachectl startssl

thanks in advance
 
Old 05-26-2006, 12:06 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 774
Blog Entries: 6

Rep: Reputation: 75
run this command and see the output

# apachectl configtest

# apachectl start

note* dont use "startssl"
 
  


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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 07:29 AM
httpd could not be started lord-fu *BSD 7 10-06-2005 06:46 PM
how do I shutdown httpd after i started it? under slackware babyboss Slackware 3 10-02-2004 02:42 AM
httpd virtual hosts TKS Slackware 1 07-02-2004 11:31 PM
Httpd Could Not Be Started Tanc Linux - Networking 1 01-08-2004 06:09 PM


All times are GMT -5. The time now is 03:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration