 |
 |
apache web sharing not starting
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Aug 2007
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
So, do you have a /Users/3V17 directory? Is that your home directory?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Aug 2007
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
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
|
|
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
|
|
grep -i "webobjects" /etc/httpd/httpd.conf
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
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
|
|
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
|
|
output from terminal
grep -i "webobjects" /etc/httpd/httpd.conf
# Including WebObjects Configs
Include /System/Library/WebObjects/Adaptors/Apache/apache.conf
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Nov 2003
Location: The back of the room
Status:
Offline
|
|
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
|
|
Originally Posted by d3ck4
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
|
|
It worked! I cant thank you enough besson3c and zro for your time. Thank you very much.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|