Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > apache web sharing not starting

apache web sharing not starting
Thread Tools
Fresh-Faced Recruit
Join Date: Aug 2007
Status: Offline
Reply With Quote
Nov 3, 2007, 02:12 PM
 
I do not usually like for my first post to be a help question but this is driving me crazy.

I am having a problem starting up web sharing it just says 'starting up' and thats it. I know this may be an exhausted topic, but i tried searching for similar problems and found nothing that was the same as mine( http://forums.macnn.com/90/mac-os-x/...t-starting-up/ )

Here is what I get when I put 'httpd' into terminal:

Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/3V17.conf
fopen: No such file or directory
httpd: could not open document config file /System/Library/WebObjects/Adaptors/Apache/apache.conf


When I click on 'start web sharing' then go into console heres what it says:

Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/3V17.conf
fopen: No such file or directory
httpd: could not open document config file /System/Library/WebObjects/Adaptors/Apache/apache.conf
/usr/sbin/apachectl start: httpd could not be started

I did some searching in my directory and there is not a folder /System/Library/WebObjects/
Someone had told me to turn web objects off but I do not know if that will help or even how to do it.

Any ideas? Any help is greatly appreciated. Thank you for your time.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Nov 3, 2007, 03:22 PM
 
What do you have in /private/etc/httpd/users/3V17.conf? What happens when you do a:

grep "WebObjects" /private/etc/httpd/users/3V17.conf

Also, do a:

cat /private/etc/httpd/users/3V17.conf

and print the output here, please...
     
Fresh-Faced Recruit
Join Date: Aug 2007
Status: Offline
Reply With Quote
Nov 3, 2007, 04:15 PM
 
i opened up the /private/etc/httpd/users/3V17.conf file in pico heres the output
<Directory "/Users/3V17/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>


when i did grep "WebObjects" /private/etc/httpd/users/3V17.conf in terminal nothing happened.. well it didnt display any errors or messages

cat /private/etc/httpd/users/3V17.conf
<Directory "/Users/3V17/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>


thanks for your help besson3c
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Nov 3, 2007, 04:20 PM
 
So, do you have a /Users/3V17 directory? Is that your home directory?
     
Fresh-Faced Recruit
Join Date: Aug 2007
Status: Offline
Reply With Quote
Nov 3, 2007, 04:26 PM
 
yes
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Nov 3, 2007, 04:36 PM
 
Have you ever enabled WebObjects? Ever installed XCode? What happens when you do a:

launchctl list | grep WebObjects

ls /System/Library/LaunchDaemons/ | grep WebObjects

ls /Library/LaunchDaemons/ | grep WebObjects
     
Fresh-Faced Recruit
Join Date: Aug 2007
Status: Offline
Reply With Quote
Nov 3, 2007, 04:56 PM
 
i dont think i have ever enabled webobjects atleast i know i didnt on purpose. i did install Xcode but then uninstalled it a day later. i used the perl script that it came with.

when i do:

launchctl list | grep WebObjects:
it stays idol for about a minute or less then goes back to the prompt

when i do the other 2 commands they quickly go back to prompt..
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Nov 3, 2007, 05:09 PM
 
grep -i "webobjects" /etc/httpd/httpd.conf
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Nov 3, 2007, 05:11 PM
 
Are you on OS X Server? What do you get when you do a:

locate apache.conf

If this file exists, you should be able to find a line:

/System/Library/WebObjects/Adaptors/Apache/apache.conf

in this file. Comment this line out and restart Apache.
     
Fresh-Faced Recruit
Join Date: Aug 2007
Status: Offline
Reply With Quote
Nov 3, 2007, 06:42 PM
 
no i am not on server just 10.4.10

i could not locate the apache.conf

i am starting to think that i need to reinstall os x. i am probably missing tons of files somehow
     
Fresh-Faced Recruit
Join Date: Aug 2007
Status: Offline
Reply With Quote
Nov 3, 2007, 07:01 PM
 
output from terminal

grep -i "webobjects" /etc/httpd/httpd.conf

# Including WebObjects Configs
Include /System/Library/WebObjects/Adaptors/Apache/apache.conf
     
zro
Mac Elite
Join Date: Nov 2003
Location: The back of the room
Status: Offline
Reply With Quote
Nov 4, 2007, 12:59 AM
 
I don't think I've ever seen that line in the Apache config file.

Just comment the "include" line out.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Nov 4, 2007, 01:04 AM
 
Originally Posted by d3ck4 View Post
output from terminal

grep -i "webobjects" /etc/httpd/httpd.conf

# Including WebObjects Configs
Include /System/Library/WebObjects/Adaptors/Apache/apache.conf

There you go! Just comment this line out and you'll be set...
     
Fresh-Faced Recruit
Join Date: Aug 2007
Status: Offline
Reply With Quote
Nov 4, 2007, 06:06 PM
 
It worked! I cant thank you enough besson3c and zro for your time. Thank you very much.
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:11 AM.
All contents of these forums © 1995-2009 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.4 © 2000-2009, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2