Find the answer to your Linux question:
Results 1 to 5 of 5
When I start Apache on Suse 10.1, it's running just for a few seconds, and then immediately stops. Why is this happening, and what can I do to solve the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    5

    Apache problem


    When I start Apache on Suse 10.1, it's running just for a few seconds, and then immediately stops. Why is this happening, and what can I do to solve the problem?

    Thanks in advance.

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637
    Issue the following command and post the result cat /var/log/messages, so that we can get a little more information.

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Posts
    5
    Error log content:

    [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
    [alert] (EAI 2) Name or service not known: mod_unique_id: unable to find IPv4 address of "dceran"
    Configuration Failed

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637
    make sure you have an entry for your server (assuming dceran) in the /etc/hosts file. Then, issue the following /etc/init.d/apache2 start or restart and post back.

  6. #5
    Just Joined!
    Join Date
    Aug 2006
    Posts
    5
    Problem solved.

    dceran wasn't host - there wasn't an entry for it in /etc/hosts file. I don't know what is dceran - i got it as a default root user when installing suse. After: su root and restarting Apache everything works fine.

    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •