-
apache not working on FreeBSD 4.7 ?
i just installed freebsd AGAIN and whenever i compile apache1.3 i get when i try to start it
/usr/local/sbin/apachectl start: httpd couldn't be started
and i even make deinstalled it and recompilied but the same ! Plz i dont want to install another os again
-
Re: apache not working on FreeBSD 4.7 ?
Originally posted by raz0rblade
i just installed freebsd AGAIN and whenever i compile apache1.3 i get when i try to start it
/usr/local/sbin/apachectl start: httpd couldn't be started
and i even make deinstalled it and recompilied but the same ! Plz i dont want to install another os again
Try ...............................
This checks configuration
apachectl configtest
If OK try.....
apachectl restart
Last edited by JohnT; 02-08-2003 at 10:19 PM.
-
first says Syntax OK second says same as before.
-
Are you "compiling" using "Ports"?
-
-
Did you download by ftp or just sysinstaled from the applications on cd?
-
You might want to check that you have no more
than one instance running. Use the "top" command at the terminal and "kill" the pid for each one. Apache should start on its own on boot.
-
ps ax|grep httpd
works also to get a listing of just the apache PIDs.
I'd use 'apachectl stop' if possible, rather than killing them manually.
Sounds like you haven't edited httpd.conf to your liking yet. If apache can't be started and there are no instances running, this is most likely the case.
-
Originally posted by JohnT
You might want to check that you have no more
than one instance running. Use the "top" command at the terminal and "kill" the pid for each one. Apache should start on its own on boot.
This is misleading advice, as apache by default starts five instances...
-
Originally posted by xulfralos
This is misleading advice, as apache by default starts five instances...
That's why I initially suggested the "restart" and/or "stop". The main process can fork off into dozens of others. That's the one I was reffering to as being more than one.
I would agree that httpd.conf needs to be looked at though if it hasn't been configured.
-
looking through top, there is no instances of httpd or apache. and i've been configuring apache for years. I just don't know what's up with the freebsd version
-
If you know all about configuring apache, then I'm sure you're familiar with httpd-error.log and its location.
-
not on freebsd, i dont know where it is
-
/var/log/httpd-error.log
I've had this happen from time to time and usually the error log has the answer.
-r
-
the error is
[alert] mod_unique_id: unable to gethostbyname("beast.yupadog.com")
i have never seen this error in all my years of using linux and apache. my server name in apache is my ip. Does this refer to the server's name ? If so how can I change it, or can i Just add beast.yupadog.com to my dns server ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|