apache not working on FreeBSD 4.7 ?


Page 1 of 2 12 LastLast
Results 1 to 15 of 21

Thread: apache not working on FreeBSD 4.7 ?

  1. #1
    Join Date
    Nov 2002
    Location
    Michigan
    Posts
    539

    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

  2. #2
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053

    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.
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  3. #3
    Join Date
    Nov 2002
    Location
    Michigan
    Posts
    539
    first says Syntax OK second says same as before.

  4. #4
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    Are you "compiling" using "Ports"?
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  5. #5
    Join Date
    Nov 2002
    Location
    Michigan
    Posts
    539
    yes

  6. #6
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    Did you download by ftp or just sysinstaled from the applications on cd?
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  7. #7
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    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.
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  8. #8
    Join Date
    Jan 2001
    Location
    the Milky Way Galaxy
    Posts
    191
    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.

  9. #9
    Join Date
    Jan 2001
    Location
    the Milky Way Galaxy
    Posts
    191
    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...

  10. #10
    Join Date
    Jul 2002
    Location
    Vladivostok, Russia
    Posts
    9,053
    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.
    "I was pulled over for speeding today. The officer said, "Don't you know
    the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
    to be out that long."

    How To Ask Questions The Smart Way
    COME VISIT ME IN RUSSIA NOW!!

  11. #11
    Join Date
    Nov 2002
    Location
    Michigan
    Posts
    539
    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

  12. #12
    Join Date
    Jan 2001
    Location
    the Milky Way Galaxy
    Posts
    191
    If you know all about configuring apache, then I'm sure you're familiar with httpd-error.log and its location.


  13. #13
    Join Date
    Nov 2002
    Location
    Michigan
    Posts
    539
    not on freebsd, i dont know where it is

  14. #14
    Join Date
    Oct 1999
    Location
    FL
    Posts
    232
    /var/log/httpd-error.log

    I've had this happen from time to time and usually the error log has the answer.

    -r

  15. #15
    Join Date
    Nov 2002
    Location
    Michigan
    Posts
    539
    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
  •